Revolution Plowed the Sea Wiki
revplowedtheseawiki
https://revplowedthesea.miraheze.org/wiki/Main_Page
MediaWiki 1.41.0
first-letter
Media
Special
Talk
User
User talk
Revolution Plowed the Sea Wiki
Revolution Plowed the Sea Wiki talk
File
File talk
MediaWiki
MediaWiki talk
Template
Template talk
Help
Help talk
Category
Category talk
Module
Module talk
Template:!-
10
1464
2991
2013-11-17T11:54:04Z
Wikipedia>Mr. Stradivarius
0
Changed protection level of Template:!-: [[WP:High-risk templates|Highly visible template]]: reinstate full-protection - this should never be edited ([Edit=Block all non-admin users] (indefinite) [Move=Block all non-admin users] (indefinite))
wikitext
text/x-wiki
|-<noinclude>
{{documentation}}
</noinclude>
19a1b27b5273caa6fd83a1208fb704afa9ee7c04
Template:Clear right
10
1540
3152
2015-02-09T15:14:22Z
Wikipedia>Edokter
0
Fix
wikitext
text/x-wiki
{{Clear|right}}<noinclude>
{{Documentation|Template:Clear/doc}}
</noinclude>
12b36d3e1933e27905b1549e2e69366dc1c3c7b2
Template:Nowrap
10
1522
3116
2015-11-28T10:13:53Z
Wikipedia>Edokter
0
Adapt comment; edits inside noinclude blocks should not affect job queue, but won't kill parser either way.
wikitext
text/x-wiki
<span class="nowrap">{{{1}}}</span><noinclude>
{{documentation}}
<!-- Categories go on the /doc page; interwikis go to Wikidata. -->
</noinclude>
5d0dc6b6d89b37f4356242404f46138a4017f015
Template:PAGENAMEBASE
10
1527
3126
2016-03-06T09:37:56Z
Wikipedia>Cabayi
0
per edit request & discussion
wikitext
text/x-wiki
{{{{{|safesubst:}}}#Invoke:String|replace|{{{1|{{{{{|safesubst:}}}PAGENAME}}}}}|%s+%b()$||1|false}}<noinclude>
{{documentation}}
</noinclude>
f23a5d434cb5b0baac5e1f58e9ceef9118e6873f
Template:(!
10
1454
2971
2016-08-09T22:00:28Z
Wikipedia>Renamed user mou89p43twvqcvm8ut9w3
0
Changed protection level of Template:(!: [[WP:High-risk templates|Highly visible template]] ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
wikitext
text/x-wiki
<includeonly>{|</includeonly><noinclude><nowiki>{|</nowiki>{{Documentation}}
</noinclude>
f709d1f206330f000c28ae20e722426c750f9bd5
Template:Str left
10
1538
3148
2016-09-30T07:01:19Z
Wikipedia>Ymblanter
0
Changed protection level of Template:Str left: [[WP:High-risk templates|Highly visible template]]: RFPP request ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
wikitext
text/x-wiki
<includeonly>{{safesubst:padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
2048b0d7b35e156528655b1d090e8b5ffab3f400
Template:Both
10
1422
2907
2016-12-04T04:31:50Z
Wikipedia>JJMC89
0
make subst'able
wikitext
text/x-wiki
{{SAFESUBST:<noinclude />#if:{{{1|}}}|{{SAFESUBST:<noinclude />#if:{{{2|}}}|1}}}}<noinclude>
{{documentation}}
</noinclude>
57c3c0ffa811a7f31c675b2d79aedf4382e9b88d
Template:-
10
1436
2935
2017-03-12T14:41:31Z
Wikipedia>Paine Ellsworth
0
add [[WP:RCAT|rcat]]
wikitext
text/x-wiki
#REDIRECT [[Template:Clear]]
{{Redirect category shell|
{{R from modification}}
{{R from template shortcut}}
}}
3fb0b377ebee11659e4a3ba0034f60898dbc473f
Template:Smallsup
10
1535
3142
2017-03-25T12:38:47Z
Wikipedia>Jo-Jo Eumerus
0
Changed protection level for "[[Template:Smallsup]]": Allowing template editors on some templates with full protection dating back to pre-[[WP:TPROT|TPROT]] times which aren't too often or too sensitively used. ([Edit=Require template editor access] (i...
wikitext
text/x-wiki
<includeonly><sup><small>{{{1}}}</small></sup></includeonly><noinclude>
{{Documentation}}
</noinclude>
c174fb3247218273210500118556feb9f3c76d5a
Template:Max
10
1476
3015
2017-03-25T16:04:13Z
Wikipedia>Jo-Jo Eumerus
0
Changed protection level for "[[Template:Max]]": Allowing template editors on some templates with full protection dating back to pre-[[WP:TPROT]] times which aren't too often or too sensitively used. ([Edit=Require template editor access] (indefinite)...
wikitext
text/x-wiki
<includeonly>{{#invoke:Math|max}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
f052e3a9b5b08740be624045e49f31d86e09f0ad
Template:Navbar
10
1472
3007
2017-04-22T18:49:17Z
Wikipedia>Plastikspork
0
Closed
wikitext
text/x-wiki
<includeonly>{{#invoke:Navbar|navbar}}</includeonly><noinclude>
{{documentation}}
</noinclude>
868e3566b7e8a9a5a7f3dac75cac429c47de10d3
Template:UF-hcal
10
1504
3071
2018-01-19T00:34:07Z
Wikipedia>Primefac
0
Protected "[[Template:UF-hcal]]": [[WP:SEMIPROT|semi-protection]] of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))
wikitext
text/x-wiki
{{Microformat message
| format = hCalendar
| data = event details
| subtemplates =
{{#if:{{{hide_subtemplates}}} |<noinclude>}}
Dates will only be included if you use {{tl|start date}} (for single dates) or {{tl|end date}}. Do not, however, use these templates [[Wikipedia:WikiProject Microformats/dates|if a date before 1583 CE is involved]].
To include URLs, use {{tl|URL}}.
{{#if:{{{hide_subtemplates}}} |</noinclude>}}
|attendee |contact |description |dtend |dtstart |location |organiser |summary |url |vevent
| nocollapse = on
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc | |{{#ifeq:{{SUBPAGENAME}}|sandbox | |[[Category:Templates generating hCalendars|{{PAGENAME}}]]}} }}</includeonly><noinclude>
{{Documentation |content={{Microformat message templates}}}}
[[Category:Microformat (uF) message templates]]
</noinclude>
f453b47f676a5c474e14155f7013b69b4716748b
Template:Remove first word
10
1539
3150
2018-02-13T20:10:27Z
Wikipedia>WOSlinker
0
separate pp-template not needed
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:String|replace|source={{{1}}}|pattern=^[^{{{sep|%s}}}]*{{{sep|%s}}}*|replace=|plain=false}}<noinclude>{{Documentation}}</noinclude>
df7a9e692f68be1581be06af5f51eaed5483b4c8
Template:Yesno-no
10
1452
2967
2018-02-13T20:27:17Z
Wikipedia>WOSlinker
0
separate pp-template not needed
wikitext
text/x-wiki
{{safesubst:<noinclude />yesno|{{{1}}}|yes={{{yes|yes}}}|no={{{no|no}}}|blank={{{blank|no}}}|¬={{{¬|no}}}|def={{{def|no}}}}}<noinclude>
{{Documentation|Template:Yesno/doc}}
<!--Categories go in the doc page referenced above; interwikis go in Wikidata.-->
</noinclude>
1ad7b7800da1b867ead8f6ff8cef76e6201b3b56
Template:Yesno-yes
10
1523
3118
2018-03-11T01:06:35Z
Wikipedia>JJMC89
0
allow subst
wikitext
text/x-wiki
{{SAFESUBST:<noinclude />yesno|{{{1}}}|yes={{{yes|yes}}}|no={{{no|no}}}|blank={{{blank|yes}}}|¬={{{¬|yes}}}|def={{{def|yes}}}}}<noinclude>
{{Documentation|Template:Yesno/doc}}
<!--Categories go in the doc page referenced above; interwikis go in Wikidata.-->
</noinclude>
1644b79058ef2cece539a411edc164d98bb11ebe
Template:Delink question hyphen-minus
10
1456
2975
2018-04-25T18:40:36Z
Wikipedia>Ahecht
0
{{{1|}}}
wikitext
text/x-wiki
{{{{{|safesubst:}}}#invoke:MultiReplace|main|{{{1|}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{{{{|safesubst:}}}!}} *(.-) *%]%]|%1}}<noinclude>
{{documentation}}
</noinclude>
f342bb1e299a3bd5e482defa9cde3dd36ccf210e
Template:Infobox
10
1526
3124
2018-08-15T18:33:36Z
Wikipedia>Primefac
0
Undid revision 855063393 by [[Special:Contributions/Jdlrobson|Jdlrobson]] ([[User talk:Jdlrobson|talk]]) rather problematic change mentioned [[Template_talk:Infobox#Using_template_styles_to_reduce_technical_debt_inside_mobile_skin|on talk page]], reverting until it can be sorted
wikitext
text/x-wiki
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
{{documentation}}
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
</noinclude>
817a9f5b6524eced06a57bd1d5fd7179f9369bf2
Template:Nobold
10
1524
3120
2018-10-23T17:15:13Z
Wikipedia>Frietjes
0
wikitext
text/x-wiki
<templatestyles src="Nobold/styles.css"/><span class="nobold">{{{1}}}</span><noinclude>
{{documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
9c92b5951772bb26ca0fbe9256418b65e47700dd
Template:Flagdeco
10
1457
2977
2018-12-16T14:05:04Z
Wikipedia>Frietjes
0
wikitext
text/x-wiki
<includeonly>{{#ifeq: {{Yesno-no|{{{noredlink|}}}}}|yes<!--
-->|<!--
#Check for existence of Template: Country data foo before invoking it
-->{{#ifexist: Template: Country data {{{1|}}}<!--
-->|<!--
# It exists, so proceed
-->{{country data {{{1|}}}|flagdeco/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<!--
-->|<!--
# It doesn't exist, so do nothing
-->}}<!--
-->|<!--
# DEFAULT call Template: Country data {{{1|}}}
# with no prior checks
-->{{country data {{{1|}}}|flagdeco/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<!--
# Track use where "Template:Country data Foo" does not exist
-->{{#ifexist: Template:Country data {{{1|}}}||{{namespace detect showall
| 1 =
| 2 = [[Category:Flagdeco with missing country data templates]]
| user = 1
| talk = 1
| other = 2
}}}}<!--
-->}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
2cd50bb91e18505de93484a7348c92b68745dbf9
Template:!)
10
1453
2969
2018-12-16T17:33:17Z
Wikipedia>Amorymeltzer
0
Changed protection level for "[[Template:!)]]": [[WP:High-risk templates|Highly visible template]]: 200k+ transclusions ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
wikitext
text/x-wiki
|}<noinclude>
{{Documentation}}
</noinclude>
4708392952b330b1c5bf605bc6fc76222b1609d2
Template:Template other
10
1435
2933
2018-12-16T22:06:25Z
Wikipedia>Amorymeltzer
0
Changed protection level for "[[Template:Template other]]": [[WP:High-risk templates|Highly visible template]]: Transclusion count has increased dramatically ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
wikitext
text/x-wiki
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|{{ns:Template}}
| template
| other
}}
}}
| template = {{{1|}}}
| other
| #default = {{{2|}}}
}}<!--End switch--><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
06fb13d264df967b5232141067eb7d2b67372d76
Module:Color contrast
828
1536
3144
2019-01-06T22:38:25Z
Wikipedia>Johnuniq
0
fix unintended color2lum global error which is causing errors; clean whitespace
Scribunto
text/plain
--
-- This module implements
-- {{Color contrast ratio}}
-- {{Greater color contrast ratio}}
-- {{ColorToLum}}
-- {{RGBColorToLum}}
--
local p = {}
local HTMLcolor = mw.loadData( 'Module:Color contrast/colors' )
local function sRGB (v)
if (v <= 0.03928) then
v = v / 12.92
else
v = math.pow((v+0.055)/1.055, 2.4)
end
return v
end
local function rgbdec2lum(R, G, B)
if ( 0 <= R and R < 256 and 0 <= G and G < 256 and 0 <= B and B < 256 ) then
return 0.2126 * sRGB(R/255) + 0.7152 * sRGB(G/255) + 0.0722 * sRGB(B/255)
else
return ''
end
end
local function hsl2lum(h, s, l)
if ( 0 <= h and h < 360 and 0 <= s and s <= 1 and 0 <= l and l <= 1 ) then
local c = (1 - math.abs(2*l - 1))*s
local x = c*(1 - math.abs( math.fmod(h/60, 2) - 1) )
local m = l - c/2
local r, g, b = m, m, m
if( 0 <= h and h < 60 ) then
r = r + c
g = g + x
elseif( 60 <= h and h < 120 ) then
r = r + x
g = g + c
elseif( 120 <= h and h < 180 ) then
g = g + c
b = b + x
elseif( 180 <= h and h < 240 ) then
g = g + x
b = b + c
elseif( 240 <= h and h < 300 ) then
r = r + x
b = b + c
elseif( 300 <= h and h < 360 ) then
r = r + c
b = b + x
end
return rgbdec2lum(255*r, 255*g, 255*b)
else
return ''
end
end
local function color2lum(c)
if (c == nil) then
return ''
end
-- html '#' entity
c = c:gsub("#", "#")
-- whitespace
c = c:match( '^%s*(.-)[%s;]*$' )
-- unstrip nowiki strip markers
c = mw.text.unstripNoWiki(c)
-- lowercase
c = c:lower()
-- first try to look it up
local L = HTMLcolor[c]
if (L ~= nil) then
return L
end
-- convert from hsl
if mw.ustring.match(c,'^hsl%([%s]*[0-9][0-9%.]*[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*%)$') then
local h, s, l = mw.ustring.match(c,'^hsl%([%s]*([0-9][0-9%.]*)[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*%)$')
return hsl2lum(tonumber(h), tonumber(s)/100, tonumber(l)/100)
end
-- convert from rgb
if mw.ustring.match(c,'^rgb%([%s]*[0-9][0-9]*[%s]*,[%s]*[0-9][0-9]*[%s]*,[%s]*[0-9][0-9]*[%s]*%)$') then
local R, G, B = mw.ustring.match(c,'^rgb%([%s]*([0-9][0-9]*)[%s]*,[%s]*([0-9][0-9]*)[%s]*,[%s]*([0-9][0-9]*)[%s]*%)$')
return rgbdec2lum(tonumber(R), tonumber(G), tonumber(B))
end
-- convert from rgb percent
if mw.ustring.match(c,'^rgb%([%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*%)$') then
local R, G, B = mw.ustring.match(c,'^rgb%([%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*%)$')
return rgbdec2lum(255*tonumber(R)/100, 255*tonumber(G)/100, 255*tonumber(B)/100)
end
-- remove leading # (if there is one) and whitespace
c = mw.ustring.match(c, '^[%s#]*([a-f0-9]*)[%s]*$')
-- split into rgb
local cs = mw.text.split(c or '', '')
if( #cs == 6 ) then
local R = 16*tonumber('0x' .. cs[1]) + tonumber('0x' .. cs[2])
local G = 16*tonumber('0x' .. cs[3]) + tonumber('0x' .. cs[4])
local B = 16*tonumber('0x' .. cs[5]) + tonumber('0x' .. cs[6])
return rgbdec2lum(R, G, B)
elseif ( #cs == 3 ) then
local R = 16*tonumber('0x' .. cs[1]) + tonumber('0x' .. cs[1])
local G = 16*tonumber('0x' .. cs[2]) + tonumber('0x' .. cs[2])
local B = 16*tonumber('0x' .. cs[3]) + tonumber('0x' .. cs[3])
return rgbdec2lum(R, G, B)
end
-- failure, return blank
return ''
end
-- This exports the function for use in other modules.
-- The colour is passed as a string.
function p._lum(color)
return color2lum(color)
end
function p._greatercontrast(args)
local bias = tonumber(args['bias'] or '0') or 0
local css = (args['css'] and args['css'] ~= '') and true or false
local v1 = color2lum(args[1] or '')
local c2 = args[2] or '#FFFFFF'
local v2 = color2lum(c2)
local c3 = args[3] or '#000000'
local v3 = color2lum(c3)
local ratio1 = -1;
local ratio2 = -1;
if (type(v1) == 'number' and type(v2) == 'number') then
ratio1 = (v2 + 0.05)/(v1 + 0.05)
ratio1 = (ratio1 < 1) and 1/ratio1 or ratio1
end
if (type(v1) == 'number' and type(v3) == 'number') then
ratio2 = (v3 + 0.05)/(v1 + 0.05)
ratio2 = (ratio2 < 1) and 1/ratio2 or ratio2
end
if css then
local c1 = args[1] or ''
if mw.ustring.match(c1, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or
mw.ustring.match(c1, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') then
c1 = '#' .. c1
end
if mw.ustring.match(c2, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or
mw.ustring.match(c2, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') then
c2 = '#' .. c2
end
if mw.ustring.match(v3, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or
mw.ustring.match(v3, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') then
c3 = '#' .. c3
end
return 'background-color:' .. c1 .. '; color:' .. ((ratio1 > 0) and (ratio2 > 0) and ((ratio1 + bias > ratio2) and c2 or c3) or '') .. ';'
end
return (ratio1 > 0) and (ratio2 > 0) and ((ratio1 + bias > ratio2) and c2 or c3) or ''
end
function p._ratio(args)
local v1 = color2lum(args[1])
local v2 = color2lum(args[2])
if (type(v1) == 'number' and type(v2) == 'number') then
-- v1 should be the brighter of the two.
if v2 > v1 then
v1, v2 = v2, v1
end
return (v1 + 0.05)/(v2 + 0.05)
else
return args['error'] or '?'
end
end
function p._styleratio(args)
local style = (args[1] or ''):lower()
local bg, fg = 'white', 'black'
local lum_bg, lum_fg = 1, 0
if args[2] then
local lum = color2lum(args[2])
if lum ~= '' then bg, lum_bg = args[2], lum end
end
if args[3] then
local lum = color2lum(args[3])
if lum ~= '' then fg, lum_fg = args[3], lum end
end
local slist = mw.text.split(mw.ustring.gsub(mw.ustring.gsub(style or '', '&#[Xx]23;', '#'), '#', '#'), ';')
for k = 1,#slist do
local s = slist[k]
local k,v = s:match( '^[%s]*([^:]-):([^:]-)[%s;]*$' )
k = k or ''
v = v or ''
if (k:match('^[%s]*(background)[%s]*$') or k:match('^[%s]*(background%-color)[%s]*$')) then
local lum = color2lum(v)
if( lum ~= '' ) then bg, lum_bg = v, lum end
elseif (k:match('^[%s]*(color)[%s]*$')) then
local lum = color2lum(v)
if( lum ~= '' ) then bg, lum_fg = v, lum end
end
end
if lum_bg > lum_fg then
return (lum_bg + 0.05)/(lum_fg + 0.05)
else
return (lum_fg + 0.05)/(lum_bg + 0.05)
end
end
--[[
Use {{#invoke:Color contrast|somecolor}} directly or
{{#invoke:Color contrast}} from a wrapper template.
Parameters:
-- |1= — required; A color to check.
--]]
function p.lum(frame)
local color = frame.args[1] or frame:getParent().args[1]
return p._lum(color)
end
function p.ratio(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._ratio(args)
end
function p.styleratio(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._styleratio(args)
end
function p.greatercontrast(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._greatercontrast(args)
end
return p
1e399769117591366a63f62996c9a407077cc711
Module:Color contrast/colors
828
1537
3146
2019-01-24T12:30:11Z
Wikipedia>Galobtter
0
Changed protection level for "[[Module:Color contrast/colors]]": [[WP:High-risk templates|High-risk Lua module]] ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
Scribunto
text/plain
return {
aliceblue = 0.92880068253475,
antiquewhite = 0.84646951707754,
aqua = 0.7874,
aquamarine = 0.8078549208338,
azure = 0.97265264954166,
beige = 0.8988459998705,
bisque = 0.80732327372979,
black = 0,
blanchedalmond = 0.85084439608156,
blue = 0.0722,
blueviolet = 0.12622014321946,
brown = 0.098224287876511,
burlywood = 0.51559844533893,
cadetblue = 0.29424681085422,
chartreuse = 0.76032025902623,
chocolate = 0.23898526114557,
coral = 0.37017930872924,
cornflowerblue = 0.30318641994179,
cornsilk = 0.93562110372965,
crimson = 0.16042199953026,
cyan = 0.7874,
darkblue = 0.018640801980939,
darkcyan = 0.20329317839046,
darkgoldenrod = 0.27264703559993,
darkgray = 0.39675523072563,
darkgreen = 0.091143429047575,
darkgrey = 0.39675523072563,
darkkhaki = 0.45747326349994,
darkmagenta = 0.07353047651207,
darkolivegreen = 0.12651920884889,
darkorange = 0.40016167026524,
darkorchid = 0.13413142174857,
darkred = 0.054889674531132,
darksalmon = 0.40541471563381,
darkseagreen = 0.43789249325969,
darkslateblue = 0.065792846227988,
darkslategray = 0.067608151928044,
darkslategrey = 0.067608151928044,
darkturquoise = 0.4874606277449,
darkviolet = 0.10999048339343,
deeppink = 0.23866895828276,
deepskyblue = 0.44481603395575,
dimgray = 0.14126329114027,
dimgrey = 0.14126329114027,
dodgerblue = 0.27442536991456,
firebrick = 0.10724525535015,
floralwhite = 0.95922484825004,
forestgreen = 0.18920812076002,
fuchsia = 0.2848,
gainsboro = 0.71569350050648,
ghostwhite = 0.94311261886323,
gold = 0.69860877428159,
goldenrod = 0.41919977809569,
gray = 0.2158605001139,
green = 0.15438342968146,
greenyellow = 0.80609472611453,
grey = 0.2158605001139,
honeydew = 0.96336535554782,
hotpink = 0.34658438169715,
indianred = 0.21406134963884,
indigo = 0.03107561486337,
ivory = 0.99071270600615,
khaki = 0.77012343394121,
lavender = 0.80318750514521,
lavenderblush = 0.90172748631046,
lawngreen = 0.73905893124963,
lemonchiffon = 0.94038992245622,
lightblue = 0.63709141280807,
lightcoral = 0.35522120733135,
lightcyan = 0.94587293494829,
lightgoldenrodyellow = 0.93348351018297,
lightgray = 0.65140563741982,
lightgreen = 0.69091979956865,
lightgrey = 0.65140563741982,
lightpink = 0.58566152734898,
lightsalmon = 0.4780675225206,
lightseagreen = 0.35050145117042,
lightskyblue = 0.56195637618331,
lightslategray = 0.23830165007287,
lightslategrey = 0.23830165007287,
lightsteelblue = 0.53983888284666,
lightyellow = 0.98161818392882,
lime = 0.7152,
limegreen = 0.44571042246098,
linen = 0.88357340984379,
magenta = 0.2848,
maroon = 0.045891942324215,
mediumaquamarine = 0.49389703310801,
mediumblue = 0.044077780212328,
mediumorchid = 0.21639251153773,
mediumpurple = 0.22905858091648,
mediumseagreen = 0.34393112338131,
mediumslateblue = 0.20284629471622,
mediumspringgreen = 0.70704308194184,
mediumturquoise = 0.5133827926448,
mediumvioletred = 0.14371899849357,
midnightblue = 0.02071786635086,
mintcream = 0.97834604947588,
mistyrose = 0.82183047859185,
moccasin = 0.80083000991567,
navajowhite = 0.76519682342785,
navy = 0.015585128108224,
oldlace = 0.91900633405549,
olive = 0.20027537200568,
olivedrab = 0.22593150951929,
orange = 0.4817026703631,
orangered = 0.25516243753416,
orchid = 0.31348806761439,
palegoldenrod = 0.78792647887614,
palegreen = 0.77936759006353,
paleturquoise = 0.76436077921714,
palevioletred = 0.28754994117889,
papayawhip = 0.87797100199835,
peachpuff = 0.74905589878251,
peru = 0.30113074877936,
pink = 0.63271070702466,
plum = 0.45734221587969,
powderblue = 0.68254586500605,
purple = 0.061477070432439,
rebeccapurple = 0.07492341159447,
red = 0.2126,
rosybrown = 0.32319457649407,
royalblue = 0.16663210743188,
saddlebrown = 0.097922285020521,
salmon = 0.36977241527596,
sandybrown = 0.46628543696283,
seagreen = 0.19734199706275,
seashell = 0.92737862206922,
sienna = 0.13697631337098,
silver = 0.52711512570581,
skyblue = 0.55291668518184,
slateblue = 0.14784278062136,
slategray = 0.20896704076536,
slategrey = 0.20896704076536,
snow = 0.96533341834849,
springgreen = 0.73052306068529,
steelblue = 0.20562642207625,
tan = 0.48237604163921,
teal = 0.16996855778968,
thistle = 0.56818401093733,
tomato = 0.30638612719415,
turquoise = 0.5895536427578,
violet = 0.40315452986676,
wheat = 0.74909702820482,
white = 1,
whitesmoke = 0.91309865179342,
yellow = 0.9278,
yellowgreen = 0.50762957208707,
}
6ae47fdb24de4eed5ec26d203faf5341a388987b
Template:Nobold/styles.css
10
1525
3122
2019-03-03T23:43:41Z
Wikipedia>Pppery
0
Adding protection template
sanitized-css
text/css
/* {{pp-template}} */
/* Styling for Template:Nobold */
.nobold {
font-weight: normal;
}
83e5f0adacf8c7984251f1fd9d11ed82ebaadf03
Template:Lua
10
1499
3061
2019-03-20T22:04:45Z
Wikipedia>RMCD bot
0
Removing notice of move discussion
wikitext
text/x-wiki
<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude>
{{Lua|Module:Lua banner}}
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
dba3962144dacd289dbc34f50fbe0a7bf6d7f2f7
Template:Clc
10
1500
3063
2019-04-24T04:30:59Z
Wikipedia>JJMC89
0
actual template is in the category
wikitext
text/x-wiki
#REDIRECT [[Template:Category link with count]]
02280e2ab57b544236e11f913e3759c5781ca9d5
Template:Flagdeco/core
10
1458
2979
2019-10-22T23:20:36Z
Wikipedia>S.A. Julio
0
/* top */adjusting for improved method to define custom flag sizes
wikitext
text/x-wiki
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|{{{size flag alias-{{{variant}}}|{{#if:{{{variant|}}}|23x15px|{{{size flag alias|23x15px}}}}}}}}}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]</span><noinclude>{{documentation}}</noinclude>
42dea5caf343aa87e6e075eb1bec3aebe1f396b1
Template:Ombox
10
1451
2965
2020-04-01T06:12:36Z
Wikipedia>MusikAnimal
0
1 revision imported
wikitext
text/x-wiki
{{#invoke:Message box|ombox}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
0e54065432d540737b9e56c4e3a8e7f74d4534ea
Module:Arguments
828
1415
2893
2020-04-01T06:12:40Z
Wikipedia>MusikAnimal
0
1 revision imported
Scribunto
text/plain
-- This module provides easy processing of arguments passed to Scribunto from
-- #invoke. It is intended for use by other Lua modules, and should not be
-- called from #invoke directly.
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local arguments = {}
-- Generate four different tidyVal functions, so that we don't have to check the
-- options every time we call it.
local function tidyValDefault(key, val)
if type(val) == 'string' then
val = val:match('^%s*(.-)%s*$')
if val == '' then
return nil
else
return val
end
else
return val
end
end
local function tidyValTrimOnly(key, val)
if type(val) == 'string' then
return val:match('^%s*(.-)%s*$')
else
return val
end
end
local function tidyValRemoveBlanksOnly(key, val)
if type(val) == 'string' then
if val:find('%S') then
return val
else
return nil
end
else
return val
end
end
local function tidyValNoChange(key, val)
return val
end
local function matchesTitle(given, title)
local tp = type( given )
return (tp == 'string' or tp == 'number') and mw.title.new( given ).prefixedText == title
end
local translate_mt = { __index = function(t, k) return k end }
function arguments.getArgs(frame, options)
checkType('getArgs', 1, frame, 'table', true)
checkType('getArgs', 2, options, 'table', true)
frame = frame or {}
options = options or {}
--[[
-- Set up argument translation.
--]]
options.translate = options.translate or {}
if getmetatable(options.translate) == nil then
setmetatable(options.translate, translate_mt)
end
if options.backtranslate == nil then
options.backtranslate = {}
for k,v in pairs(options.translate) do
options.backtranslate[v] = k
end
end
if options.backtranslate and getmetatable(options.backtranslate) == nil then
setmetatable(options.backtranslate, {
__index = function(t, k)
if options.translate[k] ~= k then
return nil
else
return k
end
end
})
end
--[[
-- Get the argument tables. If we were passed a valid frame object, get the
-- frame arguments (fargs) and the parent frame arguments (pargs), depending
-- on the options set and on the parent frame's availability. If we weren't
-- passed a valid frame object, we are being called from another Lua module
-- or from the debug console, so assume that we were passed a table of args
-- directly, and assign it to a new variable (luaArgs).
--]]
local fargs, pargs, luaArgs
if type(frame.args) == 'table' and type(frame.getParent) == 'function' then
if options.wrappers then
--[[
-- The wrappers option makes Module:Arguments look up arguments in
-- either the frame argument table or the parent argument table, but
-- not both. This means that users can use either the #invoke syntax
-- or a wrapper template without the loss of performance associated
-- with looking arguments up in both the frame and the parent frame.
-- Module:Arguments will look up arguments in the parent frame
-- if it finds the parent frame's title in options.wrapper;
-- otherwise it will look up arguments in the frame object passed
-- to getArgs.
--]]
local parent = frame:getParent()
if not parent then
fargs = frame.args
else
local title = parent:getTitle():gsub('/sandbox$', '')
local found = false
if matchesTitle(options.wrappers, title) then
found = true
elseif type(options.wrappers) == 'table' then
for _,v in pairs(options.wrappers) do
if matchesTitle(v, title) then
found = true
break
end
end
end
-- We test for false specifically here so that nil (the default) acts like true.
if found or options.frameOnly == false then
pargs = parent.args
end
if not found or options.parentOnly == false then
fargs = frame.args
end
end
else
-- options.wrapper isn't set, so check the other options.
if not options.parentOnly then
fargs = frame.args
end
if not options.frameOnly then
local parent = frame:getParent()
pargs = parent and parent.args or nil
end
end
if options.parentFirst then
fargs, pargs = pargs, fargs
end
else
luaArgs = frame
end
-- Set the order of precedence of the argument tables. If the variables are
-- nil, nothing will be added to the table, which is how we avoid clashes
-- between the frame/parent args and the Lua args.
local argTables = {fargs}
argTables[#argTables + 1] = pargs
argTables[#argTables + 1] = luaArgs
--[[
-- Generate the tidyVal function. If it has been specified by the user, we
-- use that; if not, we choose one of four functions depending on the
-- options chosen. This is so that we don't have to call the options table
-- every time the function is called.
--]]
local tidyVal = options.valueFunc
if tidyVal then
if type(tidyVal) ~= 'function' then
error(
"bad value assigned to option 'valueFunc'"
.. '(function expected, got '
.. type(tidyVal)
.. ')',
2
)
end
elseif options.trim ~= false then
if options.removeBlanks ~= false then
tidyVal = tidyValDefault
else
tidyVal = tidyValTrimOnly
end
else
if options.removeBlanks ~= false then
tidyVal = tidyValRemoveBlanksOnly
else
tidyVal = tidyValNoChange
end
end
--[[
-- Set up the args, metaArgs and nilArgs tables. args will be the one
-- accessed from functions, and metaArgs will hold the actual arguments. Nil
-- arguments are memoized in nilArgs, and the metatable connects all of them
-- together.
--]]
local args, metaArgs, nilArgs, metatable = {}, {}, {}, {}
setmetatable(args, metatable)
local function mergeArgs(tables)
--[[
-- Accepts multiple tables as input and merges their keys and values
-- into one table. If a value is already present it is not overwritten;
-- tables listed earlier have precedence. We are also memoizing nil
-- values, which can be overwritten if they are 's' (soft).
--]]
for _, t in ipairs(tables) do
for key, val in pairs(t) do
if metaArgs[key] == nil and nilArgs[key] ~= 'h' then
local tidiedVal = tidyVal(key, val)
if tidiedVal == nil then
nilArgs[key] = 's'
else
metaArgs[key] = tidiedVal
end
end
end
end
end
--[[
-- Define metatable behaviour. Arguments are memoized in the metaArgs table,
-- and are only fetched from the argument tables once. Fetching arguments
-- from the argument tables is the most resource-intensive step in this
-- module, so we try and avoid it where possible. For this reason, nil
-- arguments are also memoized, in the nilArgs table. Also, we keep a record
-- in the metatable of when pairs and ipairs have been called, so we do not
-- run pairs and ipairs on the argument tables more than once. We also do
-- not run ipairs on fargs and pargs if pairs has already been run, as all
-- the arguments will already have been copied over.
--]]
metatable.__index = function (t, key)
--[[
-- Fetches an argument when the args table is indexed. First we check
-- to see if the value is memoized, and if not we try and fetch it from
-- the argument tables. When we check memoization, we need to check
-- metaArgs before nilArgs, as both can be non-nil at the same time.
-- If the argument is not present in metaArgs, we also check whether
-- pairs has been run yet. If pairs has already been run, we return nil.
-- This is because all the arguments will have already been copied into
-- metaArgs by the mergeArgs function, meaning that any other arguments
-- must be nil.
--]]
if type(key) == 'string' then
key = options.translate[key]
end
local val = metaArgs[key]
if val ~= nil then
return val
elseif metatable.donePairs or nilArgs[key] then
return nil
end
for _, argTable in ipairs(argTables) do
local argTableVal = tidyVal(key, argTable[key])
if argTableVal ~= nil then
metaArgs[key] = argTableVal
return argTableVal
end
end
nilArgs[key] = 'h'
return nil
end
metatable.__newindex = function (t, key, val)
-- This function is called when a module tries to add a new value to the
-- args table, or tries to change an existing value.
if type(key) == 'string' then
key = options.translate[key]
end
if options.readOnly then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; the table is read-only',
2
)
elseif options.noOverwrite and args[key] ~= nil then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; overwriting existing arguments is not permitted',
2
)
elseif val == nil then
--[[
-- If the argument is to be overwritten with nil, we need to erase
-- the value in metaArgs, so that __index, __pairs and __ipairs do
-- not use a previous existing value, if present; and we also need
-- to memoize the nil in nilArgs, so that the value isn't looked
-- up in the argument tables if it is accessed again.
--]]
metaArgs[key] = nil
nilArgs[key] = 'h'
else
metaArgs[key] = val
end
end
local function translatenext(invariant)
local k, v = next(invariant.t, invariant.k)
invariant.k = k
if k == nil then
return nil
elseif type(k) ~= 'string' or not options.backtranslate then
return k, v
else
local backtranslate = options.backtranslate[k]
if backtranslate == nil then
-- Skip this one. This is a tail call, so this won't cause stack overflow
return translatenext(invariant)
else
return backtranslate, v
end
end
end
metatable.__pairs = function ()
-- Called when pairs is run on the args table.
if not metatable.donePairs then
mergeArgs(argTables)
metatable.donePairs = true
end
return translatenext, { t = metaArgs }
end
local function inext(t, i)
-- This uses our __index metamethod
local v = t[i + 1]
if v ~= nil then
return i + 1, v
end
end
metatable.__ipairs = function (t)
-- Called when ipairs is run on the args table.
return inext, t, 0
end
return args
end
return arguments
3134ecce8429b810d445e29eae115e2ae4c36c53
Module:Yesno
828
1414
2891
2020-04-01T06:27:55Z
Wikipedia>MusikAnimal
0
Undid revision 948472533 by [[Special:Contributions/w>Vogone|w>Vogone]] ([[User talk:w>Vogone|talk]])
Scribunto
text/plain
-- Function allowing for consistent treatment of boolean-like wikitext input.
-- It works similarly to the template {{yesno}}.
return function (val, default)
-- If your wiki uses non-ascii characters for any of "yes", "no", etc., you
-- should replace "val:lower()" with "mw.ustring.lower(val)" in the
-- following line.
val = type(val) == 'string' and val:lower() or val
if val == nil then
return nil
elseif val == true
or val == 'yes'
or val == 'y'
or val == 'true'
or val == 't'
or val == 'on'
or tonumber(val) == 1
then
return true
elseif val == false
or val == 'no'
or val == 'n'
or val == 'false'
or val == 'f'
or val == 'off'
or tonumber(val) == 0
then
return false
else
return default
end
end
f767643e7d12126d020d88d662a3dd057817b9dc
Module:File link
828
1443
2949
2020-04-01T06:31:54Z
Wikipedia>MusikAnimal
0
Undid revision 948472508 by [[Special:Contributions/w>IPad365|w>IPad365]] ([[User talk:w>IPad365|talk]])
Scribunto
text/plain
-- This module provides a library for formatting file wikilinks.
local yesno = require('Module:Yesno')
local checkType = require('libraryUtil').checkType
local p = {}
function p._main(args)
checkType('_main', 1, args, 'table')
-- This is basically libraryUtil.checkTypeForNamedArg, but we are rolling our
-- own function to get the right error level.
local function checkArg(key, val, level)
if type(val) ~= 'string' then
error(string.format(
"type error in '%s' parameter of '_main' (expected string, got %s)",
key, type(val)
), level)
end
end
local ret = {}
-- Adds a positional parameter to the buffer.
local function addPositional(key)
local val = args[key]
if not val then
return nil
end
checkArg(key, val, 4)
ret[#ret + 1] = val
end
-- Adds a named parameter to the buffer. We assume that the parameter name
-- is the same as the argument key.
local function addNamed(key)
local val = args[key]
if not val then
return nil
end
checkArg(key, val, 4)
ret[#ret + 1] = key .. '=' .. val
end
-- Filename
checkArg('file', args.file, 3)
ret[#ret + 1] = 'File:' .. args.file
-- Format
if args.format then
checkArg('format', args.format)
if args.formatfile then
checkArg('formatfile', args.formatfile)
ret[#ret + 1] = args.format .. '=' .. args.formatfile
else
ret[#ret + 1] = args.format
end
end
-- Border
if yesno(args.border) then
ret[#ret + 1] = 'border'
end
addPositional('location')
addPositional('alignment')
addPositional('size')
addNamed('upright')
addNamed('link')
addNamed('alt')
addNamed('page')
addNamed('class')
addNamed('lang')
addNamed('start')
addNamed('end')
addNamed('thumbtime')
addPositional('caption')
return string.format('[[%s]]', table.concat(ret, '|'))
end
function p.main(frame)
local origArgs = require('Module:Arguments').getArgs(frame, {
wrappers = 'Template:File link'
})
if not origArgs.file then
error("'file' parameter missing from [[Template:File link]]", 0)
end
-- Copy the arguments that were passed to a new table to avoid looking up
-- every possible parameter in the frame object.
local args = {}
for k, v in pairs(origArgs) do
-- Make _BLANK a special argument to add a blank parameter. For use in
-- conditional templates etc. it is useful for blank arguments to be
-- ignored, but we still need a way to specify them so that we can do
-- things like [[File:Example.png|link=]].
if v == '_BLANK' then
v = ''
end
args[k] = v
end
return p._main(args)
end
return p
66925f088d11530f2482f04181a3baaaa0ad3d0c
Template:Sandbox other
10
1488
3039
2020-04-03T00:08:09Z
Wikipedia>Evad37
0
Also match subpage names beginning with "sandbox", per [[Template_talk:Sandbox_other#Template-protected_edit_request_on_28_March_2020|edit request]]
wikitext
text/x-wiki
{{#if:{{#ifeq:{{#invoke:String|sublength|s={{SUBPAGENAME}}|i=0|len=7}}|sandbox|1}}{{#ifeq:{{SUBPAGENAME}}|doc|1}}{{#invoke:String|match|{{PAGENAME}}|/sandbox/styles.css$|plain=false|nomatch=}}|{{{1|}}}|{{{2|}}}}}<!--
--><noinclude>{{documentation}}</noinclude>
91e4ae891d6b791615152c1fbc971414961ba872
Template:MONTHNAME
10
1445
2953
2020-06-10T21:21:03Z
Wikipedia>Primefac
0
Reverted edits by [[Special:Contribs/Primefac|Primefac]] ([[User talk:Primefac|talk]]) to last version by Jo-Jo Eumerus
wikitext
text/x-wiki
<includeonly>{{#if:{{{1|}}}|{{#switch:{{MONTHNUMBER|{{{1}}}}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=''month''!}}|Missing required parameter 1=''month''!}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
25327282f70efd1189b70245a0e23509f3bb65e6
Template:Yesno
10
1420
2903
2020-08-28T03:15:17Z
Wikipedia>Xaosflux
0
add additional paramerters, "t", "f" - requested on talk - worked in sandbox /testcases
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#switch: {{<includeonly>safesubst:</includeonly>lc: {{{1|¬}}} }}
|no
|n
|f
|false
|off
|0 = {{{no|<!-- null -->}}}
| = {{{blank|{{{no|<!-- null -->}}}}}}
|¬ = {{{¬|}}}
|yes
|y
|t
|true
|on
|1 = {{{yes|yes}}}
|#default = {{{def|{{{yes|yes}}}}}}
}}<noinclude>
{{Documentation}}
</noinclude>
629c2937bc5cf7cfe13cd2a598582af832782399
Template:Increase
10
1463
2989
2020-09-08T22:54:27Z
Wikipedia>Sdkb
0
adding size parameter, per talk
wikitext
text/x-wiki
[[File:Increase2.svg|{{{size|11px}}}|alt={{{1|Increase}}}|link=|{{{1|Increase}}}]]<noinclude>
{{documentation}}
</noinclude>
dac0cb099f2bf8616e0649249f7e4593a2bf54bd
Template:Decrease
10
1475
3013
2020-09-08T22:55:18Z
Wikipedia>Sdkb
0
adding size parameter, per [[Template_talk:Increase#Size_parameter]]
wikitext
text/x-wiki
[[File:Decrease2.svg|{{{size|11px}}}|alt={{{1|Decrease}}}|link=|{{{1|Decrease}}}]]<noinclude>
{{Documentation}}
</noinclude>
ca2c92f64202d1cd0c9115430a0130fe02c27ae0
Template:Subpage other
10
1541
3154
2020-09-10T16:00:23Z
Wikipedia>Favonian
0
Changed protection level for "[[Template:Subpage other]]": [[WP:High-risk templates|Highly visible template]]: requested at [[WP:RFPP]] ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
wikitext
text/x-wiki
{{#ifeq:{{SUBPAGENAME}}|{{ROOTPAGENAME}}|{{{2|}}}|{{{1|}}}}}<!--
--><noinclude>{{documentation}}</noinclude>
ebcb508ec39c25594f4151c4e32c01eeb5732f3d
Template:Sup
10
1473
3009
2020-09-23T06:24:01Z
Wikipedia>RMCD bot
0
Removing notice of move discussion
wikitext
text/x-wiki
<includeonly><sup>{{{1}}}</sup></includeonly><noinclude>
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
d7d0f30bf52c68f2f488db57534de2552c40c938
Template:Tlg
10
1491
3045
2020-11-20T18:19:26Z
Wikipedia>Primefac
0
Primefac moved page [[Template:Tlg]] to [[Template:Template link general]]: clearer name
wikitext
text/x-wiki
#REDIRECT [[Template:Template link general]]
{{Redirect category shell|
{{R from move}}
}}
707ce913a3ffa8193c9377c3ded7db7b72407500
Template:Tl
10
1416
2895
2021-02-12T22:03:00Z
Wikipedia>Anthony Appleyard
0
Anthony Appleyard moved page [[Template:Tl]] to [[Template:Template link]]: [[Special:Permalink/1006428669|Requested]] by Buidhe at [[WP:RM/TR]]: RM closed as move
wikitext
text/x-wiki
#REDIRECT [[Template:Template link]]
{{Redirect category shell|
{{R from move}}
}}
d6593bb3b4a866249f55d0f34b047a71fe1f1529
Template:Template link general
10
1490
3043
2021-02-20T18:40:07Z
Wikipedia>Pppery
0
Make substable per edit request
wikitext
text/x-wiki
{{{{{|safesubst:}}}#Invoke:Template link general|main}}<noinclude>
{{Documentation}}
</noinclude>
9871d2f490eaedd832a0ae8016adbf807ddf7b71
Module:Math
828
1459
2981
2021-03-11T22:23:48Z
Wikipedia>Primefac
0
typo fix
Scribunto
text/plain
--[[
This module provides a number of basic mathematical operations.
]]
local yesno, getArgs -- lazily initialized
local p = {} -- Holds functions to be returned from #invoke, and functions to make available to other Lua modules.
local wrap = {} -- Holds wrapper functions that process arguments from #invoke. These act as intemediary between functions meant for #invoke and functions meant for Lua.
--[[
Helper functions used to avoid redundant code.
]]
local function err(msg)
-- Generates wikitext error messages.
return mw.ustring.format('<strong class="error">Formatting error: %s</strong>', msg)
end
local function unpackNumberArgs(args)
-- Returns an unpacked list of arguments specified with numerical keys.
local ret = {}
for k, v in pairs(args) do
if type(k) == 'number' then
table.insert(ret, v)
end
end
return unpack(ret)
end
local function makeArgArray(...)
-- Makes an array of arguments from a list of arguments that might include nils.
local args = {...} -- Table of arguments. It might contain nils or non-number values, so we can't use ipairs.
local nums = {} -- Stores the numbers of valid numerical arguments.
local ret = {}
for k, v in pairs(args) do
v = p._cleanNumber(v)
if v then
nums[#nums + 1] = k
args[k] = v
end
end
table.sort(nums)
for i, num in ipairs(nums) do
ret[#ret + 1] = args[num]
end
return ret
end
local function fold(func, ...)
-- Use a function on all supplied arguments, and return the result. The function must accept two numbers as parameters,
-- and must return a number as an output. This number is then supplied as input to the next function call.
local vals = makeArgArray(...)
local count = #vals -- The number of valid arguments
if count == 0 then return
-- Exit if we have no valid args, otherwise removing the first arg would cause an error.
nil, 0
end
local ret = table.remove(vals, 1)
for _, val in ipairs(vals) do
ret = func(ret, val)
end
return ret, count
end
--[[
Fold arguments by selectively choosing values (func should return when to choose the current "dominant" value).
]]
local function binary_fold(func, ...)
local value = fold((function(a, b) if func(a, b) then return a else return b end end), ...)
return value
end
--[[
random
Generate a random number
Usage:
{{#invoke: Math | random }}
{{#invoke: Math | random | maximum value }}
{{#invoke: Math | random | minimum value | maximum value }}
]]
function wrap.random(args)
local first = p._cleanNumber(args[1])
local second = p._cleanNumber(args[2])
return p._random(first, second)
end
function p._random(first, second)
math.randomseed(mw.site.stats.edits + mw.site.stats.pages + os.time() + math.floor(os.clock() * 1000000000))
-- math.random will throw an error if given an explicit nil parameter, so we need to use if statements to check the params.
if first and second then
if first <= second then -- math.random doesn't allow the first number to be greater than the second.
return math.random(first, second)
end
elseif first then
return math.random(first)
else
return math.random()
end
end
--[[
order
Determine order of magnitude of a number
Usage:
{{#invoke: Math | order | value }}
]]
function wrap.order(args)
local input_string = (args[1] or args.x or '0');
local input_number = p._cleanNumber(input_string);
if input_number == nil then
return err('order of magnitude input appears non-numeric')
else
return p._order(input_number)
end
end
function p._order(x)
if x == 0 then return 0 end
return math.floor(math.log10(math.abs(x)))
end
--[[
precision
Detemines the precision of a number using the string representation
Usage:
{{ #invoke: Math | precision | value }}
]]
function wrap.precision(args)
local input_string = (args[1] or args.x or '0');
local trap_fraction = args.check_fraction;
local input_number;
if not yesno then
yesno = require('Module:Yesno')
end
if yesno(trap_fraction, true) then -- Returns true for all input except nil, false, "no", "n", "0" and a few others. See [[Module:Yesno]].
local pos = string.find(input_string, '/', 1, true);
if pos ~= nil then
if string.find(input_string, '/', pos + 1, true) == nil then
local denominator = string.sub(input_string, pos+1, -1);
local denom_value = tonumber(denominator);
if denom_value ~= nil then
return math.log10(denom_value);
end
end
end
end
input_number, input_string = p._cleanNumber(input_string);
if input_string == nil then
return err('precision input appears non-numeric')
else
return p._precision(input_string)
end
end
function p._precision(x)
if type(x) == 'number' then
x = tostring(x)
end
x = string.upper(x)
local decimal = x:find('%.')
local exponent_pos = x:find('E')
local result = 0;
if exponent_pos ~= nil then
local exponent = string.sub(x, exponent_pos + 1)
x = string.sub(x, 1, exponent_pos - 1)
result = result - tonumber(exponent)
end
if decimal ~= nil then
result = result + string.len(x) - decimal
return result
end
local pos = string.len(x);
while x:byte(pos) == string.byte('0') do
pos = pos - 1
result = result - 1
if pos <= 0 then
return 0
end
end
return result
end
--[[
max
Finds the maximum argument
Usage:
{{#invoke:Math| max | value1 | value2 | ... }}
Note, any values that do not evaluate to numbers are ignored.
]]
function wrap.max(args)
return p._max(unpackNumberArgs(args))
end
function p._max(...)
local max_value = binary_fold((function(a, b) return a > b end), ...)
if max_value then
return max_value
end
end
--[[
median
Find the median of set of numbers
Usage:
{{#invoke:Math | median | number1 | number2 | ...}}
OR
{{#invoke:Math | median }}
]]
function wrap.median(args)
return p._median(unpackNumberArgs(args))
end
function p._median(...)
local vals = makeArgArray(...)
local count = #vals
table.sort(vals)
if count == 0 then
return 0
end
if p._mod(count, 2) == 0 then
return (vals[count/2] + vals[count/2+1])/2
else
return vals[math.ceil(count/2)]
end
end
--[[
min
Finds the minimum argument
Usage:
{{#invoke:Math| min | value1 | value2 | ... }}
OR
{{#invoke:Math| min }}
When used with no arguments, it takes its input from the parent
frame. Note, any values that do not evaluate to numbers are ignored.
]]
function wrap.min(args)
return p._min(unpackNumberArgs(args))
end
function p._min(...)
local min_value = binary_fold((function(a, b) return a < b end), ...)
if min_value then
return min_value
end
end
--[[
sum
Finds the sum
Usage:
{{#invoke:Math| sum | value1 | value2 | ... }}
OR
{{#invoke:Math| sum }}
Note, any values that do not evaluate to numbers are ignored.
]]
function wrap.sum(args)
return p._sum(unpackNumberArgs(args))
end
function p._sum(...)
local sums, count = fold((function(a, b) return a + b end), ...)
if not sums then
return 0
else
return sums
end
end
--[[
average
Finds the average
Usage:
{{#invoke:Math| average | value1 | value2 | ... }}
OR
{{#invoke:Math| average }}
Note, any values that do not evaluate to numbers are ignored.
]]
function wrap.average(args)
return p._average(unpackNumberArgs(args))
end
function p._average(...)
local sum, count = fold((function(a, b) return a + b end), ...)
if not sum then
return 0
else
return sum / count
end
end
--[[
round
Rounds a number to specified precision
Usage:
{{#invoke:Math | round | value | precision }}
--]]
function wrap.round(args)
local value = p._cleanNumber(args[1] or args.value or 0)
local precision = p._cleanNumber(args[2] or args.precision or 0)
if value == nil or precision == nil then
return err('round input appears non-numeric')
else
return p._round(value, precision)
end
end
function p._round(value, precision)
local rescale = math.pow(10, precision or 0);
return math.floor(value * rescale + 0.5) / rescale;
end
--[[
log10
returns the log (base 10) of a number
Usage:
{{#invoke:Math | log10 | x }}
]]
function wrap.log10(args)
return math.log10(args[1])
end
--[[
mod
Implements the modulo operator
Usage:
{{#invoke:Math | mod | x | y }}
--]]
function wrap.mod(args)
local x = p._cleanNumber(args[1])
local y = p._cleanNumber(args[2])
if not x then
return err('first argument to mod appears non-numeric')
elseif not y then
return err('second argument to mod appears non-numeric')
else
return p._mod(x, y)
end
end
function p._mod(x, y)
local ret = x % y
if not (0 <= ret and ret < y) then
ret = 0
end
return ret
end
--[[
gcd
Calculates the greatest common divisor of multiple numbers
Usage:
{{#invoke:Math | gcd | value 1 | value 2 | value 3 | ... }}
--]]
function wrap.gcd(args)
return p._gcd(unpackNumberArgs(args))
end
function p._gcd(...)
local function findGcd(a, b)
local r = b
local oldr = a
while r ~= 0 do
local quotient = math.floor(oldr / r)
oldr, r = r, oldr - quotient * r
end
if oldr < 0 then
oldr = oldr * -1
end
return oldr
end
local result, count = fold(findGcd, ...)
return result
end
--[[
precision_format
Rounds a number to the specified precision and formats according to rules
originally used for {{template:Rnd}}. Output is a string.
Usage:
{{#invoke: Math | precision_format | number | precision }}
]]
function wrap.precision_format(args)
local value_string = args[1] or 0
local precision = args[2] or 0
return p._precision_format(value_string, precision)
end
function p._precision_format(value_string, precision)
-- For access to Mediawiki built-in formatter.
local lang = mw.getContentLanguage();
local value
value, value_string = p._cleanNumber(value_string)
precision = p._cleanNumber(precision)
-- Check for non-numeric input
if value == nil or precision == nil then
return err('invalid input when rounding')
end
local current_precision = p._precision(value)
local order = p._order(value)
-- Due to round-off effects it is neccesary to limit the returned precision under
-- some circumstances because the terminal digits will be inaccurately reported.
if order + precision >= 14 then
if order + p._precision(value_string) >= 14 then
precision = 13 - order;
end
end
-- If rounding off, truncate extra digits
if precision < current_precision then
value = p._round(value, precision)
current_precision = p._precision(value)
end
local formatted_num = lang:formatNum(math.abs(value))
local sign
-- Use proper unary minus sign rather than ASCII default
if value < 0 then
sign = '−'
else
sign = ''
end
-- Handle cases requiring scientific notation
if string.find(formatted_num, 'E', 1, true) ~= nil or math.abs(order) >= 9 then
value = value * math.pow(10, -order)
current_precision = current_precision + order
precision = precision + order
formatted_num = lang:formatNum(math.abs(value))
else
order = 0;
end
formatted_num = sign .. formatted_num
-- Pad with zeros, if needed
if current_precision < precision then
local padding
if current_precision <= 0 then
if precision > 0 then
local zero_sep = lang:formatNum(1.1)
formatted_num = formatted_num .. zero_sep:sub(2,2)
padding = precision
if padding > 20 then
padding = 20
end
formatted_num = formatted_num .. string.rep('0', padding)
end
else
padding = precision - current_precision
if padding > 20 then
padding = 20
end
formatted_num = formatted_num .. string.rep('0', padding)
end
end
-- Add exponential notation, if necessary.
if order ~= 0 then
-- Use proper unary minus sign rather than ASCII default
if order < 0 then
order = '−' .. lang:formatNum(math.abs(order))
else
order = lang:formatNum(order)
end
formatted_num = formatted_num .. '<span style="margin:0 .15em 0 .25em">×</span>10<sup>' .. order .. '</sup>'
end
return formatted_num
end
--[[
divide
Implements the division operator
Usage:
{{#invoke:Math | divide | x | y | round= | precision= }}
--]]
function wrap.divide(args)
local x = args[1]
local y = args[2]
local round = args.round
local precision = args.precision
if not yesno then
yesno = require('Module:Yesno')
end
return p._divide(x, y, yesno(round), precision)
end
function p._divide(x, y, round, precision)
if y == nil or y == "" then
return err("Empty divisor")
elseif not tonumber(y) then
if type(y) == 'string' and string.sub(y, 1, 1) == '<' then
return y
else
return err("Not a number: " .. y)
end
elseif x == nil or x == "" then
return err("Empty dividend")
elseif not tonumber(x) then
if type(x) == 'string' and string.sub(x, 1, 1) == '<' then
return x
else
return err("Not a number: " .. x)
end
else
local z = x / y
if round then
return p._round(z, 0)
elseif precision then
return p._round(z, precision)
else
return z
end
end
end
--[[
Helper function that interprets the input numerically. If the
input does not appear to be a number, attempts evaluating it as
a parser functions expression.
]]
function p._cleanNumber(number_string)
if type(number_string) == 'number' then
-- We were passed a number, so we don't need to do any processing.
return number_string, tostring(number_string)
elseif type(number_string) ~= 'string' or not number_string:find('%S') then
-- We were passed a non-string or a blank string, so exit.
return nil, nil;
end
-- Attempt basic conversion
local number = tonumber(number_string)
-- If failed, attempt to evaluate input as an expression
if number == nil then
local success, result = pcall(mw.ext.ParserFunctions.expr, number_string)
if success then
number = tonumber(result)
number_string = tostring(number)
else
number = nil
number_string = nil
end
else
number_string = number_string:match("^%s*(.-)%s*$") -- String is valid but may contain padding, clean it.
number_string = number_string:match("^%+(.*)$") or number_string -- Trim any leading + signs.
if number_string:find('^%-?0[xX]') then
-- Number is using 0xnnn notation to indicate base 16; use the number that Lua detected instead.
number_string = tostring(number)
end
end
return number, number_string
end
--[[
Wrapper function that does basic argument processing. This ensures that all functions from #invoke can use either the current
frame or the parent frame, and it also trims whitespace for all arguments and removes blank arguments.
]]
local mt = { __index = function(t, k)
return function(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return wrap[k](getArgs(frame)) -- Argument processing is left to Module:Arguments. Whitespace is trimmed and blank arguments are removed.
end
end }
return setmetatable(p, mt)
2bbe734d898299f65412963a3c1782e9fcc4d9ca
Template:Template link
10
1417
2897
2021-03-25T19:03:22Z
Wikipedia>Izno
0
[[Wikipedia:Templates for discussion/Log/2021 March 18#Template:Tlu]] closed as keep ([[WP:XFDC#4.0.11|XFDcloser]])
wikitext
text/x-wiki
{{[[Template:{{{1}}}|{{{1}}}]]}}<noinclude>{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
eabbec62efe3044a98ebb3ce9e7d4d43c222351d
Template:Has short description
10
1528
3128
2021-03-29T18:21:45Z
Wikipedia>MusikBot II
0
Protected "[[Template:Has short description]]": [[Wikipedia:High-risk templates|High-risk template or module]] ([[User:MusikBot II/TemplateProtector|more info]]) ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
wikitext
text/x-wiki
{{#invoke:string2 |findpagetext |text={%{ *[Ss]hort description |plain=false |title={{{title|{{{1|}}} }}} }}<noinclude>
{{documentation}}
</noinclude>
87587209a436a4c02ef7564ffe868c4348cc6a3c
Template:Category link with count
10
1501
3065
2021-06-11T18:13:44Z
Wikipedia>GKFX
0
Support wider range of (valid) input format
wikitext
text/x-wiki
[[:Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|<!--
-->{{#if:{{{name|}}}|{{{name}}}|Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}}}<!--
-->]] ({{PAGESINCATEGORY:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|{{{2|all}}}}})<noinclude>
{{Documentation}}
</noinclude>
f93f1540b8c157703bd6d24ae35c35bef745981d
Template:Navbox
10
1531
3134
2021-06-26T18:05:09Z
Wikipedia>Trialpears
0
Remove TfD notice as it wouldn't involve any changes to this template.
wikitext
text/x-wiki
<includeonly>{{#invoke:Navbox|navbox}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
fe9b964401f895918ee4fe078678f1722a3c41ec
Template:Succession links
10
1460
2983
2021-07-30T01:00:27Z
Wikipedia>Goszei
0
ensure proper display on mobile
wikitext
text/x-wiki
{{#if:{{{above|}}}
|<div class="{{{aboveclass|}}}" style="width:100%; text-align:center; {{{abovestyle|}}}">{{{above}}}</div>
}}{{#if:{{{center|}}}
|<!-- then
--><table style="width:100%; margin:1px; display:inline-table;"><tr>
<td style="text-align:left; vertical-align:{{{vertical-align|middle}}}; padding:0 0.5em 0 0;{{#if:{{{wide|}}}|width:45%;}}{{{leftstyle|}}}" class="noprint">{{#if:{{{left|}}}|{{#if:{{{noarrows|}}}||← }}{{Delink question hyphen-minus|{{{left|}}}}}{{#if:{{{bullets|}}}| '''·'''}}}}</td>
{{#if:{{{center|}}}|
<td style="text-align:center; vertical-align:{{{vertical-align|middle}}};; padding:0 1px;{{{centerstyle|}}}" class="{{{centerclass|}}}">{{{center|}}}</td>
}}
<td style="text-align:right; vertical-align:{{{vertical-align|middle}}};; padding:0 0 0 0.5em;{{#if:{{{wide|}}}|width:45%;}}{{{rightstyle|}}}" class="noprint">{{#if:{{{right|}}}|{{#if:{{{bullets|}}}|'''·''' }}{{Delink question hyphen-minus|{{{right|}}}}}{{#if:{{{noarrows|}}}|| →}}}}</td>
</tr></table>
|<!-- else
-->{{#if:{{{left|}}}{{{right|}}}|<div style="width:100%">{{#if:{{{left|}}}|
<div style="float: left; text-align:left;padding-right:0.5em;{{{leftstyle|}}}" class="noprint">{{#if:{{{noarrows|}}}||← }}{{{left|}}}</div>
}}{{#if:{{{right|}}}|
<div style="float: right; text-align:right;padding-left:0.5em;{{{rightstyle|}}}" class="noprint">{{{right|}}}{{#if:{{{noarrows|}}}|| →}}</div>
}}</div>}}
}}<noinclude>{{documentation}}</noinclude>
69440132c87bdda8349cd83cd55b1db88112e68f
Template:UF-hcard-org
10
1547
3166
2021-08-02T18:52:40Z
Wikipedia>Sdkb
0
adding option to replace "start date and age" with just "start date"
wikitext
text/x-wiki
{{Microformat message
| format = hCard
| data = an organization's details
| subtemplates =
* Use {{#ifeq:{{yesno-yes|{{{age|}}}}}|yes|{{tl|Start date and age}}|{{tl|Start date}}}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, [[Wikipedia:WikiProject Microformats/dates|unless that date is before 1583 CE]].
* Use {{tl|URL}} for an organisation's URL.
|adr |agent |category |country-name |extended-address |fn |geo |label |latitude |locality |longitude |nickname |note |org |region |street-address |url |vcard
| nocollapse = on
}}<includeonly>{{sandbox other||
[[Category:Templates generating hCards]]
}}</includeonly><noinclude>
{{Documentation |content={{Microformat message templates}}}}
[[Category:Microformat (uF) message templates]]
[[Category:Templates generating hCards| ]]
</noinclude>
631bc99cd046167681b6eb518559d92fc65a4920
Template:Legend0
10
1486
3035
2021-08-17T01:13:05Z
Wikipedia>MusikBot II
0
Changed protection settings for "[[Template:Legend0]]": [[Wikipedia:High-risk templates|High-risk template or module]] 5208 transclusions ([[User:MusikBot II/TemplateProtector|more info]]) ([Edit=Require template editor access] (indefinite) [Move=Require administrator access] (indefinite))
wikitext
text/x-wiki
<span style="margin:0px; font-size:90%;"><span style="border:{{{border|none}}}; background-color:{{{1|none}}}; color:{{{1|none}}};"> </span> {{{2|}}}</span><noinclude>
{{Documentation}}
</noinclude>
203acdf585fd4adebf1c9cc5e3456b8ff52b182c
Module:GetParameters
828
1530
3132
2021-10-07T13:22:34Z
Wikipedia>Andrybak
0
drop misleading comment copy-pasted from [[Module:String]]
Scribunto
text/plain
local p = {}
--[[
Helper function that populates the argument list given that user may need to use a mix of
named and unnamed parameters. This is relevant because named parameters are not
identical to unnamed parameters due to string trimming, and when dealing with strings
we sometimes want to either preserve or remove that whitespace depending on the application.
]]
function p.getParameters( frame_args, arg_list )
local new_args = {};
local index = 1;
local value;
for i,arg in ipairs( arg_list ) do
value = frame_args[arg]
if value == nil then
value = frame_args[index];
index = index + 1;
end
new_args[arg] = value;
end
return new_args;
end
--[[
Helper Function to interpret boolean strings
]]
function p.getBoolean( boolean_str )
local boolean_value;
if type( boolean_str ) == 'string' then
boolean_str = boolean_str:lower();
if boolean_str == 'false' or boolean_str == 'no' or boolean_str == '0'
or boolean_str == '' then
boolean_value = false;
else
boolean_value = true;
end
elseif type( boolean_str ) == 'boolean' then
boolean_value = boolean_str;
else
error( 'No boolean value found' );
end
return boolean_value
end
function p.defined(frame)
local arg = mw.text.trim(frame.args[1])
--if arg == tostring(tonumber(arg)) then -- undesired result for '-0'
-- arg = tonumber(arg)
--end
--if mw.ustring.find(arg, '^%s*-?[1-9][0-9]*%s*$') ~= nil or arg == '0' then
-- arg = tonumber(arg)
--end
if mw.ustring.find(arg, '^-?[1-9][0-9]*$') ~= nil then
arg = tonumber(arg)
elseif arg == '0' then
arg = 0
end
return frame:getParent().args[arg] ~= nil
end
return p
00e952f0ee8f6ea68e990d589dfb15e7d4036623
Template:Main other
10
1421
2905
2021-12-10T16:08:06Z
Wikipedia>Xaosflux
0
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
wikitext
text/x-wiki
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|{{ns:0}}
| main
| other
}}
}}
| main = {{{1|}}}
| other
| #default = {{{2|}}}
}}<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>
86ad907ffeea3cc545159e00cd1f2d6433946450
Module:Navbox/styles.css
828
1534
3140
2021-12-21T22:10:10Z
Wikipedia>Izno
0
remove qualifications on th - this will remove styling from "hand-crafted" navboxes, but there's no other elegant way to deal with it. see talk page
sanitized-css
text/css
/* {{pp|small=y}} */
.navbox {
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
margin-top: 0; /* No top margin for nested navboxes */
}
.navbox + .navbox, /* TODO: remove first line after transclusions have updated */
.navbox + .navbox-styles + .navbox {
margin-top: -1px; /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em;
line-height: 1.5em;
text-align: center;
}
.navbox-group {
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background-color: #fdfdfd;
}
.navbox-list {
line-height: 1.5em;
border-color: #fdfdfd; /* Must match background color */
}
.navbox-list-with-group {
text-align: left;
border-left-width: 2px;
border-left-style: solid;
}
/* cell spacing for navbox cells */
/* Borders above 2nd, 3rd, etc. rows */
/* TODO: figure out how to replace tr as structure;
* with div structure it should be just a matter of first-child */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {
border-top: 2px solid #fdfdfd; /* Must match background color */
}
.navbox-title {
background-color: #ccf; /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
background-color: #ddf; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background-color: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background-color: #f7f7f7;
}
.navbox-odd {
background-color: transparent;
}
/* TODO: figure out how to remove reliance on td as structure */
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
}
e80b0d7a5770e6e105dab832deb6c37a5245ebc6
Module:Navbar/styles.css
828
1448
2959
2022-01-03T23:12:15Z
Wikipedia>Izno
0
navbar styles that were moved to parent templates
sanitized-css
text/css
/* {{pp|small=yes}} */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar-collapse {
float: left;
text-align: left;
}
.navbar-boxtext {
word-spacing: 0;
}
.navbar ul {
display: inline-block;
white-space: nowrap;
line-height: inherit;
}
.navbar-brackets::before {
margin-right: -0.125em;
content: '[ ';
}
.navbar-brackets::after {
margin-left: -0.125em;
content: ' ]';
}
.navbar li {
word-spacing: -0.125em;
}
.navbar a > span,
.navbar a > abbr {
text-decoration: inherit;
}
.navbar-mini abbr {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
.navbar-ct-full {
font-size: 114%;
margin: 0 7em;
}
.navbar-ct-mini {
font-size: 114%;
margin: 0 4em;
}
9d4056f949b4f0b159e3d40dfb1a5f01e72f9571
Template:Navbar/styles.css
10
1509
3081
2022-01-03T23:12:15Z
wikipedia>Izno
0
navbar styles that were moved to parent templates
sanitized-css
text/css
/* {{pp|small=yes}} */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar-collapse {
float: left;
text-align: left;
}
.navbar-boxtext {
word-spacing: 0;
}
.navbar ul {
display: inline-block;
white-space: nowrap;
line-height: inherit;
}
.navbar-brackets::before {
margin-right: -0.125em;
content: '[ ';
}
.navbar-brackets::after {
margin-left: -0.125em;
content: ' ]';
}
.navbar li {
word-spacing: -0.125em;
}
.navbar a > span,
.navbar a > abbr {
text-decoration: inherit;
}
.navbar-mini abbr {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
.navbar-ct-full {
font-size: 114%;
margin: 0 7em;
}
.navbar-ct-mini {
font-size: 114%;
margin: 0 4em;
}
9d4056f949b4f0b159e3d40dfb1a5f01e72f9571
Module:Infobox/styles.css
828
1428
2919
2022-01-18T15:18:00Z
Wikipedia>Jdlrobson
0
Fix [[phab:T281642]], a pet peeve of mine. This copies across styles from [[MediaWiki:Minerva.css]]
sanitized-css
text/css
/* {{pp|small=y}} */
/*
* This TemplateStyles sheet deliberately does NOT include the full set of
* infobox styles. We are still working to migrate all of the manual
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
* DO NOT ADD THEM HERE
*/
/*
* not strictly certain these styles are necessary since the modules now
* exclusively output infobox-subbox or infobox, not both
* just replicating the module faithfully
*/
.infobox-subbox {
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
.infobox-3cols-child {
margin: auto;
}
.infobox .navbar {
font-size: 100%;
}
/* T281642 */
body.skin-minerva .infobox-header,
body.skin-minerva .infobox-subheader,
body.skin-minerva .infobox-above,
body.skin-minerva .infobox-title,
body.skin-minerva .infobox-image,
body.skin-minerva .infobox-full-data,
body.skin-minerva .infobox-below {
text-align: center;
}
e8de6d96f4fde53afc4a6b0fed534405ab59b0a7
Template:Infobox/styles.css
10
1508
3079
2022-01-18T15:18:00Z
wikipedia>Jdlrobson
0
Fix [[phab:T281642]], a pet peeve of mine. This copies across styles from [[MediaWiki:Minerva.css]]
sanitized-css
text/css
/* {{pp|small=y}} */
/*
* This TemplateStyles sheet deliberately does NOT include the full set of
* infobox styles. We are still working to migrate all of the manual
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
* DO NOT ADD THEM HERE
*/
/*
* not strictly certain these styles are necessary since the modules now
* exclusively output infobox-subbox or infobox, not both
* just replicating the module faithfully
*/
.infobox-subbox {
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
.infobox-3cols-child {
margin: auto;
}
.infobox .navbar {
font-size: 100%;
}
/* T281642 */
body.skin-minerva .infobox-header,
body.skin-minerva .infobox-subheader,
body.skin-minerva .infobox-above,
body.skin-minerva .infobox-title,
body.skin-minerva .infobox-image,
body.skin-minerva .infobox-full-data,
body.skin-minerva .infobox-below {
text-align: center;
}
e8de6d96f4fde53afc4a6b0fed534405ab59b0a7
Module:TableTools
828
1430
2923
2022-01-31T13:08:18Z
Wikipedia>MSGJ
0
updates/fixes requested by [[User:Uzume]]
Scribunto
text/plain
------------------------------------------------------------------------------------
-- TableTools --
-- --
-- This module includes a number of functions for dealing with Lua tables. --
-- It is a meta-module, meant to be called from other Lua modules, and should not --
-- be called directly from #invoke. --
------------------------------------------------------------------------------------
local libraryUtil = require('libraryUtil')
local p = {}
-- Define often-used variables and functions.
local floor = math.floor
local infinity = math.huge
local checkType = libraryUtil.checkType
local checkTypeMulti = libraryUtil.checkTypeMulti
------------------------------------------------------------------------------------
-- isPositiveInteger
--
-- This function returns true if the given value is a positive integer, and false
-- if not. Although it doesn't operate on tables, it is included here as it is
-- useful for determining whether a given table key is in the array part or the
-- hash part of a table.
------------------------------------------------------------------------------------
function p.isPositiveInteger(v)
return type(v) == 'number' and v >= 1 and floor(v) == v and v < infinity
end
------------------------------------------------------------------------------------
-- isNan
--
-- This function returns true if the given number is a NaN value, and false if
-- not. Although it doesn't operate on tables, it is included here as it is useful
-- for determining whether a value can be a valid table key. Lua will generate an
-- error if a NaN is used as a table key.
------------------------------------------------------------------------------------
function p.isNan(v)
return type(v) == 'number' and v ~= v
end
------------------------------------------------------------------------------------
-- shallowClone
--
-- This returns a clone of a table. The value returned is a new table, but all
-- subtables and functions are shared. Metamethods are respected, but the returned
-- table will have no metatable of its own.
------------------------------------------------------------------------------------
function p.shallowClone(t)
checkType('shallowClone', 1, t, 'table')
local ret = {}
for k, v in pairs(t) do
ret[k] = v
end
return ret
end
------------------------------------------------------------------------------------
-- removeDuplicates
--
-- This removes duplicate values from an array. Non-positive-integer keys are
-- ignored. The earliest value is kept, and all subsequent duplicate values are
-- removed, but otherwise the array order is unchanged.
------------------------------------------------------------------------------------
function p.removeDuplicates(arr)
checkType('removeDuplicates', 1, arr, 'table')
local isNan = p.isNan
local ret, exists = {}, {}
for _, v in ipairs(arr) do
if isNan(v) then
-- NaNs can't be table keys, and they are also unique, so we don't need to check existence.
ret[#ret + 1] = v
else
if not exists[v] then
ret[#ret + 1] = v
exists[v] = true
end
end
end
return ret
end
------------------------------------------------------------------------------------
-- numKeys
--
-- This takes a table and returns an array containing the numbers of any numerical
-- keys that have non-nil values, sorted in numerical order.
------------------------------------------------------------------------------------
function p.numKeys(t)
checkType('numKeys', 1, t, 'table')
local isPositiveInteger = p.isPositiveInteger
local nums = {}
for k in pairs(t) do
if isPositiveInteger(k) then
nums[#nums + 1] = k
end
end
table.sort(nums)
return nums
end
------------------------------------------------------------------------------------
-- affixNums
--
-- This takes a table and returns an array containing the numbers of keys with the
-- specified prefix and suffix. For example, for the table
-- {a1 = 'foo', a3 = 'bar', a6 = 'baz'} and the prefix "a", affixNums will return
-- {1, 3, 6}.
------------------------------------------------------------------------------------
function p.affixNums(t, prefix, suffix)
checkType('affixNums', 1, t, 'table')
checkType('affixNums', 2, prefix, 'string', true)
checkType('affixNums', 3, suffix, 'string', true)
local function cleanPattern(s)
-- Cleans a pattern so that the magic characters ()%.[]*+-?^$ are interpreted literally.
return s:gsub('([%(%)%%%.%[%]%*%+%-%?%^%$])', '%%%1')
end
prefix = prefix or ''
suffix = suffix or ''
prefix = cleanPattern(prefix)
suffix = cleanPattern(suffix)
local pattern = '^' .. prefix .. '([1-9]%d*)' .. suffix .. '$'
local nums = {}
for k in pairs(t) do
if type(k) == 'string' then
local num = mw.ustring.match(k, pattern)
if num then
nums[#nums + 1] = tonumber(num)
end
end
end
table.sort(nums)
return nums
end
------------------------------------------------------------------------------------
-- numData
--
-- Given a table with keys like {"foo1", "bar1", "foo2", "baz2"}, returns a table
-- of subtables in the format
-- {[1] = {foo = 'text', bar = 'text'}, [2] = {foo = 'text', baz = 'text'}}.
-- Keys that don't end with an integer are stored in a subtable named "other". The
-- compress option compresses the table so that it can be iterated over with
-- ipairs.
------------------------------------------------------------------------------------
function p.numData(t, compress)
checkType('numData', 1, t, 'table')
checkType('numData', 2, compress, 'boolean', true)
local ret = {}
for k, v in pairs(t) do
local prefix, num = mw.ustring.match(tostring(k), '^([^0-9]*)([1-9][0-9]*)$')
if num then
num = tonumber(num)
local subtable = ret[num] or {}
if prefix == '' then
-- Positional parameters match the blank string; put them at the start of the subtable instead.
prefix = 1
end
subtable[prefix] = v
ret[num] = subtable
else
local subtable = ret.other or {}
subtable[k] = v
ret.other = subtable
end
end
if compress then
local other = ret.other
ret = p.compressSparseArray(ret)
ret.other = other
end
return ret
end
------------------------------------------------------------------------------------
-- compressSparseArray
--
-- This takes an array with one or more nil values, and removes the nil values
-- while preserving the order, so that the array can be safely traversed with
-- ipairs.
------------------------------------------------------------------------------------
function p.compressSparseArray(t)
checkType('compressSparseArray', 1, t, 'table')
local ret = {}
local nums = p.numKeys(t)
for _, num in ipairs(nums) do
ret[#ret + 1] = t[num]
end
return ret
end
------------------------------------------------------------------------------------
-- sparseIpairs
--
-- This is an iterator for sparse arrays. It can be used like ipairs, but can
-- handle nil values.
------------------------------------------------------------------------------------
function p.sparseIpairs(t)
checkType('sparseIpairs', 1, t, 'table')
local nums = p.numKeys(t)
local i = 0
local lim = #nums
return function ()
i = i + 1
if i <= lim then
local key = nums[i]
return key, t[key]
else
return nil, nil
end
end
end
------------------------------------------------------------------------------------
-- size
--
-- This returns the size of a key/value pair table. It will also work on arrays,
-- but for arrays it is more efficient to use the # operator.
------------------------------------------------------------------------------------
function p.size(t)
checkType('size', 1, t, 'table')
local i = 0
for _ in pairs(t) do
i = i + 1
end
return i
end
local function defaultKeySort(item1, item2)
-- "number" < "string", so numbers will be sorted before strings.
local type1, type2 = type(item1), type(item2)
if type1 ~= type2 then
return type1 < type2
elseif type1 == 'table' or type1 == 'boolean' or type1 == 'function' then
return tostring(item1) < tostring(item2)
else
return item1 < item2
end
end
------------------------------------------------------------------------------------
-- keysToList
--
-- Returns an array of the keys in a table, sorted using either a default
-- comparison function or a custom keySort function.
------------------------------------------------------------------------------------
function p.keysToList(t, keySort, checked)
if not checked then
checkType('keysToList', 1, t, 'table')
checkTypeMulti('keysToList', 2, keySort, {'function', 'boolean', 'nil'})
end
local arr = {}
local index = 1
for k in pairs(t) do
arr[index] = k
index = index + 1
end
if keySort ~= false then
keySort = type(keySort) == 'function' and keySort or defaultKeySort
table.sort(arr, keySort)
end
return arr
end
------------------------------------------------------------------------------------
-- sortedPairs
--
-- Iterates through a table, with the keys sorted using the keysToList function.
-- If there are only numerical keys, sparseIpairs is probably more efficient.
------------------------------------------------------------------------------------
function p.sortedPairs(t, keySort)
checkType('sortedPairs', 1, t, 'table')
checkType('sortedPairs', 2, keySort, 'function', true)
local arr = p.keysToList(t, keySort, true)
local i = 0
return function ()
i = i + 1
local key = arr[i]
if key ~= nil then
return key, t[key]
else
return nil, nil
end
end
end
------------------------------------------------------------------------------------
-- isArray
--
-- Returns true if the given value is a table and all keys are consecutive
-- integers starting at 1.
------------------------------------------------------------------------------------
function p.isArray(v)
if type(v) ~= 'table' then
return false
end
local i = 0
for _ in pairs(v) do
i = i + 1
if v[i] == nil then
return false
end
end
return true
end
------------------------------------------------------------------------------------
-- isArrayLike
--
-- Returns true if the given value is iterable and all keys are consecutive
-- integers starting at 1.
------------------------------------------------------------------------------------
function p.isArrayLike(v)
if not pcall(pairs, v) then
return false
end
local i = 0
for _ in pairs(v) do
i = i + 1
if v[i] == nil then
return false
end
end
return true
end
------------------------------------------------------------------------------------
-- invert
--
-- Transposes the keys and values in an array. For example, {"a", "b", "c"} ->
-- {a = 1, b = 2, c = 3}. Duplicates are not supported (result values refer to
-- the index of the last duplicate) and NaN values are ignored.
------------------------------------------------------------------------------------
function p.invert(arr)
checkType("invert", 1, arr, "table")
local isNan = p.isNan
local map = {}
for i, v in ipairs(arr) do
if not isNan(v) then
map[v] = i
end
end
return map
end
------------------------------------------------------------------------------------
-- listToSet
--
-- Creates a set from the array part of the table. Indexing the set by any of the
-- values of the array returns true. For example, {"a", "b", "c"} ->
-- {a = true, b = true, c = true}. NaN values are ignored as Lua considers them
-- never equal to any value (including other NaNs or even themselves).
------------------------------------------------------------------------------------
function p.listToSet(arr)
checkType("listToSet", 1, arr, "table")
local isNan = p.isNan
local set = {}
for _, v in ipairs(arr) do
if not isNan(v) then
set[v] = true
end
end
return set
end
------------------------------------------------------------------------------------
-- deepCopy
--
-- Recursive deep copy function. Preserves identities of subtables.
------------------------------------------------------------------------------------
local function _deepCopy(orig, includeMetatable, already_seen)
-- Stores copies of tables indexed by the original table.
already_seen = already_seen or {}
local copy = already_seen[orig]
if copy ~= nil then
return copy
end
if type(orig) == 'table' then
copy = {}
for orig_key, orig_value in pairs(orig) do
copy[_deepCopy(orig_key, includeMetatable, already_seen)] = _deepCopy(orig_value, includeMetatable, already_seen)
end
already_seen[orig] = copy
if includeMetatable then
local mt = getmetatable(orig)
if mt ~= nil then
local mt_copy = _deepCopy(mt, includeMetatable, already_seen)
setmetatable(copy, mt_copy)
already_seen[mt] = mt_copy
end
end
else -- number, string, boolean, etc
copy = orig
end
return copy
end
function p.deepCopy(orig, noMetatable, already_seen)
checkType("deepCopy", 3, already_seen, "table", true)
return _deepCopy(orig, not noMetatable, already_seen)
end
------------------------------------------------------------------------------------
-- sparseConcat
--
-- Concatenates all values in the table that are indexed by a number, in order.
-- sparseConcat{a, nil, c, d} => "acd"
-- sparseConcat{nil, b, c, d} => "bcd"
------------------------------------------------------------------------------------
function p.sparseConcat(t, sep, i, j)
local arr = {}
local arr_i = 0
for _, v in p.sparseIpairs(t) do
arr_i = arr_i + 1
arr[arr_i] = v
end
return table.concat(arr, sep, i, j)
end
------------------------------------------------------------------------------------
-- length
--
-- Finds the length of an array, or of a quasi-array with keys such as "data1",
-- "data2", etc., using an exponential search algorithm. It is similar to the
-- operator #, but may return a different value when there are gaps in the array
-- portion of the table. Intended to be used on data loaded with mw.loadData. For
-- other tables, use #.
-- Note: #frame.args in frame object always be set to 0, regardless of the number
-- of unnamed template parameters, so use this function for frame.args.
------------------------------------------------------------------------------------
function p.length(t, prefix)
-- requiring module inline so that [[Module:Exponential search]] which is
-- only needed by this one function doesn't get millions of transclusions
local expSearch = require("Module:Exponential search")
checkType('length', 1, t, 'table')
checkType('length', 2, prefix, 'string', true)
return expSearch(function (i)
local key
if prefix then
key = prefix .. tostring(i)
else
key = i
end
return t[key] ~= nil
end) or 0
end
------------------------------------------------------------------------------------
-- inArray
--
-- Returns true if valueToFind is a member of the array, and false otherwise.
------------------------------------------------------------------------------------
function p.inArray(arr, valueToFind)
checkType("inArray", 1, arr, "table")
-- if valueToFind is nil, error?
for _, v in ipairs(arr) do
if v == valueToFind then
return true
end
end
return false
end
return p
085e7094ac84eb0132ee65822cf3f69cd8ba3d81
Module:Check for unknown parameters
828
1424
2911
2022-02-21T05:24:13Z
Wikipedia>BusterD
0
Changed protection settings for "[[Module:Check for unknown parameters]]": [[WP:High-risk templates|Highly visible template]]; requested at [[WP:RfPP]] ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
Scribunto
text/plain
-- This module may be used to compare the arguments passed to the parent
-- with a list of arguments, returning a specified result if an argument is
-- not on the list
local p = {}
local function trim(s)
return s:match('^%s*(.-)%s*$')
end
local function isnotempty(s)
return s and s:match('%S')
end
local function clean(text)
-- Return text cleaned for display and truncated if too long.
-- Strip markers are replaced with dummy text representing the original wikitext.
local pos, truncated
local function truncate(text)
if truncated then
return ''
end
if mw.ustring.len(text) > 25 then
truncated = true
text = mw.ustring.sub(text, 1, 25) .. '...'
end
return mw.text.nowiki(text)
end
local parts = {}
for before, tag, remainder in text:gmatch('([^\127]*)\127[^\127]*%-(%l+)%-[^\127]*\127()') do
pos = remainder
table.insert(parts, truncate(before) .. '<' .. tag .. '>...</' .. tag .. '>')
end
table.insert(parts, truncate(text:sub(pos or 1)))
return table.concat(parts)
end
function p._check(args, pargs)
if type(args) ~= "table" or type(pargs) ~= "table" then
-- TODO: error handling
return
end
-- create the list of known args, regular expressions, and the return string
local knownargs = {}
local regexps = {}
for k, v in pairs(args) do
if type(k) == 'number' then
v = trim(v)
knownargs[v] = 1
elseif k:find('^regexp[1-9][0-9]*$') then
table.insert(regexps, '^' .. v .. '$')
end
end
-- loop over the parent args, and make sure they are on the list
local ignoreblank = isnotempty(args['ignoreblank'])
local showblankpos = isnotempty(args['showblankpositional'])
local values = {}
for k, v in pairs(pargs) do
if type(k) == 'string' and knownargs[k] == nil then
local knownflag = false
for _, regexp in ipairs(regexps) do
if mw.ustring.match(k, regexp) then
knownflag = true
break
end
end
if not knownflag and ( not ignoreblank or isnotempty(v) ) then
table.insert(values, clean(k))
end
elseif type(k) == 'number' and knownargs[tostring(k)] == nil then
local knownflag = false
for _, regexp in ipairs(regexps) do
if mw.ustring.match(tostring(k), regexp) then
knownflag = true
break
end
end
if not knownflag and ( showblankpos or isnotempty(v) ) then
table.insert(values, k .. ' = ' .. clean(v))
end
end
end
-- add results to the output tables
local res = {}
if #values > 0 then
local unknown_text = args['unknown'] or 'Found _VALUE_, '
if mw.getCurrentFrame():preprocess( "{{REVISIONID}}" ) == "" then
local preview_text = args['preview']
if isnotempty(preview_text) then
preview_text = require('Module:If preview')._warning({preview_text})
elseif preview == nil then
preview_text = unknown_text
end
unknown_text = preview_text
end
for _, v in pairs(values) do
-- Fix odd bug for | = which gets stripped to the empty string and
-- breaks category links
if v == '' then v = ' ' end
-- avoid error with v = 'example%2' ("invalid capture index")
local r = unknown_text:gsub('_VALUE_', {_VALUE_ = v})
table.insert(res, r)
end
end
return table.concat(res)
end
function p.check(frame)
local args = frame.args
local pargs = frame:getParent().args
return p._check(args, pargs)
end
return p
93db6d115d4328d2a5148bb42959105e367b663e
Module:Effective protection expiry
828
1441
2945
2022-02-23T10:59:29Z
Wikipedia>Xaosflux
0
Changed protection settings for "[[Module:Effective protection expiry]]": used in the mediawiki interface / match [[Module:Effective protection level]] ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
Scribunto
text/plain
local p = {}
-- Returns the expiry of a restriction of an action on a given title, or unknown if it cannot be known.
-- If no title is specified, the title of the page being displayed is used.
function p._main(action, pagename)
local title
if type(pagename) == 'table' and pagename.prefixedText then
title = pagename
elseif pagename then
title = mw.title.new(pagename)
else
title = mw.title.getCurrentTitle()
end
pagename = title.prefixedText
if action == 'autoreview' then
local stabilitySettings = mw.ext.FlaggedRevs.getStabilitySettings(title)
return stabilitySettings and stabilitySettings.expiry or 'unknown'
elseif action ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' then
error( 'First parameter must be one of edit, move, create, upload, autoreview', 2 )
end
local rawExpiry = mw.getCurrentFrame():callParserFunction('PROTECTIONEXPIRY', action, pagename)
if rawExpiry == 'infinity' then
return 'infinity'
elseif rawExpiry == '' then
return 'unknown'
else
local year, month, day, hour, minute, second = rawExpiry:match(
'^(%d%d%d%d)(%d%d)(%d%d)(%d%d)(%d%d)(%d%d)$'
)
if year then
return string.format(
'%s-%s-%sT%s:%s:%s',
year, month, day, hour, minute, second
)
else
error('internal error in Module:Effective protection expiry; malformed expiry timestamp')
end
end
end
setmetatable(p, { __index = function(t, k)
return function(frame)
return t._main(k, frame.args[1])
end
end })
return p
9a8c58dc2667232ed08a9b206a5d89ca8150312b
Module:Template link general
828
1434
2931
2022-03-08T08:30:51Z
Wikipedia>Primefac
0
update from sandbox - fixes to _show_result and adding _expand
Scribunto
text/plain
-- This implements Template:Tlg
local getArgs = require('Module:Arguments').getArgs
local p = {}
-- Is a string non-empty?
local function _ne(s)
return s ~= nil and s ~= ""
end
local nw = mw.text.nowiki
local function addTemplate(s)
local i, _ = s:find(':', 1, true)
if i == nil then
return 'Template:' .. s
end
local ns = s:sub(1, i - 1)
if ns == '' or mw.site.namespaces[ns] then
return s
else
return 'Template:' .. s
end
end
local function trimTemplate(s)
local needle = 'template:'
if s:sub(1, needle:len()):lower() == needle then
return s:sub(needle:len() + 1)
else
return s
end
end
local function linkTitle(args)
if _ne(args.nolink) then
return args['1']
end
local titleObj
local titlePart = '[['
if args['1'] then
-- This handles :Page and other NS
titleObj = mw.title.new(args['1'], 'Template')
else
titleObj = mw.title.getCurrentTitle()
end
titlePart = titlePart .. (titleObj ~= nil and titleObj.fullText or
addTemplate(args['1']))
local textPart = args.alttext
if not _ne(textPart) then
if titleObj ~= nil then
textPart = titleObj:inNamespace("Template") and args['1'] or titleObj.fullText
else
-- redlink
textPart = args['1']
end
end
if _ne(args.subst) then
-- HACK: the ns thing above is probably broken
textPart = 'subst:' .. textPart
end
if _ne(args.brace) then
textPart = nw('{{') .. textPart .. nw('}}')
elseif _ne(args.braceinside) then
textPart = nw('{') .. textPart .. nw('}')
end
titlePart = titlePart .. '|' .. textPart .. ']]'
if _ne(args.braceinside) then
titlePart = nw('{') .. titlePart .. nw('}')
end
return titlePart
end
function p.main(frame)
local args = getArgs(frame, {
trim = true,
removeBlanks = false
})
return p._main(args)
end
function p._main(args)
local bold = _ne(args.bold) or _ne(args.boldlink) or _ne(args.boldname)
local italic = _ne(args.italic) or _ne(args.italics)
local dontBrace = _ne(args.brace) or _ne(args.braceinside)
local code = _ne(args.code) or _ne(args.tt)
local show_result = _ne(args._show_result)
local expand = _ne(args._expand)
-- Build the link part
local titlePart = linkTitle(args)
if bold then titlePart = "'''" .. titlePart .. "'''" end
if _ne(args.nowrapname) then titlePart = '<span class="nowrap">' .. titlePart .. '</span>' end
-- Build the arguments
local textPart = ""
local textPartBuffer = "|"
local codeArguments = {}
local codeArgumentsString = ""
local i = 2
local j = 1
while args[i] do
local val = args[i]
if val ~= "" then
if _ne(args.nowiki) then
-- Unstrip nowiki tags first because calling nw on something that already contains nowiki tags will
-- mangle the nowiki strip marker and result in literal UNIQ...QINU showing up
val = nw(mw.text.unstripNoWiki(val))
end
local k, v = string.match(val, "(.*)=(.*)")
if not k then
codeArguments[j] = val
j = j + 1
else
codeArguments[k] = v
end
codeArgumentsString = codeArgumentsString .. textPartBuffer .. val
if italic then
val = '<span style="font-style:italic;">' .. val .. '</span>'
end
textPart = textPart .. textPartBuffer .. val
end
i = i + 1
end
-- final wrap
local ret = titlePart .. textPart
if not dontBrace then ret = nw('{{') .. ret .. nw('}}') end
if _ne(args.a) then ret = nw('*') .. ' ' .. ret end
if _ne(args.kbd) then ret = '<kbd>' .. ret .. '</kbd>' end
if code then
ret = '<code>' .. ret .. '</code>'
elseif _ne(args.plaincode) then
ret = '<code style="border:none;background:transparent;">' .. ret .. '</code>'
end
if _ne(args.nowrap) then ret = '<span class="nowrap">' .. ret .. '</span>' end
--[[ Wrap as html??
local span = mw.html.create('span')
span:wikitext(ret)
--]]
if _ne(args.debug) then ret = ret .. '\n<pre>' .. mw.text.encode(mw.dumpObject(args)) .. '</pre>' end
if show_result then
local result = mw.getCurrentFrame():expandTemplate{title = addTemplate(args[1]), args = codeArguments}
ret = ret .. " → " .. result
end
if expand then
local query = mw.text.encode('{{' .. addTemplate(args[1]) .. string.gsub(codeArgumentsString, textPartBuffer, "|") .. '}}')
local url = mw.uri.fullUrl('special:ExpandTemplates', 'wpInput=' .. query)
mw.log()
ret = ret .. " [" .. tostring(url) .. "]"
end
return ret
end
return p
c7307fa3959d308a2dd7fd2f5009c1ce6db3d122
Template:Documentation
10
1480
3023
2022-03-29T02:14:34Z
Wikipedia>Bsherr
0
consistent with new substitution template format
wikitext
text/x-wiki
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude>
<!-- Add categories to the /doc subpage -->
</noinclude>
9e62b964e96c4e3d478edecbfcb3c0338ae8a276
Template:If empty
10
1438
2939
2022-04-03T20:56:41Z
Wikipedia>Wugapodes
0
Changed protection settings for "[[Template:If empty]]": [[WP:High-risk templates|Highly visible template]]: used on 2 million pages and permanently cascade protected; matches module protection ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:If empty|main}}<noinclude>{{Documentation}}</noinclude>
745940b7bdde8a1585c887ee4ee5ce81d98461a4
Module:Message box/ombox.css
828
1505
3073
2022-07-11T18:40:17Z
Wikipedia>Izno
0
and move mbox-small to 720px here as well
sanitized-css
text/css
/* {{pp|small=y}} */
.ombox {
margin: 4px 0;
border-collapse: collapse;
border: 1px solid #a2a9b1; /* Default "notice" gray */
background-color: #f8f9fa;
box-sizing: border-box;
}
/* For the "small=yes" option. */
.ombox.mbox-small {
font-size: 88%;
line-height: 1.25em;
}
.ombox-speedy {
border: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
.ombox-delete {
border: 2px solid #b32424; /* Red */
}
.ombox-content {
border: 1px solid #f28500; /* Orange */
}
.ombox-style {
border: 1px solid #fc3; /* Yellow */
}
.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
}
.ombox .mbox-text {
border: none;
/* @noflip */
padding: 0.25em 0.9em;
width: 100%;
}
.ombox .mbox-image {
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;
text-align: center;
}
.ombox .mbox-imageright {
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0;
text-align: center;
}
/* An empty narrow cell */
.ombox .mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
.ombox .mbox-invalid-type {
text-align: center;
}
@media (min-width: 720px) {
.ombox {
margin: 4px 10%;
}
.ombox.mbox-small {
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
width: 238px;
}
}
8fe3df4bb607e699eab2dbd23bd4a1a446391002
Template:Message box/ombox.css
10
1511
3085
2022-07-11T18:40:17Z
wikipedia>Izno
0
and move mbox-small to 720px here as well
sanitized-css
text/css
/* {{pp|small=y}} */
.ombox {
margin: 4px 0;
border-collapse: collapse;
border: 1px solid #a2a9b1; /* Default "notice" gray */
background-color: #f8f9fa;
box-sizing: border-box;
}
/* For the "small=yes" option. */
.ombox.mbox-small {
font-size: 88%;
line-height: 1.25em;
}
.ombox-speedy {
border: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
.ombox-delete {
border: 2px solid #b32424; /* Red */
}
.ombox-content {
border: 1px solid #f28500; /* Orange */
}
.ombox-style {
border: 1px solid #fc3; /* Yellow */
}
.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
}
.ombox .mbox-text {
border: none;
/* @noflip */
padding: 0.25em 0.9em;
width: 100%;
}
.ombox .mbox-image {
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;
text-align: center;
}
.ombox .mbox-imageright {
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0;
text-align: center;
}
/* An empty narrow cell */
.ombox .mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
.ombox .mbox-invalid-type {
text-align: center;
}
@media (min-width: 720px) {
.ombox {
margin: 4px 10%;
}
.ombox.mbox-small {
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
width: 238px;
}
}
8fe3df4bb607e699eab2dbd23bd4a1a446391002
Template:Para
10
1471
3005
2022-07-22T08:06:17Z
Wikipedia>TheDJ
0
breakup super long words, so we do not overflow the viewport.
wikitext
text/x-wiki
<code class="tpl-para" style="word-break:break-word;{{SAFESUBST:<noinclude />#if:{{{plain|}}}|border: none; background-color: inherit;}} {{SAFESUBST:<noinclude />#if:{{{plain|}}}{{{mxt|}}}{{{green|}}}{{{!mxt|}}}{{{red|}}}|color: {{SAFESUBST:<noinclude />#if:{{{mxt|}}}{{{green|}}}|#006400|{{SAFESUBST:<noinclude />#if:{{{!mxt|}}}{{{red|}}}|#8B0000|inherit}}}};}} {{SAFESUBST:<noinclude />#if:{{{style|}}}|{{{style}}}}}">|{{SAFESUBST:<noinclude />#if:{{{1|}}}|{{{1}}}=}}{{{2|}}}</code><noinclude>
{{Documentation}}
<!--Categories and interwikis go near the bottom of the /doc subpage.-->
</noinclude>
06006deea2ed5d552aab61b4332321ab749ae7e8
Module:Protection banner
828
1449
2961
2022-10-21T08:07:11Z
Wikipedia>WOSlinker
0
use require('strict') instead of require('Module:No globals')
Scribunto
text/plain
-- This module implements {{pp-meta}} and its daughter templates such as
-- {{pp-dispute}}, {{pp-vandalism}} and {{pp-sock}}.
-- Initialise necessary modules.
require('strict')
local makeFileLink = require('Module:File link')._main
local effectiveProtectionLevel = require('Module:Effective protection level')._main
local effectiveProtectionExpiry = require('Module:Effective protection expiry')._main
local yesno = require('Module:Yesno')
-- Lazily initialise modules and objects we don't always need.
local getArgs, makeMessageBox, lang
-- Set constants.
local CONFIG_MODULE = 'Module:Protection banner/config'
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function makeCategoryLink(cat, sort)
if cat then
return string.format(
'[[%s:%s|%s]]',
mw.site.namespaces[14].name,
cat,
sort
)
end
end
-- Validation function for the expiry and the protection date
local function validateDate(dateString, dateType)
if not lang then
lang = mw.language.getContentLanguage()
end
local success, result = pcall(lang.formatDate, lang, 'U', dateString)
if success then
result = tonumber(result)
if result then
return result
end
end
error(string.format(
'invalid %s: %s',
dateType,
tostring(dateString)
), 4)
end
local function makeFullUrl(page, query, display)
return string.format(
'[%s %s]',
tostring(mw.uri.fullUrl(page, query)),
display
)
end
-- Given a directed graph formatted as node -> table of direct successors,
-- get a table of all nodes reachable from a given node (though always
-- including the given node).
local function getReachableNodes(graph, start)
local toWalk, retval = {[start] = true}, {}
while true do
-- Can't use pairs() since we're adding and removing things as we're iterating
local k = next(toWalk) -- This always gets the "first" key
if k == nil then
return retval
end
toWalk[k] = nil
retval[k] = true
for _,v in ipairs(graph[k]) do
if not retval[v] then
toWalk[v] = true
end
end
end
end
--------------------------------------------------------------------------------
-- Protection class
--------------------------------------------------------------------------------
local Protection = {}
Protection.__index = Protection
Protection.supportedActions = {
edit = true,
move = true,
autoreview = true,
upload = true
}
Protection.bannerConfigFields = {
'text',
'explanation',
'tooltip',
'alt',
'link',
'image'
}
function Protection.new(args, cfg, title)
local obj = {}
obj._cfg = cfg
obj.title = title or mw.title.getCurrentTitle()
-- Set action
if not args.action then
obj.action = 'edit'
elseif Protection.supportedActions[args.action] then
obj.action = args.action
else
error(string.format(
'invalid action: %s',
tostring(args.action)
), 3)
end
-- Set level
obj.level = args.demolevel or effectiveProtectionLevel(obj.action, obj.title)
if not obj.level or (obj.action == 'move' and obj.level == 'autoconfirmed') then
-- Users need to be autoconfirmed to move pages anyway, so treat
-- semi-move-protected pages as unprotected.
obj.level = '*'
end
-- Set expiry
local effectiveExpiry = effectiveProtectionExpiry(obj.action, obj.title)
if effectiveExpiry == 'infinity' then
obj.expiry = 'indef'
elseif effectiveExpiry ~= 'unknown' then
obj.expiry = validateDate(effectiveExpiry, 'expiry date')
end
-- Set reason
if args[1] then
obj.reason = mw.ustring.lower(args[1])
if obj.reason:find('|') then
error('reasons cannot contain the pipe character ("|")', 3)
end
end
-- Set protection date
if args.date then
obj.protectionDate = validateDate(args.date, 'protection date')
end
-- Set banner config
do
obj.bannerConfig = {}
local configTables = {}
if cfg.banners[obj.action] then
configTables[#configTables + 1] = cfg.banners[obj.action][obj.reason]
end
if cfg.defaultBanners[obj.action] then
configTables[#configTables + 1] = cfg.defaultBanners[obj.action][obj.level]
configTables[#configTables + 1] = cfg.defaultBanners[obj.action].default
end
configTables[#configTables + 1] = cfg.masterBanner
for i, field in ipairs(Protection.bannerConfigFields) do
for j, t in ipairs(configTables) do
if t[field] then
obj.bannerConfig[field] = t[field]
break
end
end
end
end
return setmetatable(obj, Protection)
end
function Protection:isUserScript()
-- Whether the page is a user JavaScript or CSS page.
local title = self.title
return title.namespace == 2 and (
title.contentModel == 'javascript' or title.contentModel == 'css'
)
end
function Protection:isProtected()
return self.level ~= '*'
end
function Protection:shouldShowLock()
-- Whether we should output a banner/padlock
return self:isProtected() and not self:isUserScript()
end
-- Whether this page needs a protection category.
Protection.shouldHaveProtectionCategory = Protection.shouldShowLock
function Protection:isTemporary()
return type(self.expiry) == 'number'
end
function Protection:makeProtectionCategory()
if not self:shouldHaveProtectionCategory() then
return ''
end
local cfg = self._cfg
local title = self.title
-- Get the expiry key fragment.
local expiryFragment
if self.expiry == 'indef' then
expiryFragment = self.expiry
elseif type(self.expiry) == 'number' then
expiryFragment = 'temp'
end
-- Get the namespace key fragment.
local namespaceFragment = cfg.categoryNamespaceKeys[title.namespace]
if not namespaceFragment and title.namespace % 2 == 1 then
namespaceFragment = 'talk'
end
-- Define the order that key fragments are tested in. This is done with an
-- array of tables containing the value to be tested, along with its
-- position in the cfg.protectionCategories table.
local order = {
{val = expiryFragment, keypos = 1},
{val = namespaceFragment, keypos = 2},
{val = self.reason, keypos = 3},
{val = self.level, keypos = 4},
{val = self.action, keypos = 5}
}
--[[
-- The old protection templates used an ad-hoc protection category system,
-- with some templates prioritising namespaces in their categories, and
-- others prioritising the protection reason. To emulate this in this module
-- we use the config table cfg.reasonsWithNamespacePriority to set the
-- reasons for which namespaces have priority over protection reason.
-- If we are dealing with one of those reasons, move the namespace table to
-- the end of the order table, i.e. give it highest priority. If not, the
-- reason should have highest priority, so move that to the end of the table
-- instead.
--]]
table.insert(order, table.remove(order, self.reason and cfg.reasonsWithNamespacePriority[self.reason] and 2 or 3))
--[[
-- Define the attempt order. Inactive subtables (subtables with nil "value"
-- fields) are moved to the end, where they will later be given the key
-- "all". This is to cut down on the number of table lookups in
-- cfg.protectionCategories, which grows exponentially with the number of
-- non-nil keys. We keep track of the number of active subtables with the
-- noActive parameter.
--]]
local noActive, attemptOrder
do
local active, inactive = {}, {}
for i, t in ipairs(order) do
if t.val then
active[#active + 1] = t
else
inactive[#inactive + 1] = t
end
end
noActive = #active
attemptOrder = active
for i, t in ipairs(inactive) do
attemptOrder[#attemptOrder + 1] = t
end
end
--[[
-- Check increasingly generic key combinations until we find a match. If a
-- specific category exists for the combination of key fragments we are
-- given, that match will be found first. If not, we keep trying different
-- key fragment combinations until we match using the key
-- "all-all-all-all-all".
--
-- To generate the keys, we index the key subtables using a binary matrix
-- with indexes i and j. j is only calculated up to the number of active
-- subtables. For example, if there were three active subtables, the matrix
-- would look like this, with 0 corresponding to the key fragment "all", and
-- 1 corresponding to other key fragments.
--
-- j 1 2 3
-- i
-- 1 1 1 1
-- 2 0 1 1
-- 3 1 0 1
-- 4 0 0 1
-- 5 1 1 0
-- 6 0 1 0
-- 7 1 0 0
-- 8 0 0 0
--
-- Values of j higher than the number of active subtables are set
-- to the string "all".
--
-- A key for cfg.protectionCategories is constructed for each value of i.
-- The position of the value in the key is determined by the keypos field in
-- each subtable.
--]]
local cats = cfg.protectionCategories
for i = 1, 2^noActive do
local key = {}
for j, t in ipairs(attemptOrder) do
if j > noActive then
key[t.keypos] = 'all'
else
local quotient = i / 2 ^ (j - 1)
quotient = math.ceil(quotient)
if quotient % 2 == 1 then
key[t.keypos] = t.val
else
key[t.keypos] = 'all'
end
end
end
key = table.concat(key, '|')
local attempt = cats[key]
if attempt then
return makeCategoryLink(attempt, title.text)
end
end
return ''
end
function Protection:isIncorrect()
local expiry = self.expiry
return not self:shouldHaveProtectionCategory()
or type(expiry) == 'number' and expiry < os.time()
end
function Protection:isTemplateProtectedNonTemplate()
local action, namespace = self.action, self.title.namespace
return self.level == 'templateeditor'
and (
(action ~= 'edit' and action ~= 'move')
or (namespace ~= 10 and namespace ~= 828)
)
end
function Protection:makeCategoryLinks()
local msg = self._cfg.msg
local ret = {self:makeProtectionCategory()}
if self:isIncorrect() then
ret[#ret + 1] = makeCategoryLink(
msg['tracking-category-incorrect'],
self.title.text
)
end
if self:isTemplateProtectedNonTemplate() then
ret[#ret + 1] = makeCategoryLink(
msg['tracking-category-template'],
self.title.text
)
end
return table.concat(ret)
end
--------------------------------------------------------------------------------
-- Blurb class
--------------------------------------------------------------------------------
local Blurb = {}
Blurb.__index = Blurb
Blurb.bannerTextFields = {
text = true,
explanation = true,
tooltip = true,
alt = true,
link = true
}
function Blurb.new(protectionObj, args, cfg)
return setmetatable({
_cfg = cfg,
_protectionObj = protectionObj,
_args = args
}, Blurb)
end
-- Private methods --
function Blurb:_formatDate(num)
-- Formats a Unix timestamp into dd Month, YYYY format.
lang = lang or mw.language.getContentLanguage()
local success, date = pcall(
lang.formatDate,
lang,
self._cfg.msg['expiry-date-format'] or 'j F Y',
'@' .. tostring(num)
)
if success then
return date
end
end
function Blurb:_getExpandedMessage(msgKey)
return self:_substituteParameters(self._cfg.msg[msgKey])
end
function Blurb:_substituteParameters(msg)
if not self._params then
local parameterFuncs = {}
parameterFuncs.CURRENTVERSION = self._makeCurrentVersionParameter
parameterFuncs.EDITREQUEST = self._makeEditRequestParameter
parameterFuncs.EXPIRY = self._makeExpiryParameter
parameterFuncs.EXPLANATIONBLURB = self._makeExplanationBlurbParameter
parameterFuncs.IMAGELINK = self._makeImageLinkParameter
parameterFuncs.INTROBLURB = self._makeIntroBlurbParameter
parameterFuncs.INTROFRAGMENT = self._makeIntroFragmentParameter
parameterFuncs.PAGETYPE = self._makePagetypeParameter
parameterFuncs.PROTECTIONBLURB = self._makeProtectionBlurbParameter
parameterFuncs.PROTECTIONDATE = self._makeProtectionDateParameter
parameterFuncs.PROTECTIONLEVEL = self._makeProtectionLevelParameter
parameterFuncs.PROTECTIONLOG = self._makeProtectionLogParameter
parameterFuncs.TALKPAGE = self._makeTalkPageParameter
parameterFuncs.TOOLTIPBLURB = self._makeTooltipBlurbParameter
parameterFuncs.TOOLTIPFRAGMENT = self._makeTooltipFragmentParameter
parameterFuncs.VANDAL = self._makeVandalTemplateParameter
self._params = setmetatable({}, {
__index = function (t, k)
local param
if parameterFuncs[k] then
param = parameterFuncs[k](self)
end
param = param or ''
t[k] = param
return param
end
})
end
msg = msg:gsub('${(%u+)}', self._params)
return msg
end
function Blurb:_makeCurrentVersionParameter()
-- A link to the page history or the move log, depending on the kind of
-- protection.
local pagename = self._protectionObj.title.prefixedText
if self._protectionObj.action == 'move' then
-- We need the move log link.
return makeFullUrl(
'Special:Log',
{type = 'move', page = pagename},
self:_getExpandedMessage('current-version-move-display')
)
else
-- We need the history link.
return makeFullUrl(
pagename,
{action = 'history'},
self:_getExpandedMessage('current-version-edit-display')
)
end
end
function Blurb:_makeEditRequestParameter()
local mEditRequest = require('Module:Submit an edit request')
local action = self._protectionObj.action
local level = self._protectionObj.level
-- Get the edit request type.
local requestType
if action == 'edit' then
if level == 'autoconfirmed' then
requestType = 'semi'
elseif level == 'extendedconfirmed' then
requestType = 'extended'
elseif level == 'templateeditor' then
requestType = 'template'
end
end
requestType = requestType or 'full'
-- Get the display value.
local display = self:_getExpandedMessage('edit-request-display')
return mEditRequest._link{type = requestType, display = display}
end
function Blurb:_makeExpiryParameter()
local expiry = self._protectionObj.expiry
if type(expiry) == 'number' then
return self:_formatDate(expiry)
else
return expiry
end
end
function Blurb:_makeExplanationBlurbParameter()
-- Cover special cases first.
if self._protectionObj.title.namespace == 8 then
-- MediaWiki namespace
return self:_getExpandedMessage('explanation-blurb-nounprotect')
end
-- Get explanation blurb table keys
local action = self._protectionObj.action
local level = self._protectionObj.level
local talkKey = self._protectionObj.title.isTalkPage and 'talk' or 'subject'
-- Find the message in the explanation blurb table and substitute any
-- parameters.
local explanations = self._cfg.explanationBlurbs
local msg
if explanations[action][level] and explanations[action][level][talkKey] then
msg = explanations[action][level][talkKey]
elseif explanations[action][level] and explanations[action][level].default then
msg = explanations[action][level].default
elseif explanations[action].default and explanations[action].default[talkKey] then
msg = explanations[action].default[talkKey]
elseif explanations[action].default and explanations[action].default.default then
msg = explanations[action].default.default
else
error(string.format(
'could not find explanation blurb for action "%s", level "%s" and talk key "%s"',
action,
level,
talkKey
), 8)
end
return self:_substituteParameters(msg)
end
function Blurb:_makeImageLinkParameter()
local imageLinks = self._cfg.imageLinks
local action = self._protectionObj.action
local level = self._protectionObj.level
local msg
if imageLinks[action][level] then
msg = imageLinks[action][level]
elseif imageLinks[action].default then
msg = imageLinks[action].default
else
msg = imageLinks.edit.default
end
return self:_substituteParameters(msg)
end
function Blurb:_makeIntroBlurbParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('intro-blurb-expiry')
else
return self:_getExpandedMessage('intro-blurb-noexpiry')
end
end
function Blurb:_makeIntroFragmentParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('intro-fragment-expiry')
else
return self:_getExpandedMessage('intro-fragment-noexpiry')
end
end
function Blurb:_makePagetypeParameter()
local pagetypes = self._cfg.pagetypes
return pagetypes[self._protectionObj.title.namespace]
or pagetypes.default
or error('no default pagetype defined', 8)
end
function Blurb:_makeProtectionBlurbParameter()
local protectionBlurbs = self._cfg.protectionBlurbs
local action = self._protectionObj.action
local level = self._protectionObj.level
local msg
if protectionBlurbs[action][level] then
msg = protectionBlurbs[action][level]
elseif protectionBlurbs[action].default then
msg = protectionBlurbs[action].default
elseif protectionBlurbs.edit.default then
msg = protectionBlurbs.edit.default
else
error('no protection blurb defined for protectionBlurbs.edit.default', 8)
end
return self:_substituteParameters(msg)
end
function Blurb:_makeProtectionDateParameter()
local protectionDate = self._protectionObj.protectionDate
if type(protectionDate) == 'number' then
return self:_formatDate(protectionDate)
else
return protectionDate
end
end
function Blurb:_makeProtectionLevelParameter()
local protectionLevels = self._cfg.protectionLevels
local action = self._protectionObj.action
local level = self._protectionObj.level
local msg
if protectionLevels[action][level] then
msg = protectionLevels[action][level]
elseif protectionLevels[action].default then
msg = protectionLevels[action].default
elseif protectionLevels.edit.default then
msg = protectionLevels.edit.default
else
error('no protection level defined for protectionLevels.edit.default', 8)
end
return self:_substituteParameters(msg)
end
function Blurb:_makeProtectionLogParameter()
local pagename = self._protectionObj.title.prefixedText
if self._protectionObj.action == 'autoreview' then
-- We need the pending changes log.
return makeFullUrl(
'Special:Log',
{type = 'stable', page = pagename},
self:_getExpandedMessage('pc-log-display')
)
else
-- We need the protection log.
return makeFullUrl(
'Special:Log',
{type = 'protect', page = pagename},
self:_getExpandedMessage('protection-log-display')
)
end
end
function Blurb:_makeTalkPageParameter()
return string.format(
'[[%s:%s#%s|%s]]',
mw.site.namespaces[self._protectionObj.title.namespace].talk.name,
self._protectionObj.title.text,
self._args.section or 'top',
self:_getExpandedMessage('talk-page-link-display')
)
end
function Blurb:_makeTooltipBlurbParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('tooltip-blurb-expiry')
else
return self:_getExpandedMessage('tooltip-blurb-noexpiry')
end
end
function Blurb:_makeTooltipFragmentParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('tooltip-fragment-expiry')
else
return self:_getExpandedMessage('tooltip-fragment-noexpiry')
end
end
function Blurb:_makeVandalTemplateParameter()
return mw.getCurrentFrame():expandTemplate{
title="vandal-m",
args={self._args.user or self._protectionObj.title.baseText}
}
end
-- Public methods --
function Blurb:makeBannerText(key)
-- Validate input.
if not key or not Blurb.bannerTextFields[key] then
error(string.format(
'"%s" is not a valid banner config field',
tostring(key)
), 2)
end
-- Generate the text.
local msg = self._protectionObj.bannerConfig[key]
if type(msg) == 'string' then
return self:_substituteParameters(msg)
elseif type(msg) == 'function' then
msg = msg(self._protectionObj, self._args)
if type(msg) ~= 'string' then
error(string.format(
'bad output from banner config function with key "%s"'
.. ' (expected string, got %s)',
tostring(key),
type(msg)
), 4)
end
return self:_substituteParameters(msg)
end
end
--------------------------------------------------------------------------------
-- BannerTemplate class
--------------------------------------------------------------------------------
local BannerTemplate = {}
BannerTemplate.__index = BannerTemplate
function BannerTemplate.new(protectionObj, cfg)
local obj = {}
obj._cfg = cfg
-- Set the image filename.
local imageFilename = protectionObj.bannerConfig.image
if imageFilename then
obj._imageFilename = imageFilename
else
-- If an image filename isn't specified explicitly in the banner config,
-- generate it from the protection status and the namespace.
local action = protectionObj.action
local level = protectionObj.level
local namespace = protectionObj.title.namespace
local reason = protectionObj.reason
-- Deal with special cases first.
if (
namespace == 10
or namespace == 828
or reason and obj._cfg.indefImageReasons[reason]
)
and action == 'edit'
and level == 'sysop'
and not protectionObj:isTemporary()
then
-- Fully protected modules and templates get the special red "indef"
-- padlock.
obj._imageFilename = obj._cfg.msg['image-filename-indef']
else
-- Deal with regular protection types.
local images = obj._cfg.images
if images[action] then
if images[action][level] then
obj._imageFilename = images[action][level]
elseif images[action].default then
obj._imageFilename = images[action].default
end
end
end
end
return setmetatable(obj, BannerTemplate)
end
function BannerTemplate:renderImage()
local filename = self._imageFilename
or self._cfg.msg['image-filename-default']
or 'Transparent.gif'
return makeFileLink{
file = filename,
size = (self.imageWidth or 20) .. 'px',
alt = self._imageAlt,
link = self._imageLink,
caption = self.imageCaption
}
end
--------------------------------------------------------------------------------
-- Banner class
--------------------------------------------------------------------------------
local Banner = setmetatable({}, BannerTemplate)
Banner.__index = Banner
function Banner.new(protectionObj, blurbObj, cfg)
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
obj.imageWidth = 40
obj.imageCaption = blurbObj:makeBannerText('alt') -- Large banners use the alt text for the tooltip.
obj._reasonText = blurbObj:makeBannerText('text')
obj._explanationText = blurbObj:makeBannerText('explanation')
obj._page = protectionObj.title.prefixedText -- Only makes a difference in testing.
return setmetatable(obj, Banner)
end
function Banner:__tostring()
-- Renders the banner.
makeMessageBox = makeMessageBox or require('Module:Message box').main
local reasonText = self._reasonText or error('no reason text set', 2)
local explanationText = self._explanationText
local mbargs = {
page = self._page,
type = 'protection',
image = self:renderImage(),
text = string.format(
"'''%s'''%s",
reasonText,
explanationText and '<br />' .. explanationText or ''
)
}
return makeMessageBox('mbox', mbargs)
end
--------------------------------------------------------------------------------
-- Padlock class
--------------------------------------------------------------------------------
local Padlock = setmetatable({}, BannerTemplate)
Padlock.__index = Padlock
function Padlock.new(protectionObj, blurbObj, cfg)
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
obj.imageWidth = 20
obj.imageCaption = blurbObj:makeBannerText('tooltip')
obj._imageAlt = blurbObj:makeBannerText('alt')
obj._imageLink = blurbObj:makeBannerText('link')
obj._indicatorName = cfg.padlockIndicatorNames[protectionObj.action]
or cfg.padlockIndicatorNames.default
or 'pp-default'
return setmetatable(obj, Padlock)
end
function Padlock:__tostring()
local frame = mw.getCurrentFrame()
-- The nowiki tag helps prevent whitespace at the top of articles.
return frame:extensionTag{name = 'nowiki'} .. frame:extensionTag{
name = 'indicator',
args = {name = self._indicatorName},
content = self:renderImage()
}
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p = {}
function p._exportClasses()
-- This is used for testing purposes.
return {
Protection = Protection,
Blurb = Blurb,
BannerTemplate = BannerTemplate,
Banner = Banner,
Padlock = Padlock,
}
end
function p._main(args, cfg, title)
args = args or {}
cfg = cfg or require(CONFIG_MODULE)
local protectionObj = Protection.new(args, cfg, title)
local ret = {}
-- If a page's edit protection is equally or more restrictive than its
-- protection from some other action, then don't bother displaying anything
-- for the other action (except categories).
if not yesno(args.catonly) and (protectionObj.action == 'edit' or
args.demolevel or
not getReachableNodes(
cfg.hierarchy,
protectionObj.level
)[effectiveProtectionLevel('edit', protectionObj.title)])
then
-- Initialise the blurb object
local blurbObj = Blurb.new(protectionObj, args, cfg)
-- Render the banner
if protectionObj:shouldShowLock() then
ret[#ret + 1] = tostring(
(yesno(args.small) and Padlock or Banner)
.new(protectionObj, blurbObj, cfg)
)
end
end
-- Render the categories
if yesno(args.category) ~= false then
ret[#ret + 1] = protectionObj:makeCategoryLinks()
end
return table.concat(ret)
end
function p.main(frame, cfg)
cfg = cfg or require(CONFIG_MODULE)
-- Find default args, if any.
local parent = frame.getParent and frame:getParent()
local defaultArgs = parent and cfg.wrappers[parent:getTitle():gsub('/sandbox$', '')]
-- Find user args, and use the parent frame if we are being called from a
-- wrapper template.
getArgs = getArgs or require('Module:Arguments').getArgs
local userArgs = getArgs(frame, {
parentOnly = defaultArgs,
frameOnly = not defaultArgs
})
-- Build the args table. User-specified args overwrite default args.
local args = {}
for k, v in pairs(defaultArgs or {}) do
args[k] = v
end
for k, v in pairs(userArgs) do
args[k] = v
end
return p._main(args, cfg)
end
return p
894f0884d4c2da1ce19d385b96f59af654b0946a
Module:MultiReplace
828
1433
2929
2022-11-15T20:58:00Z
Wikipedia>Pppery
0
Per edit request
Scribunto
text/plain
local p = {}
local function MultiReplace(args)
local input = args[1] or "{{{1}}}"
local plain = args.plain == "yes"
local i = 1
local changeList = {}
while args[i * 2] do
local change = {pattern = args[i * 2], repl = args[i * 2 + 1]}
if not change.repl then
return require('Module:Error').error{
'MultiReplace: Unpaired argument: <code>' .. (i * 2) .. ' = ' .. mw.text.nowiki(change.pattern) .. '</code>'
}
end
changeList[i] = change
i = i + 1
end
local matchList = {}
local pos = 1
local len = mw.ustring.len(input)
local result = ""
while pos <= len do
local bestStart = len + 1
local bestStop = len
local bestChange
for _, change in ipairs(changeList) do
local start, stop = mw.ustring.find(input, change.pattern, pos, plain)
if start and (start < bestStart) then
bestStart = start
bestStop = stop
bestChange = change
end
end
result = result .. mw.ustring.sub(input, pos, bestStart - 1)
if bestChange then
local fragment = mw.ustring.sub(input, bestStart, bestStop)
result = result .. (plain and bestChange.repl or
mw.ustring.gsub(fragment, bestChange.pattern, bestChange.repl, 1))
end
pos = bestStop + 1
end
return result
end
function p.main(frame, ...)
local args =
type(frame) ~= 'table' and {frame, ...} or
type(frame.args) ~= 'table' and frame or
frame.args[1] and frame.args or
frame:getParent().args
return MultiReplace(args)
end
return p
3bd8e7e4debe76a2cd5ce5587b1629efc3e6d1f2
Template:Hlist/styles.css
10
1507
3077
2022-12-26T18:00:17Z
Wikipedia>Izno
0
actually remove that block, someone can dig for authorship
sanitized-css
text/css
/* {{pp-protected|reason=match parent|small=yes}} */
/*
* hlist styles are defined in core and Minerva and differ in Minerva. The
* current definitions here (2023-01-01) are sufficient to override Minerva
* without use of the hlist-separated class. The most problematic styles were
* related to margin, padding, and the bullet. Check files listed at
* [[MediaWiki talk:Common.css/to do#hlist-separated]]
*/
/*
* TODO: When the majority of readership supports it (or some beautiful world
* in which grade C support is above the minimum threshold), use :is()
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
/*
* don't trust the note that says margin doesn't work with inline
* removing margin: 0 makes dds have margins again
* We also want to reset margin-right in Minerva
*/
margin: 0;
display: inline;
}
/* Display requested top-level lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
/* Display nested lists inline */
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li {
display: none;
}
/* TODO: :not() can maybe be used here to remove the later rule. naive test
* seems to work. more testing needed. like so:
*.hlist dt:not(:last-child)::after {
* content: ": ";
*}
*.hlist dd:not(:last-child)::after,
*.hlist li:not(:last-child)::after {
* content: " · ";
* font-weight: bold;
*}
*/
/* Generate interpuncts */
.hlist dt::after {
content: ": ";
}
.hlist dd::after,
.hlist li::after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child::after,
.hlist dt:last-child::after,
.hlist li:last-child::after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child::before,
.hlist dd dt:first-child::before,
.hlist dd li:first-child::before,
.hlist dt dd:first-child::before,
.hlist dt dt:first-child::before,
.hlist dt li:first-child::before,
.hlist li dd:first-child::before,
.hlist li dt:first-child::before,
.hlist li li:first-child::before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child::after,
.hlist dd dt:last-child::after,
.hlist dd li:last-child::after,
.hlist dt dd:last-child::after,
.hlist dt dt:last-child::after,
.hlist dt li:last-child::after,
.hlist li dd:last-child::after,
.hlist li dt:last-child::after,
.hlist li li:last-child::after {
content: ")";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li::before {
content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child::before,
.hlist dt ol > li:first-child::before,
.hlist li ol > li:first-child::before {
content: " (" counter(listitem) "\a0";
}
8c9dd9c9c00f30eead17fe10f51d183333e81f33
Module:Infobox
828
1426
2915
2022-12-27T21:29:12Z
Wikipedia>Izno
0
merge hlist here
Scribunto
text/plain
local p = {}
local args = {}
local origArgs = {}
local root
local empty_row_categories = {}
local category_in_empty_row_pattern = '%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]'
local has_rows = false
local lists = {
plainlist_t = {
patterns = {
'^plainlist$',
'%splainlist$',
'^plainlist%s',
'%splainlist%s'
},
found = false,
styles = 'Plainlist/styles.css'
},
hlist_t = {
patterns = {
'^hlist$',
'%shlist$',
'^hlist%s',
'%shlist%s'
},
found = false,
styles = 'Hlist/styles.css'
}
}
local function has_list_class(args_to_check)
for _, list in pairs(lists) do
if not list.found then
for _, arg in pairs(args_to_check) do
for _, pattern in ipairs(list.patterns) do
if mw.ustring.find(arg or '', pattern) then
list.found = true
break
end
end
if list.found then break end
end
end
end
end
local function fixChildBoxes(sval, tt)
local function notempty( s ) return s and s:match( '%S' ) end
if notempty(sval) then
local marker = '<span class=special_infobox_marker>'
local s = sval
-- start moving templatestyles and categories inside of table rows
local slast = ''
while slast ~= s do
slast = s
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>%s*)(%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*%]%])', '%2%1')
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>%s*)(\127[^\127]*UNIQ%-%-templatestyles%-%x+%-QINU[^\127]*\127)', '%2%1')
end
-- end moving templatestyles and categories inside of table rows
s = mw.ustring.gsub(s, '(<%s*[Tt][Rr])', marker .. '%1')
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>)', '%1' .. marker)
if s:match(marker) then
s = mw.ustring.gsub(s, marker .. '%s*' .. marker, '')
s = mw.ustring.gsub(s, '([\r\n]|-[^\r\n]*[\r\n])%s*' .. marker, '%1')
s = mw.ustring.gsub(s, marker .. '%s*([\r\n]|-)', '%1')
s = mw.ustring.gsub(s, '(</[Cc][Aa][Pp][Tt][Ii][Oo][Nn]%s*>%s*)' .. marker, '%1')
s = mw.ustring.gsub(s, '(<%s*[Tt][Aa][Bb][Ll][Ee][^<>]*>%s*)' .. marker, '%1')
s = mw.ustring.gsub(s, '^(%{|[^\r\n]*[\r\n]%s*)' .. marker, '%1')
s = mw.ustring.gsub(s, '([\r\n]%{|[^\r\n]*[\r\n]%s*)' .. marker, '%1')
s = mw.ustring.gsub(s, marker .. '(%s*</[Tt][Aa][Bb][Ll][Ee]%s*>)', '%1')
s = mw.ustring.gsub(s, marker .. '(%s*\n|%})', '%1')
end
if s:match(marker) then
local subcells = mw.text.split(s, marker)
s = ''
for k = 1, #subcells do
if k == 1 then
s = s .. subcells[k] .. '</' .. tt .. '></tr>'
elseif k == #subcells then
local rowstyle = ' style="display:none"'
if notempty(subcells[k]) then rowstyle = '' end
s = s .. '<tr' .. rowstyle ..'><' .. tt .. ' colspan=2>\n' ..
subcells[k]
elseif notempty(subcells[k]) then
if (k % 2) == 0 then
s = s .. subcells[k]
else
s = s .. '<tr><' .. tt .. ' colspan=2>\n' ..
subcells[k] .. '</' .. tt .. '></tr>'
end
end
end
end
-- the next two lines add a newline at the end of lists for the PHP parser
-- [[Special:Diff/849054481]]
-- remove when [[:phab:T191516]] is fixed or OBE
s = mw.ustring.gsub(s, '([\r\n][%*#;:][^\r\n]*)$', '%1\n')
s = mw.ustring.gsub(s, '^([%*#;:][^\r\n]*)$', '%1\n')
s = mw.ustring.gsub(s, '^([%*#;:])', '\n%1')
s = mw.ustring.gsub(s, '^(%{%|)', '\n%1')
return s
else
return sval
end
end
-- Cleans empty tables
local function cleanInfobox()
root = tostring(root)
if has_rows == false then
root = mw.ustring.gsub(root, '<table[^<>]*>%s*</table>', '')
end
end
-- Returns the union of the values of two tables, as a sequence.
local function union(t1, t2)
local vals = {}
for k, v in pairs(t1) do
vals[v] = true
end
for k, v in pairs(t2) do
vals[v] = true
end
local ret = {}
for k, v in pairs(vals) do
table.insert(ret, k)
end
return ret
end
-- Returns a table containing the numbers of the arguments that exist
-- for the specified prefix. For example, if the prefix was 'data', and
-- 'data1', 'data2', and 'data5' exist, it would return {1, 2, 5}.
local function getArgNums(prefix)
local nums = {}
for k, v in pairs(args) do
local num = tostring(k):match('^' .. prefix .. '([1-9]%d*)$')
if num then table.insert(nums, tonumber(num)) end
end
table.sort(nums)
return nums
end
-- Adds a row to the infobox, with either a header cell
-- or a label/data cell combination.
local function addRow(rowArgs)
if rowArgs.header and rowArgs.header ~= '_BLANK_' then
has_rows = true
has_list_class({ rowArgs.rowclass, rowArgs.class, args.headerclass })
root
:tag('tr')
:addClass(rowArgs.rowclass)
:cssText(rowArgs.rowstyle)
:tag('th')
:attr('colspan', '2')
:addClass('infobox-header')
:addClass(rowArgs.class)
:addClass(args.headerclass)
-- @deprecated next; target .infobox-<name> .infobox-header
:cssText(args.headerstyle)
:cssText(rowArgs.rowcellstyle)
:wikitext(fixChildBoxes(rowArgs.header, 'th'))
if rowArgs.data then
root:wikitext(
'[[Category:Pages using infobox templates with ignored data cells]]'
)
end
elseif rowArgs.data and rowArgs.data:gsub(category_in_empty_row_pattern, ''):match('^%S') then
has_rows = true
has_list_class({ rowArgs.rowclass, rowArgs.class })
local row = root:tag('tr')
row:addClass(rowArgs.rowclass)
row:cssText(rowArgs.rowstyle)
if rowArgs.label then
row
:tag('th')
:attr('scope', 'row')
:addClass('infobox-label')
-- @deprecated next; target .infobox-<name> .infobox-label
:cssText(args.labelstyle)
:cssText(rowArgs.rowcellstyle)
:wikitext(rowArgs.label)
:done()
end
local dataCell = row:tag('td')
dataCell
:attr('colspan', not rowArgs.label and '2' or nil)
:addClass(not rowArgs.label and 'infobox-full-data' or 'infobox-data')
:addClass(rowArgs.class)
-- @deprecated next; target .infobox-<name> .infobox(-full)-data
:cssText(rowArgs.datastyle)
:cssText(rowArgs.rowcellstyle)
:wikitext(fixChildBoxes(rowArgs.data, 'td'))
else
table.insert(empty_row_categories, rowArgs.data or '')
end
end
local function renderTitle()
if not args.title then return end
has_rows = true
has_list_class({args.titleclass})
root
:tag('caption')
:addClass('infobox-title')
:addClass(args.titleclass)
-- @deprecated next; target .infobox-<name> .infobox-title
:cssText(args.titlestyle)
:wikitext(args.title)
end
local function renderAboveRow()
if not args.above then return end
has_rows = true
has_list_class({ args.aboveclass })
root
:tag('tr')
:tag('th')
:attr('colspan', '2')
:addClass('infobox-above')
:addClass(args.aboveclass)
-- @deprecated next; target .infobox-<name> .infobox-above
:cssText(args.abovestyle)
:wikitext(fixChildBoxes(args.above,'th'))
end
local function renderBelowRow()
if not args.below then return end
has_rows = true
has_list_class({ args.belowclass })
root
:tag('tr')
:tag('td')
:attr('colspan', '2')
:addClass('infobox-below')
:addClass(args.belowclass)
-- @deprecated next; target .infobox-<name> .infobox-below
:cssText(args.belowstyle)
:wikitext(fixChildBoxes(args.below,'td'))
end
local function addSubheaderRow(subheaderArgs)
if subheaderArgs.data and
subheaderArgs.data:gsub(category_in_empty_row_pattern, ''):match('^%S') then
has_rows = true
has_list_class({ subheaderArgs.rowclass, subheaderArgs.class })
local row = root:tag('tr')
row:addClass(subheaderArgs.rowclass)
local dataCell = row:tag('td')
dataCell
:attr('colspan', '2')
:addClass('infobox-subheader')
:addClass(subheaderArgs.class)
:cssText(subheaderArgs.datastyle)
:cssText(subheaderArgs.rowcellstyle)
:wikitext(fixChildBoxes(subheaderArgs.data, 'td'))
else
table.insert(empty_row_categories, subheaderArgs.data or '')
end
end
local function renderSubheaders()
if args.subheader then
args.subheader1 = args.subheader
end
if args.subheaderrowclass then
args.subheaderrowclass1 = args.subheaderrowclass
end
local subheadernums = getArgNums('subheader')
for k, num in ipairs(subheadernums) do
addSubheaderRow({
data = args['subheader' .. tostring(num)],
-- @deprecated next; target .infobox-<name> .infobox-subheader
datastyle = args.subheaderstyle,
rowcellstyle = args['subheaderstyle' .. tostring(num)],
class = args.subheaderclass,
rowclass = args['subheaderrowclass' .. tostring(num)]
})
end
end
local function addImageRow(imageArgs)
if imageArgs.data and
imageArgs.data:gsub(category_in_empty_row_pattern, ''):match('^%S') then
has_rows = true
has_list_class({ imageArgs.rowclass, imageArgs.class })
local row = root:tag('tr')
row:addClass(imageArgs.rowclass)
local dataCell = row:tag('td')
dataCell
:attr('colspan', '2')
:addClass('infobox-image')
:addClass(imageArgs.class)
:cssText(imageArgs.datastyle)
:wikitext(fixChildBoxes(imageArgs.data, 'td'))
else
table.insert(empty_row_categories, imageArgs.data or '')
end
end
local function renderImages()
if args.image then
args.image1 = args.image
end
if args.caption then
args.caption1 = args.caption
end
local imagenums = getArgNums('image')
for k, num in ipairs(imagenums) do
local caption = args['caption' .. tostring(num)]
local data = mw.html.create():wikitext(args['image' .. tostring(num)])
if caption then
data
:tag('div')
:addClass('infobox-caption')
-- @deprecated next; target .infobox-<name> .infobox-caption
:cssText(args.captionstyle)
:wikitext(caption)
end
addImageRow({
data = tostring(data),
-- @deprecated next; target .infobox-<name> .infobox-image
datastyle = args.imagestyle,
class = args.imageclass,
rowclass = args['imagerowclass' .. tostring(num)]
})
end
end
-- When autoheaders are turned on, preprocesses the rows
local function preprocessRows()
if not args.autoheaders then return end
local rownums = union(getArgNums('header'), getArgNums('data'))
table.sort(rownums)
local lastheader
for k, num in ipairs(rownums) do
if args['header' .. tostring(num)] then
if lastheader then
args['header' .. tostring(lastheader)] = nil
end
lastheader = num
elseif args['data' .. tostring(num)] and
args['data' .. tostring(num)]:gsub(
category_in_empty_row_pattern, ''
):match('^%S') then
local data = args['data' .. tostring(num)]
if data:gsub(category_in_empty_row_pattern, ''):match('%S') then
lastheader = nil
end
end
end
if lastheader then
args['header' .. tostring(lastheader)] = nil
end
end
-- Gets the union of the header and data argument numbers,
-- and renders them all in order
local function renderRows()
local rownums = union(getArgNums('header'), getArgNums('data'))
table.sort(rownums)
for k, num in ipairs(rownums) do
addRow({
header = args['header' .. tostring(num)],
label = args['label' .. tostring(num)],
data = args['data' .. tostring(num)],
datastyle = args.datastyle,
class = args['class' .. tostring(num)],
rowclass = args['rowclass' .. tostring(num)],
-- @deprecated next; target .infobox-<name> rowclass
rowstyle = args['rowstyle' .. tostring(num)],
rowcellstyle = args['rowcellstyle' .. tostring(num)]
})
end
end
local function renderNavBar()
if not args.name then return end
has_rows = true
root
:tag('tr')
:tag('td')
:attr('colspan', '2')
:addClass('infobox-navbar')
:wikitext(require('Module:Navbar')._navbar{
args.name,
mini = 1,
})
end
local function renderItalicTitle()
local italicTitle = args['italic title'] and mw.ustring.lower(args['italic title'])
if italicTitle == '' or italicTitle == 'force' or italicTitle == 'yes' then
root:wikitext(require('Module:Italic title')._main({}))
end
end
-- Categories in otherwise empty rows are collected in empty_row_categories.
-- This function adds them to the module output. It is not affected by
-- args.decat because this module should not prevent module-external categories
-- from rendering.
local function renderEmptyRowCategories()
for _, s in ipairs(empty_row_categories) do
root:wikitext(s)
end
end
-- Render tracking categories. args.decat == turns off tracking categories.
local function renderTrackingCategories()
if args.decat == 'yes' then return end
if args.child == 'yes' then
if args.title then
root:wikitext(
'[[Category:Pages using embedded infobox templates with the title parameter]]'
)
end
elseif #(getArgNums('data')) == 0 and mw.title.getCurrentTitle().namespace == 0 then
root:wikitext('[[Category:Articles using infobox templates with no data rows]]')
end
end
--[=[
Loads the templatestyles for the infobox.
TODO: FINISH loading base templatestyles here rather than in
MediaWiki:Common.css. There are 4-5000 pages with 'raw' infobox tables.
See [[Mediawiki_talk:Common.css/to_do#Infobox]] and/or come help :).
When we do this we should clean up the inline CSS below too.
Will have to do some bizarre conversion category like with sidebar.
]=]
local function loadTemplateStyles()
local frame = mw.getCurrentFrame()
local hlist_templatestyles = ''
if lists.hlist_t.found then
hlist_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = lists.hlist_t.styles }
}
end
local plainlist_templatestyles = ''
if lists.plainlist_t.found then
plainlist_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = lists.plainlist_t.styles }
}
end
-- See function description
local base_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = 'Module:Infobox/styles.css' }
}
local templatestyles = ''
if args['templatestyles'] then
templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = args['templatestyles'] }
}
end
local child_templatestyles = ''
if args['child templatestyles'] then
child_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = args['child templatestyles'] }
}
end
local grandchild_templatestyles = ''
if args['grandchild templatestyles'] then
grandchild_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = args['grandchild templatestyles'] }
}
end
return table.concat({
-- hlist -> plainlist -> base is best-effort to preserve old Common.css ordering.
-- this ordering is not a guarantee because the rows of interest invoking
-- each class may not be on a specific page
hlist_templatestyles,
plainlist_templatestyles,
base_templatestyles,
templatestyles,
child_templatestyles,
grandchild_templatestyles
})
end
-- common functions between the child and non child cases
local function structure_infobox_common()
renderSubheaders()
renderImages()
preprocessRows()
renderRows()
renderBelowRow()
renderNavBar()
renderItalicTitle()
renderEmptyRowCategories()
renderTrackingCategories()
cleanInfobox()
end
-- Specify the overall layout of the infobox, with special settings if the
-- infobox is used as a 'child' inside another infobox.
local function _infobox()
if args.child ~= 'yes' then
root = mw.html.create('table')
root
:addClass(args.subbox == 'yes' and 'infobox-subbox' or 'infobox')
:addClass(args.bodyclass)
-- @deprecated next; target .infobox-<name>
:cssText(args.bodystyle)
has_list_class({ args.bodyclass })
renderTitle()
renderAboveRow()
else
root = mw.html.create()
root
:wikitext(args.title)
end
structure_infobox_common()
return loadTemplateStyles() .. root
end
-- If the argument exists and isn't blank, add it to the argument table.
-- Blank arguments are treated as nil to match the behaviour of ParserFunctions.
local function preprocessSingleArg(argName)
if origArgs[argName] and origArgs[argName] ~= '' then
args[argName] = origArgs[argName]
end
end
-- Assign the parameters with the given prefixes to the args table, in order, in
-- batches of the step size specified. This is to prevent references etc. from
-- appearing in the wrong order. The prefixTable should be an array containing
-- tables, each of which has two possible fields, a "prefix" string and a
-- "depend" table. The function always parses parameters containing the "prefix"
-- string, but only parses parameters in the "depend" table if the prefix
-- parameter is present and non-blank.
local function preprocessArgs(prefixTable, step)
if type(prefixTable) ~= 'table' then
error("Non-table value detected for the prefix table", 2)
end
if type(step) ~= 'number' then
error("Invalid step value detected", 2)
end
-- Get arguments without a number suffix, and check for bad input.
for i,v in ipairs(prefixTable) do
if type(v) ~= 'table' or type(v.prefix) ~= "string" or
(v.depend and type(v.depend) ~= 'table') then
error('Invalid input detected to preprocessArgs prefix table', 2)
end
preprocessSingleArg(v.prefix)
-- Only parse the depend parameter if the prefix parameter is present
-- and not blank.
if args[v.prefix] and v.depend then
for j, dependValue in ipairs(v.depend) do
if type(dependValue) ~= 'string' then
error('Invalid "depend" parameter value detected in preprocessArgs')
end
preprocessSingleArg(dependValue)
end
end
end
-- Get arguments with number suffixes.
local a = 1 -- Counter variable.
local moreArgumentsExist = true
while moreArgumentsExist == true do
moreArgumentsExist = false
for i = a, a + step - 1 do
for j,v in ipairs(prefixTable) do
local prefixArgName = v.prefix .. tostring(i)
if origArgs[prefixArgName] then
-- Do another loop if any arguments are found, even blank ones.
moreArgumentsExist = true
preprocessSingleArg(prefixArgName)
end
-- Process the depend table if the prefix argument is present
-- and not blank, or we are processing "prefix1" and "prefix" is
-- present and not blank, and if the depend table is present.
if v.depend and (args[prefixArgName] or (i == 1 and args[v.prefix])) then
for j,dependValue in ipairs(v.depend) do
local dependArgName = dependValue .. tostring(i)
preprocessSingleArg(dependArgName)
end
end
end
end
a = a + step
end
end
-- Parse the data parameters in the same order that the old {{infobox}} did, so
-- that references etc. will display in the expected places. Parameters that
-- depend on another parameter are only processed if that parameter is present,
-- to avoid phantom references appearing in article reference lists.
local function parseDataParameters()
preprocessSingleArg('autoheaders')
preprocessSingleArg('child')
preprocessSingleArg('bodyclass')
preprocessSingleArg('subbox')
preprocessSingleArg('bodystyle')
preprocessSingleArg('title')
preprocessSingleArg('titleclass')
preprocessSingleArg('titlestyle')
preprocessSingleArg('above')
preprocessSingleArg('aboveclass')
preprocessSingleArg('abovestyle')
preprocessArgs({
{prefix = 'subheader', depend = {'subheaderstyle', 'subheaderrowclass'}}
}, 10)
preprocessSingleArg('subheaderstyle')
preprocessSingleArg('subheaderclass')
preprocessArgs({
{prefix = 'image', depend = {'caption', 'imagerowclass'}}
}, 10)
preprocessSingleArg('captionstyle')
preprocessSingleArg('imagestyle')
preprocessSingleArg('imageclass')
preprocessArgs({
{prefix = 'header'},
{prefix = 'data', depend = {'label'}},
{prefix = 'rowclass'},
{prefix = 'rowstyle'},
{prefix = 'rowcellstyle'},
{prefix = 'class'}
}, 50)
preprocessSingleArg('headerclass')
preprocessSingleArg('headerstyle')
preprocessSingleArg('labelstyle')
preprocessSingleArg('datastyle')
preprocessSingleArg('below')
preprocessSingleArg('belowclass')
preprocessSingleArg('belowstyle')
preprocessSingleArg('name')
-- different behaviour for italics if blank or absent
args['italic title'] = origArgs['italic title']
preprocessSingleArg('decat')
preprocessSingleArg('templatestyles')
preprocessSingleArg('child templatestyles')
preprocessSingleArg('grandchild templatestyles')
end
-- If called via #invoke, use the args passed into the invoking template.
-- Otherwise, for testing purposes, assume args are being passed directly in.
function p.infobox(frame)
if frame == mw.getCurrentFrame() then
origArgs = frame:getParent().args
else
origArgs = frame
end
parseDataParameters()
return _infobox()
end
-- For calling via #invoke within a template
function p.infoboxTemplate(frame)
origArgs = {}
for k,v in pairs(frame.args) do origArgs[k] = mw.text.trim(v) end
parseDataParameters()
return _infobox()
end
return p
0ddb7e5c8426d67cd589b710efb9912ddfb67fea
Module:Navbox/configuration
828
1533
3138
2022-12-29T18:14:27Z
Wikipedia>Izno
0
get these in
Scribunto
text/plain
return {
aria_label = 'Navbox',
nowrap_item = '%s<span class="nowrap">%s</span>',
templatestyles = mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = 'Module:Navbox/styles.css' }
},
hlist_templatestyles = 'Hlist/styles.css',
plainlist_templatestyles = 'Plainlist/styles.css',
-- do not localize marker table
marker = {
oddeven = '\127_ODDEVEN_\127',
restart = '\127_ODDEVEN0_\127',
regex = '\127_ODDEVEN(%d?)_\127'
},
category = {
orphan = '[[Category:Navbox orphans]]',
horizontal_lists = 'Navigational boxes without horizontal lists',
background_colors = 'Navboxes using background colours',
illegible = 'Potentially illegible navboxes',
borders = 'Navboxes using borders',
},
keyword = {
border_subgroup = 'subgroup',
border_child = 'child',
border_none = 'none',
evenodd_swap = 'swap',
navbar_off = 'off',
navbar_plain = 'plain',
nocat_false = 'false',
nowrapitems_yes = 'yes',
orphan_yes = 'yes',
state_collapsed = 'collapsed',
state_off = 'off',
state_plain = 'plain',
subpage_doc = 'doc',
subpage_sandbox = 'sandbox',
subpage_testcases = 'testcases',
tracking_no = 'no'
},
class = {
autocollapse = 'autocollapse',
collapsible = 'mw-collapsible',
collapsed = 'mw-collapsed',
-- Warning
navbox = 'navbox', -- WMF currently hides 'navbox' from mobile,
-- so you probably shouldn't change the navbox class.
navbox_abovebelow = 'navbox-abovebelow',
navbox_group = 'navbox-group',
navbox_image = 'navbox-image',
navbox_inner = 'navbox-inner',
navbox_list = 'navbox-list',
navbox_list_with_group = 'navbox-list-with-group',
navbox_part = 'navbox-', -- do not l10n
navbox_styles = 'navbox-styles',
navbox_subgroup = 'navbox-subgroup',
navbox_title = 'navbox-title', -- l10n only if you change pattern.navbox_title below
navbox_odd_part = 'odd', -- do not l10n
navbox_even_part = 'even', -- do not l10n
nomobile = 'nomobile',
nowraplinks = 'nowraplinks',
noviewer = 'noviewer' -- used to remove images from MediaViewer
},
pattern = {
listnum = '^list(%d+)$',
class = 'class',
sandbox = '/sandbox$',
navbox = 'Template:Navbox',
nowrap = '^<span class="nowrap">',
style = 'style$',
navbox_title = '<th[^>]*"navbox%-title"',
hlist = 'hlist',
plainlist = 'plainlist',
},
arg = {
above = 'above',
aboveclass = 'aboveclass',
abovestyle = 'abovestyle',
basestyle = 'basestyle',
bodyclass = 'bodyclass',
bodystyle = 'bodystyle',
border = 'border',
below = 'below',
belowclass = 'belowclass',
belowstyle = 'belowstyle',
evenodd = 'evenodd',
evenstyle = 'evenstyle',
group1 = 'group1',
group2 = 'group2',
group_and_num = 'group%d',
groupstyle_and_num = 'group%dstyle',
groupclass = 'groupclass',
groupstyle = 'groupstyle',
groupwidth = 'groupwidth',
innerstyle = 'innerstyle',
image = 'image',
imageclass = 'imageclass',
imageleft = 'imageleft',
imageleftstyle = 'imageleftstyle',
imagesetyle = 'imagestyle',
list_and_num = 'list%d',
listclass_and_num = 'list%dclass',
liststyle_and_num = 'list%dstyle',
list1padding = 'list1padding',
listclass = 'listclass',
listpadding = 'listpadding',
liststyle = 'liststyle',
name = 'name',
navbar = 'navbar',
navboxclass = 'navboxclass',
nocat = 'nocat',
nowrapitems = 'nowrapitems',
oddstyle = 'oddstyle',
orphan = 'orphan',
state = 'state',
style = 'style',
templatestyles = 'templatestyles',
child_templatestyles = 'child templatestyles',
title = 'title',
titleclass = 'titleclass',
titlestyle = 'titlestyle',
tracking = 'tracking'
},
-- names of navbar arguments
navbar = {
name = 1,
fontstyle = 'fontstyle',
mini = 'mini'
}
}
4148736fd32a93636c0413e73ed38afaef065ec9
Module:Navbar/configuration
828
1447
2957
2022-12-29T18:18:21Z
Wikipedia>Izno
0
add hlist/styles.css
Scribunto
text/plain
return {
['templatestyles'] = 'Module:Navbar/styles.css',
['hlist_templatestyles'] = 'Hlist/styles.css',
['box_text'] = 'This box: ', -- default text box when not plain or mini
['title_namespace'] = 'Template', -- namespace to default to for title
['invalid_title'] = 'Invalid title ',
['classes'] = { -- set a line to nil if you don't want it
['navbar'] = 'navbar',
['plainlinks'] = 'plainlinks', -- plainlinks
['horizontal_list'] = 'hlist', -- horizontal list class
['mini'] = 'navbar-mini', -- class indicating small links in the navbar
['this_box'] = 'navbar-boxtext',
['brackets'] = 'navbar-brackets',
-- 'collapsible' is the key for a class to indicate the navbar is
-- setting up the collapsible element in addition to the normal
-- navbar.
['collapsible'] = 'navbar-collapse',
['collapsible_title_mini'] = 'navbar-ct-mini',
['collapsible_title_full'] = 'navbar-ct-full'
}
}
b007c336b17ec4bcd4d5a9dca9f8cba301662b55
Template:Large
10
1479
3021
2023-01-16T01:12:34Z
Wikipedia>Jonesey95
0
use this template's own documentation
wikitext
text/x-wiki
<span style="font-size:120%">{{{1}}}</span><noinclude>
{{Documentation}}
</noinclude>
8ba6ec8c3178e22dc1f05aa239df8a2b052be668
Module:If empty
828
1439
2941
2023-01-26T18:33:28Z
Wikipedia>MSGJ
0
lastk is not needed
Scribunto
text/plain
local p = {}
function p.main(frame)
local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false})
for k,v in ipairs(args) do
if v ~= '' then
return v
end
end
end
return p
4790391408957dea3ff9f453834c05f6b379a45c
Module:Lua banner
828
1498
3059
2023-02-16T14:39:53Z
Wikipedia>Uzume
0
[[Module:Citation]] has been blanked since [[Wikipedia:Templates for discussion/Log/2018 May 13#Module:Citation]]; remove special handling
Scribunto
text/plain
-- This module implements the {{lua}} template.
local yesno = require('Module:Yesno')
local mList = require('Module:List')
local mTableTools = require('Module:TableTools')
local mMessageBox = require('Module:Message box')
local p = {}
function p.main(frame)
local origArgs = frame:getParent().args
local args = {}
for k, v in pairs(origArgs) do
v = v:match('^%s*(.-)%s*$')
if v ~= '' then
args[k] = v
end
end
return p._main(args)
end
function p._main(args)
local modules = mTableTools.compressSparseArray(args)
local box = p.renderBox(modules)
local trackingCategories = p.renderTrackingCategories(args, modules)
return box .. trackingCategories
end
function p.renderBox(modules)
local boxArgs = {}
if #modules < 1 then
boxArgs.text = '<strong class="error">Error: no modules specified</strong>'
else
local moduleLinks = {}
for i, module in ipairs(modules) do
moduleLinks[i] = string.format('[[:%s]]', module)
local maybeSandbox = mw.title.new(module .. '/sandbox')
if maybeSandbox.exists then
moduleLinks[i] = moduleLinks[i] .. string.format(' ([[:%s|sandbox]])', maybeSandbox.fullText)
end
end
local moduleList = mList.makeList('bulleted', moduleLinks)
local title = mw.title.getCurrentTitle()
if title.subpageText == "doc" then
title = title.basePageTitle
end
if title.contentModel == "Scribunto" then
boxArgs.text = 'This module depends on the following other modules:' .. moduleList
else
boxArgs.text = 'This template uses [[Wikipedia:Lua|Lua]]:\n' .. moduleList
end
end
boxArgs.type = 'notice'
boxArgs.small = true
boxArgs.image = '[[File:Lua-Logo.svg|30px|alt=|link=]]'
return mMessageBox.main('mbox', boxArgs)
end
function p.renderTrackingCategories(args, modules, titleObj)
if yesno(args.nocat) then
return ''
end
local cats = {}
-- Error category
if #modules < 1 then
cats[#cats + 1] = 'Lua templates with errors'
end
-- Lua templates category
titleObj = titleObj or mw.title.getCurrentTitle()
local subpageBlacklist = {
doc = true,
sandbox = true,
sandbox2 = true,
testcases = true
}
if not subpageBlacklist[titleObj.subpageText] then
local protCatName
if titleObj.namespace == 10 then
local category = args.category
if not category then
local categories = {
['Module:String'] = 'Templates based on the String Lua module',
['Module:Math'] = 'Templates based on the Math Lua module',
['Module:BaseConvert'] = 'Templates based on the BaseConvert Lua module',
['Module:Citation/CS1'] = 'Templates based on the Citation/CS1 Lua module'
}
category = modules[1] and categories[modules[1]]
category = category or 'Lua-based templates'
end
cats[#cats + 1] = category
protCatName = "Templates using under-protected Lua modules"
elseif titleObj.namespace == 828 then
protCatName = "Modules depending on under-protected modules"
end
if not args.noprotcat and protCatName then
local protLevels = {
autoconfirmed = 1,
extendedconfirmed = 2,
templateeditor = 3,
sysop = 4
}
local currentProt
if titleObj.id ~= 0 then
-- id is 0 (page does not exist) if am previewing before creating a template.
currentProt = titleObj.protectionLevels["edit"][1]
end
if currentProt == nil then currentProt = 0 else currentProt = protLevels[currentProt] end
for i, module in ipairs(modules) do
if module ~= "WP:libraryUtil" then
local moduleProt = mw.title.new(module).protectionLevels["edit"][1]
if moduleProt == nil then moduleProt = 0 else moduleProt = protLevels[moduleProt] end
if moduleProt < currentProt then
cats[#cats + 1] = protCatName
break
end
end
end
end
end
for i, cat in ipairs(cats) do
cats[i] = string.format('[[Category:%s]]', cat)
end
return table.concat(cats)
end
return p
03ec1b34a40121efc562c0c64a67ebbf57d56dff
Template:Infobox political party
10
1521
3114
2023-02-23T04:32:29Z
Wikipedia>ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ
0
add support for chairwoman per tper
wikitext
text/x-wiki
<includeonly>{{#if:{{Has short description}} |<!--Do nothing--> |{{main other|{{Short description|Political party{{#if:{{{country|}}}| in {{Plain text|{{{country}}}}}}}|noreplace}}}} }}</includeonly>
{{Infobox
| bodyclass = vcard
| abovestyle = font-size: 125%;
| above = <div style="padding-top:0.3em; padding-bottom:0.3em; {{#if:{{{colorcode|}}}|border-top:2px solid {{{colorcode}}}; border-bottom:2px solid {{{colorcode}}};}} line-height: 1;"><div class="fn org">{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}}</div> {{#if:{{{native_name|}}} |<div style="font-size: 0.8em; padding-top:0.3em;" class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}</div>
| subheader = {{{_subheader|}}}
| imageclass = logo
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|upright={{{logo_upright|0.8}}}|alt={{{logo_alt|}}}|size={{{logo_size|}}}}}
| caption = {{{caption|}}}
| headerstyle = line-height: 0.8em;
| labelstyle = line-height:1.3em;
| datastyle = line-height:1.3em;
| label1 = {{{lang1}}} name
| class1 = nickname
| data1 = {{{name_lang1|}}}
| label2 = {{{lang2}}} name
| class2 = nickname
| data2 = {{{name_lang2|}}}
| label3 = {{{lang3}}} name
| class3 = nickname
| data3 = {{{name_lang3|}}}
| label4 = {{{lang4}}} name
| class4 = nickname
| data4 = {{{name_lang4|}}}
| label5 = Abbreviation
| class5 = nickname
| data5 = {{if empty|{{{abbreviation|}}}|{{{abbr|}}}}}
| label6 = [[Party leader|Leader]]
| class6 = agent
| data6 = {{{leader|}}}
| label7 = President
| class7 = agent
| data7 = {{{president|}}}
| label8 = [[Party chair|Chair{{#if:{{{chairperson|}}}|person|{{#if:{{{chairman|}}}|man|woman}}}}]]
| class8 = agent
| data8 = {{if empty|{{{chairperson|}}}|{{{chairman|}}}|{{{chairwoman|}}}}}
| label9 = [[Party secretary|Secretary]]
| class9 = agent
| data9 = {{{secretary|}}}
| label10 = General Secretary
| class10 = agent
| data10 = {{{general_secretary|}}}
| label11 = First Secretary
| class11 = agent
| data11 = {{{first_secretary|}}}
| label12 = {{nowrap|Secretary-General}}
| class12 = agent
| data12 = {{{secretary_general|}}}
| label13 = [[Presidium]]
| class13 = agent
| data13 = {{{presidium|}}}
| label14 = Governing body
| class14 = agent
| data14 = {{{governing_body|}}}
| label15 = Standing Committee
| class15 = agent
| data15 = {{{standing_committee|}}}
| label16 = [[Party spokesperson|Spokes{{#if:{{{spokesperson|}}}|person|man}}]]
| class16 = agent
| data16 = {{if empty|{{{spokesperson|}}}|{{{spokesman|}}}}}
| label17 = {{{leader1_title|}}}
| class17 = agent
| data17 = {{{leader1_name|}}}
| label18 = {{{leader2_title|}}}
| class18 = agent
| data18 = {{{leader2_name|}}}
| label19 = {{{leader3_title|}}}
| class19 = agent
| data19 = {{{leader3_name|}}}
| label20 = {{{leader4_title|}}}
| class20 = agent
| data20 = {{{leader4_name|}}}
| label21 = {{{leader5_title|}}}
| class21 = agent
| data21 = {{{leader5_name|}}}
| label22 = {{#if:{{{founders|}}} |Founders |Founder}}
| class22 = agent
| data22 = {{if empty|{{{founders|}}}|{{{founder|}}}}}
| label23 = Founded
| data23 = {{if empty|{{{founded|}}}|{{{foundation|}}}}}
| label24 = Registered
| data24 = {{{registered|}}}
| label25 = Legali{{#if:{{{legalised|}}}|s|z}}ed
| data25 = {{if empty|{{{legalised|}}}|{{{legalized|}}}}}
| label26 = {{#if:{{{banned|}}} |Banned |Dissolved}}
| data26 = {{if empty|{{{banned|}}}|{{{dissolved|}}}|{{{dissolution|}}}}}
| label27 = Merger of
| data27 = {{{merger|}}}
| label28 = Split from
| data28 = {{{split|}}}
| label29 = Preceded by
| data29 = {{{predecessor|}}}
| label30 = Merged into
| data30 = {{{merged|}}}
| label31 = Succeeded by
| data31 = {{{successor|}}}
| label32 = Headquarters
| class32 = label
| data32 = {{{headquarters|}}}
| label33 = Newspaper
| data33 = {{{newspaper|}}}
| label34 = [[Think tank]]
| data34 = {{if empty|{{{think tank|}}}|{{{think_tank|}}}}}
| label35 = [[Student wing]]
| data35 = {{{student_wing|}}}
| label36 = [[Youth wing]]
| data36 = {{{youth_wing|}}}
| label37 = [[Women's wing]]
| data37 = {{{womens_wing|}}}
| label38 = {{{wing1_title}}}
| data38 = {{{wing1|}}}
| label39 = {{{wing2_title}}}
| data39 = {{{wing2|}}}
| label40 = {{{wing3_title}}}
| data40 = {{{wing3|}}}
| label41 = {{{wing4_title}}}
| data41 = {{{wing4|}}}
| label42 = Membership {{#if:{{{membership_year|}}} |{{nobold|({{{membership_year}}})}}}}
| data42 = {{{membership|}}}
| label43 = [[List of political ideologies|Ideology]]
| class43 = category
| data43 = {{{ideology|}}}
| label44 = [[Political spectrum|Political position]]
| class44 = category
| data44 = {{{position|}}}
| label45 = Religion
| class45 = category
| data45 = {{{religion|}}}
| label46 = National affiliation
| class46 = category
| data46 = {{{national|}}}
| label47 = Regional affiliation
| class47 = category
| data47 = {{if empty|{{{regional|}}}|{{{regional affiliation|}}}}}
| label48 = [[European political party|European affiliation]]
| class48 = category
| data48 = {{{european|}}}
| label49 = Continental affiliation
| class49 = category
| data49 = {{if empty|{{{continental|}}}|{{{continental affiliation|}}}}}
| label50 = International affiliation
| class50 = category
| data50 = {{{international|}}}
| label51 = [[Political groups of the European Parliament|European Parliament group]]
| class51 = category
| data51 = {{{europarl|}}}
| label52 = {{{affiliation1_title}}}
| class52 = category
| data52 = {{#if:{{{affiliation1_title|}}}|{{{affiliation1|}}}}}
| label53 = {{{affiliation2_title}}}
| class53 = category
| data53 = {{#if:{{{affiliation2_title|}}}|{{{affiliation2|}}}}}
| label54 = Colo{{#if:{{{colours|}}}|u|}}rs
| data54 = {{{colo{{#if:{{{colours|}}}|u|}}rs|}}}
| label55 = Slogan
| data55 = {{{slogan|}}}
| label56 = Anthem
| data56 = {{{anthem|}}}
| label57 = {{{blank1_title|}}}
| data57 = {{{blank1|}}}
| label58 = {{{blank2_title|}}}
| data58 = {{{blank2|}}}
| label59 = {{{blank3_title|}}}
| data59 = {{{blank3|}}}
| label60 = {{{blank4_title|}}}
| data60 = {{{blank4|}}}
| label61 = {{{seats1_title|}}}
| data61 = {{{seats1|}}}
| label62 = {{{seats2_title|}}}
| data62 = {{{seats2|}}}
| label63 = {{{seats3_title|}}}
| data63 = {{{seats3|}}}
| label64 = {{{seats4_title|}}}
| data64 = {{{seats4|}}}
| label65 = {{{seats5_title|}}}
| data65 = {{{seats5|}}}
| label66 = {{{seats6_title|}}}
| data66 = {{{seats6|}}}
| label67 = {{{seats7_title|}}}
| data67 = {{{seats7|}}}
| label68 = {{{seats8_title|}}}
| data68 = {{{seats8|}}}
| label69 = {{{seats9_title|}}}
| data69 = {{{seats9|}}}
| label70 = {{{seats10_title|}}}
| data70 = {{{seats10|}}}
| label71 = {{{seats11_title|}}}
| data71 = {{{seats11|}}}
| header72 = {{#if:{{{symbol|}}} |Election symbol}}
| data73 = {{{symbol|}}}
| header74 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}
| data75 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|upright=0.8|alt={{if empty|{{{flag_alt|}}}|{{{flag_title|}}}}}}}
| header76 = {{#if:{{{website|}}} |Website}}
| data77 = {{{website|}}}
| belowstyle = padding-top:0;
| below = {{#if:{{{state|}}}{{{country|}}}
| {{Hlist |style=line-height:1.3em; padding-top:0.3em; border-top:{{#if:{{{colorcode|}}}|2|1}}px solid {{{colorcode|#aaa}}};
| {{#if:{{{country_dab1|}}}
| {{#ifexist: {{{country_dab1|}}} | [[{{{country_dab1}}}|Politics of {{if empty|{{{state|}}}|{{{country}}}}}]] }}
| {{#ifexist: Politics of {{if empty|{{{state|}}}|{{{country}}}}} | [[Politics of {{if empty|{{{state|}}}|{{{country}}}}}]] }}
}}
| {{#if:{{{parties_dab1|}}}
| {{#ifexist: {{{parties_dab1|}}} | [[{{{parties_dab1}}}|Political parties]] }}
| {{#ifexist: List of political parties in {{if empty|{{{state|}}}|{{{country}}}}} | [[List of political parties in {{if empty|{{{state|}}}|{{{country}}}}}|Political parties]] }}
}}
| {{#if:{{{elections_dab1|}}}
| {{#ifexist: {{{elections_dab1}}} | [[{{{elections_dab1}}}|Elections]] }}
| {{#ifexist: Elections in {{if empty|{{{state|}}}|{{{country}}}}} | [[Elections in {{if empty|{{{state|}}}|{{{country}}}}}|Elections]]}}
}}
}}<!--
-->{{#if:{{{country2|}}}
| {{Hlist |style=line-height:1.3em; margin-top:0.2em; padding-top:0.2em; border-top: 1px solid #aaa;
| {{#if:{{{country_dab2|}}}
| {{#ifexist: {{{country_dab2|}}} | [[{{{country_dab2}}}|Politics of {{{country2}}}]] }}
| {{#ifexist: Politics of {{{country2}}} | [[Politics of {{{country2}}}]] }}
}}
| {{#if:{{{parties_dab1|}}}
| {{#ifexist: {{{parties_dab2|}}} | [[{{{parties_dab2}}}|Political parties]] }}
| {{#ifexist: List of political parties in {{{country2}}} | [[List of political parties in {{{country2}}}|Political parties]] }}
}}
| {{#if:{{{elections_dab1|}}}
| {{#ifexist: {{{elections_dab2}}} | [[{{{elections_dab2}}}|Elections]] }}
| {{#ifexist: Elections in {{{country2}}} | [[Elections in {{{country2}}}|Elections]]}}
}}
}} }} }}<!--
-->{{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox political party with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox political party]] with unknown parameter "_VALUE_"|ignoreblank=y| _subheader | abbr | abbreviation | affiliation1 | affiliation1_title | affiliation2 | affiliation2_title | anthem | banned | blank1 | blank1_title | blank2 | blank2_title | blank3 | blank3_title | blank4 | blank4_title | caption | categories | chairman | chairperson | chairwoman | colorcode | colors | colours | continental | continental affiliation | country | country_dab1 | country_dab2 | country2 | demo | dissolution | dissolved | elections_dab1 | elections_dab2 | europarl | european | first_secretary | flag | flag_alt | flag_title | footnotes | foundation | founded | founder | founders | general_secretary | governing_body | headquarters | ideology | international | lang1 | lang2 | lang3 | lang4 | leader | leader1_name | leader1_title | leader2_name | leader2_title | leader3_name | leader3_title | leader4_name | leader4_title | leader5_name | leader5_title | legalised | legalized | logo | logo_alt | logo_size | logo_upright | membership | membership_year | merged | merger | name | name_lang1 | name_lang2 | name_lang3 | name_lang4 | national | native_name | native_name_lang | newspaper | nocat | parties_dab1 | parties_dab2 | position | predecessor | president | presidium | regional | regional affiliation | registered | religion | seats1 | seats1_title | seats10 | seats10_title | seats11 | seats11_title | seats2 | seats2_title | seats3 | seats3_title | seats4 | seats4_title | seats5 | seats5_title | seats6 | seats6_title | seats7 | seats7_title | seats8 | seats8_title | seats9 | seats9_title | secretary | secretary_general | slogan | split | spokesman | spokesperson | standing_committee | state | student_wing | successor | symbol | think tank | think_tank | website | wing1 | wing1_title | wing2 | wing2_title | wing3 | wing3_title | wing4 | wing4_title | womens_wing | youth_wing
}}<noinclude>
{{Documentation}}
</noinclude>
8b587d5ac78b0131b82ed669ff04f80ed06765f8
Template:Infobox election
10
1413
2889
2023-03-02T13:58:13Z
Wikipedia>Number 57
0
Per RfC outcome
wikitext
text/x-wiki
<includeonly>{{#invoke:infobox|infoboxTemplate
| child = {{{child|{{{embed|}}}}}}
| bodyclass = {{#if:{{{election_date|}}}|vevent|}}
| bodystyle = line-height: 1.5em; {{#if:<!--
-->{{{map_image|}}}{{{map|}}}{{{map2_image|}}}{{{map2|}}}{{{map3_image|}}}{{{map3|}}}{{{map4_image|}}}{{{map4|}}}<!--
-->|width:{{max
| 1 = {{#if:{{{map_image|}}}{{{map|}}}|{{#invoke:string|replace|{{if empty|{{{map_size|}}}|300px}}|px%s*$||plain=false}}}}
| 2 = {{#if:{{{map2_image|}}}{{{map2|}}}|{{#invoke:string|replace|{{if empty|{{{map2_size|}}}|300px}}|px%s*$||plain=false}}}}
| 3 = {{#if:{{{map3_image|}}}{{{map3|}}}|{{#invoke:string|replace|{{if empty|{{{map3_size|}}}|300px}}|px%s*$||plain=false}}}}
| 4 = {{#if:{{{map4_image|}}}{{{map4|}}}|{{#invoke:string|replace|{{if empty|{{{map4_size|}}}|300px}}|px%s*$||plain=false}}}}
}}px}}
| titleclass = summary
| titlestyle = font-size: 125%;
| title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{election_name|}}}|<div style="background-color:#ddd; font-size:120%; font-weight:bold">{{{election_name}}}</div>}}|{{{election_name|{{PAGENAME}}}}}}}
| datastyle = text-align:center;
| labelstyle = width:5em;white-space:nowrap;
| subheaderstyle = line-height:130%;
| subheader1 = {{#if:{{{flag_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}}|size=50px|alt=|link=}}<hr />
|{{#if:{{{country|}}}
|{{#ifexist:Template:Country data {{{country}}}|{{flagdeco|{{{country}}}|variant={{{flag_year|}}}|size=50px|noredlink={{main other||yes}}}}<hr />}}
}}
}}
| subheader2 = {{#if:{{{previous_year|}}}{{{election_date|}}}{{{next_year|}}}|
{{succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%;
| left ={{#if:{{{previous_year|}}}|{{#ifexist:{{{previous_election|}}}|[[{{{previous_election}}}|{{{previous_year}}}]]|{{{previous_year}}}}}}}
| center = {{#if:{{{election_date|}}}|'''{{{election_date}}}'''}}
| right = {{#if:{{{next_year|}}}|{{#ifexist:{{{next_election|}}}|[[{{{next_election}}}|{{{next_year}}}]]|{{{next_year}}}}}}}
}}
}}
| subheader3 =
{{#if:{{{outgoing_members|{{{previous_mps|}}}}}}{{{elected_members|{{{elected_mps|}}}}}}|
{{succession links|leftstyle=width:40%; text-align:center;|rightstyle=width:40%; text-align:center;
| left = {{#if:{{{outgoing_members|{{{previous_mps|}}}}}}|{{#ifexist:{{{outgoing_members|{{{previous_mps|}}}}}}|[[{{{outgoing_members|{{{previous_mps|}}}}}}|outgoing members]]|{{{outgoing_members|{{{previous_mps|}}}}}}}}}}
| right = {{#if:{{{elected_members|{{{elected_mps|}}}}}}|{{#ifexist:{{{elected_members|{{{elected_mps|}}}}}}|[[{{{elected_members|{{{elected_mps|}}}}}}|elected members]]|{{{elected_members|{{{elected_mps|}}}}}}}}|}}
}}
}}
| headerstyle = font-weight:normal;
| header1 =
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential = {{#if:{{{votes_for_election|}}}|<hr />{{{votes_for_election}}}{{#if:{{{needed_votes|}}}|<br />{{{needed_votes}}} votes needed to win}}
}}
| parliamentary
| Parliamentary
| legislative
| Legislative
| by-election
| By-election = {{#if:{{{seats_for_election|}}}|<hr />{{{seats_for_election}}}{{#if:{{{majority_seats|}}}|<br />{{{majority_seats}}} seats needed for a majority}}
}}
| #default =
}}
| data2 = {{#if:{{{opinion_polls|}}}| [[{{{opinion_polls}}}|Opinion polls]] }}
| label3 = Registered
| data3 = {{{registered|}}}
| label4 = Turnout
| data4 = {{{turnout|}}}
| label5 = Votes counted
| data5 = {{#if:{{{votes_counted|}}}|{{center|{{Percentage bar|{{{votes_counted}}}|{{{votes_counted}}}%|1BCE0E}}}}as of '''{{{last_update}}} {{{time_zone}}}''' }}
| label6 = Reporting
| data6 = {{#if:{{{reporting|}}}|{{center|{{Percentage bar|{{{reporting}}}|{{{reporting}}}%|1BCE0E}}}}as of '''{{{last_update}}} {{{time_zone}}}''' }}
| label7 = Declared
| data7 = {{#if:{{{declared|}}}|{{center|{{Percentage bar|{{{declared}}}|{{{declared}}}%|1BCE0E}}}}as of '''{{{last_update}}} {{{time_zone}}}''' }}
| data10 = <nowiki />
{{(!}} style="background:transparent; width:100%;"
{{!}}-
{{Infobox election/row
| type = {{{type|}}}
| divider = <!-- none -->
| filler = {{{filler|}}}
| col3 = {{#if:{{{color3|}}}{{{colour3|}}}{{{image3|}}}{{{nominee3|}}}{{{candidate3|}}}{{{leader3|}}}{{{party3|}}}{{{alliance3|}}}{{{home_state3|}}}{{{running_mate3|}}}{{{electoral_vote3|}}}{{{delegate_count3|}}}{{{states_carried3|}}}{{{leader_since3|}}}{{{leaders_seat3|}}}{{{last_election3|}}}{{{seats_before3|}}}{{{seats_needed3|}}}{{{seats3|}}}{{{seats_after3|}}}{{{seat_change3|}}}{{{popular_vote3|}}}{{{percentage3|}}}{{{swing3|}}}{{{poll1_nominee3|}}}{{{poll1_candidate3|}}}{{{poll2_nominee3|}}}{{{poll2_candidate3|}}}{{{poll3_nominee3|}}}{{{poll3_candidate3|}}}{{{poll4_nominee3|}}}{{{poll4_candidate3|}}}{{{poll5_nominee3|}}}{{{poll5_candidate3|}}}{{{poll1_party3|}}}{{{poll2_party3|}}}{{{poll3_party3|}}}{{{poll4_party3|}}}{{{poll5_party3|}}}{{{1data3|}}}{{{2data3|}}}{{{3data3|}}}{{{4data3|}}}{{{5data3|}}}{{{6data3|}}}|yes}}
| ongoing = {{{ongoing|no}}}
| header1 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=First party|#default=Majority party}}
| header2 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=Second party|#default=Minority party}}
| header3 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=Third party|#default=Third party}}
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
| color1 = {{if empty| {{{color1|}}} | {{{colour1|}}} }}
| color2 = {{if empty| {{{color2|}}} | {{{colour2|}}} }}
| color3 = {{if empty| {{{color3|}}} | {{{colour3|}}} }}
| image_size = {{{image_size|150x150px}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image1|}}}
| image1_size = {{{image1_size|}}}
| image1_upright = {{{image1_upright|}}}
| image2 = {{{image2|}}}
| image2_size = {{{image2_size|}}}
| image2_upright = {{{image2_upright|}}}
| image3 = {{{image3|}}}
| image3_size = {{{image3_size|}}}
| image3_upright = {{{image3_upright|}}}
| pageimage1 = {{{pageimage1|}}}
| pageimage2 = {{{pageimage2|}}}
| pageimage3 = {{{pageimage3|}}}
| nominee1 = {{{nominee1|}}}
| nominee2 = {{{nominee2|}}}
| nominee3 = {{{nominee3|}}}
| candidate1 = {{{candidate1|}}}
| candidate2 = {{{candidate2|}}}
| candidate3 = {{{candidate3|}}}
| leader1 = {{{leader1|}}}
| leader2 = {{{leader2|}}}
| leader3 = {{{leader3|}}}
| party1_name = {{{party1_name|{{{party_name|}}}}}}
| party2_name = {{{party2_name|{{{party_name|}}}}}}
| party3_name = {{{party3_name|{{{party_name|}}}}}}
| party1 = {{{party1|}}}
| party2 = {{{party2|}}}
| party3 = {{{party3|}}}
| alliance1_name = {{{alliance1_name|{{{alliance_name|}}}}}}
| alliance2_name = {{{alliance2_name|{{{alliance_name|}}}}}}
| alliance3_name = {{{alliance3_name|{{{alliance_name|}}}}}}
| alliance1 = {{{alliance1|}}}
| alliance2 = {{{alliance2|}}}
| alliance3 = {{{alliance3|}}}
| home_state1 = {{{home_state1|}}}
| home_state2 = {{{home_state2|}}}
| home_state3 = {{{home_state3|}}}
| running_mate1 = {{{running_mate1|}}}
| running_mate2 = {{{running_mate2|}}}
| running_mate3 = {{{running_mate3|}}}
| college_voted = {{{college_voted|}}}
| electoral_vote1 = {{{electoral_vote1|}}}
| electoral_vote2 = {{{electoral_vote2|}}}
| electoral_vote3 = {{{electoral_vote3|}}}
| delegate_count1 = {{{delegate_count1|}}}
| delegate_count2 = {{{delegate_count2|}}}
| delegate_count3 = {{{delegate_count3|}}}
| states_carried1 = {{{states_carried1|}}}
| states_carried2 = {{{states_carried2|}}}
| states_carried3 = {{{states_carried3|}}}
| leader_since1 = {{{leader_since1|}}}
| leader_since2 = {{{leader_since2|}}}
| leader_since3 = {{{leader_since3|}}}
| leaders_seat1 = {{{leaders_seat1|}}}
| leaders_seat2 = {{{leaders_seat2|}}}
| leaders_seat3 = {{{leaders_seat3|}}}
| last_election1 = {{{last_election1|}}}
| last_election2 = {{{last_election2|}}}
| last_election3 = {{{last_election3|}}}
| seats_before1 = {{{seats_before1|}}}
| seats_before2 = {{{seats_before2|}}}
| seats_before3 = {{{seats_before3|}}}
| seats_needed1 = {{{seats_needed1|}}}
| seats_needed2 = {{{seats_needed2|}}}
| seats_needed3 = {{{seats_needed3|}}}
| seats1 = {{{seats1|}}}
| seats2 = {{{seats2|}}}
| seats3 = {{{seats3|}}}
| seats_after1 = {{{seats_after1|}}}
| seats_after2 = {{{seats_after2|}}}
| seats_after3 = {{{seats_after3|}}}
| seat_change1 = {{{seat_change1|}}}
| seat_change2 = {{{seat_change2|}}}
| seat_change3 = {{{seat_change3|}}}
| vote_type = {{{vote_type|Popular}}}
| popular_vote1 = {{{popular_vote1|}}}
| popular_vote2 = {{{popular_vote2|}}}
| popular_vote3 = {{{popular_vote3|}}}
| percentage1 = {{{percentage1|}}}
| percentage2 = {{{percentage2|}}}
| percentage3 = {{{percentage3|}}}
| counties_won1 = {{{counties_won1|}}}
| counties_won2 = {{{counties_won2|}}}
| counties_won3 = {{{counties_won3|}}}
| counties_threshold1 = {{{counties_threshold1|}}}
| counties_threshold2 = {{{counties_threshold2|}}}
| counties_threshold3 = {{{counties_threshold3|}}}
| swing1 = {{{swing1|}}}
| swing2 = {{{swing2|}}}
| swing3 = {{{swing3|}}}
| opinion_polls = {{{opinion_polls|}}}
| poll1_date = {{if empty|{{{poll1_date1|}}}|{{{poll1_date|}}}}}
| poll1_source = {{if empty|{{{poll1_source1|}}}|{{{poll1_source|}}}}}
| poll1_person1 = {{if empty|{{{poll1_nominee1|}}}|{{{poll1_candidate1|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee2|}}}|{{{poll1_candidate2|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee3|}}}|{{{poll1_candidate3|}}}}}
| poll2_date = {{if empty|{{{poll2_date1|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source1|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee1|}}}|{{{poll2_candidate1|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee2|}}}|{{{poll2_candidate2|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee3|}}}|{{{poll2_candidate3|}}}}}
| poll3_date = {{if empty|{{{poll3_date1|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source1|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee1|}}}|{{{poll3_candidate1|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee2|}}}|{{{poll3_candidate2|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee3|}}}|{{{poll3_candidate3|}}}}}
| poll4_date = {{if empty|{{{poll4_date1|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source1|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee1|}}}|{{{poll4_candidate1|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee2|}}}|{{{poll4_candidate2|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee3|}}}|{{{poll4_candidate3|}}}}}
| poll5_date = {{if empty|{{{poll5_date1|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source1|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee1|}}}|{{{poll5_candidate1|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee2|}}}|{{{poll5_candidate2|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee3|}}}|{{{poll5_candidate3|}}}}}
| poll1_party1 = {{{poll1_party1|}}}| poll1_party2 = {{{poll1_party2|}}}| poll1_party3 = {{{poll1_party3|}}}
| poll2_party1 = {{{poll2_party1|}}}| poll2_party2 = {{{poll2_party2|}}}| poll2_party3 = {{{poll2_party3|}}}
| poll3_party1 = {{{poll3_party1|}}}| poll3_party2 = {{{poll3_party2|}}}| poll3_party3 = {{{poll3_party3|}}}
| poll4_party1 = {{{poll4_party1|}}}| poll4_party2 = {{{poll4_party2|}}}| poll4_party3 = {{{poll4_party3|}}}
| poll5_party1 = {{{poll5_party1|}}}| poll5_party2 = {{{poll5_party2|}}}| poll5_party3 = {{{poll5_party3|}}}
| 1blank = {{{1blank|}}}| 1data1 = {{{1data1|}}}| 1data2 = {{{1data2|}}}| 1data3 = {{{1data3|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data1|}}}| 2data2 = {{{2data2|}}}| 2data3 = {{{2data3|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data1|}}}| 3data2 = {{{3data2|}}}| 3data3 = {{{3data3|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data1|}}}| 4data2 = {{{4data2|}}}| 4data3 = {{{4data3|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data1|}}}| 5data2 = {{{5data2|}}}| 5data3 = {{{5data3|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data1|}}}| 6data2 = {{{6data2|}}}| 6data3 = {{{6data3|}}}
}}
{{!}}-
{{Infobox election/row
| type = {{{type|}}}
| divider = <hr />
| col3 = {{#if:{{{color6|}}}{{{colour6|}}}{{{image6|}}}{{{nominee6|}}}{{{candidate6|}}}{{{leader6|}}}{{{party6|}}}{{{alliance6|}}}{{{home_state6|}}}{{{running_mate6|}}}{{{electoral_vote6|}}}{{{delegate_count6|}}}{{{states_carried6|}}}{{{leader_since6|}}}{{{leaders_seat6|}}}{{{last_election6|}}}{{{seats_before6|}}}{{{seats_needed6|}}}{{{seats6|}}}{{{seats_after6|}}}{{{seat_change6|}}}{{{popular_vote6|}}}{{{percentage6|}}}{{{swing6|}}}{{{poll1_nominee6|}}}{{{poll1_candidate6|}}}{{{poll2_nominee6|}}}{{{poll2_candidate6|}}}{{{poll3_nominee6|}}}{{{poll3_candidate6|}}}{{{poll4_nominee6|}}}{{{poll4_candidate6|}}}{{{poll5_nominee6|}}}{{{poll5_candidate6|}}}{{{poll1_party6|}}}{{{poll2_party6|}}}{{{poll3_party6|}}}{{{poll4_party6|}}}{{{poll5_party6|}}}{{{1data6|}}}{{{2data6|}}}{{{3data6|}}}{{{4data6|}}}{{{5data6|}}}{{{6data6|}}}|yes}}
| ongoing = {{{ongoing|no}}}
| header1 = {{#if:{{{party3|}}}|Fourth party|Third party}}
| header2 = {{#if:{{{party3|}}}|Fifth party|Fourth party}}
| header3 = {{#if:{{{party3|}}}|Sixth party|Fifth party}}
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
| color1 = {{if empty| {{{color4|}}} | {{{colour4|}}} }}
| color2 = {{if empty| {{{color5|}}} | {{{colour5|}}} }}
| color3 = {{if empty| {{{color6|}}} | {{{colour6|}}} }}
| image_size = {{{image_size|150x150px}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image4|}}}
| image1_size = {{{image4_size|}}}
| image1_upright = {{{image4_upright|}}}
| image2 = {{{image5|}}}
| image2_size = {{{image5_size|}}}
| image2_upright = {{{image5_upright|}}}
| image3 = {{{image6|}}}
| image3_size = {{{image6_size|}}}
| image3_upright = {{{image6_upright|}}}
| pageimage1 = {{{pageimage4|}}}
| pageimage2 = {{{pageimage5|}}}
| pageimage3 = {{{pageimage6|}}}
| nominee1 = {{{nominee4|}}}
| nominee2 = {{{nominee5|}}}
| nominee3 = {{{nominee6|}}}
| candidate1 = {{{candidate4|}}}
| candidate2 = {{{candidate5|}}}
| candidate3 = {{{candidate6|}}}
| leader1 = {{{leader4|}}}
| leader2 = {{{leader5|}}}
| leader3 = {{{leader6|}}}
| party1_name = {{{party4_name|{{{party_name|}}}}}}
| party2_name = {{{party5_name|{{{party_name|}}}}}}
| party3_name = {{{party6_name|{{{party_name|}}}}}}
| party1 = {{{party4|}}}
| party2 = {{{party5|}}}
| party3 = {{{party6|}}}
| alliance1_name = {{{alliance4_name|{{{alliance_name|}}}}}}
| alliance2_name = {{{alliance5_name|{{{alliance_name|}}}}}}
| alliance3_name = {{{alliance6_name|{{{alliance_name|}}}}}}
| alliance1 = {{{alliance4|}}}
| alliance2 = {{{alliance5|}}}
| alliance3 = {{{alliance6|}}}
| home_state1 = {{{home_state4|}}}
| home_state2 = {{{home_state5|}}}
| home_state3 = {{{home_state6|}}}
| running_mate1 = {{{running_mate4|}}}
| running_mate2 = {{{running_mate5|}}}
| running_mate3 = {{{running_mate6|}}}
| college_voted = {{{college_voted|}}}
| electoral_vote1 = {{{electoral_vote4|}}}
| electoral_vote2 = {{{electoral_vote5|}}}
| electoral_vote3 = {{{electoral_vote6|}}}
| delegate_count1 = {{{delegate_count4|}}}
| delegate_count2 = {{{delegate_count5|}}}
| delegate_count3 = {{{delegate_count6|}}}
| states_carried1 = {{{states_carried4|}}}
| states_carried2 = {{{states_carried5|}}}
| states_carried3 = {{{states_carried6|}}}
| leader_since1 = {{{leader_since4|}}}
| leader_since2 = {{{leader_since5|}}}
| leader_since3 = {{{leader_since6|}}}
| leaders_seat1 = {{{leaders_seat4|}}}
| leaders_seat2 = {{{leaders_seat5|}}}
| leaders_seat3 = {{{leaders_seat6|}}}
| last_election1 = {{{last_election4|}}}
| last_election2 = {{{last_election5|}}}
| last_election3 = {{{last_election6|}}}
| seats_before1 = {{{seats_before4|}}}
| seats_before2 = {{{seats_before5|}}}
| seats_before3 = {{{seats_before6|}}}
| seats_needed1 = {{{seats_needed4|}}}
| seats_needed2 = {{{seats_needed5|}}}
| seats_needed3 = {{{seats_needed6|}}}
| seats1 = {{{seats4|}}}
| seats2 = {{{seats5|}}}
| seats3 = {{{seats6|}}}
| seats_after1 = {{{seats_after4|}}}
| seats_after2 = {{{seats_after5|}}}
| seats_after3 = {{{seats_after6|}}}
| seat_change1 = {{{seat_change4|}}}
| seat_change2 = {{{seat_change5|}}}
| seat_change3 = {{{seat_change6|}}}
| vote_type = {{{vote_type|Popular}}}
| popular_vote1 = {{{popular_vote4|}}}
| popular_vote2 = {{{popular_vote5|}}}
| popular_vote3 = {{{popular_vote6|}}}
| percentage1 = {{{percentage4|}}}
| percentage2 = {{{percentage5|}}}
| percentage3 = {{{percentage6|}}}
| swing1 = {{{swing4|}}}
| swing2 = {{{swing5|}}}
| swing3 = {{{swing6|}}}
| opinion_polls = {{{opinion_polls|}}}
| poll1_date = {{if empty|{{{poll1_date2|}}}|{{{poll1_date|}}}}}
| poll1_source = {{if empty|{{{poll1_source2|}}}|{{{poll1_source|}}}}}
| poll1_person1 = {{if empty|{{{poll1_nominee4|}}}|{{{poll1_candidate4|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee5|}}}|{{{poll1_candidate5|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee6|}}}|{{{poll1_candidate6|}}}}}
| poll2_date = {{if empty|{{{poll2_date2|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source2|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee4|}}}|{{{poll2_candidate4|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee5|}}}|{{{poll2_candidate5|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee6|}}}|{{{poll2_candidate6|}}}}}
| poll3_date = {{if empty|{{{poll3_date2|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source2|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee4|}}}|{{{poll3_candidate4|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee5|}}}|{{{poll3_candidate5|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee6|}}}|{{{poll3_candidate6|}}}}}
| poll4_date = {{if empty|{{{poll4_date2|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source2|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee4|}}}|{{{poll4_candidate4|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee5|}}}|{{{poll4_candidate5|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee6|}}}|{{{poll4_candidate6|}}}}}
| poll5_date = {{if empty|{{{poll5_date2|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source2|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee4|}}}|{{{poll5_candidate4|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee5|}}}|{{{poll5_candidate5|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee6|}}}|{{{poll5_candidate6|}}}}}
| poll1_party1 = {{{poll1_party4|}}}| poll1_party2 = {{{poll1_party5|}}}| poll1_party3 = {{{poll1_party6|}}}
| poll2_party1 = {{{poll2_party4|}}}| poll2_party2 = {{{poll2_party5|}}}| poll2_party3 = {{{poll2_party6|}}}
| poll3_party1 = {{{poll3_party4|}}}| poll3_party2 = {{{poll3_party5|}}}| poll3_party3 = {{{poll3_party6|}}}
| poll4_party1 = {{{poll4_party4|}}}| poll4_party2 = {{{poll4_party5|}}}| poll4_party3 = {{{poll4_party6|}}}
| poll5_party1 = {{{poll5_party4|}}}| poll5_party2 = {{{poll5_party5|}}}| poll5_party3 = {{{poll5_party6|}}}
| 1blank = {{{1blank|}}}| 1data1 = {{{1data4|}}}| 1data2 = {{{1data5|}}}| 1data3 = {{{1data6|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data4|}}}| 2data2 = {{{2data5|}}}| 2data3 = {{{2data6|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data4|}}}| 3data2 = {{{3data5|}}}| 3data3 = {{{3data6|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data4|}}}| 4data2 = {{{4data5|}}}| 4data3 = {{{4data6|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data4|}}}| 5data2 = {{{5data5|}}}| 5data3 = {{{5data6|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data4|}}}| 6data2 = {{{6data5|}}}| 6data3 = {{{6data6|}}}
}}
{{!}}-
{{Infobox election/row
| type = {{{type|}}}
| divider = <hr />
| ongoing = {{{ongoing|no}}}
| col3 = {{#if:{{{color9|}}}{{{colour9|}}}{{{image9|}}}{{{nominee9|}}}{{{candidate9|}}}{{{leader9|}}}{{{party9|}}}{{{alliance9|}}}{{{home_state9|}}}{{{running_mate9|}}}{{{electoral_vote9|}}}{{{delegate_count9|}}}{{{states_carried9|}}}{{{leader_since9|}}}{{{leaders_seat9|}}}{{{last_election9|}}}{{{seats_before9|}}}{{{seats_needed9|}}}{{{seats9|}}}{{{seats_after9|}}}{{{seat_change9|}}}{{{popular_vote9|}}}{{{percentage9|}}}{{{counties_won9|}}}{{{counties_threshold9|}}}{{{swing9|}}}{{{poll1_nominee9|}}}{{{poll1_candidate9|}}}{{{poll2_nominee9|}}}{{{poll2_candidate9|}}}{{{poll3_nominee9|}}}{{{poll3_candidate9|}}}{{{poll4_nominee9|}}}{{{poll4_candidate9|}}}{{{poll5_nominee9|}}}{{{poll5_candidate9|}}}{{{poll1_party9|}}}{{{poll2_party9|}}}{{{poll3_party9|}}}{{{poll4_party9|}}}{{{poll5_party9|}}}{{{1data9|}}}{{{2data9|}}}{{{3data9|}}}{{{4data9|}}}{{{5data9|}}}{{{6data9|}}}|yes}}
| header1 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Fifth party|1=Sixth party|2=Seventh party}}
| header2 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Sixth party|1=Seventh party|2=Eighth party}}
| header3 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Seventh party|1=Eighth party|2=Ninth party}}
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
| color1 = {{if empty| {{{color7|}}} | {{{colour7|}}} }}
| color2 = {{if empty| {{{color8|}}} | {{{colour8|}}} }}
| color3 = {{if empty| {{{color9|}}} | {{{colour9|}}} }}
| image_size = {{{image_size|150x150px}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image7|}}}
| image1_size = {{{image7_size|}}}
| image1_upright = {{{image7_upright|}}}
| image2 = {{{image8|}}}
| image2_size = {{{image8_size|}}}
| image2_upright = {{{image8_upright|}}}
| image3 = {{{image9|}}}
| image3_size = {{{image9_size|}}}
| image3_upright = {{{image9_upright|}}}
| pageimage1 = {{{pageimage7|}}}
| pageimage2 = {{{pageimage8|}}}
| pageimage3 = {{{pageimage9|}}}
| nominee1 = {{{nominee7|}}}
| nominee2 = {{{nominee8|}}}
| nominee3 = {{{nominee9|}}}
| candidate1 = {{{candidate7|}}}
| candidate2 = {{{candidate8|}}}
| candidate3 = {{{candidate9|}}}
| leader1 = {{{leader7|}}}
| leader2 = {{{leader8|}}}
| leader3 = {{{leader9|}}}
| party1_name = {{{party7_name|{{{party_name|}}}}}}
| party2_name = {{{party8_name|{{{party_name|}}}}}}
| party3_name = {{{party9_name|{{{party_name|}}}}}}
| party1 = {{{party7|}}}
| party2 = {{{party8|}}}
| party3 = {{{party9|}}}
| alliance1_name = {{{alliance7_name|{{{alliance_name|}}}}}}
| alliance2_name = {{{alliance8_name|{{{alliance_name|}}}}}}
| alliance3_name = {{{alliance9_name|{{{alliance_name|}}}}}}
| alliance1 = {{{alliance7|}}}
| alliance2 = {{{alliance8|}}}
| alliance3 = {{{alliance9|}}}
| home_state1 = {{{home_state7|}}}
| home_state2 = {{{home_state8|}}}
| home_state3 = {{{home_state9|}}}
| running_mate1 = {{{running_mate7|}}}
| running_mate2 = {{{running_mate8|}}}
| running_mate3 = {{{running_mate9|}}}
| college_voted = {{{college_voted|}}}
| electoral_vote1 = {{{electoral_vote7|}}}
| electoral_vote2 = {{{electoral_vote8|}}}
| electoral_vote3 = {{{electoral_vote9|}}}
| delegate_count1 = {{{delegate_count7|}}}
| delegate_count2 = {{{delegate_count8|}}}
| delegate_count3 = {{{delegate_count9|}}}
| states_carried1 = {{{states_carried7|}}}
| states_carried2 = {{{states_carried8|}}}
| states_carried3 = {{{states_carried9|}}}
| leader_since1 = {{{leader_since7|}}}
| leader_since2 = {{{leader_since8|}}}
| leader_since3 = {{{leader_since9|}}}
| leaders_seat1 = {{{leaders_seat7|}}}
| leaders_seat2 = {{{leaders_seat8|}}}
| leaders_seat3 = {{{leaders_seat9|}}}
| last_election1 = {{{last_election7|}}}
| last_election2 = {{{last_election8|}}}
| last_election3 = {{{last_election9|}}}
| seats_before1 = {{{seats_before7|}}}
| seats_before2 = {{{seats_before8|}}}
| seats_before3 = {{{seats_before9|}}}
| seats_needed1 = {{{seats_needed7|}}}
| seats_needed2 = {{{seats_needed8|}}}
| seats_needed3 = {{{seats_needed9|}}}
| seats1 = {{{seats7|}}}
| seats2 = {{{seats8|}}}
| seats3 = {{{seats9|}}}
| seats_after1 = {{{seats_after7|}}}
| seats_after2 = {{{seats_after8|}}}
| seats_after3 = {{{seats_after9|}}}
| seat_change1 = {{{seat_change7|}}}
| seat_change2 = {{{seat_change8|}}}
| seat_change3 = {{{seat_change9|}}}
| vote_type = {{{vote_type|Popular}}}
| popular_vote1 = {{{popular_vote7|}}}
| popular_vote2 = {{{popular_vote8|}}}
| popular_vote3 = {{{popular_vote9|}}}
| percentage1 = {{{percentage7|}}}
| percentage2 = {{{percentage8|}}}
| percentage3 = {{{percentage9|}}}
| swing1 = {{{swing7|}}}
| swing2 = {{{swing8|}}}
| swing3 = {{{swing9|}}}
| opinion_polls = {{{opinion_polls|}}}
| poll1_date = {{if empty|{{{poll1_date3|}}}|{{{poll1_date|}}}}}
| poll1_source = {{if empty|{{{poll1_source3|}}}|{{{poll1_source|}}}}}
| poll1_person1 = {{if empty|{{{poll1_nominee7|}}}|{{{poll1_candidate7|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee8|}}}|{{{poll1_candidate8|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee9|}}}|{{{poll1_candidate9|}}}}}
| poll2_date = {{if empty|{{{poll2_date3|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source3|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee7|}}}|{{{poll2_candidate7|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee8|}}}|{{{poll2_candidate8|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee9|}}}|{{{poll2_candidate9|}}}}}
| poll3_date = {{if empty|{{{poll3_date3|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source3|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee7|}}}|{{{poll3_candidate7|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee8|}}}|{{{poll3_candidate8|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee9|}}}|{{{poll3_candidate9|}}}}}
| poll4_date = {{if empty|{{{poll4_date3|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source3|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee7|}}}|{{{poll4_candidate7|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee8|}}}|{{{poll4_candidate8|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee9|}}}|{{{poll4_candidate9|}}}}}
| poll5_date = {{if empty|{{{poll5_date3|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source3|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee7|}}}|{{{poll5_candidate7|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee8|}}}|{{{poll5_candidate8|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee9|}}}|{{{poll5_candidate9|}}}}}
| poll1_party1 = {{{poll1_party7|}}}| poll1_party2 = {{{poll1_party8|}}}| poll1_party3 = {{{poll1_party9|}}}
| poll2_party1 = {{{poll2_party7|}}}| poll2_party2 = {{{poll2_party8|}}}| poll2_party3 = {{{poll2_party9|}}}
| poll3_party1 = {{{poll3_party7|}}}| poll3_party2 = {{{poll3_party8|}}}| poll3_party3 = {{{poll3_party9|}}}
| poll4_party1 = {{{poll4_party7|}}}| poll4_party2 = {{{poll4_party8|}}}| poll4_party3 = {{{poll4_party9|}}}
| poll5_party1 = {{{poll5_party7|}}}| poll5_party2 = {{{poll5_party8|}}}| poll5_party3 = {{{poll5_party9|}}}
| 1blank = {{{1blank|}}}| 1data1 = {{{1data7|}}}| 1data2 = {{{1data8|}}}| 1data3 = {{{1data9|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data7|}}}| 2data2 = {{{2data8|}}}| 2data3 = {{{2data9|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data7|}}}| 3data2 = {{{3data8|}}}| 3data3 = {{{3data9|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data7|}}}| 4data2 = {{{4data8|}}}| 4data3 = {{{4data9|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data7|}}}| 5data2 = {{{5data8|}}}| 5data3 = {{{5data9|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data7|}}}| 6data2 = {{{6data8|}}}| 6data3 = {{{6data9|}}}
}}
{{!)}}
| data11 =
{{#if:{{{map_image|}}}{{{map|}}}|<hr />{{#if:{{{map_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map_image}}}|size={{{map_size|}}}|sizedefault=300px|alt={{{map_alt|}}}}}
|{{{map}}}
}}{{#if:{{{map_caption|}}}|<div>{{{map_caption|}}}</div>}}
}}
| data12 =
{{#if:{{{map2_image|}}}{{{map2|}}}|<hr />{{#if:{{{map2_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map2_image}}}|size={{{map2_size|}}}|sizedefault=300px|alt={{{map2_alt|}}}}}
|{{{map2}}}
}}{{#if:{{{map2_caption|}}}|<div>{{{map2_caption|}}}</div>}}
}}
|data13 =
{{#if:{{{map3_image|}}}{{{map3|}}}|<hr />{{#if:{{{map3_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map3_image}}}|size={{{map3_size|}}}|sizedefault=300px|alt={{{map3_alt|}}}}}
|{{{map3}}}
}}{{#if:{{{map3_caption|}}}|<div>{{{map3_caption|}}}</div>}}
}}
|data14 =
{{#if:{{{map4_image|}}}{{{map4|}}}|<hr />{{#if:{{{map4_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map4_image}}}|size={{{map4_size|}}}|sizedefault=300px|alt={{{map4_alt|}}}}}
|{{{map4}}}
}}{{#if:{{{map4_caption|}}}|<div>{{{map4_caption|}}}</div>}}
}}
| data15 = {{#if:{{{title|}}}|<hr />
{{{!}} cellspacing="0" cellpadding="0" style="background:transparent; width:100%;"
{{!}} style="width:50%; text-align:left;" {{!}}{{#if:{{{before_election|}}}{{{before_party|}}}|'''{{#ifeq:{{{type}}}|primary|Previous {{{title}}}|{{#ifeq:{{{ongoing|no}}}|yes|Incumbent {{#ifeq:{{lc:{{{title}}}}}|u.s. senator|[[List of United States senators from {{#ifeq:{{{country}}}|Georgia (U.S. state)|Georgia|{{{country}}}}}|U.S. senator]]|{{{title}}}}}|{{#ifeq:{{lc:{{{title}}}}}|u.s. senator|[[List of United States senators from {{#ifeq:{{{country}}}|Georgia (U.S. state)|Georgia|{{{country}}}}}|U.S. senator]]|{{{title}}}}} before election}}}}'''<br />
{{{before_election}}}<br />
{{#if:{{{before_party|}}}|{{Infobox election/shortname|link={{{before_party_link|{{{party_name}}}}}}|name={{{before_party}}}}} }} }}
{{!}} style="width:50%; text-align:right;" {{!}} {{#ifeq:{{{ongoing|no}}}|yes|{{#ifeq:{{{type}}}|primary|{{#if:{{{after_election|}}}|'''Presumptive {{#if:{{{posttitle|}}}|{{{posttitle}}}|{{{title}}}}}'''|}}|}} |'''{{#if:{{{posttitle|}}}|{{{posttitle}}}|{{#ifeq:{{{type}}}|primary||Elected}} {{{title}}}}}'''}} <br />
{{#ifeq:{{{ongoing|no}}}|yes|{{#ifeq:{{{type}}}|primary|{{#if:{{{after_election|}}}|{{{after_election}}}|}}}}}}
{{#ifeq:{{{ongoing|no}}}|yes||{{#if:{{{after_election|}}}|{{{after_election}}}|}}{{#if:{{{after_election|}}}{{{after_party|}}}||TBD}}<br />
{{#if:{{{after_party|}}}|{{Infobox election/shortname|link={{{after_party_link|{{{party_name|}}}}}}|name={{{after_party}}}}}}} }}
{{!}}} }}
{{#if:{{{template_name|}}}|{{align|right|{{navbar|{{{template_name}}}|mini=2}}}} }}
| data16 = {{{module|}}}
}}</includeonly><noinclude>{{documentation}}<!-- Add categories to the /doc subpage, not here! --></noinclude>{{#if:{{{electoral_vote1|}}}|{{Main other|[[Category:Elections using electoral votes]]}}}}<!-- temporary tracking of elections using an electoral college -->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox election with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox election]] with unknown parameter "_VALUE_"|ignoreblank=y| regexp1 = [%d]blank | regexp2 = [%d]data[%d] | after_election | after_party | after_party_link | regexp3 = alliance[%d]_name | alliance_name | regexp4 = alliance[%d] | before_election | before_party | before_party_link | regexp5 = candidate[%d] | child | college_voted | regexp6 = colou?r[%d] | counties_threshold1 | counties_threshold2 | counties_threshold3 | counties_threshold9 | counties_won1 | counties_won2 | counties_won3 | counties_won9 | country | declared | regexp7 = delegate_count[%d] | elected_members | elected_mps | election_date | election_name | regexp8 = electoral_vote[%d] | embed | filler | flag_image | flag_year | regexp9 = home_state[%d] | image_size | image_upright | regexp10 = image[%d] | regexp11 = image[%d]_size | regexp12 = image[%d]_upright | regexp13 = last_election[%d] | last_update | regexp14 = leader_since[%d] | regexp15 = leader[%d] | regexp16 = leaders_seat[%d] | majority_seats | map | map_alt | map_caption | map_image | map_size | map2 | map2_alt | map2_caption | map2_image | map2_size | map3 | map3_alt | map3_caption | map3_image | map3_size | map4 | map4_alt | map4_caption | map4_image | map4_size | module | needed_votes | next_election | next_year | regexp17 = nominee[%d] | ongoing | opinion_polls | outgoing_members | party_color | party_colour | regexp18 = party[%d]_name | party_name | regexp19 = party[%d] | regexp20 = percentage[%d] | regexp21 = poll[%d]_candidate[%d] | regexp22 = poll[%d]_date[%d]? | regexp23 = poll[%d]_nominee[%d] | regexp24 = poll[%d]_party[%d] | regexp25 = poll[%d]_source[%d]? | regexp26 = popular_vote[%d] | posttitle | previous_election | previous_mps | previous_year | registered | reporting | regexp27 = running_mate[%d] | regexp28 = seat_change[%d] | regexp29 = seats_after[%d] | regexp30 = seats_before[%d] | seats_for_election | regexp31 = seats_needed[%d] | regexp32 = seats[%d] | regexp33 = states_carried[%d] | regexp34 = swing[%d] | template_name | time_zone | title | turnout | type | vote_type | votes_counted | votes_for_election }}
df420508fd5c0716ddbc0c7e9b78e637a11151d3
Template:Infobox election/row
10
1461
2985
2023-04-02T12:01:03Z
Wikipedia>Number 57
0
Creates issues
wikitext
text/x-wiki
<includeonly>|-
{{#if:{{{divider|}}}|{{#if:{{{party1|}}}{{{color1|}}}{{{leader1|}}}{{{party2|}}}{{{color2|}}}{{{leader2|}}}{{{party3|}}}{{{color3|}}}{{{leader3|}}}|{{!}} colspan=4 {{!}} {{{divider}}} }} }}
|- style="display:none"
{{#ifeq:{{{ongoing|}}}|yes||{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative = {{#if:{{{party1|}}}{{{party2|}}}{{{party3|}}}|
! style="text-align:left;" {{!}}
! style="text-align:center" {{!}} {{#if:{{{party1|}}}| {{{header1|}}} }}
! style="text-align:center" {{!}} {{#if:{{{party2|}}}| {{{header2|}}} }}
{{#if:{{{col3|}}}|! style="text-align:center" {{!}} {{#if:{{{party3|}}}| {{{header3|}}} }}}}
}}
| #default =
}}}}
|-
{{#if:{{{party1|}}}{{{color1|}}}{{{image1|}}}{{{party2|}}}{{{color2|}}}{{{image2|}}}{{{party3|}}}{{{color3|}}}{{{image3|}}}|<!-- Images -->
{{#if:{{{filler|}}}|
! <br />{{{filler}}}
|
{{!}}
}}
{{!}} style="text-align:center;{{#if:{{{party1|}}}{{{color1|}}}||width:0;}}{{#if:{{{color1|}}}|border-bottom: 6px solid #{{#invoke:Ustring|gsub|s1={{{color1}}}|#|}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party1|}}}|{{#ifeq: {{#invoke:Political party|fetch|{{#invoke:delink|delink|wikilinks=target|1={{#invoke:string|replace|source={{{party1}}}|pattern=^(%[%[%s*[^%]%[]*%]%]).*$|replace=%1|plain=false}}}}|color|error=NOTHERE}} | NOTHERE || border-bottom: 6px solid {{#invoke:Political party|fetch|{{#invoke:delink|delink|wikilinks=target|1={{#invoke:string|replace|source={{{party1}}}|pattern=^(%[%[%s*[^%]%[]*%]%]).*$|replace=%1|plain=false}}}}|color}};}}}}}}}}" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image1|}}}|size={{if empty|{{{image1_size|}}}|{{{image_size|}}}}}|alt={{{alt1|}}}|upright={{if empty|{{{image1_upright|}}}|{{{image_upright|}}}|{{#if:{{both|{{{col3|}}}|{{{image3|}}}}}|0.5|0.75}}}}|suppressplaceholder=yes|class={{#if:{{{pageimage1|}}}||notpageimage}}}}
{{!}} style="text-align:center;{{#if:{{{party2|}}}{{{color2|}}}||width:0;}}{{#if:{{{color2|}}}|border-bottom: 6px solid #{{#invoke:Ustring|gsub|s1={{{color2}}}|#|}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party2|}}}|{{#ifeq: {{#invoke:Political party|fetch|{{#invoke:delink|delink|wikilinks=target|1={{#invoke:string|replace|source={{{party2}}}|pattern=^(%[%[%s*[^%]%[]*%]%]).*$|replace=%1|plain=false}}}}|color|error=NOTHERE}} | NOTHERE || border-bottom: 6px solid {{#invoke:Political party|fetch|{{#invoke:delink|delink|wikilinks=target|1={{#invoke:string|replace|source={{{party2}}}|pattern=^(%[%[%s*[^%]%[]*%]%]).*$|replace=%1|plain=false}}}}|color}};}}}}}}}}"{{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{if empty|{{{image2_size|}}}|alt={{{alt2|}}}|{{{image_size|}}}}}|upright={{if empty|{{{image2_upright|}}}|{{{image_upright|}}}|{{#if:{{both|{{{col3|}}}|{{{image3|}}}}}|0.5|0.75}}}}|suppressplaceholder=yes|class={{#if:{{{pageimage2|}}}||notpageimage}}}}
{{#if:{{{col3|}}}|{{!}} style="text-align:center;{{#if:{{{party3|}}}{{{color3|}}}||width:0;}}{{#if:{{{color3|}}}|border-bottom: 6px solid #{{#invoke:Ustring|gsub|s1={{{color3}}}|#|}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party3|}}}|{{#ifeq: {{#invoke:Political party|fetch|{{#invoke:delink|delink|wikilinks=target|1={{#invoke:string|replace|source={{{party3}}}|pattern=^(%[%[%s*[^%]%[]*%]%]).*$|replace=%1|plain=false}}}}|color|error=NOTHERE}} | NOTHERE || border-bottom: 6px solid {{#invoke:Political party|fetch|{{#invoke:delink|delink|wikilinks=target|1={{#invoke:string|replace|source={{{party3}}}|pattern=^(%[%[%s*[^%]%[]*%]%]).*$|replace=%1|plain=false}}}}|color}};}}}}}}}}"{{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image3|}}}|alt={{{alt3|}}}|size={{if empty|{{{image3_size|}}}|{{{image_size|}}}}}|upright={{if empty|{{{image3_upright|}}}|{{{image_upright|}}}|0.5}}|suppressplaceholder=yes|class={{#if:{{{pageimage3|}}}||notpageimage}}}}}}
}}
|-
{{#if:{{{nominee1|}}}{{{nominee2|}}}{{{nominee3|}}}|<!-- Presidential & by-election nominee -->
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential
| by-election
| By-election =
! style="width:75px;text-align:left" {{!}}Nominee
{{!}} style="{{#if:{{{nominee1|}}}|width:75px;}}text-align:center" {{!}} {{{nominee1|}}}
{{!}} style="{{#if:{{{nominee2|}}}|width:75px;}}text-align:center" {{!}} {{{nominee2|}}}
{{!}} style="{{#if:{{{nominee3|}}}|width:75px;}}text-align:center" {{!}} {{{nominee3|}}}
| #default =
}}|{{#if:{{{candidate1|}}}{{{candidate2|}}}{{{candidate3|}}}|<!-- Candidate -->
! style="width:75px;text-align:left" {{!}}Candidate
{{!}} style="{{#if:{{{candidate1|}}}|width:75px;}}text-align:center" {{!}} {{{candidate1|}}}
{{!}} style="{{#if:{{{candidate2|}}}|width:75px;}}text-align:center" {{!}} {{{candidate2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{candidate3|}}}|width:75px;}}text-align:center" {{!}} {{{candidate3|}}}}}
}}
}}
|-<!-- Party leader -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#if:{{{leader1|}}}{{{leader2|}}}{{{leader3|}}}|
! style="text-align:left" {{!}} Leader
{{!}} style="{{#if:{{{leader1|}}}|width:75px;}}text-align:center" {{!}} {{{leader1|}}}
{{!}} style="{{#if:{{{leader2|}}}|width:75px;}}text-align:center" {{!}} {{{leader2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{leader3|}}}|width:75px;}}text-align:center" {{!}} {{{leader3|}}}}}
}}
| #default =
}}
|-
{{#if:{{{party1|}}}{{{party2|}}}{{{party3|}}}|<!-- Party name -->
! style="width:75px;text-align:left" {{!}} Party
{{!}} style="{{#if:{{{party1|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party1_name}}}|name={{{party1|}}}}}
{{!}} style="{{#if:{{{party2|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party2_name}}}|name={{{party2|}}}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{party3|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party3_name}}}|name={{{party3|}}}}}}}
}}
|-
{{#if:{{{alliance1|}}}{{{alliance2|}}}{{{alliance3|}}}|<!-- Alliance name -->
! style="text-align:left" {{!}} Alliance
{{!}} style="{{#if:{{{alliance1|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance1_name}}}|name={{{alliance1|}}}}}
{{!}} style="{{#if:{{{alliance2|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance2_name}}}|name={{{alliance2|}}}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{alliance3|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance3_name}}}|name={{{alliance3|}}}}}}}
}}
|-<!-- Home state -->
{{#if:{{{home_state1|}}}{{{home_state2|}}}{{{home_state3|}}}|
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential =
! style="text-align:left" {{!}} Home state
{{!}} style="{{#if:{{{home_state1|}}}|width:75px;}}text-align:center" {{!}} {{{home_state1|}}}
{{!}} style="{{#if:{{{home_state2|}}}|width:75px;}}text-align:center" {{!}} {{{home_state2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{home_state3|}}}|width:75px;}}text-align:center" {{!}} {{{home_state3|}}}}}
| #default =
}}
}}
|-<!-- Running mate -->
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#if:{{{running_mate1|}}}{{{running_mate2|}}}{{{running_mate3|}}}|
! style="text-align:left" {{!}} Running mate
{{!}} style="{{#if:{{{running_mate1|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate1|}}}
{{!}} style="{{#if:{{{running_mate2|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{running_mate3|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate3|}}}}}
}}
| #default =
}}
|-<!-- Electoral vote -->
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{electoral_vote1|}}}{{{electoral_vote2|}}}{{{electoral_vote3|}}}|
! style="text-align:left" {{!}} {{#ifeq:{{{college_voted|}}}|no|Projected e|E}}lectoral vote
{{!}} style="{{#if:{{{electoral_vote1|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote1|}}}
{{!}} style="{{#if:{{{electoral_vote2|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{electoral_vote3|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote3|}}}}}
}}
}}
| #default =
}}
|-<!-- Delegate count -->
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential =
{{#if:{{{delegate_count1|}}}{{{delegate_count2|}}}{{{delegate_count3|}}}|
! style="text-align:left" {{!}} {{#ifeq:{{{ongoing|}}}|yes|Estimated delegate|Delegate}} count
{{!}} style="{{#if:{{{delegate_count2|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count1|}}}
{{!}} style="{{#if:{{{delegate_count2|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{delegate_count3|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count3|}}}}}
}}
| #default =
}}
|-<!-- States carried -->
{{#switch:{{{type|}}}
| primary
| Primary =
{{#if:{{{states_carried1|}}}{{{states_carried2|}}}{{{states_carried3|}}}|
! style="text-align:left" {{!}} Contests won
{{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried1|}}}
{{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried3|}}}}}
}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{states_carried1|}}}{{{states_carried2|}}}{{{states_carried3|}}}|
! style="text-align:left" {{!}} States carried
{{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried1|}}}
{{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{states_carried3|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried3|}}}}}
}}
}}
| #default =
}}
|-<!-- Leader since -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#if:{{{leader_since1|}}}{{{leader_since2|}}}{{{leader_since3|}}}|
! style="text-align:left" {{!}} Leader since
{{!}} style="{{#if:{{{leader_since1|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since1|}}}
{{!}} style="{{#if:{{{leader_since2|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{leader_since3|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since3|}}}}}
}}
| #default =
}}
|-<!-- Leader seat -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#if:{{{leaders_seat1|}}}{{{leaders_seat2|}}}{{{leaders_seat3|}}}|
! style="text-align:left" {{!}} Leader's seat
{{!}} style="{{#if:{{{leaders_seat2|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat1|}}}
{{!}} style="{{#if:{{{leaders_seat2|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{leaders_seat3|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat3|}}}}}
}}
| #default =
}}
|-<!-- last election -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#if:{{{last_election1|}}}{{{last_election2|}}}{{{last_election3|}}}|
! style="text-align:left" {{!}} Last election
{{!}} style="{{#if:{{{last_election1|}}}|width:75px;}}text-align:center" {{!}} {{{last_election1|}}}
{{!}} style="{{#if:{{{last_election2|}}}|width:75px;}}text-align:center" {{!}} {{{last_election2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{last_election3|}}}|width:75px;}}text-align:center" {{!}} {{{last_election3|}}}}}
}}
| #default =
}}
|-<!-- seats before -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#if:{{{seats_before1|}}}{{{seats_before2|}}}{{{seats_before3|}}}|
! style="text-align:left" {{!}} {{#ifeq:{{{ongoing|}}}|yes|Current seats|Seats before}}
{{!}} style="{{#if:{{{seats_before1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before1|}}}
{{!}} style="{{#if:{{{seats_before2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats_before3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before3|}}}}}
}}
| #default =
}}
|-<!-- seats needed -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{seats_needed1|}}}{{{seats_needed2|}}}{{{seats_needed3|}}}|
! style="text-align:left" {{!}} Seats needed
{{!}} style="{{#if:{{{seats_needed1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed1|}}}
{{!}} style="{{#if:{{{seats_needed2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats_needed3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed3|}}}}}
}}
}}
| #default =
}}
|-<!-- seats -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{seats1|}}}{{{seats2|}}}{{{seats3|}}}|
! style="text-align:left" {{!}} Seats won
{{!}} style="{{#if:{{{seats1|}}}|width:75px;}}text-align:center" {{!}} {{{seats1|}}}
{{!}} style="{{#if:{{{seats2|}}}|width:75px;}}text-align:center" {{!}} {{{seats2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats3|}}}|width:75px;}}text-align:center" {{!}} {{{seats3|}}}}}
}}
}}
| #default =
}}
|-<!-- seats after -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{seats_after1|}}}{{{seats_after2|}}}{{{seats_after3|}}}|
! style="text-align:left" {{!}} Seats after
{{!}} style="{{#if:{{{seats_after1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after1|}}}
{{!}} style="{{#if:{{{seats_after2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats_after3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after3|}}}}}
}}
}}
| #default =
}}
|-<!-- seat change -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{seat_change1|}}}{{{seat_change2|}}}{{{seat_change3|}}}|
! style="text-align:left" {{!}} Seat change
{{!}} style="{{#if:{{{seat_change1|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change1|}}}
{{!}} style="{{#if:{{{seat_change2|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seat_change3|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change3|}}}}}
}}
}}
| #default =
}}
|-<!-- popular vote -->
{{#ifexpr:not {{#ifeq:{{{ongoing|}}}|yes|1|0}} or {{#ifeq:{{{type|}}}|primary|1|0}}|
{{#if:{{{popular_vote1|}}}{{{popular_vote2|}}}{{{popular_vote3|}}}|
! style="text-align:left" {{!}} {{{vote_type|Popular}}} vote
{{!}} style="{{#if:{{{popular_vote1|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote1|}}}
{{!}} style="{{#if:{{{popular_vote2|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{popular_vote3|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote3|}}}}}
}}
}}
|-<!-- percentage -->
{{#ifexpr:not {{#ifeq:{{{ongoing|}}}|yes|1|0}} or {{#ifeq:{{{type|}}}|primary|1|0}}|
{{#if:{{{percentage1|}}}{{{percentage2|}}}{{{percentage3|}}}|
! style="text-align:left" {{!}} Percentage
{{!}} style="{{#if:{{{percentage1|}}}|width:75px;}}text-align:center" {{!}} {{{percentage1|}}}
{{!}} style="{{#if:{{{percentage2|}}}|width:75px;}}text-align:center" {{!}} {{{percentage2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{percentage3|}}}|width:75px;}}text-align:center" {{!}} {{{percentage3|}}}}}
}}
}}
|-<!-- Counties won -->
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential =
{{#ifexpr:not {{#ifeq:{{{ongoing|}}}|yes|1|0}} or {{#ifeq:{{{type|}}}|primary|1|0}}|
{{#if:{{{counties_won1|}}}{{{counties_won2|}}}{{{counties_won3|}}}|
! style="text-align:left" {{!}} Counties won
{{!}} style="{{#if:{{{counties_won1|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won1|}}}
{{!}} style="{{#if:{{{counties_won2|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{counties_won3|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won3|}}}}}
}}
}}
| #default =
}}
|-<!-- Counties 25% threshold -->
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential =
{{#ifexpr:not {{#ifeq:{{{ongoing|}}}|yes|1|0}} or {{#ifeq:{{{type|}}}|primary|1|0}}|
{{#if:{{{counties_threshold1|}}}{{{counties_threshold2|}}}{{{counties_threshold3|}}}|
! style="text-align:left" {{!}} Counties with 25% vote
{{!}} style="{{#if:{{{counties_threshold1|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold1|}}}
{{!}} style="{{#if:{{{counties_threshold2|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{counties_threshold3|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold3|}}}}}
}}
}}
| #default =
}}
|-<!-- swing -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{swing1|}}}|
! style="text-align:left" {{!}} Swing
{{!}} style="width:75px;text-align:center" {{!}} {{{swing1}}}
{{!}} style="{{#if:{{{swing2|}}}|width:75px;}}text-align:center" {{!}} {{{swing2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{swing3|}}}|width:75px;}}text-align:center" {{!}} {{{swing3|}}}}}
}}
}}
| #default =
}}
{{#if:{{{opinion_polls|}}}||
{{!-}}<!-- Presidential poll nominee -->
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll1_person1|}}}{{{poll1_person2|}}}{{{poll1_person3|}}}|
! colspan=4 {{!}} Opinion polls
}}
}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll1_person1|}}}{{{poll1_person2|}}}{{{poll1_person3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll1_date|}}}{{#if:{{{poll1_source|}}}| [{{{poll1_source|}}}]}}
{{!}} style="{{#if:{{{poll1_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person1|}}}
{{!}} style="{{#if:{{{poll1_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll1_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person3|}}}}}
}}}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll2_person1|}}}{{{poll2_person2|}}}{{{poll2_person3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll2_date|}}}{{#if:{{{poll2_source|}}}| [{{{poll2_source|}}}]}}
{{!}} style="{{#if:{{{poll2_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person1|}}}
{{!}} style="{{#if:{{{poll2_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll2_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person3|}}}}}
}}}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll3_person1|}}}{{{poll3_person2|}}}{{{poll3_person3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll3_date|}}}{{#if:{{{poll3_source|}}}| [{{{poll3_source|}}}]}}
{{!}} style="{{#if:{{{poll3_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person1|}}}
{{!}} style="{{#if:{{{poll3_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll3_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person3|}}}}}
}}}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll4_person1|}}}{{{poll4_person2|}}}{{{poll4_person3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll4_date|}}}{{#if:{{{poll4_source|}}}| [{{{poll4_source|}}}]}}
{{!}} style="{{#if:{{{poll4_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person1|}}}
{{!}} style="{{#if:{{{poll4_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll4_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person3|}}}}}
}}}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll5_person1|}}}{{{poll5_person2|}}}{{{poll5_person3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll5_date|}}}{{#if:{{{poll5_source|}}}| [{{{poll5_source|}}}]}}
{{!}} style="{{#if:{{{poll5_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person1|}}}
{{!}} style="{{#if:{{{poll5_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll5_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person3|}}}}}
}}}}
| #default =
}}
{{!-}}<!-- Legislative poll nominee -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll1_party1|}}}{{{poll1_party2|}}}{{{poll1_party3|}}}|
! colspan=4 {{!}} Opinion polls
}}
}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll1_party1|}}}{{{poll1_party2|}}}{{{poll1_party3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll1_date|}}}{{#if:{{{poll1_source|}}}| [{{{poll1_source|}}}]}}
{{!}} style="{{#if:{{{poll1_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party1|}}}
{{!}} style="{{#if:{{{poll1_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll1_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party3|}}}}}
}}
}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll2_party1|}}}{{{poll2_party2|}}}{{{poll2_party3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll2_date|}}}{{#if:{{{poll2_source|}}}| [{{{poll2_source|}}}]}}
{{!}} style="{{#if:{{{poll2_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party1|}}}
{{!}} style="{{#if:{{{poll2_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll2_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party3|}}}}}
}}
}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll3_party1|}}}{{{poll3_party2|}}}{{{poll3_party3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll3_date|}}}{{#if:{{{poll3_source|}}}| [{{{poll3_source|}}}]}}
{{!}} style="{{#if:{{{poll3_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party1|}}}
{{!}} style="{{#if:{{{poll3_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll3_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party3|}}}}}
}}
}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll4_party1|}}}{{{poll4_party2|}}}{{{poll4_party3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll4_date|}}}{{#if:{{{poll4_source|}}}| [{{{poll4_source|}}}]}}
{{!}} style="{{#if:{{{poll4_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party1|}}}
{{!}} style="{{#if:{{{poll4_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll4_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party3|}}}}}
}}
}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll5_party1|}}}{{{poll5_party2|}}}{{{poll5_party3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll5_date|}}}{{#if:{{{poll5_source|}}}| [{{{poll5_source|}}}]}}
{{!}} style="{{#if:{{{poll5_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party1|}}}
{{!}} style="{{#if:{{{poll5_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll5_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party3|}}}}}
}}
}}
| #default =
}}}}
|-<!-- Blank field -->
{{#if:{{#if:{{{1blank|}}}|{{{1data1|}}}{{{1data2|}}}{{{1data3|}}}}}|
! style="text-align:left" {{!}} {{{1blank}}}
{{!}} style="{{#if:{{{1data1|}}}|width:75px;}}text-align:center" {{!}} {{{1data1|}}}
{{!}} style="{{#if:{{{1data2|}}}|width:75px;}}text-align:center" {{!}} {{{1data2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{1data3|}}}|width:75px;}}text-align:center" {{!}} {{{1data3|}}}}}
}}
|-
{{#if:{{#if:{{{2blank|}}}|{{{2data1|}}}{{{2data2|}}}{{{2data3|}}}}}|
! style="text-align:left" {{!}} {{{2blank}}}
{{!}} style="{{#if:{{{2data1|}}}|width:75px;}}text-align:center" {{!}} {{{2data1|}}}
{{!}} style="{{#if:{{{2data2|}}}|width:75px;}}text-align:center" {{!}} {{{2data2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{2data3|}}}|width:75px;}}text-align:center" {{!}} {{{2data3|}}}}}
}}
|-
{{#if:{{#if:{{{3blank|}}}|{{{3data1|}}}{{{3data2|}}}{{{3data3|}}}}}|
! style="text-align:left" {{!}} {{{3blank}}}
{{!}} style="{{#if:{{{3data1|}}}|width:75px;}}text-align:center" {{!}} {{{3data1|}}}
{{!}} style="{{#if:{{{3data2|}}}|width:75px;}}text-align:center" {{!}} {{{3data2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{3data3|}}}|width:75px;}}text-align:center" {{!}} {{{3data3|}}}}}
}}
|-
{{#if:{{#if:{{{4blank|}}}|{{{4data1|}}}{{{4data2|}}}{{{4data3|}}}}}|
! style="text-align:left" {{!}} {{{4blank}}}
{{!}} style="{{#if:{{{4data1|}}}|width:75px;}}text-align:center" {{!}} {{{4data1|}}}
{{!}} style="{{#if:{{{4data2|}}}|width:75px;}}text-align:center" {{!}} {{{4data2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{4data3|}}}|width:75px;}}text-align:center" {{!}} {{{4data3|}}}}}
}}
|-
{{#if:{{#if:{{{5blank|}}}|{{{5data1|}}}{{{5data2|}}}{{{5data3|}}}}}|
! style="text-align:left" {{!}} {{{5blank}}}
{{!}} style="{{#if:{{{5data1|}}}|width:75px;}}text-align:center" {{!}} {{{5data1|}}}
{{!}} style="{{#if:{{{5data2|}}}|width:75px;}}text-align:center" {{!}} {{{5data2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{5data3|}}}|width:75px;}}text-align:center" {{!}} {{{5data3|}}}}}
}}
|-
{{#if:{{#if:{{{6blank|}}}|{{{6data1|}}}{{{6data2|}}}{{{6data3|}}}}}|
! style="text-align:left" {{!}} {{{6blank}}}
{{!}} style="{{#if:{{{6data1|}}}|width:75px;}}text-align:center" {{!}} {{{6data1|}}}
{{!}} style="{{#if:{{{6data2|}}}|width:75px;}}text-align:center" {{!}} {{{6data2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{6data3|}}}|width:75px;}}text-align:center" {{!}} {{{6data3|}}}}}
}}</includeonly><noinclude>
{{Documentation}}</noinclude>
378d817ebb08432f35bc744f7606f7bddcc99d6a
Template:Documentation subpage
10
1489
3041
2023-04-29T17:27:17Z
Wikipedia>Paine Ellsworth
0
m
wikitext
text/x-wiki
<includeonly><!--
-->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}}
| <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
</includeonly><!--
-->{{#ifeq:{{{doc-notice|show}}} |show
| {{Mbox
| type = notice
| style = margin-bottom:1.0em;
| image = [[File:Edit-copy green.svg|40px|alt=|link=]]
| text =
{{strong|This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]]}} for {{terminate sentence|{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}}}<br />It may contain usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.
}}
}}<!--
-->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
-->{{#if:{{{inhibit|}}} |<!--(don't categorize)-->
| <includeonly><!--
-->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
| [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
| [[Category:Documentation subpages without corresponding pages]]
}}<!--
--></includeonly>
}}<!--
(completing initial #ifeq: at start of template:)
--><includeonly>
| <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
}}<!--
--></includeonly><noinclude>{{Documentation}}</noinclude>
41ca90af0945442788a2dbd08c8c54a61a23c057
Module:Political party
828
1465
2993
2023-05-07T14:19:00Z
Wikipedia>Primefac
0
Undid revision 1153505214 by [[Special:Contributions/R'n'B|R'n'B]] ([[User talk:R'n'B|talk]]) this is already in the /I module as an alternate name?
Scribunto
text/plain
local p = {}
local default_color = '#F8F9FA'
local categories = {
party_not_in_list = '[[Category:Pages using Political party with unknown party]]',
shortname_not_in_list = '[[Category:Pages using Political party with missing shortname]]',
color_not_in_list = '[[Category:Pages using Political party with missing color]]',
}
local function create_error(error_message)
return string.format('<strong class="error">%s</strong>', error_message)
end
local function getFirstLetter(party)
local index = mw.ustring.sub(party, 1, 1)
-- Set index for non-A-Z starts
if string.match(index, '%A') then
return '1'
end
return string.upper(index)
end
local function stripToNil(text)
-- If text is a string, return its trimmed content, or nil if empty.
-- Otherwise return text (which may, for example, be nil).
if type(text) == 'string' then
text = text:match('(%S.-)%s*$')
local delink = require('Module:Delink')._delink
text = delink({text, wikilinks = "target"})
end
return text
end
-- Example of having all the data - color and names - in one table. Requires one page to be edited instead of two when adding a new party.
function p._fetch(args)
if not args[1] then
return create_error("parameter 1 should be a party name.")
end
if not args[2] then
return create_error("parameter 2 should be the output type.")
end
local party = stripToNil(args[1])
local out_type = stripToNil(args[2])
if out_type == 'colour' then
out_type = 'color'
end
local index = getFirstLetter(party)
-- Load data from submodule
local data = mw.loadData('Module:Political party/' .. index)
local data_all = data.full
local party_alt = data.alternate[party]
local party_info
if party_alt then
if data_all[party_alt] then
party_info = data_all[party_alt]
else
index = getFirstLetter(party_alt)
data = mw.loadData('Module:Political party/' .. index)
party_info = data.full[party_alt]
end
else
party_info = data_all[party]
end
-- Check if database value exists
-- * Not even in database - return given error or input
-- * No color - return error
-- * No shortname/abbrev - return first non-blank of abbrev->shortname->input
if not party_info then
if out_type == 'color' then
return args.error or default_color
else
return args.error or party
end
end
local return_value = party_info[out_type]
if return_value == "" then
if out_type == 'color' then
return args.error or create_error("Value not in template. Please request that it be added.")
elseif out_type == 'abbrev' then
if party_info.shortname ~= "" then
return party_info.shortname
else
return party
end
elseif out_type == 'shortname' then
if party_info.abbrev ~= "" then
return party_info.abbrev
else
return party
end
else
return party
end
end
if out_type == 'color' and string.find(return_value, '#') then
return_value = string.gsub(return_value, '#', '#')
end
return return_value
end
function p.fetch(frame)
-- Initialise and populate variables
local getArgs = require("Module:Arguments").getArgs
local args = getArgs(frame)
return p._fetch(args)
end
return p
5619f7c33e00168878164325d0fcb8600faa2446
Template:Longitem
10
1440
2943
2023-05-09T01:38:28Z
Wikipedia>Neveselbert
0
Undid revision 1153902556 by [[Special:Contributions/Neveselbert|Neveselbert]] ([[User talk:Neveselbert|talk]]) - backlinked
wikitext
text/x-wiki
<noinclude>{{#tag: code|
</noinclude>{{#ifeq: {{{1|+}}} | {{{1|-}}} | <div style="}}display: inline-block; line-height: 1.2em; padding: .1em 0; {{#ifeq: {{{1|+}}} | {{{1|-}}} | {{{style|}}}">{{{1|}}}</div> | <includeonly>width: 100%;</includeonly> }}<includeonly>{{#if:{{{2|}}}|[[Category:Pages using Template:Longitem with unnamed style parameter]]}}</includeonly><noinclude>
|lang=wikitext}}
{{documentation}}
</noinclude>
2919b818deb36b243e9f9517917cbcfaa2c8d4ec
Template:Infobox political party/doc
10
1544
3160
2023-05-10T17:03:29Z
Wikipedia>WOSlinker
0
syntaxhighlight lang="wikitext"
wikitext
text/x-wiki
{{Documentation subpage}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}}
{{Auto short description}}
{{lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
==Usage==
===Basic===
{{Parameter names example
|name
|logo
|logo_alt
|colorcode=red
|leader
|president
|chairperson
|secretary
|general_secretary
|first_secretary
|secretary_general
|presidium
|governing_body
|standing_committee
|spokesperson
|founder
|founded
|headquarters
|ideology
|international
|website
|country
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox political party
| name =
| logo =
| logo_alt =
| colorcode = <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| leader =
| president =
| chairperson =
| secretary =
| general_secretary =
| first_secretary =
| secretary_general =
| presidium =
| governing_body =
| standing_committee =
| spokesperson =
| founder =
| founded = <!-- {{start date|YYYY|MM|DD}} -->
| headquarters =
| ideology =
| international =
| website =
| country =
}}
</syntaxhighlight>
{{clear right}}
===Full===
{{Parameter names example
|name |native_name
|native_name_lang |lang1 |name_lang1 |lang2 |name_lang2 |lang3 |name_lang3 |lang4 |name_lang4 |logo |logo_size |logo_upright |logo_alt |caption |colorcode=red |abbreviation={{{abbreviation}}} or {{{abbr}}} |leader |president |chairperson={{{chairperson}}} or {{{chairman}}} |general_secretary |first_secretary |secretary_general |presidium |governing_body |standing_committee |secretary |spokesperson={{{spokesperson}}} or {{{spokesman}}}
|leader1_title |leader1_name |leader2_title |leader2_name |leader3_title |leader3_name |leader4_title |leader4_name |leader5_title |leader5_name
|founder={{{founder}}} or {{{founders}}} |founded={{{founded}}} or {{{foundation}}} |registered |legalised={{{legalised}}} or {{{legalized}}} |dissolved={{{dissolved}}} or {{{banned}}} or {{{dissolution}}} |merger |split |predecessor |merged |successor |headquarters |newspaper |think_tank |student_wing |youth_wing |womens_wing |lgbt_wing |wing1_title |wing1 |wing2_title |wing2 |wing3_title |wing3 |wing4_title |wing4
|membership_year=[''year''] |membership |ideology |position |religion |national |regional |european |continental |international |europarl |affiliation1_title |affiliation1 |affiliation2_title |affiliation2 |colors={{{colors}}} or {{{colours}}} |slogan |anthem
|blank1_title |blank1 |blank2_title |blank2 |blank3_title |blank3 |blank4_title |blank4
|seats1_title |seats1 |seats2_title |seats2 |seats3_title |seats3 |seats4_title |seats4
|symbol |flag |flag_title |flag_alt |website |country |country2 |footnotes
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox political party
| name =
| native_name =
| native_name_lang =
| lang1 =
| name_lang1 =
| lang2 =
| name_lang2 =
| lang3 =
| name_lang3 =
| lang4 =
| name_lang4 =
| logo =
| logo_size =
| logo_upright =
| logo_alt =
| caption =
| colorcode = <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| abbreviation = <!-- official abbreviation or | abbr = -->
| leader =
| president =
| chairperson = <!-- or | chairman = -->
| secretary =
| general_secretary =
| first_secretary =
| secretary_general =
| presidium =
| governing_body =
| standing_committee =
| spokesperson = <!-- or | spokesman = -->
| leader1_title =
| leader1_name =
| leader2_title =
| leader2_name =
| leader3_title =
| leader3_name =
| leader4_title =
| leader4_name =
| leader5_title =
| leader5_name =
| founder = <!-- or | founders = -->
| founded = <!-- or | foundation = use {{start date|YYYY|MM|DD}} -->
| registered =
| legalised = <!-- or | legalized = -->
| dissolved = <!-- or | banned = or | dissolution = use {{end date|YYYY|MM|DD}} -->
| merger =
| split =
| predecessor =
| merged =
| successor =
| headquarters =
| newspaper =
| think_tank =
| student_wing =
| youth_wing =
| womens_wing =
| wing1_title =
| wing1 =
| wing2_title =
| wing2 =
| wing3_title =
| wing3 =
| wing4_title =
| wing4 =
| membership_year =
| membership =
| ideology =
| position =
| religion =
| national =
| regional = <!-- or | regional affiliation = -->
| european =
| continental = <!-- or | continental affiliation = -->
| international =
| europarl =
| affiliation1_title =
| affiliation1 =
| affiliation2_title =
| affiliation2 =
| colors = <!-- or | colours = ; use based on [[WP:ENGVAR]]-->
| slogan =
| anthem =
| blank1_title =
| blank1 =
| blank2_title =
| blank2 =
| blank3_title =
| blank3 =
| blank4_title =
| blank4 =
| seats1_title =
| seats1 = <!-- {{Infobox political party/seats|50|100|hex=#ff0000}} -->
| seats2_title =
| seats2 =
| seats3_title =
| seats3 =
| seats4_title = <!-- up to | seats11_title = -->
| seats4 = <!-- up to | seats11 = -->
| symbol =
| flag =
| flag_title =
| flag_alt =
| website =
| state = <!-- or | country = -->
| country = <!-- or | state = -->
| country_dab1 =
| parties_dab1 =
| elections_dab1 =
| country2 =
| country_dab2 =
| parties_dab2 =
| elections_dab2 =
| footnotes =
}}
</syntaxhighlight>
{{clear right}}
==Microformat==
{{UF-hcard-org}}
== TemplateData ==
{{TemplateData header}}
<templatedata>
{
"description": "An infobox for a political party. Used to briefly summarize information about a party at the top of the article. ",
"format": "{{_\n| ________________ = _\n}}\n",
"params": {
"name": {
"label": "Name",
"description": "The name of the party",
"type": "string"
},
"logo": {
"label": "Logo",
"description": "The logo of the party",
"type": "string"
},
"logo_size": {
"label": "Logo size",
"description": "Size of logo image",
"type": "string"
},
"colorcode": {
"label": "Color code",
"description": "The color to be used for infobox accents. HTML color code (e.g. red, #FF0000 or Party metadata color template) or transparent for no coloring.",
"type": "string"
},
"leader": {
"label": "Leader",
"description": "The leader of the party",
"type": "string"
},
"president": {
"label": "President",
"description": "The president of the party",
"type": "string"
},
"chairperson": {
"label": "Chairperson",
"description": "The chairperson of the party",
"type": "string",
"aliases": [
"chairman"
]
},
"secretary": {
"label": "Secretary",
"description": "The secretary of the party",
"type": "string"
},
"general_secretary": {
"label": "General secretary",
"description": "The general secretary of the party",
"type": "string"
},
"first_secretary": {
"label": "First secretary",
"description": "The first secretary of the party",
"type": "string"
},
"secretary_general": {
"label": "Secretary-general",
"description": "The secretary-general of the party",
"type": "string"
},
"presidium": {
"label": "Presidium",
"description": "The presidium of the party",
"type": "string"
},
"spokesperson": {
"label": "Spokesperson",
"description": "The spokesperson of the party",
"type": "string",
"aliases": [
"spokesman"
]
},
"foundation": {
"label": "Foundation",
"description": "The foundation date of the party. Insert as {{Start date|YYYY|MM|DD}}.",
"type": "string",
"aliases": [
"founded"
]
},
"ideology": {
"label": "Ideology",
"description": "The ideology of the party",
"type": "string"
},
"headquarters": {
"label": "Headquarters",
"description": "The headquarters of the party",
"type": "string"
},
"international": {
"label": "International",
"description": "The party’s international affiliation(s)",
"type": "string"
},
"website": {
"label": "Website",
"description": "The website of the party",
"type": "string"
},
"registered": {
"label": "Registered",
"description": "The registration number of party; if unregistered, then write NO.",
"type": "string"
},
"country": {
"label": "Country",
"description": "The country of the party",
"type": "string",
"aliases": [
"state"
]
},
"abbreviation": {
"aliases": [
"abbr"
]
},
"founder": {
"aliases": [
"founders"
]
},
"legalised": {
"aliases": [
"legalized"
]
},
"dissolved": {
"aliases": [
"banned",
"dissolution"
]
},
"colors": {
"description": "The official colors of the party, independent of infobox usage",
"aliases": [
"colours"
]
},
"native_name": {
"label": "Native name",
"description": "The native name of the party",
"type": "string"
},
"native_name_lang": {
"label": "Native name language code",
"description": "The ISO-639 language code of the native name of the party",
"example": "fr",
"type": "string"
},
"governing_body": {},
"standing_committee": {},
"merger": {},
"split": {
"label": "Split from",
"description": "Party or organisation the party was split from",
"type": "string"
},
"predecessor": {},
"merged": {},
"successor": {},
"newspaper": {},
"think_tank": {
"aliases": [
"think tank"
]
},
"student_wing": {},
"youth_wing": {},
"womens_wing": {},
"membership": {},
"membership_year": {},
"position": {},
"religion": {},
"national": {},
"regional": {
"aliases": [
"regional affiliation"
]
},
"european": {},
"continental": {
"aliases": [
"continental affiliation"
]
},
"europarl": {},
"slogan": {},
"anthem": {},
"symbol": {},
"flag": {
"aliases": [
"flag_title"
]
},
"flag_alt": {},
"country2": {},
"footnotes": {},
"logo_upright": {},
"logo_alt": {}
},
"paramOrder": [
"name",
"native_name",
"logo",
"logo_size",
"colorcode",
"leader",
"president",
"chairperson",
"secretary",
"general_secretary",
"first_secretary",
"secretary_general",
"presidium",
"spokesperson",
"foundation",
"ideology",
"headquarters",
"international",
"website",
"registered",
"country",
"abbreviation",
"founder",
"legalised",
"dissolved",
"colors",
"native_name_lang",
"governing_body",
"standing_committee",
"merger",
"split",
"predecessor",
"merged",
"successor",
"newspaper",
"think_tank",
"student_wing",
"youth_wing",
"womens_wing",
"membership",
"membership_year",
"position",
"religion",
"national",
"regional",
"european",
"continental",
"europarl",
"slogan",
"anthem",
"symbol",
"flag",
"flag_alt",
"country2",
"footnotes",
"logo_upright",
"logo_alt"
]
}
</templatedata>
== Tracking categories ==
* {{clc|Pages using infobox political party with unknown parameters}}
== See also ==
* {{tl|Composition bar}}, used to display a statistic, such as the number of seats held by a political party.
{{Organization infoboxes}}
<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Organization infobox templates|Political Party]]
[[Category:Political party infobox templates| ]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
b246a618822a8e4debea143592790494f2f156b3
Module:Navbox
828
1532
3136
2023-05-28T13:26:56Z
Wikipedia>Uzume
0
strict
Scribunto
text/plain
require('strict')
local p = {}
local navbar = require('Module:Navbar')._navbar
local cfg = mw.loadData('Module:Navbox/configuration')
local getArgs -- lazily initialized
local args
local format = string.format
local function striped(wikitext, border)
-- Return wikitext with markers replaced for odd/even striping.
-- Child (subgroup) navboxes are flagged with a category that is removed
-- by parent navboxes. The result is that the category shows all pages
-- where a child navbox is not contained in a parent navbox.
local orphanCat = cfg.category.orphan
if border == cfg.keyword.border_subgroup and args[cfg.arg.orphan] ~= cfg.keyword.orphan_yes then
-- No change; striping occurs in outermost navbox.
return wikitext .. orphanCat
end
local first, second = cfg.class.navbox_odd_part, cfg.class.navbox_even_part
if args[cfg.arg.evenodd] then
if args[cfg.arg.evenodd] == cfg.keyword.evenodd_swap then
first, second = second, first
else
first = args[cfg.arg.evenodd]
second = first
end
end
local changer
if first == second then
changer = first
else
local index = 0
changer = function (code)
if code == '0' then
-- Current occurrence is for a group before a nested table.
-- Set it to first as a valid although pointless class.
-- The next occurrence will be the first row after a title
-- in a subgroup and will also be first.
index = 0
return first
end
index = index + 1
return index % 2 == 1 and first or second
end
end
local regex = orphanCat:gsub('([%[%]])', '%%%1')
return (wikitext:gsub(regex, ''):gsub(cfg.marker.regex, changer)) -- () omits gsub count
end
local function processItem(item, nowrapitems)
if item:sub(1, 2) == '{|' then
-- Applying nowrap to lines in a table does not make sense.
-- Add newlines to compensate for trim of x in |parm=x in a template.
return '\n' .. item ..'\n'
end
if nowrapitems == cfg.keyword.nowrapitems_yes then
local lines = {}
for line in (item .. '\n'):gmatch('([^\n]*)\n') do
local prefix, content = line:match('^([*:;#]+)%s*(.*)')
if prefix and not content:match(cfg.pattern.nowrap) then
line = format(cfg.nowrap_item, prefix, content)
end
table.insert(lines, line)
end
item = table.concat(lines, '\n')
end
if item:match('^[*:;#]') then
return '\n' .. item ..'\n'
end
return item
end
local function has_navbar()
return args[cfg.arg.navbar] ~= cfg.keyword.navbar_off
and args[cfg.arg.navbar] ~= cfg.keyword.navbar_plain
and (
args[cfg.arg.name]
or mw.getCurrentFrame():getParent():getTitle():gsub(cfg.pattern.sandbox, '')
~= cfg.pattern.navbox
)
end
local function renderNavBar(titleCell)
if has_navbar() then
titleCell:wikitext(navbar{
[cfg.navbar.name] = args[cfg.arg.name],
[cfg.navbar.mini] = 1,
[cfg.navbar.fontstyle] = (args[cfg.arg.basestyle] or '') .. ';' ..
(args[cfg.arg.titlestyle] or '') ..
';background:none transparent;border:none;box-shadow:none;padding:0;'
})
end
end
local function renderTitleRow(tbl)
if not args[cfg.arg.title] then return end
local titleRow = tbl:tag('tr')
local titleCell = titleRow:tag('th'):attr('scope', 'col')
local titleColspan = 2
if args[cfg.arg.imageleft] then titleColspan = titleColspan + 1 end
if args[cfg.arg.image] then titleColspan = titleColspan + 1 end
titleCell
:cssText(args[cfg.arg.basestyle])
:cssText(args[cfg.arg.titlestyle])
:addClass(cfg.class.navbox_title)
:attr('colspan', titleColspan)
renderNavBar(titleCell)
titleCell
:tag('div')
-- id for aria-labelledby attribute
:attr('id', mw.uri.anchorEncode(args[cfg.arg.title]))
:addClass(args[cfg.arg.titleclass])
:css('font-size', '114%')
:css('margin', '0 4em')
:wikitext(processItem(args[cfg.arg.title]))
end
local function getAboveBelowColspan()
local ret = 2
if args[cfg.arg.imageleft] then ret = ret + 1 end
if args[cfg.arg.image] then ret = ret + 1 end
return ret
end
local function renderAboveRow(tbl)
if not args[cfg.arg.above] then return end
tbl:tag('tr')
:tag('td')
:addClass(cfg.class.navbox_abovebelow)
:addClass(args[cfg.arg.aboveclass])
:cssText(args[cfg.arg.basestyle])
:cssText(args[cfg.arg.abovestyle])
:attr('colspan', getAboveBelowColspan())
:tag('div')
-- id for aria-labelledby attribute, if no title
:attr('id', (not args[cfg.arg.title]) and mw.uri.anchorEncode(args[cfg.arg.above]) or nil)
:wikitext(processItem(args[cfg.arg.above], args[cfg.arg.nowrapitems]))
end
local function renderBelowRow(tbl)
if not args[cfg.arg.below] then return end
tbl:tag('tr')
:tag('td')
:addClass(cfg.class.navbox_abovebelow)
:addClass(args[cfg.arg.belowclass])
:cssText(args[cfg.arg.basestyle])
:cssText(args[cfg.arg.belowstyle])
:attr('colspan', getAboveBelowColspan())
:tag('div')
:wikitext(processItem(args[cfg.arg.below], args[cfg.arg.nowrapitems]))
end
local function renderListRow(tbl, index, listnum, listnums_size)
local row = tbl:tag('tr')
if index == 1 and args[cfg.arg.imageleft] then
row
:tag('td')
:addClass(cfg.class.noviewer)
:addClass(cfg.class.navbox_image)
:addClass(args[cfg.arg.imageclass])
:css('width', '1px') -- Minimize width
:css('padding', '0 2px 0 0')
:cssText(args[cfg.arg.imageleftstyle])
:attr('rowspan', listnums_size)
:tag('div')
:wikitext(processItem(args[cfg.arg.imageleft]))
end
local group_and_num = format(cfg.arg.group_and_num, listnum)
local groupstyle_and_num = format(cfg.arg.groupstyle_and_num, listnum)
if args[group_and_num] then
local groupCell = row:tag('th')
-- id for aria-labelledby attribute, if lone group with no title or above
if listnum == 1 and not (args[cfg.arg.title] or args[cfg.arg.above] or args[cfg.arg.group2]) then
groupCell
:attr('id', mw.uri.anchorEncode(args[cfg.arg.group1]))
end
groupCell
:attr('scope', 'row')
:addClass(cfg.class.navbox_group)
:addClass(args[cfg.arg.groupclass])
:cssText(args[cfg.arg.basestyle])
-- If groupwidth not specified, minimize width
:css('width', args[cfg.arg.groupwidth] or '1%')
groupCell
:cssText(args[cfg.arg.groupstyle])
:cssText(args[groupstyle_and_num])
:wikitext(args[group_and_num])
end
local listCell = row:tag('td')
if args[group_and_num] then
listCell
:addClass(cfg.class.navbox_list_with_group)
else
listCell:attr('colspan', 2)
end
if not args[cfg.arg.groupwidth] then
listCell:css('width', '100%')
end
local rowstyle -- usually nil so cssText(rowstyle) usually adds nothing
if index % 2 == 1 then
rowstyle = args[cfg.arg.oddstyle]
else
rowstyle = args[cfg.arg.evenstyle]
end
local list_and_num = format(cfg.arg.list_and_num, listnum)
local listText = args[list_and_num]
local oddEven = cfg.marker.oddeven
if listText:sub(1, 12) == '</div><table' then
-- Assume list text is for a subgroup navbox so no automatic striping for this row.
oddEven = listText:find(cfg.pattern.navbox_title) and cfg.marker.restart or cfg.class.navbox_odd_part
end
local liststyle_and_num = format(cfg.arg.liststyle_and_num, listnum)
local listclass_and_num = format(cfg.arg.listclass_and_num, listnum)
listCell
:css('padding', '0')
:cssText(args[cfg.arg.liststyle])
:cssText(rowstyle)
:cssText(args[liststyle_and_num])
:addClass(cfg.class.navbox_list)
:addClass(cfg.class.navbox_part .. oddEven)
:addClass(args[cfg.arg.listclass])
:addClass(args[listclass_and_num])
:tag('div')
:css('padding',
(index == 1 and args[cfg.arg.list1padding]) or args[cfg.arg.listpadding] or '0 0.25em'
)
:wikitext(processItem(listText, args[cfg.arg.nowrapitems]))
if index == 1 and args[cfg.arg.image] then
row
:tag('td')
:addClass(cfg.class.noviewer)
:addClass(cfg.class.navbox_image)
:addClass(args[cfg.arg.imageclass])
:css('width', '1px') -- Minimize width
:css('padding', '0 0 0 2px')
:cssText(args[cfg.arg.imagestyle])
:attr('rowspan', listnums_size)
:tag('div')
:wikitext(processItem(args[cfg.arg.image]))
end
end
local function has_list_class(htmlclass)
local patterns = {
'^' .. htmlclass .. '$',
'%s' .. htmlclass .. '$',
'^' .. htmlclass .. '%s',
'%s' .. htmlclass .. '%s'
}
for arg, _ in pairs(args) do
if type(arg) == 'string' and mw.ustring.find(arg, cfg.pattern.class) then
for _, pattern in ipairs(patterns) do
if mw.ustring.find(args[arg] or '', pattern) then
return true
end
end
end
end
return false
end
-- there are a lot of list classes in the wild, so we add their TemplateStyles
local function add_list_styles()
local frame = mw.getCurrentFrame()
local function add_list_templatestyles(htmlclass, templatestyles)
if has_list_class(htmlclass) then
return frame:extensionTag{
name = 'templatestyles', args = { src = templatestyles }
}
else
return ''
end
end
local hlist_styles = add_list_templatestyles('hlist', cfg.hlist_templatestyles)
local plainlist_styles = add_list_templatestyles('plainlist', cfg.plainlist_templatestyles)
-- a second workaround for [[phab:T303378]]
-- when that issue is fixed, we can actually use has_navbar not to emit the
-- tag here if we want
if has_navbar() and hlist_styles == '' then
hlist_styles = frame:extensionTag{
name = 'templatestyles', args = { src = cfg.hlist_templatestyles }
}
end
-- hlist -> plainlist is best-effort to preserve old Common.css ordering.
-- this ordering is not a guarantee because most navboxes will emit only
-- one of these classes [hlist_note]
return hlist_styles .. plainlist_styles
end
local function needsHorizontalLists(border)
if border == cfg.keyword.border_subgroup or args[cfg.arg.tracking] == cfg.keyword.tracking_no then
return false
end
return not has_list_class(cfg.pattern.hlist) and not has_list_class(cfg.pattern.plainlist)
end
local function hasBackgroundColors()
for _, key in ipairs({cfg.arg.titlestyle, cfg.arg.groupstyle,
cfg.arg.basestyle, cfg.arg.abovestyle, cfg.arg.belowstyle}) do
if tostring(args[key]):find('background', 1, true) then
return true
end
end
return false
end
local function hasBorders()
for _, key in ipairs({cfg.arg.groupstyle, cfg.arg.basestyle,
cfg.arg.abovestyle, cfg.arg.belowstyle}) do
if tostring(args[key]):find('border', 1, true) then
return true
end
end
return false
end
local function isIllegible()
local styleratio = require('Module:Color contrast')._styleratio
for key, style in pairs(args) do
if tostring(key):match(cfg.pattern.style) then
if styleratio{mw.text.unstripNoWiki(style)} < 4.5 then
return true
end
end
end
return false
end
local function getTrackingCategories(border)
local cats = {}
if needsHorizontalLists(border) then table.insert(cats, cfg.category.horizontal_lists) end
if hasBackgroundColors() then table.insert(cats, cfg.category.background_colors) end
if isIllegible() then table.insert(cats, cfg.category.illegible) end
if hasBorders() then table.insert(cats, cfg.category.borders) end
return cats
end
local function renderTrackingCategories(builder, border)
local title = mw.title.getCurrentTitle()
if title.namespace ~= 10 then return end -- not in template space
local subpage = title.subpageText
if subpage == cfg.keyword.subpage_doc or subpage == cfg.keyword.subpage_sandbox
or subpage == cfg.keyword.subpage_testcases then return end
for _, cat in ipairs(getTrackingCategories(border)) do
builder:wikitext('[[Category:' .. cat .. ']]')
end
end
local function renderMainTable(border, listnums)
local tbl = mw.html.create('table')
:addClass(cfg.class.nowraplinks)
:addClass(args[cfg.arg.bodyclass])
local state = args[cfg.arg.state]
if args[cfg.arg.title] and state ~= cfg.keyword.state_plain and state ~= cfg.keyword.state_off then
if state == cfg.keyword.state_collapsed then
state = cfg.class.collapsed
end
tbl
:addClass(cfg.class.collapsible)
:addClass(state or cfg.class.autocollapse)
end
tbl:css('border-spacing', 0)
if border == cfg.keyword.border_subgroup or border == cfg.keyword.border_none then
tbl
:addClass(cfg.class.navbox_subgroup)
:cssText(args[cfg.arg.bodystyle])
:cssText(args[cfg.arg.style])
else -- regular navbox - bodystyle and style will be applied to the wrapper table
tbl
:addClass(cfg.class.navbox_inner)
:css('background', 'transparent')
:css('color', 'inherit')
end
tbl:cssText(args[cfg.arg.innerstyle])
renderTitleRow(tbl)
renderAboveRow(tbl)
local listnums_size = #listnums
for i, listnum in ipairs(listnums) do
renderListRow(tbl, i, listnum, listnums_size)
end
renderBelowRow(tbl)
return tbl
end
local function add_navbox_styles(hiding_templatestyles)
local frame = mw.getCurrentFrame()
-- This is a lambda so that it doesn't need the frame as a parameter
local function add_user_styles(templatestyles)
if templatestyles and templatestyles ~= '' then
return frame:extensionTag{
name = 'templatestyles', args = { src = templatestyles }
}
end
return ''
end
-- get templatestyles. load base from config so that Lua only needs to do
-- the work once of parser tag expansion
local base_templatestyles = cfg.templatestyles
local templatestyles = add_user_styles(args[cfg.arg.templatestyles])
local child_templatestyles = add_user_styles(args[cfg.arg.child_templatestyles])
-- The 'navbox-styles' div exists to wrap the styles to work around T200206
-- more elegantly. Instead of combinatorial rules, this ends up being linear
-- number of CSS rules.
return mw.html.create('div')
:addClass(cfg.class.navbox_styles)
:wikitext(
add_list_styles() .. -- see [hlist_note] applied to 'before base_templatestyles'
base_templatestyles ..
templatestyles ..
child_templatestyles ..
table.concat(hiding_templatestyles)
)
:done()
end
-- work around [[phab:T303378]]
-- for each arg: find all the templatestyles strip markers, insert them into a
-- table. then remove all templatestyles markers from the arg
local function move_hiding_templatestyles(args)
local gfind = string.gfind
local gsub = string.gsub
local templatestyles_markers = {}
local strip_marker_pattern = '(\127[^\127]*UNIQ%-%-templatestyles%-%x+%-QINU[^\127]*\127)'
for k, arg in pairs(args) do
for marker in gfind(arg, strip_marker_pattern) do
table.insert(templatestyles_markers, marker)
end
args[k] = gsub(arg, strip_marker_pattern, '')
end
return templatestyles_markers
end
function p._navbox(navboxArgs)
args = navboxArgs
local hiding_templatestyles = move_hiding_templatestyles(args)
local listnums = {}
for k, _ in pairs(args) do
if type(k) == 'string' then
local listnum = k:match(cfg.pattern.listnum)
if listnum then table.insert(listnums, tonumber(listnum)) end
end
end
table.sort(listnums)
local border = mw.text.trim(args[cfg.arg.border] or args[1] or '')
if border == cfg.keyword.border_child then
border = cfg.keyword.border_subgroup
end
-- render the main body of the navbox
local tbl = renderMainTable(border, listnums)
local res = mw.html.create()
-- render the appropriate wrapper for the navbox, based on the border param
if border == cfg.keyword.border_none then
res:node(add_navbox_styles(hiding_templatestyles))
local nav = res:tag('div')
:attr('role', 'navigation')
:node(tbl)
-- aria-labelledby title, otherwise above, otherwise lone group
if args[cfg.arg.title] or args[cfg.arg.above] or (args[cfg.arg.group1]
and not args[cfg.arg.group2]) then
nav:attr(
'aria-labelledby',
mw.uri.anchorEncode(
args[cfg.arg.title] or args[cfg.arg.above] or args[cfg.arg.group1]
)
)
else
nav:attr('aria-label', cfg.aria_label)
end
elseif border == cfg.keyword.border_subgroup then
-- We assume that this navbox is being rendered in a list cell of a
-- parent navbox, and is therefore inside a div with padding:0em 0.25em.
-- We start with a </div> to avoid the padding being applied, and at the
-- end add a <div> to balance out the parent's </div>
res
:wikitext('</div>')
:node(tbl)
:wikitext('<div>')
else
res:node(add_navbox_styles(hiding_templatestyles))
local nav = res:tag('div')
:attr('role', 'navigation')
:addClass(cfg.class.navbox)
:addClass(args[cfg.arg.navboxclass])
:cssText(args[cfg.arg.bodystyle])
:cssText(args[cfg.arg.style])
:css('padding', '3px')
:node(tbl)
-- aria-labelledby title, otherwise above, otherwise lone group
if args[cfg.arg.title] or args[cfg.arg.above]
or (args[cfg.arg.group1] and not args[cfg.arg.group2]) then
nav:attr(
'aria-labelledby',
mw.uri.anchorEncode(args[cfg.arg.title] or args[cfg.arg.above] or args[cfg.arg.group1])
)
else
nav:attr('aria-label', cfg.aria_label)
end
end
if (args[cfg.arg.nocat] or cfg.keyword.nocat_false):lower() == cfg.keyword.nocat_false then
renderTrackingCategories(res, border)
end
return striped(tostring(res), border)
end
function p.navbox(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
args = getArgs(frame, {wrappers = {cfg.pattern.navbox}})
-- Read the arguments in the order they'll be output in, to make references
-- number in the right order.
local _
_ = args[cfg.arg.title]
_ = args[cfg.arg.above]
-- Limit this to 20 as covering 'most' cases (that's a SWAG) and because
-- iterator approach won't work here
for i = 1, 20 do
_ = args[format(cfg.arg.group_and_num, i)]
_ = args[format(cfg.arg.list_and_num, i)]
end
_ = args[cfg.arg.below]
return p._navbox(args)
end
return p
05be9a97c035ab3f0fac69423779e261949d473c
Template:High-use
10
1493
3049
2023-05-30T09:39:48Z
Wikipedia>Lectonar
0
Changed protection settings for "[[Template:High-use]]": [[WP:High-risk templates|High-risk template or module]] ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
wikitext
text/x-wiki
{{#invoke:High-use|main|1={{{1|}}}|2={{{2|}}}|info={{{info|}}}|demo={{{demo|}}}|form={{{form|}}}|expiry={{{expiry|}}}|system={{{system|}}}}}<noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage; interwiki links go to Wikidata, thank you! -->
</noinclude>
a3322d1bd47ac03df14fa2090855cff4fede9bc7
Module:Transclusion count
828
1497
3057
2023-05-30T20:51:38Z
Wikipedia>Isabelle Belato
0
Changed protection settings for "[[Module:Transclusion count]]": [[WP:High-risk templates|Highly visible template]]; requested at [[WP:RfPP]] ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
Scribunto
text/plain
local p = {}
function p.fetch(frame)
local template = nil
local return_value = nil
-- Use demo parameter if it exists, otherswise use current template name
local namespace = mw.title.getCurrentTitle().namespace
if frame.args["demo"] and frame.args["demo"] ~= "" then
template = mw.ustring.gsub(frame.args["demo"],"^[Tt]emplate:","")
elseif namespace == 10 then -- Template namespace
template = mw.title.getCurrentTitle().text
elseif namespace == 828 then -- Module namespace
template = (mw.site.namespaces[828].name .. ":" .. mw.title.getCurrentTitle().text)
end
-- If in template or module namespace, look up count in /data
if template ~= nil then
namespace = mw.title.new(template, "Template").namespace
if namespace == 10 or namespace == 828 then
template = mw.ustring.gsub(template, "/doc$", "") -- strip /doc from end
template = mw.ustring.gsub(template, "/sandbox$", "") -- strip /sandbox from end
local index = mw.ustring.sub(mw.title.new(template).text,1,1)
local status, data = pcall(function ()
return(mw.loadData('Module:Transclusion_count/data/' .. (mw.ustring.find(index, "%a") and index or "other")))
end)
if status then
return_value = tonumber(data[mw.ustring.gsub(template, " ", "_")])
end
end
end
-- If database value doesn't exist, use value passed to template
if return_value == nil and frame.args[1] ~= nil then
local arg1=mw.ustring.match(frame.args[1], '[%d,]+')
if arg1 and arg1 ~= '' then
return_value = tonumber(frame:callParserFunction('formatnum', arg1, 'R'))
end
end
return return_value
end
-- Tabulate this data for [[Wikipedia:Database reports/Templates transcluded on the most pages]]
function p.tabulate(frame)
local list = {}
for i = 65, 91 do
local data = mw.loadData('Module:Transclusion count/data/' .. ((i == 91) and 'other' or string.char(i)))
for name, count in pairs(data) do
table.insert(list, {mw.title.new(name, "Template").fullText, count})
end
end
table.sort(list, function(a, b)
return (a[2] == b[2]) and (a[1] < b[1]) or (a[2] > b[2])
end)
local lang = mw.getContentLanguage();
for i = 1, #list do
list[i] = ('|-\n| %d || [[%s]] || %s\n'):format(i, list[i][1]:gsub('_', ' '), lang:formatNum(list[i][2]))
end
return table.concat(list)
end
return p
000ef6bcbf7b66e727870b0c300c4009da300513
Module:Parameter names example
828
1542
3156
2023-07-10T09:41:44Z
Wikipedia>Gonnym
0
if these are wanted, they should be handled differently (by passing a parameter to this module) as these cause pages to appear as unknown parameters for templates that don't use them
Scribunto
text/plain
-- This module implements {{parameter names example}}.
local p = {}
local function makeParam(s)
local lb = '{'
local rb = '}'
return lb:rep(3) .. s .. rb:rep(3)
end
local function italicize(s)
return "''" .. s .. "''"
end
local function plain(s)
return s
end
function p._main(args, frame)
-- Find how we want to format the arguments to the template.
local formatFunc
if args._display == 'italics' or args._display == 'italic' then
formatFunc = italicize
elseif args._display == 'plain' then
formatFunc = plain
else
formatFunc = makeParam
end
-- Build the table of template arguments.
local targs = {}
for k, v in pairs(args) do
if type(k) == 'number' then
targs[v] = formatFunc(v)
elseif not k:find('^_') then
targs[k] = v
end
end
--targs['nocat'] = 'yes';
--targs['categories'] = 'no';
--targs['demo'] = 'yes';
-- Find the template name.
local template
if args._template then
template = args._template
else
local currentTitle = mw.title.getCurrentTitle()
if currentTitle.prefixedText:find('/sandbox$') then
template = currentTitle.prefixedText
else
template = currentTitle.basePageTitle.prefixedText
end
end
-- Call the template with the arguments.
frame = frame or mw.getCurrentFrame()
local success, result = pcall(
frame.expandTemplate,
frame,
{title = template, args = targs}
)
if success then
return result
else
return ''
end
end
function p.main(frame)
local args = require('Module:Arguments').getArgs(frame, {
wrappers = 'Template:Parameter names example'
})
return p._main(args, frame)
end
return p
fdf94fb7a5dc1fabf118d60488a02f1e65b0df24
Template:Country data United Kingdom
10
1474
3011
2023-07-15T21:20:28Z
Wikipedia>Skjoldbro
0
navy link
wikitext
text/x-wiki
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = United Kingdom
| flag alias = Flag of the United Kingdom.svg
| flag alias-1707 = Naval ensign of Great Britain (1707–1800).svg
| flag alias-air force = Ensign of the Royal Air Force.svg
| flag alias-army = Flag of the British Army.svg
| flag alias-civil = Civil Ensign of the United Kingdom.svg
| flag alias-civil-air = Civil Air Ensign of the United Kingdom.svg
| flag alias-coast guard = Flag of Her Majesty's Coastguard.svg
| flag alias-consulate = UK-Consular.svg
| flag alias-embassy = British Ambassador Ensign.svg
| flag alias-government = Government Ensign of the United Kingdom.svg
| flag alias-marines = Flag of the Royal Marines.svg
| flag alias-military = Flag of the United Kingdom (3-5).svg
| flag alias-naval = Naval Ensign of the United Kingdom.svg
| flag alias-GS = Government Service Ensign.svg
| flag alias-merchant = Civil Ensign of the United Kingdom.svg
| flag alias-RFA = British-Royal-Fleet-Auxiliary-Ensign.svg
| flag alias-RMAS = British Royal Maritime Auxiliary Ensign.svg
| flag alias-RNLI = Flag of the Royal National Lifeboat Institution.svg
| flag alias-naval-1707 = Naval ensign of Great Britain (1707–1800).svg
| flag alias-naval-GS = Government Service Ensign.svg
| flag alias-naval-merchant = Civil Ensign of the United Kingdom.svg
| flag alias-naval-RFA = British-Royal-Fleet-Auxiliary-Ensign.svg
| flag alias-naval-RMAS = British Royal Maritime Auxiliary Ensign.svg
| flag alias-naval-RNLI = Flag of the Royal National Lifeboat Institution.svg
| flag alias-navy = Naval Ensign of the United Kingdom.svg
| link alias-air force = Royal Air Force
| link alias-army = British Army
| link alias-coast guard = His Majesty's Coastguard
| link alias-marines = Royal Marines
| link alias-military = British Armed Forces
| link alias-navy = Royal Navy
| link alias-naval = {{#switch:{{{variant|}}}
| merchant = Merchant Navy (United Kingdom){{!}}Merchant Navy
| reserve = Royal Naval Reserve
| RFA = Royal Fleet Auxiliary
| RMAS = Royal Maritime Auxiliary Service
| RNLI = Royal National Lifeboat Institution
| naval-merchant = Merchant Navy (United Kingdom){{!}}Merchant Navy
| naval-reserve = Royal Naval Reserve
| naval-RFA = Royal Fleet Auxiliary
| naval-RMAS = Royal Maritime Auxiliary Service
| naval-RNLI = Royal National Lifeboat Institution
| #default = Royal Navy
}}
| size = {{{size|}}}
| name = {{#ifeq:{{{name|}}}|Britain|United Kingdom|{{{name|}}}}}
| altlink = {{{altlink|}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = civil
| var2 = government
| var3 = 1707
| var4 = civil-air
| var5 = embassy
| var6 = consulate
| var7 = GS
| var8 = merchant
| var9 = RFA
| var10 = RMAS
| var11 = RNLI
| var12 = naval-1707
| var13 = naval-GS
| var14 = naval-merchant
| var15 = naval-RFA
| var16 = naval-RMAS
| var17 = naval-RNLI
| redir1 = UK
| redir2 = U.K.
| redir3 = the United Kingdom
| related1 = Great Britain
| related2 = London
| related3 = Kingdom of Great Britain
| related4 = British Empire
| related5 = United Kingdom of Great Britain and Ireland
| related6 = Kingdom of England
| related7 = Kingdom of Scotland
</noinclude>
}}
f35f7e64c499db65b9894d7fb917c4c07d791aa4
Module:Message box
828
1418
2899
2023-09-02T22:54:30Z
Wikipedia>Anomie
0
[[:File:Cscr-featured.svg]] needs a link to the description page for license and attribution. Add the ability for the configuration to specify a flag to accomplish this.
Scribunto
text/plain
require('strict')
local getArgs
local yesno = require('Module:Yesno')
local lang = mw.language.getContentLanguage()
local CONFIG_MODULE = 'Module:Message box/configuration'
local DEMOSPACES = {talk = 'tmbox', image = 'imbox', file = 'imbox', category = 'cmbox', article = 'ambox', main = 'ambox'}
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function getTitleObject(...)
-- Get the title object, passing the function through pcall
-- in case we are over the expensive function count limit.
local success, title = pcall(mw.title.new, ...)
if success then
return title
end
end
local function union(t1, t2)
-- Returns the union of two arrays.
local vals = {}
for i, v in ipairs(t1) do
vals[v] = true
end
for i, v in ipairs(t2) do
vals[v] = true
end
local ret = {}
for k in pairs(vals) do
table.insert(ret, k)
end
table.sort(ret)
return ret
end
local function getArgNums(args, prefix)
local nums = {}
for k, v in pairs(args) do
local num = mw.ustring.match(tostring(k), '^' .. prefix .. '([1-9]%d*)$')
if num then
table.insert(nums, tonumber(num))
end
end
table.sort(nums)
return nums
end
--------------------------------------------------------------------------------
-- Box class definition
--------------------------------------------------------------------------------
local MessageBox = {}
MessageBox.__index = MessageBox
function MessageBox.new(boxType, args, cfg)
args = args or {}
local obj = {}
-- Set the title object and the namespace.
obj.title = getTitleObject(args.page) or mw.title.getCurrentTitle()
-- Set the config for our box type.
obj.cfg = cfg[boxType]
if not obj.cfg then
local ns = obj.title.namespace
-- boxType is "mbox" or invalid input
if args.demospace and args.demospace ~= '' then
-- implement demospace parameter of mbox
local demospace = string.lower(args.demospace)
if DEMOSPACES[demospace] then
-- use template from DEMOSPACES
obj.cfg = cfg[DEMOSPACES[demospace]]
elseif string.find( demospace, 'talk' ) then
-- demo as a talk page
obj.cfg = cfg.tmbox
else
-- default to ombox
obj.cfg = cfg.ombox
end
elseif ns == 0 then
obj.cfg = cfg.ambox -- main namespace
elseif ns == 6 then
obj.cfg = cfg.imbox -- file namespace
elseif ns == 14 then
obj.cfg = cfg.cmbox -- category namespace
else
local nsTable = mw.site.namespaces[ns]
if nsTable and nsTable.isTalk then
obj.cfg = cfg.tmbox -- any talk namespace
else
obj.cfg = cfg.ombox -- other namespaces or invalid input
end
end
end
-- Set the arguments, and remove all blank arguments except for the ones
-- listed in cfg.allowBlankParams.
do
local newArgs = {}
for k, v in pairs(args) do
if v ~= '' then
newArgs[k] = v
end
end
for i, param in ipairs(obj.cfg.allowBlankParams or {}) do
newArgs[param] = args[param]
end
obj.args = newArgs
end
-- Define internal data structure.
obj.categories = {}
obj.classes = {}
-- For lazy loading of [[Module:Category handler]].
obj.hasCategories = false
return setmetatable(obj, MessageBox)
end
function MessageBox:addCat(ns, cat, sort)
if not cat then
return nil
end
if sort then
cat = string.format('[[Category:%s|%s]]', cat, sort)
else
cat = string.format('[[Category:%s]]', cat)
end
self.hasCategories = true
self.categories[ns] = self.categories[ns] or {}
table.insert(self.categories[ns], cat)
end
function MessageBox:addClass(class)
if not class then
return nil
end
table.insert(self.classes, class)
end
function MessageBox:setParameters()
local args = self.args
local cfg = self.cfg
-- Get type data.
self.type = args.type
local typeData = cfg.types[self.type]
self.invalidTypeError = cfg.showInvalidTypeError
and self.type
and not typeData
typeData = typeData or cfg.types[cfg.default]
self.typeClass = typeData.class
self.typeImage = typeData.image
self.typeImageNeedsLink = typeData.imageNeedsLink
-- Find if the box has been wrongly substituted.
self.isSubstituted = cfg.substCheck and args.subst == 'SUBST'
-- Find whether we are using a small message box.
self.isSmall = cfg.allowSmall and (
cfg.smallParam and args.small == cfg.smallParam
or not cfg.smallParam and yesno(args.small)
)
-- Add attributes, classes and styles.
self.id = args.id
self.name = args.name
if self.name then
self:addClass('box-' .. string.gsub(self.name,' ','_'))
end
if yesno(args.plainlinks) ~= false then
self:addClass('plainlinks')
end
for _, class in ipairs(cfg.classes or {}) do
self:addClass(class)
end
if self.isSmall then
self:addClass(cfg.smallClass or 'mbox-small')
end
self:addClass(self.typeClass)
self:addClass(args.class)
self.style = args.style
self.attrs = args.attrs
-- Set text style.
self.textstyle = args.textstyle
-- Find if we are on the template page or not. This functionality is only
-- used if useCollapsibleTextFields is set, or if both cfg.templateCategory
-- and cfg.templateCategoryRequireName are set.
self.useCollapsibleTextFields = cfg.useCollapsibleTextFields
if self.useCollapsibleTextFields
or cfg.templateCategory
and cfg.templateCategoryRequireName
then
if self.name then
local templateName = mw.ustring.match(
self.name,
'^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$'
) or self.name
templateName = 'Template:' .. templateName
self.templateTitle = getTitleObject(templateName)
end
self.isTemplatePage = self.templateTitle
and mw.title.equals(self.title, self.templateTitle)
end
-- Process data for collapsible text fields. At the moment these are only
-- used in {{ambox}}.
if self.useCollapsibleTextFields then
-- Get the self.issue value.
if self.isSmall and args.smalltext then
self.issue = args.smalltext
else
local sect
if args.sect == '' then
sect = 'This ' .. (cfg.sectionDefault or 'page')
elseif type(args.sect) == 'string' then
sect = 'This ' .. args.sect
end
local issue = args.issue
issue = type(issue) == 'string' and issue ~= '' and issue or nil
local text = args.text
text = type(text) == 'string' and text or nil
local issues = {}
table.insert(issues, sect)
table.insert(issues, issue)
table.insert(issues, text)
self.issue = table.concat(issues, ' ')
end
-- Get the self.talk value.
local talk = args.talk
-- Show talk links on the template page or template subpages if the talk
-- parameter is blank.
if talk == ''
and self.templateTitle
and (
mw.title.equals(self.templateTitle, self.title)
or self.title:isSubpageOf(self.templateTitle)
)
then
talk = '#'
elseif talk == '' then
talk = nil
end
if talk then
-- If the talk value is a talk page, make a link to that page. Else
-- assume that it's a section heading, and make a link to the talk
-- page of the current page with that section heading.
local talkTitle = getTitleObject(talk)
local talkArgIsTalkPage = true
if not talkTitle or not talkTitle.isTalkPage then
talkArgIsTalkPage = false
talkTitle = getTitleObject(
self.title.text,
mw.site.namespaces[self.title.namespace].talk.id
)
end
if talkTitle and talkTitle.exists then
local talkText
if self.isSmall then
local talkLink = talkArgIsTalkPage and talk or (talkTitle.prefixedText .. '#' .. talk)
talkText = string.format('([[%s|talk]])', talkLink)
else
talkText = 'Relevant discussion may be found on'
if talkArgIsTalkPage then
talkText = string.format(
'%s [[%s|%s]].',
talkText,
talk,
talkTitle.prefixedText
)
else
talkText = string.format(
'%s the [[%s#%s|talk page]].',
talkText,
talkTitle.prefixedText,
talk
)
end
end
self.talk = talkText
end
end
-- Get other values.
self.fix = args.fix ~= '' and args.fix or nil
local date
if args.date and args.date ~= '' then
date = args.date
elseif args.date == '' and self.isTemplatePage then
date = lang:formatDate('F Y')
end
if date then
self.date = string.format(" <span class='date-container'><i>(<span class='date'>%s</span>)</i></span>", date)
end
self.info = args.info
if yesno(args.removalnotice) then
self.removalNotice = cfg.removalNotice
end
end
-- Set the non-collapsible text field. At the moment this is used by all box
-- types other than ambox, and also by ambox when small=yes.
if self.isSmall then
self.text = args.smalltext or args.text
else
self.text = args.text
end
-- Set the below row.
self.below = cfg.below and args.below
-- General image settings.
self.imageCellDiv = not self.isSmall and cfg.imageCellDiv
self.imageEmptyCell = cfg.imageEmptyCell
-- Left image settings.
local imageLeft = self.isSmall and args.smallimage or args.image
if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none'
or not cfg.imageCheckBlank and imageLeft ~= 'none'
then
self.imageLeft = imageLeft
if not imageLeft then
local imageSize = self.isSmall
and (cfg.imageSmallSize or '30x30px')
or '40x40px'
self.imageLeft = string.format('[[File:%s|%s%s|alt=]]', self.typeImage
or 'Information icon4.svg', imageSize, self.typeImageNeedsLink and "" or "|link=" )
end
end
-- Right image settings.
local imageRight = self.isSmall and args.smallimageright or args.imageright
if not (cfg.imageRightNone and imageRight == 'none') then
self.imageRight = imageRight
end
-- set templatestyles
self.base_templatestyles = cfg.templatestyles
self.templatestyles = args.templatestyles
end
function MessageBox:setMainspaceCategories()
local args = self.args
local cfg = self.cfg
if not cfg.allowMainspaceCategories then
return nil
end
local nums = {}
for _, prefix in ipairs{'cat', 'category', 'all'} do
args[prefix .. '1'] = args[prefix]
nums = union(nums, getArgNums(args, prefix))
end
-- The following is roughly equivalent to the old {{Ambox/category}}.
local date = args.date
date = type(date) == 'string' and date
local preposition = 'from'
for _, num in ipairs(nums) do
local mainCat = args['cat' .. tostring(num)]
or args['category' .. tostring(num)]
local allCat = args['all' .. tostring(num)]
mainCat = type(mainCat) == 'string' and mainCat
allCat = type(allCat) == 'string' and allCat
if mainCat and date and date ~= '' then
local catTitle = string.format('%s %s %s', mainCat, preposition, date)
self:addCat(0, catTitle)
catTitle = getTitleObject('Category:' .. catTitle)
if not catTitle or not catTitle.exists then
self:addCat(0, 'Articles with invalid date parameter in template')
end
elseif mainCat and (not date or date == '') then
self:addCat(0, mainCat)
end
if allCat then
self:addCat(0, allCat)
end
end
end
function MessageBox:setTemplateCategories()
local args = self.args
local cfg = self.cfg
-- Add template categories.
if cfg.templateCategory then
if cfg.templateCategoryRequireName then
if self.isTemplatePage then
self:addCat(10, cfg.templateCategory)
end
elseif not self.title.isSubpage then
self:addCat(10, cfg.templateCategory)
end
end
-- Add template error categories.
if cfg.templateErrorCategory then
local templateErrorCategory = cfg.templateErrorCategory
local templateCat, templateSort
if not self.name and not self.title.isSubpage then
templateCat = templateErrorCategory
elseif self.isTemplatePage then
local paramsToCheck = cfg.templateErrorParamsToCheck or {}
local count = 0
for i, param in ipairs(paramsToCheck) do
if not args[param] then
count = count + 1
end
end
if count > 0 then
templateCat = templateErrorCategory
templateSort = tostring(count)
end
if self.categoryNums and #self.categoryNums > 0 then
templateCat = templateErrorCategory
templateSort = 'C'
end
end
self:addCat(10, templateCat, templateSort)
end
end
function MessageBox:setAllNamespaceCategories()
-- Set categories for all namespaces.
if self.invalidTypeError then
local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)
end
if self.isSubstituted then
self:addCat('all', 'Pages with incorrectly substituted templates')
end
end
function MessageBox:setCategories()
if self.title.namespace == 0 then
self:setMainspaceCategories()
elseif self.title.namespace == 10 then
self:setTemplateCategories()
end
self:setAllNamespaceCategories()
end
function MessageBox:renderCategories()
if not self.hasCategories then
-- No categories added, no need to pass them to Category handler so,
-- if it was invoked, it would return the empty string.
-- So we shortcut and return the empty string.
return ""
end
-- Convert category tables to strings and pass them through
-- [[Module:Category handler]].
return require('Module:Category handler')._main{
main = table.concat(self.categories[0] or {}),
template = table.concat(self.categories[10] or {}),
all = table.concat(self.categories.all or {}),
nocat = self.args.nocat,
page = self.args.page
}
end
function MessageBox:export()
local root = mw.html.create()
-- Add the subst check error.
if self.isSubstituted and self.name then
root:tag('b')
:addClass('error')
:wikitext(string.format(
'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.',
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
end
local frame = mw.getCurrentFrame()
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.base_templatestyles },
})
-- Add support for a single custom templatestyles sheet. Undocumented as
-- need should be limited and many templates using mbox are substed; we
-- don't want to spread templatestyles sheets around to arbitrary places
if self.templatestyles then
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.templatestyles },
})
end
-- Create the box table.
local boxTable = root:tag('table')
boxTable:attr('id', self.id or nil)
for i, class in ipairs(self.classes or {}) do
boxTable:addClass(class or nil)
end
boxTable
:cssText(self.style or nil)
:attr('role', 'presentation')
if self.attrs then
boxTable:attr(self.attrs)
end
-- Add the left-hand image.
local row = boxTable:tag('tr')
if self.imageLeft then
local imageLeftCell = row:tag('td'):addClass('mbox-image')
if self.imageCellDiv then
-- If we are using a div, redefine imageLeftCell so that the image
-- is inside it. Divs use style="width: 52px;", which limits the
-- image width to 52px. If any images in a div are wider than that,
-- they may overlap with the text or cause other display problems.
imageLeftCell = imageLeftCell:tag('div'):addClass('mbox-image-div')
end
imageLeftCell:wikitext(self.imageLeft or nil)
elseif self.imageEmptyCell then
-- Some message boxes define an empty cell if no image is specified, and
-- some don't. The old template code in templates where empty cells are
-- specified gives the following hint: "No image. Cell with some width
-- or padding necessary for text cell to have 100% width."
row:tag('td')
:addClass('mbox-empty-cell')
end
-- Add the text.
local textCell = row:tag('td'):addClass('mbox-text')
if self.useCollapsibleTextFields then
-- The message box uses advanced text parameters that allow things to be
-- collapsible. At the moment, only ambox uses this.
textCell:cssText(self.textstyle or nil)
local textCellDiv = textCell:tag('div')
textCellDiv
:addClass('mbox-text-span')
:wikitext(self.issue or nil)
if (self.talk or self.fix) then
textCellDiv:tag('span')
:addClass('hide-when-compact')
:wikitext(self.talk and (' ' .. self.talk) or nil)
:wikitext(self.fix and (' ' .. self.fix) or nil)
end
textCellDiv:wikitext(self.date and (' ' .. self.date) or nil)
if self.info and not self.isSmall then
textCellDiv
:tag('span')
:addClass('hide-when-compact')
:wikitext(self.info and (' ' .. self.info) or nil)
end
if self.removalNotice then
textCellDiv:tag('span')
:addClass('hide-when-compact')
:tag('i')
:wikitext(string.format(" (%s)", self.removalNotice))
end
else
-- Default text formatting - anything goes.
textCell
:cssText(self.textstyle or nil)
:wikitext(self.text or nil)
end
-- Add the right-hand image.
if self.imageRight then
local imageRightCell = row:tag('td'):addClass('mbox-imageright')
if self.imageCellDiv then
-- If we are using a div, redefine imageRightCell so that the image
-- is inside it.
imageRightCell = imageRightCell:tag('div'):addClass('mbox-image-div')
end
imageRightCell
:wikitext(self.imageRight or nil)
end
-- Add the below row.
if self.below then
boxTable:tag('tr')
:tag('td')
:attr('colspan', self.imageRight and '3' or '2')
:addClass('mbox-text')
:cssText(self.textstyle or nil)
:wikitext(self.below or nil)
end
-- Add error message for invalid type parameters.
if self.invalidTypeError then
root:tag('div')
:addClass('mbox-invalid-type')
:wikitext(string.format(
'This message box is using an invalid "type=%s" parameter and needs fixing.',
self.type or ''
))
end
-- Add categories.
root:wikitext(self:renderCategories() or nil)
return tostring(root)
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p, mt = {}, {}
function p._exportClasses()
-- For testing.
return {
MessageBox = MessageBox
}
end
function p.main(boxType, args, cfgTables)
local box = MessageBox.new(boxType, args, cfgTables or mw.loadData(CONFIG_MODULE))
box:setParameters()
box:setCategories()
return box:export()
end
function mt.__index(t, k)
return function (frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))
end
end
return setmetatable(p, mt)
f2fb84f7b817d2d88747f57c40902a0d8be8158a
Template:Organization infoboxes
10
1545
3162
2023-09-27T23:17:19Z
Wikipedia>Jonesey95
0
fix redirect
wikitext
text/x-wiki
{{Navbox
| name = Organization infoboxes
| state = {{{state<includeonly>|expanded</includeonly>}}}
| bodyclass = hlist
| title = [[Wikipedia:Template index|Wikipedia templates]]: [[organization]] [[Template:Infobox|infoboxes]]
| above = [[Wikipedia:Manual of Style/Infoboxes]]
| group1 = General
| list1 =
* {{Tl|Infobox organization}}
* {{Tl|Infobox official post}}
* {{tl|Infobox criminal organization}}
* {{tl|Infobox fictional organisation}}
| group2 = {{longitem|Government<br/>and politics}}
| list2 =
* {{Tl|Infobox government}}
* {{Tl|Infobox government agency}}
* {{Tl|Infobox legislature}}
* {{Tl|Infobox political party}}
* {{Tl|Infobox court}}
* {{Tl|Infobox detention facility}}
* {{tl|Infobox fire department}}
* {{Tl|Infobox law enforcement agency}}
* {{Tl|Infobox space agency}}
| group3 = Military
| list3 =
* {{Tl|Infobox national military}}
* {{Tl|Infobox military unit}}
* {{tl|Infobox military rank}}
* {{Tl|Infobox military gear}}
| group4 = Religion
| list4 =
* {{Tl|Infobox religious group}}
* {{Tl|Infobox religion}}
* {{Tl|Infobox diocese}}
* {{Tl|Infobox church}}
* {{Tl|Infobox monastery}}
| group5 = People
| list5 =
* {{Tl|Infobox ethnic group}}
* {{Tl|Infobox caste}}
* {{Tl|Infobox clan}}
* {{Tl|Infobox family}}
* {{Tl|Infobox iwi}}
* {{Tl|Infobox hereditary title}}
* {{Tl|Infobox monarchy}}
* {{Tl|Infobox officeholder}}
* {{Tl|Infobox tribe}}
| group6 = {{longitem|Typically<br/>non-profit}}
| list6 =
* {{tl|Infobox hospital}}
* {{Tl|Infobox institute}}
* {{Tl|Infobox laboratory}}{{smallsup|1}}
* {{tl|Infobox museum}}
* {{Tl|Infobox observatory}}
* {{Tl|Infobox school}}
* {{tl|Infobox school district}}
* {{Tl|Infobox university}}{{smallsup|2}}
| group7 = Publications
| list7 =
* {{Tl|Infobox journal}}
* {{Tl|Infobox magazine}}
* {{Tl|Infobox newspaper}}
* {{Tl|Infobox publisher}}
| group8 = Business
| list8 =
* {{Tl|Infobox company}}
* {{tl|Infobox brewery}}
* {{Tl|Infobox law firm}}
* {{tl|Infobox restaurant}}
* {{tl|Infobox website}} – ''type of business or publication''
| group9 = Distinctions
| list9 =
* {{Tl|Infobox order}}
* {{Tl|Infobox fraternity}}
* {{Tl|Infobox Grand Lodge}}
| group10 = Subtemplates
| list10 =
* '''Coordinates''' {{Tl|coord}}
* '''Dates'''
** {{Tl|start date}}}—for {{para|established}}, {{para|founded}}, {{para|opened}} etc.
** {{Tl|end date}}}—for {{para|dissolved}}, {{para|defunct}}
* '''Lists'''
**{{tl|plainlist}}
** {{tl|flatlist}}
** {{tl|unbulleted list}}
* '''Non-English text''' {{Tl|lang}}
* '''Website'''
** {{tl|URL}}
** {{tl|Official URL}}
** {{tl|Official website}}
* '''Documentation'''
** {{Tl|mf-adr}}}—Address
** {{Tl|UF-hcard-org}}—[[Microformat]]/metadata
| below =
* {{smallsup|1}} or research institution
* {{smallsup|2}} or college
* [[:Category:Infobox templates|Category]]
* [[Help:Infobox|Help]]
* [[Wikipedia:List of infoboxes|List of infoboxes]]
}}<noinclude>{{documentation}}</noinclude>
8e81fe7179216c1823e098fa600be889f26cbeba
Template:Parameter names example
10
1543
3158
2023-10-08T00:30:05Z
Wikipedia>Shkuru Afshar
0
wikitext
text/x-wiki
<includeonly>{{#invoke:Parameter names example|main}}</includeonly><noinclude>
{{documentation}}<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
</noinclude>
256a11b9ae7ac7e492b3d9de86ade1ffa96bffd1
Module:Navbar
828
1446
2955
2023-10-10T22:34:57Z
Wikipedia>Pppery
0
Per edit request on talk
Scribunto
text/plain
local p = {}
local cfg = mw.loadData('Module:Navbar/configuration')
local function get_title_arg(is_collapsible, template)
local title_arg = 1
if is_collapsible then title_arg = 2 end
if template then title_arg = 'template' end
return title_arg
end
local function choose_links(template, args)
-- The show table indicates the default displayed items.
-- view, talk, edit, hist, move, watch
-- TODO: Move to configuration.
local show = {true, true, true, false, false, false}
if template then
show[2] = false
show[3] = false
local index = {t = 2, d = 2, e = 3, h = 4, m = 5, w = 6,
talk = 2, edit = 3, hist = 4, move = 5, watch = 6}
-- TODO: Consider removing TableTools dependency.
for _, v in ipairs(require ('Module:TableTools').compressSparseArray(args)) do
local num = index[v]
if num then show[num] = true end
end
end
local remove_edit_link = args.noedit
if remove_edit_link then show[3] = false end
return show
end
local function add_link(link_description, ul, is_mini, font_style)
local l
if link_description.url then
l = {'[', '', ']'}
else
l = {'[[', '|', ']]'}
end
ul:tag('li')
:addClass('nv-' .. link_description.full)
:wikitext(l[1] .. link_description.link .. l[2])
:tag(is_mini and 'abbr' or 'span')
:attr('title', link_description.html_title)
:cssText(font_style)
:wikitext(is_mini and link_description.mini or link_description.full)
:done()
:wikitext(l[3])
:done()
end
local function make_list(title_text, has_brackets, displayed_links, is_mini, font_style)
local title = mw.title.new(mw.text.trim(title_text), cfg.title_namespace)
if not title then
error(cfg.invalid_title .. title_text)
end
local talkpage = title.talkPageTitle and title.talkPageTitle.fullText or ''
-- TODO: Get link_descriptions and show into the configuration module.
-- link_descriptions should be easier...
local link_descriptions = {
{ ['mini'] = 'v', ['full'] = 'view', ['html_title'] = 'View this template',
['link'] = title.fullText, ['url'] = false },
{ ['mini'] = 't', ['full'] = 'talk', ['html_title'] = 'Discuss this template',
['link'] = talkpage, ['url'] = false },
{ ['mini'] = 'e', ['full'] = 'edit', ['html_title'] = 'Edit this template',
['link'] = 'Special:EditPage/' .. title.fullText, ['url'] = false },
{ ['mini'] = 'h', ['full'] = 'hist', ['html_title'] = 'History of this template',
['link'] = 'Special:PageHistory/' .. title.fullText, ['url'] = false },
{ ['mini'] = 'm', ['full'] = 'move', ['html_title'] = 'Move this template',
['link'] = mw.title.new('Special:Movepage'):fullUrl('target='..title.fullText), ['url'] = true },
{ ['mini'] = 'w', ['full'] = 'watch', ['html_title'] = 'Watch this template',
['link'] = title:fullUrl('action=watch'), ['url'] = true }
}
local ul = mw.html.create('ul')
if has_brackets then
ul:addClass(cfg.classes.brackets)
:cssText(font_style)
end
for i, _ in ipairs(displayed_links) do
if displayed_links[i] then add_link(link_descriptions[i], ul, is_mini, font_style) end
end
return ul:done()
end
function p._navbar(args)
-- TODO: We probably don't need both fontstyle and fontcolor...
local font_style = args.fontstyle
local font_color = args.fontcolor
local is_collapsible = args.collapsible
local is_mini = args.mini
local is_plain = args.plain
local collapsible_class = nil
if is_collapsible then
collapsible_class = cfg.classes.collapsible
if not is_plain then is_mini = 1 end
if font_color then
font_style = (font_style or '') .. '; color: ' .. font_color .. ';'
end
end
local navbar_style = args.style
local div = mw.html.create():tag('div')
div
:addClass(cfg.classes.navbar)
:addClass(cfg.classes.plainlinks)
:addClass(cfg.classes.horizontal_list)
:addClass(collapsible_class) -- we made the determination earlier
:cssText(navbar_style)
if is_mini then div:addClass(cfg.classes.mini) end
local box_text = (args.text or cfg.box_text) .. ' '
-- the concatenated space guarantees the box text is separated
if not (is_mini or is_plain) then
div
:tag('span')
:addClass(cfg.classes.box_text)
:cssText(font_style)
:wikitext(box_text)
end
local template = args.template
local displayed_links = choose_links(template, args)
local has_brackets = args.brackets
local title_arg = get_title_arg(is_collapsible, template)
local title_text = args[title_arg] or (':' .. mw.getCurrentFrame():getParent():getTitle())
local list = make_list(title_text, has_brackets, displayed_links, is_mini, font_style)
div:node(list)
if is_collapsible then
local title_text_class
if is_mini then
title_text_class = cfg.classes.collapsible_title_mini
else
title_text_class = cfg.classes.collapsible_title_full
end
div:done()
:tag('div')
:addClass(title_text_class)
:cssText(font_style)
:wikitext(args[1])
end
local frame = mw.getCurrentFrame()
-- hlist -> navbar is best-effort to preserve old Common.css ordering.
return frame:extensionTag{
name = 'templatestyles', args = { src = cfg.hlist_templatestyles }
} .. frame:extensionTag{
name = 'templatestyles', args = { src = cfg.templatestyles }
} .. tostring(div:done())
end
function p.navbar(frame)
return p._navbar(require('Module:Arguments').getArgs(frame))
end
return p
047f307758c878eb3e99ed1768cc40920a6ec5fa
Template:Auto short description
10
1546
3164
2023-10-19T09:56:18Z
Wikipedia>GhostInTheMachine
0
tests OK, sync from sandbox
wikitext
text/x-wiki
{{Ombox
| type = notice
| text = This template {{#if:{{{sometimes|}}}|sometimes{{sp}}}}adds an automatically generated '''[[Wikipedia:Short description|short description]]'''{{#if:{{{category|}}}|{{sp}}({{{category}}})|}}{{#if:{{{indirect|}}}|{{sp}}via an embedded template}}{{#if:{{{conditions|}}}|{{space}}{{{conditions}}}}}. If the automatic short description is not optimal, replace it by adding {{tl|Short description}} at the top of the article.
}}<includeonly>{{Subpage other|<!-- do not categorise -->|[[Category:Templates that generate short descriptions{{#if:{{{category|}}}|{{sp}}for {{{category}}}|}}]]}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
e05ca99e1d986f5fcc83593ae854151d2a7dcea0
Template:Country data Bolivia
10
1478
3019
2023-10-20T02:36:25Z
Wikipedia>Paine Ellsworth
0
per edit request on talk page - update football flag
wikitext
text/x-wiki
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = Bolivia
| flag alias = Bandera de Bolivia (Estado).svg
| flag alias-state = Bandera de Bolivia (Estado).svg
| flag alias-football = Flag of Bolivia.svg
| flag alias-spain = Flag of Cross of Burgundy.svg
| flag alias-1825 = State flag of Bolivia (1825-1826).svg
| flag alias-1825a = Civil flag of Bolivia (1825-1826).svg
| flag alias-1831 = Flag of Bolivia (state, 1826-1851).svg
| flag alias-1831a = Flag of Bolivia (1826-1851).svg
| flag alias-confederation = Flag of the Peru-Bolivian Confederation.svg
| flag alias-wiphala = Banner of the Qulla Suyu.svg
| flag alias-patuju =
| flag alias-army=Flag of Bolivia (military).svg
| link alias-army=Bolivian Army
| flag alias-air force=Flag of Bolivia (military).svg
| link alias-air force=Bolivian Air Force
| flag alias-naval = Naval Ensign of Bolivia.svg
| link alias-naval = Bolivian Naval Force
| flag alias-naval old = Naval Ensign of Bolivia (1966-2013).svg
| flag alias-naval jack = Naval Jack of Bolivia.svg
| flag alias-military = Flag of Bolivia (military).svg
| link alias-military = Bolivian Armed Forces
| flag alias-navy = Naval Ensign of Bolivia.svg
| link alias-navy = Bolivian Naval Force
| flag alias-civil = Flag of Bolivia.svg
| size = {{{size|}}}
| name = {{{name|}}}
| altvar = {{{altvar|}}}
| altlink = {{{altlink|}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = state
| var2 = football
| var3 = spain
| var4 = 1825
| var5 = 1825a
| var6 = 1831
| var7 = 1831a
| var8 = confederation
| var9 = wiphala
| var10 = patuju
| var11 = naval old
| var12 = naval jack
| var13 = civil
| redir1 = BOL
</noinclude>
}}
fc39b1f8371694f21ce6a216dd3737657a3ebd07
Module:String
828
1425
2913
2023-10-25T18:17:50Z
Wikipedia>Trappist the monk
0
Scribunto
text/plain
--[[
This module is intended to provide access to basic string functions.
Most of the functions provided here can be invoked with named parameters,
unnamed parameters, or a mixture. If named parameters are used, Mediawiki will
automatically remove any leading or trailing whitespace from the parameter.
Depending on the intended use, it may be advantageous to either preserve or
remove such whitespace.
Global options
ignore_errors: If set to 'true' or 1, any error condition will result in
an empty string being returned rather than an error message.
error_category: If an error occurs, specifies the name of a category to
include with the error message. The default category is
[Category:Errors reported by Module String].
no_category: If set to 'true' or 1, no category will be added if an error
is generated.
Unit tests for this module are available at Module:String/tests.
]]
local str = {}
--[[
len
This function returns the length of the target string.
Usage:
{{#invoke:String|len|target_string|}}
OR
{{#invoke:String|len|s=target_string}}
Parameters
s: The string whose length to report
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string.
]]
function str.len( frame )
local new_args = str._getParameters( frame.args, {'s'} )
local s = new_args['s'] or ''
return mw.ustring.len( s )
end
--[[
sub
This function returns a substring of the target string at specified indices.
Usage:
{{#invoke:String|sub|target_string|start_index|end_index}}
OR
{{#invoke:String|sub|s=target_string|i=start_index|j=end_index}}
Parameters
s: The string to return a subset of
i: The first index of the substring to return, defaults to 1.
j: The last index of the string to return, defaults to the last character.
The first character of the string is assigned an index of 1. If either i or j
is a negative value, it is interpreted the same as selecting a character by
counting from the end of the string. Hence, a value of -1 is the same as
selecting the last character of the string.
If the requested indices are out of range for the given string, an error is
reported.
]]
function str.sub( frame )
local new_args = str._getParameters( frame.args, { 's', 'i', 'j' } )
local s = new_args['s'] or ''
local i = tonumber( new_args['i'] ) or 1
local j = tonumber( new_args['j'] ) or -1
local len = mw.ustring.len( s )
-- Convert negatives for range checking
if i < 0 then
i = len + i + 1
end
if j < 0 then
j = len + j + 1
end
if i > len or j > len or i < 1 or j < 1 then
return str._error( 'String subset index out of range' )
end
if j < i then
return str._error( 'String subset indices out of order' )
end
return mw.ustring.sub( s, i, j )
end
--[[
This function implements that features of {{str sub old}} and is kept in order
to maintain these older templates.
]]
function str.sublength( frame )
local i = tonumber( frame.args.i ) or 0
local len = tonumber( frame.args.len )
return mw.ustring.sub( frame.args.s, i + 1, len and ( i + len ) )
end
--[[
_match
This function returns a substring from the source string that matches a
specified pattern. It is exported for use in other modules
Usage:
strmatch = require("Module:String")._match
sresult = strmatch( s, pattern, start, match, plain, nomatch )
Parameters
s: The string to search
pattern: The pattern or string to find within the string
start: The index within the source string to start the search. The first
character of the string has index 1. Defaults to 1.
match: In some cases it may be possible to make multiple matches on a single
string. This specifies which match to return, where the first match is
match= 1. If a negative number is specified then a match is returned
counting from the last match. Hence match = -1 is the same as requesting
the last match. Defaults to 1.
plain: A flag indicating that the pattern should be understood as plain
text. Defaults to false.
nomatch: If no match is found, output the "nomatch" value rather than an error.
For information on constructing Lua patterns, a form of [regular expression], see:
* http://www.lua.org/manual/5.1/manual.html#5.4.1
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Ustring_patterns
]]
-- This sub-routine is exported for use in other modules
function str._match( s, pattern, start, match_index, plain_flag, nomatch )
if s == '' then
return str._error( 'Target string is empty' )
end
if pattern == '' then
return str._error( 'Pattern string is empty' )
end
start = tonumber(start) or 1
if math.abs(start) < 1 or math.abs(start) > mw.ustring.len( s ) then
return str._error( 'Requested start is out of range' )
end
if match_index == 0 then
return str._error( 'Match index is out of range' )
end
if plain_flag then
pattern = str._escapePattern( pattern )
end
local result
if match_index == 1 then
-- Find first match is simple case
result = mw.ustring.match( s, pattern, start )
else
if start > 1 then
s = mw.ustring.sub( s, start )
end
local iterator = mw.ustring.gmatch(s, pattern)
if match_index > 0 then
-- Forward search
for w in iterator do
match_index = match_index - 1
if match_index == 0 then
result = w
break
end
end
else
-- Reverse search
local result_table = {}
local count = 1
for w in iterator do
result_table[count] = w
count = count + 1
end
result = result_table[ count + match_index ]
end
end
if result == nil then
if nomatch == nil then
return str._error( 'Match not found' )
else
return nomatch
end
else
return result
end
end
--[[
match
This function returns a substring from the source string that matches a
specified pattern.
Usage:
{{#invoke:String|match|source_string|pattern_string|start_index|match_number|plain_flag|nomatch_output}}
OR
{{#invoke:String|match|s=source_string|pattern=pattern_string|start=start_index
|match=match_number|plain=plain_flag|nomatch=nomatch_output}}
Parameters
s: The string to search
pattern: The pattern or string to find within the string
start: The index within the source string to start the search. The first
character of the string has index 1. Defaults to 1.
match: In some cases it may be possible to make multiple matches on a single
string. This specifies which match to return, where the first match is
match= 1. If a negative number is specified then a match is returned
counting from the last match. Hence match = -1 is the same as requesting
the last match. Defaults to 1.
plain: A flag indicating that the pattern should be understood as plain
text. Defaults to false.
nomatch: If no match is found, output the "nomatch" value rather than an error.
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from each string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
If the match_number or start_index are out of range for the string being queried, then
this function generates an error. An error is also generated if no match is found.
If one adds the parameter ignore_errors=true, then the error will be suppressed and
an empty string will be returned on any failure.
For information on constructing Lua patterns, a form of [regular expression], see:
* http://www.lua.org/manual/5.1/manual.html#5.4.1
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Ustring_patterns
]]
-- This is the entry point for #invoke:String|match
function str.match( frame )
local new_args = str._getParameters( frame.args, {'s', 'pattern', 'start', 'match', 'plain', 'nomatch'} )
local s = new_args['s'] or ''
local start = tonumber( new_args['start'] ) or 1
local plain_flag = str._getBoolean( new_args['plain'] or false )
local pattern = new_args['pattern'] or ''
local match_index = math.floor( tonumber(new_args['match']) or 1 )
local nomatch = new_args['nomatch']
return str._match( s, pattern, start, match_index, plain_flag, nomatch )
end
--[[
pos
This function returns a single character from the target string at position pos.
Usage:
{{#invoke:String|pos|target_string|index_value}}
OR
{{#invoke:String|pos|target=target_string|pos=index_value}}
Parameters
target: The string to search
pos: The index for the character to return
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
The first character has an index value of 1.
If one requests a negative value, this function will select a character by counting backwards
from the end of the string. In other words pos = -1 is the same as asking for the last character.
A requested value of zero, or a value greater than the length of the string returns an error.
]]
function str.pos( frame )
local new_args = str._getParameters( frame.args, {'target', 'pos'} )
local target_str = new_args['target'] or ''
local pos = tonumber( new_args['pos'] ) or 0
if pos == 0 or math.abs(pos) > mw.ustring.len( target_str ) then
return str._error( 'String index out of range' )
end
return mw.ustring.sub( target_str, pos, pos )
end
--[[
str_find
This function duplicates the behavior of {{str_find}}, including all of its quirks.
This is provided in order to support existing templates, but is NOT RECOMMENDED for
new code and templates. New code is recommended to use the "find" function instead.
Returns the first index in "source" that is a match to "target". Indexing is 1-based,
and the function returns -1 if the "target" string is not present in "source".
Important Note: If the "target" string is empty / missing, this function returns a
value of "1", which is generally unexpected behavior, and must be accounted for
separatetly.
]]
function str.str_find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target'} )
local source_str = new_args['source'] or ''
local target_str = new_args['target'] or ''
if target_str == '' then
return 1
end
local start = mw.ustring.find( source_str, target_str, 1, true )
if start == nil then
start = -1
end
return start
end
--[[
find
This function allows one to search for a target string or pattern within another
string.
Usage:
{{#invoke:String|find|source_str|target_string|start_index|plain_flag}}
OR
{{#invoke:String|find|source=source_str|target=target_str|start=start_index|plain=plain_flag}}
Parameters
source: The string to search
target: The string or pattern to find within source
start: The index within the source string to start the search, defaults to 1
plain: Boolean flag indicating that target should be understood as plain
text and not as a Lua style regular expression, defaults to true
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the parameter. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
This function returns the first index >= "start" where "target" can be found
within "source". Indices are 1-based. If "target" is not found, then this
function returns 0. If either "source" or "target" are missing / empty, this
function also returns 0.
This function should be safe for UTF-8 strings.
]]
function str.find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target', 'start', 'plain' } )
local source_str = new_args['source'] or ''
local pattern = new_args['target'] or ''
local start_pos = tonumber(new_args['start']) or 1
local plain = new_args['plain'] or true
if source_str == '' or pattern == '' then
return 0
end
plain = str._getBoolean( plain )
local start = mw.ustring.find( source_str, pattern, start_pos, plain )
if start == nil then
start = 0
end
return start
end
--[[
replace
This function allows one to replace a target string or pattern within another
string.
Usage:
{{#invoke:String|replace|source_str|pattern_string|replace_string|replacement_count|plain_flag}}
OR
{{#invoke:String|replace|source=source_string|pattern=pattern_string|replace=replace_string|
count=replacement_count|plain=plain_flag}}
Parameters
source: The string to search
pattern: The string or pattern to find within source
replace: The replacement text
count: The number of occurences to replace, defaults to all.
plain: Boolean flag indicating that pattern should be understood as plain
text and not as a Lua style regular expression, defaults to true
]]
function str.replace( frame )
local new_args = str._getParameters( frame.args, {'source', 'pattern', 'replace', 'count', 'plain' } )
local source_str = new_args['source'] or ''
local pattern = new_args['pattern'] or ''
local replace = new_args['replace'] or ''
local count = tonumber( new_args['count'] )
local plain = new_args['plain'] or true
if source_str == '' or pattern == '' then
return source_str
end
plain = str._getBoolean( plain )
if plain then
pattern = str._escapePattern( pattern )
replace = mw.ustring.gsub( replace, "%%", "%%%%" ) --Only need to escape replacement sequences.
end
local result
if count ~= nil then
result = mw.ustring.gsub( source_str, pattern, replace, count )
else
result = mw.ustring.gsub( source_str, pattern, replace )
end
return result
end
--[[
simple function to pipe string.rep to templates.
]]
function str.rep( frame )
local repetitions = tonumber( frame.args[2] )
if not repetitions then
return str._error( 'function rep expects a number as second parameter, received "' .. ( frame.args[2] or '' ) .. '"' )
end
return string.rep( frame.args[1] or '', repetitions )
end
--[[
escapePattern
This function escapes special characters from a Lua string pattern. See [1]
for details on how patterns work.
[1] https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
Usage:
{{#invoke:String|escapePattern|pattern_string}}
Parameters
pattern_string: The pattern string to escape.
]]
function str.escapePattern( frame )
local pattern_str = frame.args[1]
if not pattern_str then
return str._error( 'No pattern string specified' )
end
local result = str._escapePattern( pattern_str )
return result
end
--[[
count
This function counts the number of occurrences of one string in another.
]]
function str.count(frame)
local args = str._getParameters(frame.args, {'source', 'pattern', 'plain'})
local source = args.source or ''
local pattern = args.pattern or ''
local plain = str._getBoolean(args.plain or true)
if plain then
pattern = str._escapePattern(pattern)
end
local _, count = mw.ustring.gsub(source, pattern, '')
return count
end
--[[
endswith
This function determines whether a string ends with another string.
]]
function str.endswith(frame)
local args = str._getParameters(frame.args, {'source', 'pattern'})
local source = args.source or ''
local pattern = args.pattern or ''
if pattern == '' then
-- All strings end with the empty string.
return "yes"
end
if mw.ustring.sub(source, -mw.ustring.len(pattern), -1) == pattern then
return "yes"
else
return ""
end
end
--[[
join
Join all non empty arguments together; the first argument is the separator.
Usage:
{{#invoke:String|join|sep|one|two|three}}
]]
function str.join(frame)
local args = {}
local sep
for _, v in ipairs( frame.args ) do
if sep then
if v ~= '' then
table.insert(args, v)
end
else
sep = v
end
end
return table.concat( args, sep or '' )
end
--[[
Helper function that populates the argument list given that user may need to use a mix of
named and unnamed parameters. This is relevant because named parameters are not
identical to unnamed parameters due to string trimming, and when dealing with strings
we sometimes want to either preserve or remove that whitespace depending on the application.
]]
function str._getParameters( frame_args, arg_list )
local new_args = {}
local index = 1
local value
for _, arg in ipairs( arg_list ) do
value = frame_args[arg]
if value == nil then
value = frame_args[index]
index = index + 1
end
new_args[arg] = value
end
return new_args
end
--[[
Helper function to handle error messages.
]]
function str._error( error_str )
local frame = mw.getCurrentFrame()
local error_category = frame.args.error_category or 'Errors reported by Module String'
local ignore_errors = frame.args.ignore_errors or false
local no_category = frame.args.no_category or false
if str._getBoolean(ignore_errors) then
return ''
end
local error_str = '<strong class="error">String Module Error: ' .. error_str .. '</strong>'
if error_category ~= '' and not str._getBoolean( no_category ) then
error_str = '[[Category:' .. error_category .. ']]' .. error_str
end
return error_str
end
--[[
Helper Function to interpret boolean strings
]]
function str._getBoolean( boolean_str )
local boolean_value
if type( boolean_str ) == 'string' then
boolean_str = boolean_str:lower()
if boolean_str == 'false' or boolean_str == 'no' or boolean_str == '0'
or boolean_str == '' then
boolean_value = false
else
boolean_value = true
end
elseif type( boolean_str ) == 'boolean' then
boolean_value = boolean_str
else
error( 'No boolean value found' )
end
return boolean_value
end
--[[
Helper function that escapes all pattern characters so that they will be treated
as plain text.
]]
function str._escapePattern( pattern_str )
return mw.ustring.gsub( pattern_str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1" )
end
return str
2ad0905c56ef4955950b75a8f00974fe82aed5e4
Module:Documentation/config
828
1482
3027
2023-10-28T01:25:16Z
Wikipedia>Pppery
0
Split [[Category:Templates sandboxes]] per CfD
Scribunto
text/plain
----------------------------------------------------------------------------------------------------
--
-- Configuration for Module:Documentation
--
-- Here you can set the values of the parameters and messages used in Module:Documentation to
-- localise it to your wiki and your language. Unless specified otherwise, values given here
-- should be string values.
----------------------------------------------------------------------------------------------------
local cfg = {} -- Do not edit this line.
----------------------------------------------------------------------------------------------------
-- Protection template configuration
----------------------------------------------------------------------------------------------------
-- cfg['protection-reason-edit']
-- The protection reason for edit-protected templates to pass to
-- [[Module:Protection banner]].
cfg['protection-reason-edit'] = 'template'
--[[
----------------------------------------------------------------------------------------------------
-- Sandbox notice configuration
--
-- On sandbox pages the module can display a template notifying users that the current page is a
-- sandbox, and the location of test cases pages, etc. The module decides whether the page is a
-- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the
-- messages that the notices contains.
----------------------------------------------------------------------------------------------------
--]]
-- cfg['sandbox-notice-image']
-- The image displayed in the sandbox notice.
cfg['sandbox-notice-image'] = '[[File:Sandbox.svg|50px|alt=|link=]]'
--[[
-- cfg['sandbox-notice-pagetype-template']
-- cfg['sandbox-notice-pagetype-module']
-- cfg['sandbox-notice-pagetype-other']
-- The page type of the sandbox page. The message that is displayed depends on the current subject
-- namespace. This message is used in either cfg['sandbox-notice-blurb'] or
-- cfg['sandbox-notice-diff-blurb'].
--]]
cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Template test cases|module sandbox]] page'
cfg['sandbox-notice-pagetype-other'] = 'sandbox page'
--[[
-- cfg['sandbox-notice-blurb']
-- cfg['sandbox-notice-diff-blurb']
-- cfg['sandbox-notice-diff-display']
-- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence
-- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page
-- type, which is either cfg['sandbox-notice-pagetype-template'],
-- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what
-- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between
-- the sandbox and the main template. The display value of the diff link is set by
-- cfg['sandbox-notice-compare-link-display'].
--]]
cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.'
cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).'
cfg['sandbox-notice-compare-link-display'] = 'diff'
--[[
-- cfg['sandbox-notice-testcases-blurb']
-- cfg['sandbox-notice-testcases-link-display']
-- cfg['sandbox-notice-testcases-run-blurb']
-- cfg['sandbox-notice-testcases-run-link-display']
-- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit. $1 is a link to the test cases page.
-- cfg['sandbox-notice-testcases-link-display'] is the display value for that link.
-- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test
-- cases page, and $2 is a link to the page to run it.
-- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test
-- cases.
--]]
cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.'
cfg['sandbox-notice-testcases-link-display'] = 'test cases'
cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).'
cfg['sandbox-notice-testcases-run-link-display'] = 'run'
-- cfg['sandbox-category'] - A category to add to all template sandboxes.
-- cfg['module-sandbox-category'] - A category to add to all module sandboxes.
-- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules.
cfg['sandbox-category'] = 'Template sandboxes'
cfg['module-sandbox-category'] = 'Module sandboxes'
cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace'
----------------------------------------------------------------------------------------------------
-- Start box configuration
----------------------------------------------------------------------------------------------------
-- cfg['documentation-icon-wikitext']
-- The wikitext for the icon shown at the top of the template.
cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- cfg['template-namespace-heading']
-- The heading shown in the template namespace.
cfg['template-namespace-heading'] = 'Template documentation'
-- cfg['module-namespace-heading']
-- The heading shown in the module namespace.
cfg['module-namespace-heading'] = 'Module documentation'
-- cfg['file-namespace-heading']
-- The heading shown in the file namespace.
cfg['file-namespace-heading'] = 'Summary'
-- cfg['other-namespaces-heading']
-- The heading shown in other namespaces.
cfg['other-namespaces-heading'] = 'Documentation'
-- cfg['view-link-display']
-- The text to display for "view" links.
cfg['view-link-display'] = 'view'
-- cfg['edit-link-display']
-- The text to display for "edit" links.
cfg['edit-link-display'] = 'edit'
-- cfg['history-link-display']
-- The text to display for "history" links.
cfg['history-link-display'] = 'history'
-- cfg['purge-link-display']
-- The text to display for "purge" links.
cfg['purge-link-display'] = 'purge'
-- cfg['create-link-display']
-- The text to display for "create" links.
cfg['create-link-display'] = 'create'
----------------------------------------------------------------------------------------------------
-- Link box (end box) configuration
----------------------------------------------------------------------------------------------------
-- cfg['transcluded-from-blurb']
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page.
cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.'
--[[
-- cfg['create-module-doc-blurb']
-- Notice displayed in the module namespace when the documentation subpage does not exist.
-- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the
-- display cfg['create-link-display'].
--]]
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'
----------------------------------------------------------------------------------------------------
-- Experiment blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['experiment-blurb-template']
-- cfg['experiment-blurb-module']
-- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages.
-- It is only shown in the template and module namespaces. With the default English settings, it
-- might look like this:
--
-- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
--
-- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links.
--
-- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending
-- on what namespace we are in.
--
-- Parameters:
--
-- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display'])
--
-- If the sandbox doesn't exist, it is in the format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display'])
--
-- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload']
-- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display']
-- loads a default edit summary of cfg['mirror-edit-summary'].
--
-- $2 is a link to the test cases page. If the test cases page exists, it is in the following format:
--
-- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display'])
--
-- If the test cases page doesn't exist, it is in the format:
--
-- cfg['testcases-link-display'] (cfg['testcases-create-link-display'])
--
-- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the
-- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current
-- namespace.
--]]
cfg['experiment-blurb-template'] = "Editors can experiment in this template's $1 and $2 pages."
cfg['experiment-blurb-module'] = "Editors can experiment in this module's $1 and $2 pages."
----------------------------------------------------------------------------------------------------
-- Sandbox link configuration
----------------------------------------------------------------------------------------------------
-- cfg['sandbox-subpage']
-- The name of the template subpage typically used for sandboxes.
cfg['sandbox-subpage'] = 'sandbox'
-- cfg['template-sandbox-preload']
-- Preload file for template sandbox pages.
cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox'
-- cfg['module-sandbox-preload']
-- Preload file for Lua module sandbox pages.
cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox'
-- cfg['sandbox-link-display']
-- The text to display for "sandbox" links.
cfg['sandbox-link-display'] = 'sandbox'
-- cfg['sandbox-edit-link-display']
-- The text to display for sandbox "edit" links.
cfg['sandbox-edit-link-display'] = 'edit'
-- cfg['sandbox-create-link-display']
-- The text to display for sandbox "create" links.
cfg['sandbox-create-link-display'] = 'create'
-- cfg['compare-link-display']
-- The text to display for "compare" links.
cfg['compare-link-display'] = 'diff'
-- cfg['mirror-edit-summary']
-- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the
-- template page.
cfg['mirror-edit-summary'] = 'Create sandbox version of $1'
-- cfg['mirror-link-display']
-- The text to display for "mirror" links.
cfg['mirror-link-display'] = 'mirror'
-- cfg['mirror-link-preload']
-- The page to preload when a user clicks the "mirror" link.
cfg['mirror-link-preload'] = 'Template:Documentation/mirror'
----------------------------------------------------------------------------------------------------
-- Test cases link configuration
----------------------------------------------------------------------------------------------------
-- cfg['testcases-subpage']
-- The name of the template subpage typically used for test cases.
cfg['testcases-subpage'] = 'testcases'
-- cfg['template-testcases-preload']
-- Preload file for template test cases pages.
cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases'
-- cfg['module-testcases-preload']
-- Preload file for Lua module test cases pages.
cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases'
-- cfg['testcases-link-display']
-- The text to display for "testcases" links.
cfg['testcases-link-display'] = 'testcases'
-- cfg['testcases-edit-link-display']
-- The text to display for test cases "edit" links.
cfg['testcases-edit-link-display'] = 'edit'
-- cfg['testcases-run-link-display']
-- The text to display for test cases "run" links.
cfg['testcases-run-link-display'] = 'run'
-- cfg['testcases-create-link-display']
-- The text to display for test cases "create" links.
cfg['testcases-create-link-display'] = 'create'
----------------------------------------------------------------------------------------------------
-- Add categories blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['add-categories-blurb']
-- Text to direct users to add categories to the /doc subpage. Not used if the "content" or
-- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a
-- link to the /doc subpage with a display value of cfg['doc-link-display'].
--]]
cfg['add-categories-blurb'] = 'Add categories to the $1 subpage.'
-- cfg['doc-link-display']
-- The text to display when linking to the /doc subpage.
cfg['doc-link-display'] = '/doc'
----------------------------------------------------------------------------------------------------
-- Subpages link configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['subpages-blurb']
-- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a
-- display value of cfg['subpages-link-display']. In the English version this blurb is simply
-- the link followed by a period, and the link display provides the actual text.
--]]
cfg['subpages-blurb'] = '$1.'
--[[
-- cfg['subpages-link-display']
-- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'],
-- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in
-- the template namespace, the module namespace, or another namespace.
--]]
cfg['subpages-link-display'] = 'Subpages of this $1'
-- cfg['template-pagetype']
-- The pagetype to display for template pages.
cfg['template-pagetype'] = 'template'
-- cfg['module-pagetype']
-- The pagetype to display for Lua module pages.
cfg['module-pagetype'] = 'module'
-- cfg['default-pagetype']
-- The pagetype to display for pages other than templates or Lua modules.
cfg['default-pagetype'] = 'page'
----------------------------------------------------------------------------------------------------
-- Doc link configuration
----------------------------------------------------------------------------------------------------
-- cfg['doc-subpage']
-- The name of the subpage typically used for documentation pages.
cfg['doc-subpage'] = 'doc'
-- cfg['docpage-preload']
-- Preload file for template documentation pages in all namespaces.
cfg['docpage-preload'] = 'Template:Documentation/preload'
-- cfg['module-preload']
-- Preload file for Lua module documentation pages.
cfg['module-preload'] = 'Template:Documentation/preload-module-doc'
----------------------------------------------------------------------------------------------------
-- HTML and CSS configuration
----------------------------------------------------------------------------------------------------
-- cfg['templatestyles']
-- The name of the TemplateStyles page where CSS is kept.
-- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed.
cfg['templatestyles'] = 'Module:Documentation/styles.css'
-- cfg['container']
-- Class which can be used to set flex or grid CSS on the
-- two child divs documentation and documentation-metadata
cfg['container'] = 'documentation-container'
-- cfg['main-div-classes']
-- Classes added to the main HTML "div" tag.
cfg['main-div-classes'] = 'documentation'
-- cfg['main-div-heading-class']
-- Class for the main heading for templates and modules and assoc. talk spaces
cfg['main-div-heading-class'] = 'documentation-heading'
-- cfg['start-box-class']
-- Class for the start box
cfg['start-box-class'] = 'documentation-startbox'
-- cfg['start-box-link-classes']
-- Classes used for the [view][edit][history] or [create] links in the start box.
-- mw-editsection-like is per [[Wikipedia:Village pump (technical)/Archive 117]]
cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks'
-- cfg['end-box-class']
-- Class for the end box.
cfg['end-box-class'] = 'documentation-metadata'
-- cfg['end-box-plainlinks']
-- Plainlinks
cfg['end-box-plainlinks'] = 'plainlinks'
-- cfg['toolbar-class']
-- Class added for toolbar links.
cfg['toolbar-class'] = 'documentation-toolbar'
-- cfg['clear']
-- Just used to clear things.
cfg['clear'] = 'documentation-clear'
----------------------------------------------------------------------------------------------------
-- Tracking category configuration
----------------------------------------------------------------------------------------------------
-- cfg['display-strange-usage-category']
-- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage
-- or a /testcases subpage. This should be a boolean value (either true or false).
cfg['display-strange-usage-category'] = true
-- cfg['strange-usage-category']
-- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a
-- /doc subpage or a /testcases subpage.
cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage'
--[[
----------------------------------------------------------------------------------------------------
-- End configuration
--
-- Don't edit anything below this line.
----------------------------------------------------------------------------------------------------
--]]
return cfg
56b6127664e31128dea1cecf2e392cf9313df6a3
Module:InfoboxImage
828
1427
2917
2023-11-21T13:26:24Z
Wikipedia>WOSlinker
0
update strip maker detection as per request on talk page
Scribunto
text/plain
-- Inputs:
-- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link
-- page - page to display for multipage images (DjVu)
-- size - size to display the image
-- maxsize - maximum size for image
-- sizedefault - default size to display the image if size param is blank
-- alt - alt text for image
-- title - title text for image
-- border - set to yes if border
-- center - set to yes, if the image has to be centered
-- upright - upright image param
-- suppressplaceholder - if yes then checks to see if image is a placeholder and suppresses it
-- link - page to visit when clicking on image
-- class - HTML classes to add to the image
-- Outputs:
-- Formatted image.
-- More details available at the "Module:InfoboxImage/doc" page
local i = {};
local placeholder_image = {
"Blue - Replace this image female.svg",
"Blue - Replace this image male.svg",
"Female no free image yet.png",
"Flag of None (square).svg",
"Flag of None.svg",
"Flag of.svg",
"Green - Replace this image female.svg",
"Green - Replace this image male.svg",
"Image is needed female.svg",
"Image is needed male.svg",
"Location map of None.svg",
"Male no free image yet.png",
"Missing flag.png",
"No flag.svg",
"No free portrait.svg",
"No portrait (female).svg",
"No portrait (male).svg",
"Red - Replace this image female.svg",
"Red - Replace this image male.svg",
"Replace this image female (blue).svg",
"Replace this image female.svg",
"Replace this image male (blue).svg",
"Replace this image male.svg",
"Silver - Replace this image female.svg",
"Silver - Replace this image male.svg",
"Replace this image.svg",
"Cricket no pic.png",
"CarersLogo.gif",
"Diagram Needed.svg",
"Example.jpg",
"Image placeholder.png",
"No male portrait.svg",
"Nocover-upload.png",
"NoDVDcover copy.png",
"Noribbon.svg",
"No portrait-BFD-test.svg",
"Placeholder barnstar ribbon.png",
"Project Trains no image.png",
"Image-request.png",
"Sin bandera.svg",
"Sin escudo.svg",
"Replace this image - temple.png",
"Replace this image butterfly.png",
"Replace this image.svg",
"Replace this image1.svg",
"Resolution angle.png",
"Image-No portrait-text-BFD-test.svg",
"Insert image here.svg",
"No image available.png",
"NO IMAGE YET square.png",
"NO IMAGE YET.png",
"No Photo Available.svg",
"No Screenshot.svg",
"No-image-available.jpg",
"Null.png",
"PictureNeeded.gif",
"Place holder.jpg",
"Unbenannt.JPG",
"UploadACopyrightFreeImage.svg",
"UploadAnImage.gif",
"UploadAnImage.svg",
"UploadAnImageShort.svg",
"CarersLogo.gif",
"Diagram Needed.svg",
"No male portrait.svg",
"NoDVDcover copy.png",
"Placeholder barnstar ribbon.png",
"Project Trains no image.png",
"Image-request.png",
"Noimage.gif",
}
function i.IsPlaceholder(image)
-- change underscores to spaces
image = mw.ustring.gsub(image, "_", " ");
assert(image ~= nil, 'mw.ustring.gsub(image, "_", " ") must not return nil')
-- if image starts with [[ then remove that and anything after |
if mw.ustring.sub(image,1,2) == "[[" then
image = mw.ustring.sub(image,3);
image = mw.ustring.gsub(image, "([^|]*)|.*", "%1");
assert(image ~= nil, 'mw.ustring.gsub(image, "([^|]*)|.*", "%1") must not return nil')
end
-- Trim spaces
image = mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1');
assert(image ~= nil, "mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1') must not return nil")
-- remove prefix if exists
local allNames = mw.site.namespaces[6].aliases
allNames[#allNames + 1] = mw.site.namespaces[6].name
allNames[#allNames + 1] = mw.site.namespaces[6].canonicalName
for i, name in ipairs(allNames) do
if mw.ustring.lower(mw.ustring.sub(image, 1, mw.ustring.len(name) + 1)) == mw.ustring.lower(name .. ":") then
image = mw.ustring.sub(image, mw.ustring.len(name) + 2);
break
end
end
-- Trim spaces
image = mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1');
-- capitalise first letter
image = mw.ustring.upper(mw.ustring.sub(image,1,1)) .. mw.ustring.sub(image,2);
for i,j in pairs(placeholder_image) do
if image == j then
return true
end
end
return false
end
function i.InfoboxImage(frame)
local image = frame.args["image"];
if image == "" or image == nil then
return "";
end
if image == " " then
return image;
end
if frame.args["suppressplaceholder"] ~= "no" then
if i.IsPlaceholder(image) == true then
return "";
end
end
if mw.ustring.lower(mw.ustring.sub(image,1,5)) == "http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "[http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,7)) == "[[http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "https:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,7)) == "[https:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,8)) == "[[https:" then
return "";
end
if mw.ustring.sub(image,1,2) == "[[" then
-- search for thumbnail images and add to tracking cat if found
local cat = "";
if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumbnail%s*[|%]]")) then
cat = "[[Category:Pages using infoboxes with thumbnail images]]";
end
return image .. cat;
elseif mw.ustring.sub(image,1,2) == "{{" and mw.ustring.sub(image,1,3) ~= "{{{" then
return image;
elseif mw.ustring.sub(image,1,1) == "<" then
return image;
elseif mw.ustring.sub(image,1,8) == mw.ustring.char(127).."'\"`UNIQ" then
-- Found strip marker at begining, so pass don't process at all
return image;
else
local result = "";
local page = frame.args["page"];
local size = frame.args["size"];
local maxsize = frame.args["maxsize"];
local sizedefault = frame.args["sizedefault"];
local alt = frame.args["alt"];
local link = frame.args["link"];
local title = frame.args["title"];
local border = frame.args["border"];
local upright = frame.args["upright"] or "";
local thumbtime = frame.args["thumbtime"] or "";
local center = frame.args["center"];
local class = frame.args["class"];
-- remove prefix if exists
local allNames = mw.site.namespaces[6].aliases
allNames[#allNames + 1] = mw.site.namespaces[6].name
allNames[#allNames + 1] = mw.site.namespaces[6].canonicalName
for i, name in ipairs(allNames) do
if mw.ustring.lower(mw.ustring.sub(image, 1, mw.ustring.len(name) + 1)) == mw.ustring.lower(name .. ":") then
image = mw.ustring.sub(image, mw.ustring.len(name) + 2);
break
end
end
if maxsize ~= "" and maxsize ~= nil then
-- if no sizedefault then set to maxsize
if sizedefault == "" or sizedefault == nil then
sizedefault = maxsize
end
-- check to see if size bigger than maxsize
if size ~= "" and size ~= nil then
local sizenumber = tonumber(mw.ustring.match(size,"%d*")) or 0;
local maxsizenumber = tonumber(mw.ustring.match(maxsize,"%d*")) or 0;
if sizenumber>maxsizenumber and maxsizenumber>0 then
size = maxsize;
end
end
end
-- add px to size if just a number
if (tonumber(size) or 0) > 0 then
size = size .. "px";
end
-- add px to sizedefault if just a number
if (tonumber(sizedefault) or 0) > 0 then
sizedefault = sizedefault .. "px";
end
result = "[[File:" .. image;
if page ~= "" and page ~= nil then
result = result .. "|page=" .. page;
end
if size ~= "" and size ~= nil then
result = result .. "|" .. size;
elseif sizedefault ~= "" and sizedefault ~= nil then
result = result .. "|" .. sizedefault;
else
result = result .. "|frameless";
end
if center == "yes" then
result = result .. "|center"
end
if alt ~= "" and alt ~= nil then
result = result .. "|alt=" .. alt;
end
if link ~= "" and link ~= nil then
result = result .. "|link=" .. link;
end
if border == "yes" then
result = result .. "|border";
end
if upright == "yes" then
result = result .. "|upright";
elseif upright ~= "" then
result = result .. "|upright=" .. upright;
end
if thumbtime ~= "" then
result = result .. "|thumbtime=" .. thumbtime;
end
if class ~= nil and class ~= "" then
result = result .. "|class=" .. class;
end
-- if alt value is a keyword then do not use as a description
if alt == "thumbnail" or alt == "thumb" or alt == "frameless" or alt == "left" or alt == "center" or alt == "right" or alt == "upright" or alt == "border" or mw.ustring.match(alt or "", '^[0-9]*px$', 1) ~= nil then
alt = nil;
end
if title ~= "" and title ~= nil then
-- does title param contain any templatestyles? If yes then set to blank.
if mw.ustring.match(frame:preprocess(title), 'UNIQ%-%-templatestyles', 1) ~= nil then
title = nil;
end
end
if title ~= "" and title ~= nil then
result = result .. "|" .. title;
end
result = result .. "]]";
return result;
end
end
return i;
35066ee19938554ca6eeb18d6e22d2063336b7e1
Module:Message box/configuration
828
1419
2901
2023-11-24T02:41:46Z
Wikipedia>Pppery
0
Per edit request
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Message box configuration --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
return {
ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ambox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ambox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ambox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ambox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ambox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ambox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = 'article',
allowMainspaceCategories = true,
templateCategory = 'Article message templates',
templateCategoryRequireName = true,
templateErrorCategory = 'Article message templates with missing parameters',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'},
removalNotice = '<small>[[Help:Maintenance template removal|Learn how and when to remove this template message]]</small>',
templatestyles = 'Module:Message box/ambox.css'
},
cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'cmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'cmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'cmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'cmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'cmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'cmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true,
templatestyles = 'Module:Message box/cmbox.css'
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Ambox warning pn.svg'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Information icon4.svg'
},
system = {
class = 'fmbox-system',
image = 'Information icon4.svg'
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'fmbox'},
imageEmptyCell = false,
imageRightNone = false,
templatestyles = 'Module:Message box/fmbox.css'
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'imbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'imbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'imbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'imbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'imbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox-license.svg'
},
["license-related"] = {
class = 'imbox-license',
image = 'Imbox-license.svg'
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg',
imageNeedsLink = true
},
notice = {
class = 'imbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
imageEmptyCell = true,
below = true,
templateCategory = 'File message boxes',
templatestyles = 'Module:Message box/imbox.css'
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ombox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ombox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ombox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ombox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ombox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ombox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true,
templatestyles = 'Module:Message box/ombox.css'
},
tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'tmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'tmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'tmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'tmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'tmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'tmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
templateCategory = 'Talk message boxes',
templatestyles = 'Module:Message box/tmbox.css'
}
}
ccb6bdf2868087b6833d203307f2f6a92b3b0a01
Template:Template parameter usage
10
1495
3053
2023-11-27T06:57:32Z
Wikipedia>Sdkb
0
Partial revert of [[User:SUM1]]'s edit [[Special:Diff/1039918972]] per [[WP:CLICKHERE]]
wikitext
text/x-wiki
{{#switch:{{{label|}}}
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|S|s}}ee a monthly parameter usage report] for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|this template}} in articles{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|P|p}}arameter usage report]{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|P|p}}arameter usage report] for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|[[Template:{{ROOTPAGENAME}}]]}}{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}.
|#default=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{{label|}}}]{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}
}}<noinclude>
{{documentation}}
</noinclude>
83e574f5e031df639a2cdcef5b91d6b1094ae648
Template:TemplateData header
10
1494
3051
2023-12-01T11:27:04Z
Wikipedia>Gonnym
0
fix website link if |1= is used
wikitext
text/x-wiki
<div class="templatedata-header">{{#if:{{{noheader|}}}|<!--
noheader:
-->{{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}|<!--
+header:
-->This is the {{#if:{{{nolink|}}}|<!--
+header, nolink TD
-->TemplateData|<!--
+header, +link [[TD]]; DEFAULT:
-->[[Wikipedia:TemplateData|TemplateData]]}}<!--
e.o. #if:nolink; DEFAULT:
--> for this template used by [[mw:Extension:TemplateWizard|TemplateWizard]], [[Wikipedia:VisualEditor|VisualEditor]] and other tools. {{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}<!--
e.o. #if:noheader
-->}}
'''TemplateData for {{{1|{{BASEPAGENAME}}}}}'''
</div><includeonly><!--
check parameters
-->{{#invoke:Check for unknown parameters|check
|unknown={{template other|1=[[Category:Pages using TemplateData header with unknown parameters|_VALUE_]]}}
|template=Template:TemplateData header
|1 |nolink |noheader
|preview=<div class="error" style="font-weight:normal">Unknown parameter '_VALUE_' in [[Template:TemplateData header]].</div>
}}<!--
-->{{template other|{{sandbox other||
[[Category:Templates using TemplateData]]
}}}}</includeonly><!--
--><noinclude>{{Documentation}}</noinclude>
748b89c815a11e78b365c5617460ea569f3f96cb
Template:Align
10
1484
3031
2023-12-21T21:57:41Z
Wikipedia>Ahecht
0
safesubst<noinclude/>:
wikitext
text/x-wiki
{{safesubst<noinclude/>:#switch: {{safesubst<noinclude/>:lc:{{{1|center}}}}}
|left = <div style="float: left;{{safesubst<noinclude/>:#if: {{{style|}}} | {{{style}}};}}">{{{2}}}</div>
|right = <div style="float: right;{{safesubst<noinclude/>:#if: {{{style|}}} | {{{style}}};}}">{{{2}}}</div>
|center = {{safesubst<noinclude/>:center|{{{2}}}|style={{{style|}}} }}
|#default = Error in [[Template:Align]]: the alignment setting "{{{1}}}" is invalid.
}}<noinclude>
{{documentation}}
</noinclude>
6d03351dca1cab3abf83d24f4e7dfe2c1948f615
Module:Documentation
828
1481
3025
2024-01-07T08:09:04Z
Wikipedia>DannyS712
0
remove unneeded return variables (if this breaks anything feel free to revert without discussing with me first)
Scribunto
text/plain
-- This module implements {{documentation}}.
-- Get required modules.
local getArgs = require('Module:Arguments').getArgs
-- Get the config table.
local cfg = mw.loadData('Module:Documentation/config')
local p = {}
-- Often-used functions.
local ugsub = mw.ustring.gsub
local format = mw.ustring.format
----------------------------------------------------------------------------
-- Helper functions
--
-- These are defined as local functions, but are made available in the p
-- table for testing purposes.
----------------------------------------------------------------------------
local function message(cfgKey, valArray, expectType)
--[[
-- Gets a message from the cfg table and formats it if appropriate.
-- The function raises an error if the value from the cfg table is not
-- of the type expectType. The default type for expectType is 'string'.
-- If the table valArray is present, strings such as $1, $2 etc. in the
-- message are substituted with values from the table keys [1], [2] etc.
-- For example, if the message "foo-message" had the value 'Foo $2 bar $1.',
-- message('foo-message', {'baz', 'qux'}) would return "Foo qux bar baz."
--]]
local msg = cfg[cfgKey]
expectType = expectType or 'string'
if type(msg) ~= expectType then
error('message: type error in message cfg.' .. cfgKey .. ' (' .. expectType .. ' expected, got ' .. type(msg) .. ')', 2)
end
if not valArray then
return msg
end
local function getMessageVal(match)
match = tonumber(match)
return valArray[match] or error('message: no value found for key $' .. match .. ' in message cfg.' .. cfgKey, 4)
end
return ugsub(msg, '$([1-9][0-9]*)', getMessageVal)
end
p.message = message
local function makeWikilink(page, display)
if display then
return format('[[%s|%s]]', page, display)
else
return format('[[%s]]', page)
end
end
p.makeWikilink = makeWikilink
local function makeCategoryLink(cat, sort)
local catns = mw.site.namespaces[14].name
return makeWikilink(catns .. ':' .. cat, sort)
end
p.makeCategoryLink = makeCategoryLink
local function makeUrlLink(url, display)
return format('[%s %s]', url, display)
end
p.makeUrlLink = makeUrlLink
local function makeToolbar(...)
local ret = {}
local lim = select('#', ...)
if lim < 1 then
return nil
end
for i = 1, lim do
ret[#ret + 1] = select(i, ...)
end
-- 'documentation-toolbar'
return format(
'<span class="%s">(%s)</span>',
message('toolbar-class'),
table.concat(ret, ' | ')
)
end
p.makeToolbar = makeToolbar
----------------------------------------------------------------------------
-- Argument processing
----------------------------------------------------------------------------
local function makeInvokeFunc(funcName)
return function (frame)
local args = getArgs(frame, {
valueFunc = function (key, value)
if type(value) == 'string' then
value = value:match('^%s*(.-)%s*$') -- Remove whitespace.
if key == 'heading' or value ~= '' then
return value
else
return nil
end
else
return value
end
end
})
return p[funcName](args)
end
end
----------------------------------------------------------------------------
-- Entry points
----------------------------------------------------------------------------
function p.nonexistent(frame)
if mw.title.getCurrentTitle().subpageText == 'testcases' then
return frame:expandTemplate{title = 'module test cases notice'}
else
return p.main(frame)
end
end
p.main = makeInvokeFunc('_main')
function p._main(args)
--[[
-- This function defines logic flow for the module.
-- @args - table of arguments passed by the user
--]]
local env = p.getEnvironment(args)
local root = mw.html.create()
root
:wikitext(p._getModuleWikitext(args, env))
:wikitext(p.protectionTemplate(env))
:wikitext(p.sandboxNotice(args, env))
:tag('div')
-- 'documentation-container'
:addClass(message('container'))
:attr('role', 'complementary')
:attr('aria-labelledby', args.heading ~= '' and 'documentation-heading' or nil)
:attr('aria-label', args.heading == '' and 'Documentation' or nil)
:newline()
:tag('div')
-- 'documentation'
:addClass(message('main-div-classes'))
:newline()
:wikitext(p._startBox(args, env))
:wikitext(p._content(args, env))
:tag('div')
-- 'documentation-clear'
:addClass(message('clear'))
:done()
:newline()
:done()
:wikitext(p._endBox(args, env))
:done()
:wikitext(p.addTrackingCategories(env))
-- 'Module:Documentation/styles.css'
return mw.getCurrentFrame():extensionTag (
'templatestyles', '', {src=cfg['templatestyles']
}) .. tostring(root)
end
----------------------------------------------------------------------------
-- Environment settings
----------------------------------------------------------------------------
function p.getEnvironment(args)
--[[
-- Returns a table with information about the environment, including title
-- objects and other namespace- or path-related data.
-- @args - table of arguments passed by the user
--
-- Title objects include:
-- env.title - the page we are making documentation for (usually the current title)
-- env.templateTitle - the template (or module, file, etc.)
-- env.docTitle - the /doc subpage.
-- env.sandboxTitle - the /sandbox subpage.
-- env.testcasesTitle - the /testcases subpage.
--
-- Data includes:
-- env.protectionLevels - the protection levels table of the title object.
-- env.subjectSpace - the number of the title's subject namespace.
-- env.docSpace - the number of the namespace the title puts its documentation in.
-- env.docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace.
-- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template.
--
-- All table lookups are passed through pcall so that errors are caught. If an error occurs, the value
-- returned will be nil.
--]]
local env, envFuncs = {}, {}
-- Set up the metatable. If triggered we call the corresponding function in the envFuncs table. The value
-- returned by that function is memoized in the env table so that we don't call any of the functions
-- more than once. (Nils won't be memoized.)
setmetatable(env, {
__index = function (t, key)
local envFunc = envFuncs[key]
if envFunc then
local success, val = pcall(envFunc)
if success then
env[key] = val -- Memoise the value.
return val
end
end
return nil
end
})
function envFuncs.title()
-- The title object for the current page, or a test page passed with args.page.
local title
local titleArg = args.page
if titleArg then
title = mw.title.new(titleArg)
else
title = mw.title.getCurrentTitle()
end
return title
end
function envFuncs.templateTitle()
--[[
-- The template (or module, etc.) title object.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
-- 'testcases-subpage' --> 'testcases'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local subpage = title.subpageText
if subpage == message('sandbox-subpage') or subpage == message('testcases-subpage') then
return mw.title.makeTitle(subjectSpace, title.baseText)
else
return mw.title.makeTitle(subjectSpace, title.text)
end
end
function envFuncs.docTitle()
--[[
-- Title object of the /doc subpage.
-- Messages:
-- 'doc-subpage' --> 'doc'
--]]
local title = env.title
local docname = args[1] -- User-specified doc page.
local docpage
if docname then
docpage = docname
else
docpage = env.docpageBase .. '/' .. message('doc-subpage')
end
return mw.title.new(docpage)
end
function envFuncs.sandboxTitle()
--[[
-- Title object for the /sandbox subpage.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('sandbox-subpage'))
end
function envFuncs.testcasesTitle()
--[[
-- Title object for the /testcases subpage.
-- Messages:
-- 'testcases-subpage' --> 'testcases'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('testcases-subpage'))
end
function envFuncs.protectionLevels()
-- The protection levels table of the title object.
return env.title.protectionLevels
end
function envFuncs.subjectSpace()
-- The subject namespace number.
return mw.site.namespaces[env.title.namespace].subject.id
end
function envFuncs.docSpace()
-- The documentation namespace number. For most namespaces this is the
-- same as the subject namespace. However, pages in the Article, File,
-- MediaWiki or Category namespaces must have their /doc, /sandbox and
-- /testcases pages in talk space.
local subjectSpace = env.subjectSpace
if subjectSpace == 0 or subjectSpace == 6 or subjectSpace == 8 or subjectSpace == 14 then
return subjectSpace + 1
else
return subjectSpace
end
end
function envFuncs.docpageBase()
-- The base page of the /doc, /sandbox, and /testcases subpages.
-- For some namespaces this is the talk page, rather than the template page.
local templateTitle = env.templateTitle
local docSpace = env.docSpace
local docSpaceText = mw.site.namespaces[docSpace].name
-- Assemble the link. docSpace is never the main namespace, so we can hardcode the colon.
return docSpaceText .. ':' .. templateTitle.text
end
function envFuncs.compareUrl()
-- Diff link between the sandbox and the main template using [[Special:ComparePages]].
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
if templateTitle.exists and sandboxTitle.exists then
local compareUrl = mw.uri.canonicalUrl(
'Special:ComparePages',
{ page1 = templateTitle.prefixedText, page2 = sandboxTitle.prefixedText}
)
return tostring(compareUrl)
else
return nil
end
end
return env
end
----------------------------------------------------------------------------
-- Auxiliary templates
----------------------------------------------------------------------------
p.getModuleWikitext = makeInvokeFunc('_getModuleWikitext')
function p._getModuleWikitext(args, env)
local currentTitle = mw.title.getCurrentTitle()
if currentTitle.contentModel ~= 'Scribunto' then return end
pcall(require, currentTitle.prefixedText) -- if it fails, we don't care
local moduleWikitext = package.loaded["Module:Module wikitext"]
if moduleWikitext then
return moduleWikitext.main()
end
end
function p.sandboxNotice(args, env)
--[=[
-- Generates a sandbox notice for display above sandbox pages.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-notice-image' --> '[[File:Sandbox.svg|50px|alt=|link=]]'
-- 'sandbox-notice-blurb' --> 'This is the $1 for $2.'
-- 'sandbox-notice-diff-blurb' --> 'This is the $1 for $2 ($3).'
-- 'sandbox-notice-pagetype-template' --> '[[Wikipedia:Template test cases|template sandbox]] page'
-- 'sandbox-notice-pagetype-module' --> '[[Wikipedia:Template test cases|module sandbox]] page'
-- 'sandbox-notice-pagetype-other' --> 'sandbox page'
-- 'sandbox-notice-compare-link-display' --> 'diff'
-- 'sandbox-notice-testcases-blurb' --> 'See also the companion subpage for $1.'
-- 'sandbox-notice-testcases-link-display' --> 'test cases'
-- 'sandbox-category' --> 'Template sandboxes'
-- 'module-sandbox-category' --> 'Module sandboxes'
-- 'other-sandbox-category' --> 'Sandboxes outside of template or module namespace'
--]=]
local title = env.title
local sandboxTitle = env.sandboxTitle
local templateTitle = env.templateTitle
local subjectSpace = env.subjectSpace
if not (subjectSpace and title and sandboxTitle and templateTitle
and mw.title.equals(title, sandboxTitle)) then
return nil
end
-- Build the table of arguments to pass to {{ombox}}. We need just two fields, "image" and "text".
local omargs = {}
omargs.image = message('sandbox-notice-image')
-- Get the text. We start with the opening blurb, which is something like
-- "This is the template sandbox for [[Template:Foo]] (diff)."
local text = ''
local pagetype, sandboxCat
if subjectSpace == 10 then
pagetype = message('sandbox-notice-pagetype-template')
sandboxCat = message('sandbox-category')
elseif subjectSpace == 828 then
pagetype = message('sandbox-notice-pagetype-module')
sandboxCat = message('module-sandbox-category')
else
pagetype = message('sandbox-notice-pagetype-other')
sandboxCat = message('other-sandbox-category')
end
local templateLink = makeWikilink(templateTitle.prefixedText)
local compareUrl = env.compareUrl
if compareUrl then
local compareDisplay = message('sandbox-notice-compare-link-display')
local compareLink = makeUrlLink(compareUrl, compareDisplay)
text = text .. message('sandbox-notice-diff-blurb', {pagetype, templateLink, compareLink})
else
text = text .. message('sandbox-notice-blurb', {pagetype, templateLink})
end
-- Get the test cases page blurb if the page exists. This is something like
-- "See also the companion subpage for [[Template:Foo/testcases|test cases]]."
local testcasesTitle = env.testcasesTitle
if testcasesTitle and testcasesTitle.exists then
if testcasesTitle.contentModel == "Scribunto" then
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesRunLinkDisplay = message('sandbox-notice-testcases-run-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-run-blurb', {testcasesLink, testcasesRunLink})
else
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-blurb', {testcasesLink})
end
end
-- Add the sandbox to the sandbox category.
omargs.text = text .. makeCategoryLink(sandboxCat)
-- 'documentation-clear'
return '<div class="' .. message('clear') .. '"></div>'
.. require('Module:Message box').main('ombox', omargs)
end
function p.protectionTemplate(env)
-- Generates the padlock icon in the top right.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'protection-template' --> 'pp-template'
-- 'protection-template-args' --> {docusage = 'yes'}
local protectionLevels = env.protectionLevels
if not protectionLevels then
return nil
end
local editProt = protectionLevels.edit and protectionLevels.edit[1]
local moveProt = protectionLevels.move and protectionLevels.move[1]
if editProt then
-- The page is edit-protected.
return require('Module:Protection banner')._main{
message('protection-reason-edit'), small = true
}
elseif moveProt and moveProt ~= 'autoconfirmed' then
-- The page is move-protected but not edit-protected. Exclude move
-- protection with the level "autoconfirmed", as this is equivalent to
-- no move protection at all.
return require('Module:Protection banner')._main{
action = 'move', small = true
}
else
return nil
end
end
----------------------------------------------------------------------------
-- Start box
----------------------------------------------------------------------------
p.startBox = makeInvokeFunc('_startBox')
function p._startBox(args, env)
--[[
-- This function generates the start box.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- The actual work is done by p.makeStartBoxLinksData and p.renderStartBoxLinks which make
-- the [view] [edit] [history] [purge] links, and by p.makeStartBoxData and p.renderStartBox
-- which generate the box HTML.
--]]
env = env or p.getEnvironment(args)
local links
local content = args.content
if not content or args[1] then
-- No need to include the links if the documentation is on the template page itself.
local linksData = p.makeStartBoxLinksData(args, env)
if linksData then
links = p.renderStartBoxLinks(linksData)
end
end
-- Generate the start box html.
local data = p.makeStartBoxData(args, env, links)
if data then
return p.renderStartBox(data)
else
-- User specified no heading.
return nil
end
end
function p.makeStartBoxLinksData(args, env)
--[[
-- Does initial processing of data to make the [view] [edit] [history] [purge] links.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'view-link-display' --> 'view'
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'purge-link-display' --> 'purge'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'docpage-preload' --> 'Template:Documentation/preload'
-- 'create-link-display' --> 'create'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local docTitle = env.docTitle
if not title or not docTitle then
return nil
end
if docTitle.isRedirect then
docTitle = docTitle.redirectTarget
end
-- Create link if /doc doesn't exist.
local preload = args.preload
if not preload then
if subjectSpace == 828 then -- Module namespace
preload = message('module-preload')
else
preload = message('docpage-preload')
end
end
return {
title = title,
docTitle = docTitle,
-- View, display, edit, and purge links if /doc exists.
viewLinkDisplay = message('view-link-display'),
editLinkDisplay = message('edit-link-display'),
historyLinkDisplay = message('history-link-display'),
purgeLinkDisplay = message('purge-link-display'),
preload = preload,
createLinkDisplay = message('create-link-display')
}
end
function p.renderStartBoxLinks(data)
--[[
-- Generates the [view][edit][history][purge] or [create][purge] links from the data table.
-- @data - a table of data generated by p.makeStartBoxLinksData
--]]
local docTitle = data.docTitle
-- yes, we do intend to purge the template page on which the documentation appears
local purgeLink = makeWikilink("Special:Purge/" .. data.title.prefixedText, data.purgeLinkDisplay)
if docTitle.exists then
local viewLink = makeWikilink(docTitle.prefixedText, data.viewLinkDisplay)
local editLink = makeWikilink("Special:EditPage/" .. docTitle.prefixedText, data.editLinkDisplay)
local historyLink = makeWikilink("Special:PageHistory/" .. docTitle.prefixedText, data.historyLinkDisplay)
return "[" .. viewLink .. "] [" .. editLink .. "] [" .. historyLink .. "] [" .. purgeLink .. "]"
else
local createLink = makeUrlLink(docTitle:canonicalUrl{action = 'edit', preload = data.preload}, data.createLinkDisplay)
return "[" .. createLink .. "] [" .. purgeLink .. "]"
end
return ret
end
function p.makeStartBoxData(args, env, links)
--[=[
-- Does initial processing of data to pass to the start-box render function, p.renderStartBox.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- @links - a string containing the [view][edit][history][purge] links - could be nil if there's an error.
--
-- Messages:
-- 'documentation-icon-wikitext' --> '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- 'template-namespace-heading' --> 'Template documentation'
-- 'module-namespace-heading' --> 'Module documentation'
-- 'file-namespace-heading' --> 'Summary'
-- 'other-namespaces-heading' --> 'Documentation'
-- 'testcases-create-link-display' --> 'create'
--]=]
local subjectSpace = env.subjectSpace
if not subjectSpace then
-- Default to an "other namespaces" namespace, so that we get at least some output
-- if an error occurs.
subjectSpace = 2
end
local data = {}
-- Heading
local heading = args.heading -- Blank values are not removed.
if heading == '' then
-- Don't display the start box if the heading arg is defined but blank.
return nil
end
if heading then
data.heading = heading
elseif subjectSpace == 10 then -- Template namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('template-namespace-heading')
elseif subjectSpace == 828 then -- Module namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('module-namespace-heading')
elseif subjectSpace == 6 then -- File namespace
data.heading = message('file-namespace-heading')
else
data.heading = message('other-namespaces-heading')
end
-- Heading CSS
local headingStyle = args['heading-style']
if headingStyle then
data.headingStyleText = headingStyle
else
-- 'documentation-heading'
data.headingClass = message('main-div-heading-class')
end
-- Data for the [view][edit][history][purge] or [create] links.
if links then
-- 'mw-editsection-like plainlinks'
data.linksClass = message('start-box-link-classes')
data.links = links
end
return data
end
function p.renderStartBox(data)
-- Renders the start box html.
-- @data - a table of data generated by p.makeStartBoxData.
local sbox = mw.html.create('div')
sbox
-- 'documentation-startbox'
:addClass(message('start-box-class'))
:newline()
:tag('span')
:addClass(data.headingClass)
:attr('id', 'documentation-heading')
:cssText(data.headingStyleText)
:wikitext(data.heading)
local links = data.links
if links then
sbox:tag('span')
:addClass(data.linksClass)
:attr('id', data.linksId)
:wikitext(links)
end
return tostring(sbox)
end
----------------------------------------------------------------------------
-- Documentation content
----------------------------------------------------------------------------
p.content = makeInvokeFunc('_content')
function p._content(args, env)
-- Displays the documentation contents
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
local content = args.content
if not content and docTitle and docTitle.exists then
content = args._content or mw.getCurrentFrame():expandTemplate{title = docTitle.prefixedText}
end
-- The line breaks below are necessary so that "=== Headings ===" at the start and end
-- of docs are interpreted correctly.
return '\n' .. (content or '') .. '\n'
end
p.contentTitle = makeInvokeFunc('_contentTitle')
function p._contentTitle(args, env)
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
if not args.content and docTitle and docTitle.exists then
return docTitle.prefixedText
else
return ''
end
end
----------------------------------------------------------------------------
-- End box
----------------------------------------------------------------------------
p.endBox = makeInvokeFunc('_endBox')
function p._endBox(args, env)
--[=[
-- This function generates the end box (also known as the link box).
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
--]=]
-- Get environment data.
env = env or p.getEnvironment(args)
local subjectSpace = env.subjectSpace
local docTitle = env.docTitle
if not subjectSpace or not docTitle then
return nil
end
-- Check whether we should output the end box at all. Add the end
-- box by default if the documentation exists or if we are in the
-- user, module or template namespaces.
local linkBox = args['link box']
if linkBox == 'off'
or not (
docTitle.exists
or subjectSpace == 2
or subjectSpace == 828
or subjectSpace == 10
)
then
return nil
end
-- Assemble the link box.
local text = ''
if linkBox then
text = text .. linkBox
else
text = text .. (p.makeDocPageBlurb(args, env) or '') -- "This documentation is transcluded from [[Foo]]."
if subjectSpace == 2 or subjectSpace == 10 or subjectSpace == 828 then
-- We are in the user, template or module namespaces.
-- Add sandbox and testcases links.
-- "Editors can experiment in this template's sandbox and testcases pages."
text = text .. (p.makeExperimentBlurb(args, env) or '') .. '<br />'
if not args.content and not args[1] then
-- "Please add categories to the /doc subpage."
-- Don't show this message with inline docs or with an explicitly specified doc page,
-- as then it is unclear where to add the categories.
text = text .. (p.makeCategoriesBlurb(args, env) or '')
end
text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '') --"Subpages of this template"
end
end
local box = mw.html.create('div')
-- 'documentation-metadata'
box:attr('role', 'note')
:addClass(message('end-box-class'))
-- 'plainlinks'
:addClass(message('end-box-plainlinks'))
:wikitext(text)
:done()
return '\n' .. tostring(box)
end
function p.makeDocPageBlurb(args, env)
--[=[
-- Makes the blurb "This documentation is transcluded from [[Template:Foo]] (edit, history)".
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'transcluded-from-blurb' -->
-- 'The above [[Wikipedia:Template documentation|documentation]]
-- is [[Help:Transclusion|transcluded]] from $1.'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'create-link-display' --> 'create'
-- 'create-module-doc-blurb' -->
-- 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'
--]=]
local docTitle = env.docTitle
if not docTitle then
return nil
end
if docTitle.exists then
-- /doc exists; link to it.
local docLink = makeWikilink(docTitle.prefixedText)
local editDisplay = message('edit-link-display')
local editLink = makeWikilink("Special:EditPage/" .. docTitle.prefixedText, editDisplay)
local historyDisplay = message('history-link-display')
local historyLink = makeWikilink("Special:PageHistory/" .. docTitle.prefixedText, historyDisplay)
return message('transcluded-from-blurb', {docLink})
.. ' '
.. makeToolbar(editLink, historyLink)
.. '<br />'
elseif env.subjectSpace == 828 then
-- /doc does not exist; ask to create it.
local createUrl = docTitle:canonicalUrl{action = 'edit', preload = message('module-preload')}
local createDisplay = message('create-link-display')
local createLink = makeUrlLink(createUrl, createDisplay)
return message('create-module-doc-blurb', {createLink})
.. '<br />'
end
end
function p.makeExperimentBlurb(args, env)
--[[
-- Renders the text "Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-link-display' --> 'sandbox'
-- 'sandbox-edit-link-display' --> 'edit'
-- 'compare-link-display' --> 'diff'
-- 'module-sandbox-preload' --> 'Template:Documentation/preload-module-sandbox'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'sandbox-create-link-display' --> 'create'
-- 'mirror-edit-summary' --> 'Create sandbox version of $1'
-- 'mirror-link-display' --> 'mirror'
-- 'mirror-link-preload' --> 'Template:Documentation/mirror'
-- 'sandbox-link-display' --> 'sandbox'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display'--> 'edit'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'testcases-create-link-display' --> 'create'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display' --> 'edit'
-- 'module-testcases-preload' --> 'Template:Documentation/preload-module-testcases'
-- 'template-testcases-preload' --> 'Template:Documentation/preload-testcases'
-- 'experiment-blurb-module' --> 'Editors can experiment in this module's $1 and $2 pages.'
-- 'experiment-blurb-template' --> 'Editors can experiment in this template's $1 and $2 pages.'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
local testcasesTitle = env.testcasesTitle
local templatePage = templateTitle.prefixedText
if not subjectSpace or not templateTitle or not sandboxTitle or not testcasesTitle then
return nil
end
-- Make links.
local sandboxLinks, testcasesLinks
if sandboxTitle.exists then
local sandboxPage = sandboxTitle.prefixedText
local sandboxDisplay = message('sandbox-link-display')
local sandboxLink = makeWikilink(sandboxPage, sandboxDisplay)
local sandboxEditDisplay = message('sandbox-edit-link-display')
local sandboxEditLink = makeWikilink("Special:EditPage/" .. sandboxPage, sandboxEditDisplay)
local compareUrl = env.compareUrl
local compareLink
if compareUrl then
local compareDisplay = message('compare-link-display')
compareLink = makeUrlLink(compareUrl, compareDisplay)
end
sandboxLinks = sandboxLink .. ' ' .. makeToolbar(sandboxEditLink, compareLink)
else
local sandboxPreload
if subjectSpace == 828 then
sandboxPreload = message('module-sandbox-preload')
else
sandboxPreload = message('template-sandbox-preload')
end
local sandboxCreateUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = sandboxPreload}
local sandboxCreateDisplay = message('sandbox-create-link-display')
local sandboxCreateLink = makeUrlLink(sandboxCreateUrl, sandboxCreateDisplay)
local mirrorSummary = message('mirror-edit-summary', {makeWikilink(templatePage)})
local mirrorPreload = message('mirror-link-preload')
local mirrorUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = mirrorPreload, summary = mirrorSummary}
if subjectSpace == 828 then
mirrorUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = templateTitle.prefixedText, summary = mirrorSummary}
end
local mirrorDisplay = message('mirror-link-display')
local mirrorLink = makeUrlLink(mirrorUrl, mirrorDisplay)
sandboxLinks = message('sandbox-link-display') .. ' ' .. makeToolbar(sandboxCreateLink, mirrorLink)
end
if testcasesTitle.exists then
local testcasesPage = testcasesTitle.prefixedText
local testcasesDisplay = message('testcases-link-display')
local testcasesLink = makeWikilink(testcasesPage, testcasesDisplay)
local testcasesEditUrl = testcasesTitle:canonicalUrl{action = 'edit'}
local testcasesEditDisplay = message('testcases-edit-link-display')
local testcasesEditLink = makeWikilink("Special:EditPage/" .. testcasesPage, testcasesEditDisplay)
-- for Modules, add testcases run link if exists
if testcasesTitle.contentModel == "Scribunto" and testcasesTitle.talkPageTitle and testcasesTitle.talkPageTitle.exists then
local testcasesRunLinkDisplay = message('testcases-run-link-display')
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink, testcasesRunLink)
else
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink)
end
else
local testcasesPreload
if subjectSpace == 828 then
testcasesPreload = message('module-testcases-preload')
else
testcasesPreload = message('template-testcases-preload')
end
local testcasesCreateUrl = testcasesTitle:canonicalUrl{action = 'edit', preload = testcasesPreload}
local testcasesCreateDisplay = message('testcases-create-link-display')
local testcasesCreateLink = makeUrlLink(testcasesCreateUrl, testcasesCreateDisplay)
testcasesLinks = message('testcases-link-display') .. ' ' .. makeToolbar(testcasesCreateLink)
end
local messageName
if subjectSpace == 828 then
messageName = 'experiment-blurb-module'
else
messageName = 'experiment-blurb-template'
end
return message(messageName, {sandboxLinks, testcasesLinks})
end
function p.makeCategoriesBlurb(args, env)
--[[
-- Generates the text "Please add categories to the /doc subpage."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'doc-link-display' --> '/doc'
-- 'add-categories-blurb' --> 'Please add categories to the $1 subpage.'
--]]
local docTitle = env.docTitle
if not docTitle then
return nil
end
local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display'))
return message('add-categories-blurb', {docPathLink})
end
function p.makeSubpagesBlurb(args, env)
--[[
-- Generates the "Subpages of this template" link.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'template-pagetype' --> 'template'
-- 'module-pagetype' --> 'module'
-- 'default-pagetype' --> 'page'
-- 'subpages-link-display' --> 'Subpages of this $1'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
if not subjectSpace or not templateTitle then
return nil
end
local pagetype
if subjectSpace == 10 then
pagetype = message('template-pagetype')
elseif subjectSpace == 828 then
pagetype = message('module-pagetype')
else
pagetype = message('default-pagetype')
end
local subpagesLink = makeWikilink(
'Special:PrefixIndex/' .. templateTitle.prefixedText .. '/',
message('subpages-link-display', {pagetype})
)
return message('subpages-blurb', {subpagesLink})
end
----------------------------------------------------------------------------
-- Tracking categories
----------------------------------------------------------------------------
function p.addTrackingCategories(env)
--[[
-- Check if {{documentation}} is transcluded on a /doc or /testcases page.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'display-strange-usage-category' --> true
-- 'doc-subpage' --> 'doc'
-- 'testcases-subpage' --> 'testcases'
-- 'strange-usage-category' --> 'Wikipedia pages with strange ((documentation)) usage'
--
-- /testcases pages in the module namespace are not categorised, as they may have
-- {{documentation}} transcluded automatically.
--]]
local title = env.title
local subjectSpace = env.subjectSpace
if not title or not subjectSpace then
return nil
end
local subpage = title.subpageText
if message('display-strange-usage-category', nil, 'boolean')
and (
subpage == message('doc-subpage')
or subjectSpace ~= 828 and subpage == message('testcases-subpage')
)
then
return makeCategoryLink(message('strange-usage-category'))
end
return ''
end
return p
d6c1bffca24be2d81fa882315ac613f5bb6b227c
Module:List
828
1429
2921
2024-01-08T18:18:39Z
Wikipedia>Pppery
0
Reverted edit by [[Special:Contribs/Pppery|Pppery]] ([[User talk:Pppery|talk]]) to last version by Izno
Scribunto
text/plain
local libUtil = require('libraryUtil')
local checkType = libUtil.checkType
local mTableTools = require('Module:TableTools')
local p = {}
local listTypes = {
['bulleted'] = true,
['unbulleted'] = true,
['horizontal'] = true,
['ordered'] = true,
['horizontal_ordered'] = true
}
function p.makeListData(listType, args)
-- Constructs a data table to be passed to p.renderList.
local data = {}
-- Classes and TemplateStyles
data.classes = {}
data.templatestyles = ''
if listType == 'horizontal' or listType == 'horizontal_ordered' then
table.insert(data.classes, 'hlist')
data.templatestyles = mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = 'Hlist/styles.css' }
}
elseif listType == 'unbulleted' then
table.insert(data.classes, 'plainlist')
data.templatestyles = mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = 'Plainlist/styles.css' }
}
end
table.insert(data.classes, args.class)
-- Main div style
data.style = args.style
-- Indent for horizontal lists
if listType == 'horizontal' or listType == 'horizontal_ordered' then
local indent = tonumber(args.indent)
indent = indent and indent * 1.6 or 0
if indent > 0 then
data.marginLeft = indent .. 'em'
end
end
-- List style types for ordered lists
-- This could be "1, 2, 3", "a, b, c", or a number of others. The list style
-- type is either set by the "type" attribute or the "list-style-type" CSS
-- property.
if listType == 'ordered' or listType == 'horizontal_ordered' then
data.listStyleType = args.list_style_type or args['list-style-type']
data.type = args['type']
-- Detect invalid type attributes and attempt to convert them to
-- list-style-type CSS properties.
if data.type
and not data.listStyleType
and not tostring(data.type):find('^%s*[1AaIi]%s*$')
then
data.listStyleType = data.type
data.type = nil
end
end
-- List tag type
if listType == 'ordered' or listType == 'horizontal_ordered' then
data.listTag = 'ol'
else
data.listTag = 'ul'
end
-- Start number for ordered lists
data.start = args.start
if listType == 'horizontal_ordered' then
-- Apply fix to get start numbers working with horizontal ordered lists.
local startNum = tonumber(data.start)
if startNum then
data.counterReset = 'listitem ' .. tostring(startNum - 1)
end
end
-- List style
-- ul_style and ol_style are included for backwards compatibility. No
-- distinction is made for ordered or unordered lists.
data.listStyle = args.list_style
-- List items
-- li_style is included for backwards compatibility. item_style was included
-- to be easier to understand for non-coders.
data.itemStyle = args.item_style or args.li_style
data.items = {}
for _, num in ipairs(mTableTools.numKeys(args)) do
local item = {}
item.content = args[num]
item.style = args['item' .. tostring(num) .. '_style']
or args['item_style' .. tostring(num)]
item.value = args['item' .. tostring(num) .. '_value']
or args['item_value' .. tostring(num)]
table.insert(data.items, item)
end
return data
end
function p.renderList(data)
-- Renders the list HTML.
-- Return the blank string if there are no list items.
if type(data.items) ~= 'table' or #data.items < 1 then
return ''
end
-- Render the main div tag.
local root = mw.html.create('div')
for _, class in ipairs(data.classes or {}) do
root:addClass(class)
end
root:css{['margin-left'] = data.marginLeft}
if data.style then
root:cssText(data.style)
end
-- Render the list tag.
local list = root:tag(data.listTag or 'ul')
list
:attr{start = data.start, type = data.type}
:css{
['counter-reset'] = data.counterReset,
['list-style-type'] = data.listStyleType
}
if data.listStyle then
list:cssText(data.listStyle)
end
-- Render the list items
for _, t in ipairs(data.items or {}) do
local item = list:tag('li')
if data.itemStyle then
item:cssText(data.itemStyle)
end
if t.style then
item:cssText(t.style)
end
item
:attr{value = t.value}
:wikitext(t.content)
end
return data.templatestyles .. tostring(root)
end
function p.renderTrackingCategories(args)
local isDeprecated = false -- Tracks deprecated parameters.
for k, v in pairs(args) do
k = tostring(k)
if k:find('^item_style%d+$') or k:find('^item_value%d+$') then
isDeprecated = true
break
end
end
local ret = ''
if isDeprecated then
ret = ret .. '[[Category:List templates with deprecated parameters]]'
end
return ret
end
function p.makeList(listType, args)
if not listType or not listTypes[listType] then
error(string.format(
"bad argument #1 to 'makeList' ('%s' is not a valid list type)",
tostring(listType)
), 2)
end
checkType('makeList', 2, args, 'table')
local data = p.makeListData(listType, args)
local list = p.renderList(data)
local trackingCategories = p.renderTrackingCategories(args)
return list .. trackingCategories
end
for listType in pairs(listTypes) do
p[listType] = function (frame)
local mArguments = require('Module:Arguments')
local origArgs = mArguments.getArgs(frame, {
valueFunc = function (key, value)
if not value or not mw.ustring.find(value, '%S') then return nil end
if mw.ustring.find(value, '^%s*[%*#;:]') then
return value
else
return value:match('^%s*(.-)%s*$')
end
return nil
end
})
-- Copy all the arguments to a new table, for faster indexing.
local args = {}
for k, v in pairs(origArgs) do
args[k] = v
end
return p.makeList(listType, args)
end
end
return p
7a4f36a6e9cd56370bdd8207d23694124821dc1a
Module:Effective protection level
828
1442
2947
2024-01-15T21:44:42Z
Wikipedia>Pppery
0
Per [[WP:ACPERM]], you need to be autoconfirmed to create pages in mainspace
Scribunto
text/plain
local p = {}
-- Returns the permission required to perform a given action on a given title.
-- If no title is specified, the title of the page being displayed is used.
function p._main(action, pagename)
local title
if type(pagename) == 'table' and pagename.prefixedText then
title = pagename
elseif pagename then
title = mw.title.new(pagename)
else
title = mw.title.getCurrentTitle()
end
pagename = title.prefixedText
if action == 'autoreview' then
local level = mw.ext.FlaggedRevs.getStabilitySettings(title)
level = level and level.autoreview
if level == 'review' then
return 'reviewer'
elseif level ~= '' then
return level
else
return nil -- not '*'. a page not being PC-protected is distinct from it being PC-protected with anyone able to review. also not '', as that would mean PC-protected but nobody can review
end
elseif action ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' and action ~= 'undelete' then
error( 'First parameter must be one of edit, move, create, upload, undelete, autoreview', 2 )
end
if title.namespace == 8 then -- MediaWiki namespace
if title.text:sub(-3) == '.js' or title.text:sub(-4) == '.css' or title.contentModel == 'javascript' or title.contentModel == 'css' then -- site JS or CSS page
return 'interfaceadmin'
else -- any non-JS/CSS MediaWiki page
return 'sysop'
end
elseif title.namespace == 2 and title.isSubpage then
if title.contentModel == 'javascript' or title.contentModel == 'css' then -- user JS or CSS page
return 'interfaceadmin'
elseif title.contentModel == 'json' then -- user JSON page
return 'sysop'
end
end
if action == 'undelete' then
return 'sysop'
end
local level = title.protectionLevels[action] and title.protectionLevels[action][1]
if level == 'sysop' or level == 'editprotected' then
return 'sysop'
elseif title.cascadingProtection.restrictions[action] and title.cascadingProtection.restrictions[action][1] then -- used by a cascading-protected page
return 'sysop'
elseif level == 'templateeditor' then
return 'templateeditor'
elseif action == 'move' then
local blacklistentry = mw.ext.TitleBlacklist.test('edit', pagename) -- Testing action edit is correct, since this is for the source page. The target page name gets tested with action move.
if blacklistentry and not blacklistentry.params.autoconfirmed then
return 'templateeditor'
elseif title.namespace == 6 then
return 'filemover'
elseif level == 'extendedconfirmed' then
return 'extendedconfirmed'
else
return 'autoconfirmed'
end
end
local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename)
if blacklistentry then
if not blacklistentry.params.autoconfirmed then
return 'templateeditor'
elseif level == 'extendedconfirmed' then
return 'extendedconfirmed'
else
return 'autoconfirmed'
end
elseif level == 'editsemiprotected' then -- create-semiprotected pages return this for some reason
return 'autoconfirmed'
elseif level then
return level
elseif action == 'upload' then
return 'autoconfirmed'
elseif action == 'create' and title.namespace % 2 == 0 and title.namespace ~= 118 then -- You need to be registered, but not autoconfirmed, to create non-talk pages other than drafts
if title.namespace == 0 then
return 'autoconfirmed' -- Per [[WP:ACPERM]], you need to be autoconfirmed to create pages in mainspace
end
return 'user'
else
return '*'
end
end
setmetatable(p, { __index = function(t, k)
return function(frame)
return t._main(k, frame.args[1])
end
end })
return p
b6cb1e5589ec6575118f60841644cd65defa7174
Template:Microformat message
10
1502
3067
2024-01-18T06:15:23Z
Wikipedia>Jonesey95
0
why? This layout is standard
wikitext
text/x-wiki
The [[Help:HTML in wikitext|HTML mark-up]] produced by this template includes {{#if:{{{type|}}} |{{{type}}} |an [[{{{format}}} microformat]]}} that makes {{{data}}} readily [[Parsing|parsable]] by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit [[Wikipedia:WikiProject Microformats|the Microformat WikiProject]].<!--
-->{{#if:{{{subtemplates<includeonly>|</includeonly>}}}
| <div style="margin-top:0.5em;margin-bottom:0.65em;">
; {{large|Subtemplates}}
{{{subtemplates}}}
'''''Please do not remove instances of these subtemplates.'''''
</div>}}<!--
-->{{#if:{{{subsection1|}}}
| <div style="margin-top:0.5em;margin-bottom:0.65em;"><!--(newline in case subsection begins with heading:)-->
{{{subsection1}}}
</div>}}<!--
-->{{#if:{{{1<includeonly>|</includeonly>}}} <!--(i.e. if at least one unnamed parameter supplied:)-->
| <div style="margin-top:0.5em;margin-bottom:0.65em;">
; {{large|Classes used}}
The [[HTML attribute|HTML class]]es of this microformat include:
: {{hlist
|item_style=font-size:110%;{{{itemstyle|}}}
|{{{1}}} |{{{2<includeonly>|</includeonly>}}} |{{{3|<noinclude>{{nobold|……}}</noinclude>}}}
|{{{4|}}} |{{{5|}}} |{{{6|}}} |{{{7|}}} |{{{8|}}} |{{{9|}}} |{{{10|}}} |{{{11|}}} |{{{12|}}} |{{{13|}}} |{{{14|}}} |{{{15|}}} |{{{16|}}} |{{{17|}}} |{{{18|}}} |{{{19|}}} |{{{20|}}}
}} </div>
{{longitem|style=line-height:1.3em|'''''Please do not rename or remove these classes{{#if:{{{nocollapse<includeonly>|</includeonly>}}} |<br/>nor collapse nested elements which use them}}.'''''}}<!--
-->}}<!--(end #if:[1])--><noinclude>
{{documentation}}
</noinclude>
bde5c5ac42df15b8b27b16034ea3fb47dd285364
Template:Country data United States
10
1455
2973
2024-02-01T04:12:08Z
Wikipedia>Ahecht
0
Add alias for 23px-optimized version of flag
wikitext
text/x-wiki
{{safesubst<noinclude />: {{{1<noinclude>|country showdata</noinclude>}}}
| alias = United States
| flag alias = Flag of the United States.svg
| flag alias-1776 = Flag of the United States (1776–1777).svg
| flag alias-1777 = Flag of the United States (1777–1795).svg
| flag alias-1777-Ross = Betsy Ross flag.svg
| flag alias-1795 = Flag of the United States (1795-1818).svg
| flag alias-1795FM = Flag of the United States (1795–1818).svg
| flag alias-1818 = Flag of the United States (1818-1819).svg
| flag alias-1819 = Flag of the United States (1819-1820).svg
| flag alias-1820 = Flag of the United States (1820-1822).svg
| flag alias-1822 = Flag of the United States (1822-1836).svg
| flag alias-1836 = Flag of the United States (1836-1837).svg
| flag alias-1837 = Flag of the United States (1837-1845).svg
| flag alias-1845 = Flag of the United States (1845-1846).svg
| flag alias-1846 = Flag of the United States (1846-1847).svg
| flag alias-1847 = Flag of the United States (1847-1848).svg
| flag alias-1848 = Flag of the United States (1848-1851).svg
| flag alias-1851 = Flag of the United States (1851-1858).svg
| flag alias-1858 = Flag of the United States (1858-1859).svg
| flag alias-1859 = Flag of the United States (1859-1861).svg
| flag alias-1861 = Flag of the United States (1861-1863).svg
| flag alias-1863 = Flag of the United States (1863-1865).svg
| flag alias-1865 = Flag of the United States (1865-1867).svg
| flag alias-1867 = Flag of the United States (1867-1877).svg
| flag alias-1877 = Flag of the United States (1877-1890).svg
| flag alias-1890 = Flag of the United States (1890-1891).svg
| flag alias-1891 = Flag of the United States (1891-1896).svg
| flag alias-1896 = Flag of the United States (1896-1908).svg
| flag alias-1908 = Flag of the United States (1908-1912).svg
| flag alias-1912 = Flag of the United States (1912-1959).svg
| flag alias-1959 = Flag of the United States (1959-1960).svg
| flag alias-1960 = Flag of the United States (Pantone).svg
| flag alias-yacht = United States yacht flag.svg
| flag alias-air force = Flag of the United States Air Force.svg
| flag alias-coast guard-1799 = Ensign of the United States Revenue-Marine (1799).png
| flag alias-coast guard-1815 = Ensign of the United States Revenue-Marine (1815).png
| flag alias-coast guard-1836 = Ensign of the United States Revenue-Marine (1836).png
| flag alias-coast guard-1841 = Ensign of the United States Revenue-Marine (1841).png
| flag alias-coast guard-1867 = Ensign of the United States Revenue-Marine (1867).png
| flag alias-coast guard-1868 = Ensign of the United States Revenue-Marine (1868).png
| flag alias-coast guard-1915 = Ensign of the United States Coast Guard (1915-1953).png
| flag alias-coast guard-1953 = Ensign of the United States Coast Guard.svg
| flag alias-coast guard = Flag of the United States Coast Guard.svg
| link alias-coast guard = {{#switch:{{{variant|}}}|coast guard|coast guard-1915=United States Coast Guard|coast guard-1894=United States Revenue Cutter Service|coast guard-1799|coast guard-1815|coast guard-1836|coast guard-1841|coast guard-1867|coast guard-1868=United States Revenue-Marine|United States Coast Guard}}
| flag alias-army = Flag of the United States Army.svg
| link alias-naval = {{#switch:{{{variant|}}}|navy|coast guard-1915=United States Coast Guard|United States Coast Guard|United States Navy}}
| flag alias-navy-1864 = Flag of the United States Navy (1864-1959).svg
| flag alias-navy = Flag of the United States Navy (official).svg
| link alias-navy = United States Navy
| link alias-marines = {{#switch:{{{variant|}}}|marines|marines-1914=United States Marine Corps|United States Marine Corps}}
| flag alias-marines-1914 = Flag of the United States Marine Corps (1914-1939).png
| flag alias-marines = Flag of the United States Marine Corps.svg
| link alias-merchant marine = United States Merchant Marine
| flag alias-merchant marine = Flag of the United States Merchant Marine Higher Resolution.jpg
| flag alias-space force = Flag of the United States Space Force.svg
| link alias-military = United States Armed Forces
| link alias-football = United States {{{mw|men's}}} national {{{age|}}} soccer team
| link alias-Australian rules football = United States {{{mw|men's}}} national Australian rules football team
| flag alias-23px = Flag of the United States (23px).png
| {{#ifeq:{{{altlink}}}|A national rugby union team|link alias-rugby union|empty}} = USA Selects
| size = {{{size|}}}
| name = {{{name|}}}
| altlink = {{{altlink|}}}
| altvar = {{{altvar|}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = 1776
| var2 = 1777
| var3 = 1777-Ross
| var4 = 1795
| var5 = 1795FM
| var6 = 1818
| var7 = 1819
| var8 = 1820
| var9 = 1822
| var10 = 1836
| var11 = 1837
| var12 = 1845
| var13 = 1846
| var14 = 1847
| var15 = 1848
| var16 = 1851
| var17 = 1858
| var18 = 1859
| var19 = 1861
| var20 = 1863
| var21 = 1865
| var22 = 1867
| var23 = 1877
| var24 = 1890
| var25 = 1891
| var26 = 1896
| var27 = 1908
| var28 = 1912
| var29 = 1959
| var30 = 1960
| var31 = yacht
| var32 = coast guard-1915
| var33 = coast guard-1953
| var34 = marines-1914
| redir1 = USA
| redir2 = US
| redir3 = United States of America
| redir4 = U.S.
</noinclude>
}}
11fe592cf8f160bf3bcaf6bb7520598f3713bf74
Template:Start date
10
1469
3001
2024-02-05T22:23:21Z
Wikipedia>Gonnym
0
Adding "itvstart" as a class, which is needed for Infobox television date validation
wikitext
text/x-wiki
<includeonly>{{#if: {{{4|}}}
|{{#if: {{{5|}}}
|{{padleft:{{{4}}}|2|0}}:{{padleft:{{{5}}}|2|0}}{{#if: {{{6|}}}
|:{{padleft:{{{6}}}|2|0}} }}, }} }}<!--ABOVE FOR TIME; BELOW FOR DATE
-->{{#if: {{{1|}}}
|{{#if: {{{2|}}}
|{{#if: {{{3|}}}
|{{#if: {{{df|}}}|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},}} {{{1}}}|{{MONTHNAME|{{{2}}}}} {{{1}}}}}|{{{1}}}}}}}{{#if: {{{7|}}}
| ({{#ifeq: {{{7}}}|Z|UTC|{{{7}}}}})}}<!-- BELOW FOR hCalendar
--><span style="display:none"> (<span class="bday dtstart published updated itvstart">{{#if: {{{1|}}}
| {{{1}}}{{#if: {{{2|}}}
| -{{padleft:{{{2}}}|2|0}}{{#if: {{{3|}}}
| -{{padleft:{{{3}}}|2|0}} }} }}<!--
-->{{#if: {{{4|}}}
| T{{padleft:{{{4}}}|2|0}}{{#if: {{{5|}}}
| :{{padleft:{{{5}}}|2|0}}{{#if: {{{6|}}}
| :{{padleft:{{{6}}}|2|0}} }} }} }} }}{{{7|}}}</span>)</span></includeonly><noinclude>
{{documentation}}
</noinclude>
88d4eb5ec3ed1ab1bc474ddc978cc58ffa5946c4
Template:MONTHNUMBER
10
1444
2951
2024-02-06T21:07:17Z
Wikipedia>Dinoguy1000
0
make subst:able
wikitext
text/x-wiki
<includeonly>{{safesubst:<noinclude/>#if:{{{1|}}}
|{{safesubst:<noinclude/>#switch:{{safesubst:<noinclude/>lc:{{{1}}}}}
|january|jan=1
|february|feb=2
|march|mar=3
|apr|april=4
|may=5
|june|jun=6
|july|jul=7
|august|aug=8
|september|sep|sept=9
|october|oct=10
|november|nov=11
|december|dec=12
|{{safesubst:<noinclude/>#ifexpr:{{{1}}}<0
|{{safesubst:<noinclude/>#ifexpr:(({{{1}}})round 0)!=({{{1}}})
|{{safesubst:<noinclude/>#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}}
|{{safesubst:<noinclude/>#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}}
}}
|{{safesubst:<noinclude/>#expr:(((10.5+{{{1}}})round 0)mod 12)+1}}
}}
}}
|Missing required parameter 1=''month''!
}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
abb0a4fb46f2dc12f045c7ce6efa4faf6449c272
Module:High-use
828
1496
3055
2024-02-07T02:05:53Z
Wikipedia>Pppery
0
Don't auto-categorize redirects
Scribunto
text/plain
local p = {}
-- _fetch looks at the "demo" argument.
local _fetch = require('Module:Transclusion_count').fetch
local yesno = require('Module:Yesno')
function p.num(frame, count)
if count == nil then
if yesno(frame.args['fetch']) == false then
if (frame.args[1] or '') ~= '' then count = tonumber(frame.args[1]) end
else
count = _fetch(frame)
end
end
-- Build output string
local return_value = ""
if count == nil then
if frame.args[1] == "risk" then
return "a very large number of"
else
return "many"
end
else
-- Use 2 significant figures for smaller numbers and 3 for larger ones
local sigfig = 2
if count >= 100000 then
sigfig = 3
end
-- Prepare to round to appropriate number of sigfigs
local f = math.floor(math.log10(count)) - sigfig + 1
-- Round and insert "approximately" or "+" when appropriate
if (frame.args[2] == "yes") or (mw.ustring.sub(frame.args[1],-1) == "+") then
-- Round down
return_value = string.format("%s+", mw.getContentLanguage():formatNum(math.floor( (count / 10^(f)) ) * (10^(f))) )
else
-- Round to nearest
return_value = string.format("approximately %s", mw.getContentLanguage():formatNum(math.floor( (count / 10^(f)) + 0.5) * (10^(f))) )
end
-- Insert percentage of pages if that is likely to be >= 1% and when |no-percent= not set to yes
if count and count > 250000 and not yesno (frame:getParent().args['no-percent']) then
local percent = math.floor( ( (count/frame:callParserFunction('NUMBEROFPAGES', 'R') ) * 100) + 0.5)
if percent >= 1 then
return_value = string.format("%s pages, or roughly %s%% of all", return_value, percent)
end
end
end
return return_value
end
-- Actions if there is a large (greater than or equal to 100,000) transclusion count
function p.risk(frame)
if frame.args[1] == "risk" then
return "risk"
else
local count = _fetch(frame)
if count and count >= 100000 then
return "risk"
end
end
return ""
end
function p.text(frame, count)
-- Only show the information about how this template gets updated if someone
-- is actually editing the page and maybe trying to update the count.
local bot_text = (frame:preprocess("{{REVISIONID}}") == "") and "\n\n----\n'''Preview message''': Transclusion count updated automatically ([[Template:High-use/doc#Technical details|see documentation]])." or ''
if count == nil then
if yesno(frame.args['fetch']) == false then
if (frame.args[1] or '') ~= '' then count = tonumber(frame.args[1]) end
else
count = _fetch(frame)
end
end
local title = mw.title.getCurrentTitle()
if title.subpageText == "doc" or title.subpageText == "sandbox" then
title = title.basePageTitle
end
local systemMessages = frame.args['system']
if frame.args['system'] == '' then
systemMessages = nil
end
-- This retrieves the project URL automatically to simplify localiation.
local templateCount = ('on [https://linkcount.toolforge.org/index.php?project=%s&page=%s %s pages]'):format(
mw.title.getCurrentTitle():fullUrl():gsub('//(.-)/.*', '%1'),
mw.uri.encode(title.fullText), p.num(frame, count))
local used_on_text = "'''This " .. (mw.title.getCurrentTitle().namespace == 828 and "Lua module" or "template") .. ' is used ';
if systemMessages then
used_on_text = used_on_text .. systemMessages ..
((count and count > 2000) and ("''', and " .. templateCount) or ("'''"))
else
used_on_text = used_on_text .. templateCount .. "'''"
end
local sandbox_text = ("%s's [[%s/sandbox|/sandbox]] or [[%s/testcases|/testcases]] subpages, or in your own [[%s]]. "):format(
(mw.title.getCurrentTitle().namespace == 828 and "module" or "template"),
title.fullText, title.fullText,
mw.title.getCurrentTitle().namespace == 828 and "Module:Sandbox|module sandbox" or "Wikipedia:User pages#SUB|user subpage"
)
local infoArg = frame.args["info"] ~= "" and frame.args["info"]
if (systemMessages or frame.args[1] == "risk" or (count and count >= 100000) ) then
local info = systemMessages and '.<br/>Changes to it can cause immediate changes to the Wikipedia user interface.' or '.'
if infoArg then
info = info .. "<br />" .. infoArg
end
sandbox_text = info .. '<br /> To avoid major disruption' ..
(count and count >= 100000 and ' and server load' or '') ..
', any changes should be tested in the ' .. sandbox_text ..
'The tested changes can be added to this page in a single edit. '
else
sandbox_text = (infoArg and ('.<br />' .. infoArg .. ' C') or ' and c') ..
'hanges may be widely noticed. Test changes in the ' .. sandbox_text
end
local discussion_text = systemMessages and 'Please discuss changes ' or 'Consider discussing changes '
if frame.args["2"] and frame.args["2"] ~= "" and frame.args["2"] ~= "yes" then
discussion_text = string.format("%sat [[%s]]", discussion_text, frame.args["2"])
else
discussion_text = string.format("%son the [[%s|talk page]]", discussion_text, title.talkPageTitle.fullText )
end
return used_on_text .. sandbox_text .. discussion_text .. " before implementing them." .. bot_text
end
function p.main(frame)
local count = nil
if yesno(frame.args['fetch']) == false then
if (frame.args[1] or '') ~= '' then count = tonumber(frame.args[1]) end
else
count = _fetch(frame)
end
local image = "[[File:Ambox warning yellow.svg|40px|alt=Warning|link=]]"
local type_param = "style"
local epilogue = ''
if frame.args['system'] and frame.args['system'] ~= '' then
image = "[[File:Ambox important.svg|40px|alt=Warning|link=]]"
type_param = "content"
local nocat = frame:getParent().args['nocat'] or frame.args['nocat']
local categorise = (nocat == '' or not yesno(nocat))
if categorise and not mw.title.getCurrentTitle().isRedirect then
epilogue = frame:preprocess('{{Sandbox other||{{#switch:{{#invoke:Effective protection level|{{#switch:{{NAMESPACE}}|File=upload|#default=edit}}|{{FULLPAGENAME}}}}|sysop|templateeditor|interfaceadmin=|#default=[[Category:Pages used in system messages needing protection]]}}}}')
end
elseif (frame.args[1] == "risk" or (count and count >= 100000)) then
image = "[[File:Ambox warning orange.svg|40px|alt=Warning|link=]]"
type_param = "content"
end
if frame.args["form"] == "editnotice" then
return frame:expandTemplate{
title = 'editnotice',
args = {
["image"] = image,
["text"] = p.text(frame, count),
["expiry"] = (frame.args["expiry"] or "")
}
} .. epilogue
else
return require('Module:Message box').main('ombox', {
type = type_param,
image = image,
text = p.text(frame, count),
expiry = (frame.args["expiry"] or "")
}) .. epilogue
end
end
return p
e22649bbbdf0185575aade09174113873db5066a
Template:Clear
10
1437
2937
2024-02-13T14:32:36Z
Wikipedia>Redrose64
0
pass class through
wikitext
text/x-wiki
<div style="clear:{{{1|both}}};" class={{{class|}}}></div><noinclude>
{{documentation}}
</noinclude>
5b24b9fd5cc166a8c486e2422d5df465206ed39c
Template:Delink
10
1431
2925
2024-02-17T04:47:19Z
Wikipedia>Pppery
0
Changed protection settings for "[[Template:Delink]]": Dependency of fully-protected (and on [[WP:CASC]]) [[Template:Fix]] ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:delink|delink}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
ccf86b4255142fffb206ab8240f36ed22e029d6a
Module:Delink
828
1432
2927
2024-02-17T04:47:33Z
Wikipedia>Pppery
0
Changed protection settings for "[[Module:Delink]]": Dependency of fully-protected (and on [[WP:CASC]]) [[Template:Fix]] ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
Scribunto
text/plain
-- This module de-links most wikitext.
require("strict")
local p = {}
local getArgs
local function delinkReversePipeTrick(s)
if s:match("^%[%[|.*[|\n]") then -- Check for newlines or multiple pipes.
return s
end
return s:match("%[%[|(.*)%]%]")
end
local function delinkPipeTrick(s)
-- We need to deal with colons, brackets, and commas, per [[Help:Pipe trick]].
-- First, remove the text before the first colon, if any.
if s:match(":") then
s = s:match("%[%[.-:(.*)|%]%]")
-- If there are no colons, grab all of the text apart from the square brackets and the pipe.
else
s = s:match("%[%[(.*)|%]%]")
end
-- Next up, brackets and commas.
if s:match("%(.-%)$") then -- Brackets trump commas.
s = s:match("(.-) ?%(.-%)$")
elseif s:match(",") then -- If there are no brackets, display only the text before the first comma.
s = s:match("(.-),.*$")
end
return s
end
-- Return wikilink target |wikilinks=target
local function getDelinkedTarget(s)
local result = s
-- Deal with the reverse pipe trick.
if result:match("%[%[|") then
return delinkReversePipeTrick(result)
end
result = mw.uri.decode(result, "PATH") -- decode percent-encoded entities. Leave underscores and plus signs.
result = mw.text.decode(result, true) -- decode HTML entities.
-- Check for bad titles. To do this we need to find the
-- title area of the link, i.e. the part before any pipes.
local target_area
if result:match("|") then -- Find if we're dealing with a piped link.
target_area = result:match("^%[%[(.-)|.*%]%]")
else
target_area = result:match("^%[%[(.-)%]%]")
end
-- Check for bad characters.
if mw.ustring.match(target_area, "[%[%]<>{}%%%c\n]") and mw.ustring.match(target_area, "[%[%]<>{}%%%c\n]") ~= "?" then
return s
end
return target_area
end
local function getDelinkedLabel(s)
local result = s
-- Deal with the reverse pipe trick.
if result:match("%[%[|") then
return delinkReversePipeTrick(result)
end
result = mw.uri.decode(result, "PATH") -- decode percent-encoded entities. Leave underscores and plus signs.
result = mw.text.decode(result, true) -- decode HTML entities.
-- Check for bad titles. To do this we need to find the
-- title area of the link, i.e. the part before any pipes.
local target_area
if result:match("|") then -- Find if we're dealing with a piped link.
target_area = result:match("^%[%[(.-)|.*%]%]")
else
target_area = result:match("^%[%[(.-)%]%]")
end
-- Check for bad characters.
if mw.ustring.match(target_area, "[%[%]<>{}%%%c\n]") and mw.ustring.match(target_area, "[%[%]<>{}%%%c\n]") ~= "?" then
return s
end
-- Check for categories, interwikis, and files.
local colon_prefix = result:match("%[%[(.-):.*%]%]") or "" -- Get the text before the first colon.
local ns = mw.site.namespaces[colon_prefix] -- see if this is a known namespace
if mw.language.isKnownLanguageTag(colon_prefix) or (ns and (ns.canonicalName == "File" or ns.canonicalName == "Category")) then
return ""
end
-- Remove the colon if the link is using the [[Help:Colon trick]].
if result:match("%[%[:") then
result = "[[" .. result:match("%[%[:(.*%]%])")
end
-- Deal with links using the [[Help:Pipe trick]].
if mw.ustring.match(result, "^%[%[[^|]*|%]%]") then
return delinkPipeTrick(result)
end
-- Find the display area of the wikilink
if result:match("|") then -- Find if we're dealing with a piped link.
result = result:match("^%[%[.-|(.+)%]%]")
-- Remove new lines from the display of multiline piped links,
-- where the pipe is before the first new line.
result = result:gsub("\n", "")
else
result = result:match("^%[%[(.-)%]%]")
end
return result
end
local function delinkURL(s)
-- Assume we have already delinked internal wikilinks, and that
-- we have been passed some text between two square brackets [foo].
-- If the text contains a line break it is not formatted as a URL, regardless of other content.
if s:match("\n") then
return s
end
-- Check if the text has a valid URL prefix and at least one valid URL character.
local valid_url_prefixes = {"//", "http://", "https://", "ftp://", "gopher://", "mailto:", "news:", "irc://"}
local url_prefix
for _ ,v in ipairs(valid_url_prefixes) do
if mw.ustring.match(s, '^%[' .. v ..'[^"%s].*%]' ) then
url_prefix = v
break
end
end
-- Get display text
if not url_prefix then
return s
end
s = s:match("^%[" .. url_prefix .. "(.*)%]") -- Grab all of the text after the URL prefix and before the final square bracket.
s = s:match('^.-(["<> ].*)') or "" -- Grab all of the text after the first URL separator character ("<> ).
s = mw.ustring.match(s, "^%s*(%S.*)$") or "" -- If the separating character was a space, trim it off.
local s_decoded = mw.text.decode(s, true)
if mw.ustring.match(s_decoded, "%c") then
return s
end
return s_decoded
end
local function delinkLinkClass(text, pattern, delinkFunction)
if type(text) ~= "string" then
error("Attempt to de-link non-string input.", 2)
end
if type(pattern) ~= "string" or mw.ustring.sub(pattern, 1, 1) ~= "^" then
error('Invalid pattern detected. Patterns must begin with "^".', 2)
end
-- Iterate over the text string, and replace any matched text. using the
-- delink function. We need to iterate character by character rather
-- than just use gsub, otherwise nested links aren't detected properly.
local result = ""
while text ~= "" do
-- Replace text using one iteration of gsub.
text = mw.ustring.gsub(text, pattern, delinkFunction, 1)
-- Append the left-most character to the result string.
result = result .. mw.ustring.sub(text, 1, 1)
text = mw.ustring.sub(text, 2, -1)
end
return result
end
function p._delink(args)
local text = args[1] or ""
if args.refs == "yes" then
-- Remove any [[Help:Strip markers]] representing ref tags. In most situations
-- this is not a good idea - only use it if you know what you are doing!
text = mw.ustring.gsub(text, "UNIQ%w*%-ref%-%d*%-QINU", "")
end
if args.comments ~= "no" then
text = text:gsub("<!%-%-.-%-%->", "") -- Remove html comments.
end
if args.wikilinks ~= "no" and args.wikilinks ~= "target" then
-- De-link wikilinks and return the label portion of the wikilink.
text = delinkLinkClass(text, "^%[%[.-%]%]", getDelinkedLabel)
elseif args.wikilinks == "target" then
-- De-link wikilinks and return the target portions of the wikilink.
text = delinkLinkClass(text, "^%[%[.-%]%]", getDelinkedTarget)
end
if args.urls ~= "no" then
text = delinkLinkClass(text, "^%[.-%]", delinkURL) -- De-link URLs.
end
if args.whitespace ~= "no" then
-- Replace single new lines with a single space, but leave double new lines
-- and new lines only containing spaces or tabs before a second new line.
text = mw.ustring.gsub(text, "([^\n \t][ \t]*)\n([ \t]*[^\n \t])", "%1 %2")
text = text:gsub("[ \t]+", " ") -- Remove extra tabs and spaces.
end
return text
end
function p.delink(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return p._delink(getArgs(frame, {wrappers = 'Template:Delink'}))
end
return p
5b8e75ac750b5d3ed76cc4158aefcd1568a6a6fd
Module:Ustring
828
1470
3003
2024-02-17T04:51:51Z
Wikipedia>Pppery
0
Changed protection settings for "[[Module:Ustring]]": Used by fully protected [[Template:Str rightc]] -> [[Template:New page DYM]] -> [[Template:No article text]] (-> [[WP:CASC]]) ([Edit=Require administrator access] (indefinite))
Scribunto
text/plain
require('strict')
return setmetatable({}, {
__index = function(t, k)
local what = mw.ustring[k]
if type(what) ~= "function" then
return what
end
return function(frame)
local fargs = frame.args
local fargsused = { tag = true }
local args = {}
local str_i = 1
while fargs['s' .. str_i] do
fargsused['s' .. str_i] = true
args[str_i] = fargs['s' .. str_i]
str_i = str_i + 1
end
for i, v in ipairs(fargs) do
fargsused[i] = true
args[i + str_i - 1] = tonumber(v) or v:gsub("^\\", "", 1)
end
if not fargs.tag then
return (what(unpack(args))) -- Outside parens truncate to first result avoiding tail call
end
local tagargs = {}
for x, y in pairs(fargs) do
if not fargsused[x] then tagargs[x] = y end
end
return frame:extensionTag{name = fargs.tag, content = what(unpack(args)), args = tagargs}
end
end
})
e0455dab4b66831f7596e77432ad865faeef506c
Template:Hlist
10
1423
2909
2024-02-17T05:01:35Z
Wikipedia>Pppery
0
Changed protection settings for "[[Template:Hlist]]": Always cascade protected via main page, for consistency ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:list|horizontal}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
9e3824c2e3c0e0dbef2f37556ac0b994987fecf9
Template:Infobox election/doc
10
1506
3075
2024-02-27T04:51:10Z
Wikipedia>DB1729
0
Reverted 1 edit by [[Special:Contributions/38.22.136.167|38.22.136.167]] ([[User talk:38.22.136.167|talk]]) to last revision by James100000
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{High-use}}
{{ombox|type=style|text=This is not for [[referendums]]; use '''{{Tlg|Infobox referendum}}''' instead.}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:String|Module:Check for unknown parameters}}
This infobox describes a presidential, primary, legislative or parliamentary election.
For legislative elections with many parties, consider using {{tl|Infobox legislative election}} instead.
== Usage ==
Remove fields for different types of elections.
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox election
| election_name = ''' '''
| country =
| flag_year =
| flag_image =
| type = <!-- presidential, parliamentary, legislative, primary, or by-election --><!-- MANDATORY, and limited to the preceding five types -->
| vote_type = Popular <!-- default -->
| ongoing =
| party_colour =
| party_name =
| alliance_name =
| previous_election =
| previous_year =
| outgoing_members =
| election_date = <!-- {{Start date|YYYY|MM|DD}} -->
| elected_members =
| next_election = <!--page title, will be linked if it exists-->
| next_year =
| votes_for_election=
| needed_votes =
| seats_for_election=
| majority_seats =
| opinion_polls =
| registered =
| turnout =
| votes_counted = <!-- Use ONE out of votes_counted, reporting or declared, do not include percentage (%) sign-->
| reporting = <!-- Use ONE out of votes_counted, reporting or declared, do not include percentage (%) sign-->
| declared = <!-- Use ONE out of votes_counted, reporting or declared, do not include percentage (%) sign-->
| last_update =
| time_zone =
| image_upright =
| filler = <!-- (fills whitespace to the left of image1 with filler text, such as "Political selections")-->
<!-- person 1 -->
| image1 =
| image1_size =
| image1_upright =
| colour1 =
| nominee1 = <!-- when appropriate, candidate1 can be used instead -->
| candidate1 = <!-- any type of election -->
| leader1 = <!-- legislative or parliamentary only-->
| party1 =
| alliance1 =
<!-- presidential -->
| home_state1 =
| running_mate1 =
| electoral_vote1 =
| delegate_count1 =
| states_carried1 =
| districts_won1 =
<!-- legislative or parliamentary -->
| leader_since1 =
| leaders_seat1 =
| last_election1 =
| seats_before1 =
| seats_needed1 =
| seats1 =
| seats_after1 =
| seat_change1 =
<!-- any -->
| popular_vote1 =
| percentage1 =
| swing1 = <!-- legislative or parliamentary only-->
<!-- person 2 -->
| image2 =
| image2_size =
| image2_upright =
| colour2 =
| nominee2 = <!-- presidential only, when appropriate, candidate2 can be used instead -->
| candidate2 = <!-- any type of election -->
| leader2 = <!-- legislative or parliamentary only-->
| party2 =
| alliance2 =
<!-- presidential -->
| home_state2 =
| running_mate2 =
| electoral_vote2 =
| delegate_count2 =
| states_carried2 =
| districts_won2 =
<!-- legislative or parliamentary -->
| leader_since2 =
| leaders_seat2 =
| last_election2 =
| seats_before2 =
| seats_needed2 =
| seats2 =
| seats_after2 =
| seat_change2 =
<!-- any -->
| popular_vote2 =
| percentage2 =
| swing2 = <!-- legislative or parliamentary only-->
<!-- polls -->
| poll1_date =
| poll1_source =
| poll1_nominee1 = <!-- presidential only, when appropriate, poll1_candidate1 can be used instead -->
| poll1_party1 = <!-- legislative or parliamentary only-->
| poll1_nominee2 = <!-- presidential only, when appropriate, poll1_candidate2 can be used instead -->
| poll1_party2 = <!-- legislative or parliamentary only-->
| poll2_date =
| poll2_source =
| poll2_nominee1 = <!-- presidential only, when appropriate, poll2_candidate1 can be used instead -->
| poll2_party1 = <!-- legislative or parliamentary only-->
| poll2_nominee2 = <!-- presidential only, when appropriate, poll2_candidate2 can be used instead -->
| poll2_party2 = <!-- legislative or parliamentary only-->
<!-- auxiliary rows -->
| 1blank =
| 1data1 =
| 1data2 =
| 2blank =
| 2data1 =
| 2data2 =
<!-- map -->
| map_image =
| map_size =
| map_alt =
| map =
| map_caption =
<!-- bottom -->
| title =
| before_election =
| before_party =
| posttitle =
| after_election =
| after_party =
}}
</syntaxhighlight>
: *Non-optional fields.
: † only displayed if the election is yet to take place.
: ‡ only displayed if the election has finished.
{| class="wikitable"
! Field !! Type !! Description
|-
| '''election_name'''
|*
| Name given to the election. If this field is left empty the page name is displayed
|-
| '''country'''
|
| Country where the election took place.
|-
| '''flag_year'''
|
| For historical elections when an older flag design was in effect, enter the year the flag came into effect (not the election year). Default is to use the current flag.
|-
| '''flag_image'''
|
| For non-country elections, specify the full name of the flag, coat-of-arms, or seal image to display.
|-
| '''type'''
|*
| The type of election. Must be one of five: presidential, legislative, parliamentary, primary, or by-election. Legislative after the election will display majority and minority party, rather than first and second party.
|-
| '''vote_type'''
|
| The type of votes recorded at popular_vote''n''. Defaults to "Popular".
|-
| '''ongoing'''
|*
| Must be either yes or no, whether the election is yet to take place, or completed. Fields marked with a † are only displayed if the election is yet to take place. Fields marked with a ‡ are only displayed if the election has finished. (Default no.)
|-
| '''party_colour'''
|
| Also spelled '''party_color'''. To turn off the party colours enter 'no'.
|-
| '''party_name'''
|
| To turn off linking to the parties enter 'no'.
|-
| '''alliance_name'''
|
| To turn off linking to the alliances enter 'no'.
|-
| '''previous_election'''
|
| The page name of the last election of this type.
|-
| '''previous_year'''
|
| The year the last election of this type took place.
|-
| '''previous_mps''' (DEPRECATED)
| ''legislative''<br/>''parliamentary''
| Also spelled '''previous_MPs''' or '''previous_members''', page name for the members elected in the last election.
|-
| '''outgoing_members'''
| ''legislative''<br/>''parliamentary''
| The page name of the legislative term (typically including a list of members) serving between the previous election and this election.<br />(Can either be a page title or a wiki link.)
|-
| '''election_date'''
|
| Date of election - use {{tl|Start date}}
|-
| '''elected_mps''' (DEPRECATED)
| ''legislative''<br/>''parliamentary''
| Wikilink to the MPs elected in this election.
|-
| '''elected_members'''
| ''legislative''<br/>''parliamentary''
| The page name of the legislative term (typically including a list of members) serving between this election and the next election.<br />(Can either be a page title or a wiki link.)
|-
| '''next_election'''
|
| The page name of the next election of this type. If red link (it doesn't exist), then it will appear unlinked.
|-
| '''next_year'''
|
| The year the next election of this type took place.
|-
| '''<del>next_mps</del>''' (DEPRECATED, REMOVED)
| <del>''legislative''<br/>''parliamentary''</del>
| <del>Also spelled '''next_MPs''' or '''next_members''', page name for the members elected in the next election.</del>
|-
| '''votes_for_election'''
| ''presidential''
| The number of votes for election and the system of voting (e.g. Electoral College).
|-
| '''needed_votes'''
| ''presidential''
| The number of votes required to win. If there is an even number of votes, use the number that is said by the media.
|-
| '''seats_for_election'''
| ''legislative''<br/>''parliamentary''<br/>''by-election''
| The number of seats for election and the house or chamber the seats are for.
|-
| '''majority_seats'''
| ''legislative''<br/>''parliamentary''
| The number of seats required for a [[majority government]]. If there is an even number of seats in the house or chamber, use the number that is said by the media.
|-
| '''opinion_polls'''
|
| Pagename or section anchor of [[opinion poll]]s.
|-
| '''registered'''
|
| Number of [[Voter registration|registered voters]] for this election.
|-
| '''turnout'''
|
| [[Voter turnout]] for this election.
|-
| '''votes_counted'''
| rowspan="3"|
| rowspan="3"|The number of votes or the number of constituencies, in %, that have been counted after polls have closed. '''Do not include''' the percentage sign (%) after number. It is advisable to remove this information soon after the counting process has finished and all the results have been declared. Use '''votes_counted''', '''reporting''' or '''declared''' according to whichever term best suits the specific election and counting procedure
|-
| '''reporting'''
|-
| '''declared'''
|-
| '''last_update'''
|
| The time at which the latest update on results and the number of votes were updated on the infobox
|-
| '''time_zone'''
|
| Time zone of the time given in the ''last_update'' field. Must be linked as normal similar to an article (e.g. <nowiki>[[Greenwich mean time|GMT]])</nowiki>
|-
| '''image_upright'''
|
| Upright for all {{para|image<var>n</var>}}. See [[WP:UPRIGHT]]. Can be overridden by the corresponding {{para|image<var>n</var>_upright}}.
|-
| '''filler'''
|
| Set filler = (text) to include optional filler text, such as "Political selections", to the left of image1.
|-
| '''image1'''
|
| Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour1 or party1 must be entered.
|-
| '''image1_upright'''
|
| Upright for {{para|image1}}. See [[WP:UPRIGHT]]. Overrides {{para|image_upright}}.
|-
| '''colour1'''
|
| Also spelt '''color1'''. Enter a hex colour code (without the <nowiki>#</nowiki>) to override the border colour of image1. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.
|-
| '''nominee1'''
| ''presidential''<br/>''by-election''
| Name of Nominee. When appropriate, candidate1 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.
|-
| '''candidate1'''
|
| Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.
|-
| '''leader1'''
| ''legislative''<br/>''parliamentary''
| Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.
|-
| '''party1'''
|
| Political Party using [[:Category:Political party shortname templates|Political party shortname templates]]. The number can be changed up to nine to display different Parties at the same time.
|-
| '''alliance1'''
|
| Political alliance in elections where coalition politics is common.
|-
| '''home_state1'''
| ''presidential''
| The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.
|-
| '''running_mate1'''
| ''presidential''
| The Nominee's [[Running mate]]. The number can be changed up to nine to display different Nominees at the same time.
|-
| '''electoral_vote1'''
| ''presidential''<br/>‡
| The [[electoral vote]]s obtained by the Nominee. The number can be changed up to nine to display different Nominees at the same time.
|-
| '''projected_vote1'''
| ''presidential''<br/>‡
| The [[electoral vote]]s projected for the Nominee.
|-
| '''delegate_count1'''
| ''presidential''
| The aggregate number of [[Delegate (American politics)|delegate]]s obtained by the candidate. The number can be changed up to nine to display different candidates at the same time. Intended for use in pre-election processes such as selection of delegates to [[United States presidential nominating convention]]s. Intended to be used instead of electoral_vote1 for these cases.
|-
| '''states_carried1'''
| ''presidential''<br/>‡
| The states carried or won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.
|-
| '''districts_won1'''
| ''presidential''<br/>‡
| The number of districts won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.
|-
| '''leader_since1'''
| ''legislative''<br/>''parliamentary''
| The date the Leader took office. The number can be changed up to nine to display different Parties at the same time. Only to be used when the information is in the article body.
|-
| '''leaders_seat1'''
| ''legislative''<br/>''parliamentary''
| The seat the Leader represents. The number can be changed up to nine to display different Parties at the same time. Only to be used when the information is in the article body.
|-
| '''last_election1'''
| ''legislative''<br/>''parliamentary''
| The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.
|-
| '''seats_before1'''
| ''legislative''<br/>''parliamentary''
| The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.
|-
| '''seats_needed1'''
| ''legislative''<br/>''parliamentary''<br/>†
| The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.
|-
| '''seats1'''
| ''legislative''<br/>''parliamentary''<br/>‡
| The seats won at the election. The number can be changed up to nine to display different Parties at the same time.
|-
| '''seats_after1'''
| ''legislative''<br/>''parliamentary''<br/>‡
| The seat count after the election. The number can be changed up to nine to display different Parties at the same time.
|-
| '''seat_change1'''
| ''legislative''<br/>''parliamentary''<br/>‡
| The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.
|-
| '''popular_vote1'''
| ‡
| The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.
|-
| '''percentage1'''
| ‡
| The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.
|-
| '''swing1'''
| ''legislative''<br/>''parliamentary''<br/>‡
| The [[Swing (politics)|swing]] or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.
|-
| '''poll1_date'''
| †
| The date of an opinion poll. The number can be changed up to five to display different polls at the same time.
|-
| '''poll1_source'''
| †
| The source or URL of the opinion poll. The number can be changed up to five to display different polls at the same time.
poll1_nominee1
|-
| '''poll1_nominee1'''
| ''presidential''<br/>†
| The percentage poll 1 gave to nominee 1. When appropriate, '''poll1_candidate1''' can be used instead. The poll number can be changed up to five to display different polls at the same time. The nominee or candidate number can be changed up to nine to display different Nominees or Candidates at the same time.
|-
| '''poll1_party1'''
| ''legislative''<br/>''parliamentary''<br/>†
| The percentage poll 1 gave to party 1. The poll number can be changed up to five to display different polls at the same time. The party number can be changed up to nine to display different Nominees at the same time.
|-
| '''1blank'''
|
| Title of an auxiliary row. The number can be changed up to six to display six extra rows.
|-
| '''1data1'''
|
| Data 1 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.
|-
| '''map_image'''
|
| Page name for the election map file.
|-
| '''map_size'''
|
| Size of image of the election map to be displayed. (Default 300px).
|-
| '''map_alt'''
|
| [[WP:Alternative text for images|Alt text]] for the election map.
|-
| '''map'''
|
| A freeform replacement for the above, which can be used to insert [[mw:extension:ImageMap|extension:ImageMap]]s or templates instead of images.
|-
| '''map_caption'''
|
| Caption on image of the election map to be displayed.
|-
| '''title'''
|
| Title of the leader before the election. (President, Speaker, Government, Prime Minister...)
|-
| '''before_election'''
|
| The leader in power before the election, labeled [[incumbent]] if the election is yet to take place.
|-
| '''before_party'''
|
| The party in power before the election. This can be set to "Acting (law)" (which will display as "[[Acting (law)|Acting]]") if necessary.
|-
| '''posttitle'''
| ‡
| Title of the victor of the election (President-elect, Prime Minister-designate...), only if different than before.
|-
| '''after_election'''
| ‡
| The leader in power as a result of the election. In case of an ongoing primary, this field may contain the name of the presumptive nominee. If an election is decided by a country's Constitutional/Supreme Court, the leader and the party in power are both listed in this field and a link to the court decision is listed one line below the leader in power. If an election is annulled, the term "Election results annulled" or similar is listed here and a note is listed one line below that.
|-
| '''after_party'''
| ‡
| The party in power as a result of the election.
|}
== Notes ==
The template can display up to nine parties or nominees at the same time, three per row. If exactly four are needed, use the first two on the top and bottom lines. This is done by only using the numbers 1, 2, 4 and 5 on the fields that require a number.
All the fields that work for Legislative will also work for Parliamentary. The only difference between the two is the titles above the images.
The template uses the party fields to display the party colour in the background of the images and some text. To turn this function off, input:
| party_colour = no
To override the calling of the party short name templates, input:
| party_name = no
To override the calling of the alliance short name templates, input:
| alliance_name = no
To override the colour for party1 or nominee1, input:
| colour1 = [HEX OF COLOUR, MINUS #]
The hex number must be entered without the hash for the field to work. The number (colour'''1''') can be changed up to nine for different parties or Nominees. The fields work with both spellings of the word 'color'.
In 2013, the Request for Comment (RFC) process established a consensus that third party candidates must poll over 5% to be included in an infobox, at least for elections in the United States. This was re-affirmed in 2017. RFCs on whether the 5% threshold is necessary for second-place finishers to be included in the infobox have been mixed. (See [[Wikipedia:Five percent rule]])
=== Which leader to use ===
The parties are shown in the infobox in the order they came in the election. The "leader" of each party is the person leading the party through that election.
== Examples ==
=== Presidential ===
{{Infobox election
| election_name = 2004 United States presidential election
| country = United States
| type = presidential
| previous_election = 2000 United States presidential election
| previous_year = 2000
| election_date = {{Start date|2004|11|02}}
| next_election = 2008 United States presidential election
| next_year = 2008
| votes_for_election= All [[List of United States presidential electors, 2004|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = George-W-Bush.jpeg
| nominee1 = [[George W. Bush]]
| party1 = Republican Party (US)
| home_state1 = [[Texas]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 286
| states_carried1 = 31
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = John Kerry headshot with US flag.jpg
| nominee2 = [[John Kerry]]
| party2 = Democratic Party (US)
| home_state2 = [[Massachusetts]]
| running_mate2 = [[John Edwards]]
| electoral_vote2 = 251
| states_carried2 = 19 + [[Washington, D.C.|DC]]
| popular_vote2 = 59,028,444
| percentage2 = 48.3%
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[George W. Bush]]
| before_party = Republican Party (US)
| after_election = [[George W. Bush]]
| after_party = Republican Party (US)
}}
<syntaxhighlight lang="wikitext" style="overflow: auto">
{{Infobox election
| election_name = 2004 United States presidential election
| country = United States
| type = presidential
| previous_election = 2000 United States presidential election
| previous_year = 2000
| election_date = {{Start date|2004|11|02}}
| next_election = 2008 United States presidential election
| next_year = 2008
| votes_for_election= All [[List of United States presidential electors, 2004|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = George-W-Bush.jpeg
| nominee1 = [[George W. Bush]]
| party1 = Republican Party (US)
| home_state1 = [[Texas]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 286
| states_carried1 = 31
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = John Kerry headshot with US flag.jpg
| nominee2 = [[John Kerry]]
| party2 = Democratic Party (US)
| home_state2 = [[Massachusetts]]
| running_mate2 = [[John Edwards]]
| electoral_vote2 = 251
| states_carried2 = 19 + [[Washington, D.C.|DC]]
| popular_vote2 = 59,028,444
| percentage2 = 48.3%
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[George W. Bush]]
| before_party = Republican Party (US)
| after_election = [[George W. Bush]]
| after_party = Republican Party (US)
}}</syntaxhighlight>
{{-}}
=== Presidential primary ===
{{Infobox election
| election_name = [[Republican Party presidential primaries, 2016]]
| country = United States
| type = primary
| ongoing = yes
| previous_election = 2012 Republican Party presidential primaries
| previous_year = 2012
| next_election = 2020 Republican Party presidential primaries
| next_year = ''2020''
| election_date = February 1 – June 7, 2016
| votes_for_election = 2,472 delegates to the [[2016 Republican National Convention|Republican National Convention]]
| needed_votes = 1,237 delegate
| party_name = no
| image_size = 160x180px
<!-- Donald Trump -->
| image1 = Donald August 19 (cropped).jpg
| candidate1 = '''[[Donald Trump]]'''
| color1 = 283681
| home_state1 = [[New York (state)|New York]]
| states_carried1 = '''28'''
| popular_vote1 = '''10,713,526'''
| percentage1 = '''40.2%'''
| delegate_count1 = '''1,014'''
<!-- Ted Cruz-->
| image2 = Ted Cruz, official portrait, 113th Congress (cropped 2).jpg
| candidate2 = [[Ted Cruz]]
| color2 = DAA520
| home_state2 = [[Texas]]
| states_carried2 = 11
| popular_vote2 = 7,321,878
| percentage2 = 27.5%
| delegate_count2 = 546
<!-- Marco Rubio -->
| image4 = Marco Rubio, Official Portrait, 112th Congress.jpg
| candidate4 = [[Marco Rubio]]
| color4 = C60E3B
| home_state4 = [[Florida]]
| states_carried4 = 3
| popular_vote4 = 3,497,828
| percentage4 = 13.1%
| delegate_count4 = 173
<!-- John Kasich -->
| image5 = Governor John Kasich (cropped2).jpg
| candidate5 = [[John Kasich]]
| color5 = 29AB87
| home_state5 = [[Ohio]]
| states_carried5 = 1
| popular_vote5 = 3,762,367
| percentage5 = 14.1%
| delegate_count5 = 154
| map_image = Republican Party presidential primaries results, 2016.svg
| map_size = 308px
| map_caption = '''First place by first-instance vote'''
{{{!}} style="font-size:110%; margin:0 auto;"
{{!}} {{Legend0|#283681|Donald Trump}} {{!}}{{!}} {{Legend0|#DAA520|Ted Cruz}}
{{!}}-
{{!}} {{Legend0|#C60E3B|Marco Rubio}} {{!}}{{!}} {{Legend0|#29AB87|John Kasich}}
{{!}}-
{{!}} {{Legend0|#000000|Uncommitted}} {{!}}{{!}}
{{!}}}
| title = Republican nominee
| before_election = [[Mitt Romney]]
| after_election = [[Donald Trump]]
| template_name = 2016 Republican Party presidential primaries
}}
<syntaxhighlight lang="wikitext" style="overflow: auto">
{{Infobox election
| election_name = [[Republican Party presidential primaries, 2016]]
| country = United States
| type = primary
| ongoing = yes
| previous_election = 2012 Republican Party presidential primaries
| previous_year = 2012
| next_election = 2020 Republican Party presidential primaries
| next_year = ''2020''
| election_date = February 1 – June 7, 2016
| votes_for_election = 2,472 delegates to the [[2016 Republican National Convention|Republican National Convention]]
| needed_votes = 1,237 delegate
| party_name = no
| image_size = 160x180px
<!-- Donald Trump -->
| image1 = Donald August 19 (cropped).jpg
| candidate1 = '''[[Donald Trump]]'''
| color1 = 283681
| home_state1 = [[New York (state)|New York]]
| states_carried1 = '''28'''
| popular_vote1 = '''10,713,526'''
| percentage1 = '''30.2%'''
| delegate_count1 = '''1,014'''
<!-- Ted Cruz-->
| image2 = Ted Cruz, official portrait, 113th Congress (cropped 2).jpg
| candidate2 = [[Ted Cruz]]
| color2 = DAA520
| home_state2 = [[Texas]]
| states_carried2 = 11
| popular_vote2 = 7,321,878
| percentage2 = 37.5%
| delegate_count2 = 546
<!-- Marco Rubio -->
| image4 = Marco Rubio, Official Portrait, 112th Congress.jpg
| candidate4 = [[Marco Rubio]]
| color4 = C60E3B
| home_state4 = [[Florida]]
| states_carried4 = 3
| popular_vote4 = 3,497,828
| percentage4 = 13.1%
| delegate_count4 = 173
<!-- John Kasich -->
| image5 = Governor John Kasich (cropped2).jpg
| candidate5 = [[John Kasich]]
| color5 = 29AB87
| home_state5 = [[Ohio]]
| states_carried5 = 1
| popular_vote5 = 3,762,367
| percentage5 = 14.1%
| delegate_count5 = 154
| map_image = Republican Party presidential primaries results, 2016.svg
| map_size = 308px
| map_caption = '''First place by first-instance vote'''
{{{!}} style="font-size:110%; margin:0 auto;"
{{!}} {{Legend0|#283681|Donald Trump}} {{!}}{{!}} {{Legend0|#DAA520|Ted Cruz}}
{{!}}-
{{!}} {{Legend0|#C60E3B|Marco Rubio}} {{!}}{{!}} {{Legend0|#29AB87|John Kasich}}
{{!}}-
{{!}} {{Legend0|#000000|Uncommitted}} {{!}}{{!}}
{{!}}}
| title = Republican nominee
| before_election = [[Mitt Romney]]
| after_election = [[Donald Trump]]
| template_name = 2016 Republican Party presidential primaries
}}
</syntaxhighlight>
{{-}}
=== Legislative or parliamentary ===
{{Infobox election
| election_name = 2005 United Kingdom general election
| country = United Kingdom
| type = parliamentary
| ongoing = no
| previous_election = 2001 United Kingdom general election
| previous_year = 2001
| outgoing_members = List of MPs elected in the 2001 United Kingdom general election
| elected_members = List of MPs elected in the 2005 United Kingdom general election
| next_election = 2010 United Kingdom general election
| next_year = 2010
| seats_for_election = All [[List of United Kingdom Parliament constituencies (2005–2010)|646 seats]] to the [[House of Commons of the United Kingdom|House of Commons]]
| majority_seats = 324
| election_date = 5 May 2005
| registered = 44,245,939
| turnout = 61.4% ({{increase}}2.0%)
| opinion_polls = Opinion polling for the 2005 United Kingdom general election
<!-- Labour -->| image1 = [[File:Tony_Blair_WEF_(cropped).jpg|160x160px|Tony Blair]]
| leader1 = [[Tony Blair]]
| leader_since1 = [[1994 Labour Party leadership election|21 July 1994]]
| party1 = Labour Party (UK)
| leaders_seat1 = [[Sedgefield (UK Parliament constituency)|Sedgefield]]
| last_election1 = 412 seats, 40.7%
| seats_before1 = 403
| seats1 = '''355'''{{sup|‡}}
| seat_change1 = {{decrease}} 48*<!-- note: the boundaries changed from the previous election - 48 is a nominal change figure from the seats the party would have won based on those boundaries. -->
| popular_vote1 = '''9,552,436'''
| percentage1 = '''35.2%'''
| swing1 = {{decrease}} 5.5 [[Percentage point|pp]]
<!-- Conservative -->| image2 = [[File:Michael Howard (cropped).jpg|160x160px|Michael Howard]]
| leader2 = [[Michael Howard]]
| leader_since2 = [[2003 Conservative Party leadership election|6 November 2003]]
| party2 = Conservative Party (UK)
| leaders_seat2 = [[Folkestone and Hythe (UK Parliament constituency)|Folkestone<br>and Hythe]]
| last_election2 = 166 seats, 31.7%
| seats_before2 = 165
| seats2 = 198
| seat_change2 = {{increase}} 33*<!-- note: the boundaries changed from the previous election + 33 is a nominal change figure from the seats the party would have won based on those boundaries. -->
| popular_vote2 = 8,784,915
| percentage2 = 32.4%
| swing2 = {{increase}} 0.7 [[Percentage point|pp]]
<!-- Liberal Democrats -->| image3 = [[File:Charles_Kennedy_MP_(cropped).jpg|160x160px]]
| leader3 = [[Charles Kennedy]]
| leader_since3 = [[1999 Liberal Democrats leadership election|9 August 1999]]
| party3 = Liberal Democrats (UK)
| leaders_seat3 = [[Ross, Skye and Lochaber (UK Parliament constituency)|Ross, Skye<br>and Lochaber]]
| last_election3 = 52 seats, 18.3%
| seats_before3 = 51
| seats3 = 62
| seat_change3 = {{increase}} 11*<!-- note: the boundaries changed from the previous election + 11 is a nominal change figure from the seats the party would have won based on those boundaries. -->
| popular_vote3 = 5,985,454
| percentage3 = 22.0%
| swing3 = {{increase}} 3.7 [[Percentage point|pp]]
| map_image = 2005UKElectionMap.svg
| map_size = 200px
| map_caption = Colours denote the winning party, as shown in the main table of results.<br />
''* Indicates boundary change – so this is a notional figure''
''{{sup|‡}} Figure does not include the [[Speaker of the House of Commons (United Kingdom)|Speaker]], [[Michael Martin, Baron Martin of Springburn|Michael Martin]]''
| title = [[Prime Minister of the United Kingdom|Prime Minister]]
| posttitle = Prime Minister after election
| before_election = [[Tony Blair]]
| before_party = Labour Party (UK)
| after_election = [[Tony Blair]]
| after_party = Labour Party (UK)
| map2_image = House_of_Commons_2005_Election.svg
| map2_caption = Composition of the [[House of Commons of the United Kingdom|House of Commons]] after the election
| map2_size = 360px
}}
<syntaxhighlight lang="wikitext" style="overflow: auto">
{{Infobox election
| election_name = 2005 United Kingdom general election
| country = United Kingdom
| type = parliamentary
| ongoing = no
| previous_election = 2001 United Kingdom general election
| previous_year = 2001
| outgoing_members = List of MPs elected in the 2001 United Kingdom general election
| elected_members = List of MPs elected in the 2005 United Kingdom general election
| next_election = 2010 United Kingdom general election
| next_year = 2010
| seats_for_election = All [[List of United Kingdom Parliament constituencies (2005–2010)|646 seats]] to the [[House of Commons of the United Kingdom|House of Commons]]
| majority_seats = 324
| election_date = 5 May 2005
| registered = 44,245,939
| turnout = 61.4% ({{increase}}2.0%)
| opinion_polls = Opinion polling for the 2005 United Kingdom general election
<!-- Labour -->| image1 = [[File:Tony_Blair_WEF_(cropped).jpg|160x160px|Tony Blair]]
| leader1 = [[Tony Blair]]
| leader_since1 = [[1994 Labour Party leadership election|21 July 1994]]
| party1 = Labour Party (UK)
| leaders_seat1 = [[Sedgefield (UK Parliament constituency)|Sedgefield]]
| last_election1 = 412 seats, 40.7%
| seats_before1 = 403
| seats1 = '''355'''{{sup|‡}}
| seat_change1 = {{decrease}} 48*<!-- note: the boundaries changed from the previous election - 48 is a nominal change figure from the seats the party would have won based on those boundaries. -->
| popular_vote1 = '''9,552,436'''
| percentage1 = '''35.2%'''
| swing1 = {{decrease}} 5.5 [[Percentage point|pp]]
<!-- Conservative -->| image2 = [[File:Michael Howard (cropped).jpg|160x160px|Michael Howard]]
| leader2 = [[Michael Howard]]
| leader_since2 = [[2003 Conservative Party leadership election|6 November 2003]]
| party2 = Conservative Party (UK)
| leaders_seat2 = [[Folkestone and Hythe (UK Parliament constituency)|Folkestone<br>and Hythe]]
| last_election2 = 166 seats, 31.7%
| seats_before2 = 165
| seats2 = 198
| seat_change2 = {{increase}} 33*<!-- note: the boundaries changed from the previous election + 33 is a nominal change figure from the seats the party would have won based on those boundaries. -->
| popular_vote2 = 8,784,915
| percentage2 = 32.4%
| swing2 = {{increase}} 0.7 [[Percentage point|pp]]
<!-- Liberal Democrats -->| image3 = [[File:Charles_Kennedy_MP_(cropped).jpg|160x160px]]
| leader3 = [[Charles Kennedy]]
| leader_since3 = [[1999 Liberal Democrats leadership election|9 August 1999]]
| party3 = Liberal Democrats (UK)
| leaders_seat3 = [[Ross, Skye and Lochaber (UK Parliament constituency)|Ross, Skye<br>and Lochaber]]
| last_election3 = 52 seats, 18.3%
| seats_before3 = 51
| seats3 = 62
| seat_change3 = {{increase}} 11*<!-- note: the boundaries changed from the previous election + 11 is a nominal change figure from the seats the party would have won based on those boundaries. -->
| popular_vote3 = 5,985,454
| percentage3 = 22.0%
| swing3 = {{increase}} 3.7 [[Percentage point|pp]]
| map_image = 2005UKElectionMap.svg
| map_size = 200px
| map_caption = Colours denote the winning party, as shown in the main table of results.<br />
''* Indicates boundary change – so this is a notional figure''
''{{sup|‡}} Figure does not include the [[Speaker of the House of Commons (United Kingdom)|Speaker]], [[Michael Martin, Baron Martin of Springburn|Michael Martin]]''
| title = [[Prime Minister of the United Kingdom|Prime Minister]]
| posttitle = Prime Minister after election
| before_election = [[Tony Blair]]
| before_party = Labour Party (UK)
| after_election = [[Tony Blair]]
| after_party = Labour Party (UK)
| map2_image = House_of_Commons_2005_Election.svg
| map2_caption = Composition of the [[House of Commons of the United Kingdom|House of Commons]] after the election
| map2_size = 360px
}}</syntaxhighlight>
{{-}}
=== By-election ===
{{Infobox election
| election_name = 2012 Bradford West by-election
| type = By-election
| country = United Kingdom
| seats_for_election = The [[Bradford West (UK Parliament constituency)|Bradford West]] seat in the [[House of Commons of the United Kingdom|House of Commons]].<br />Election by simple majority using [[first past the post]].<br />Triggered by resignation of incumbent
| votes_for_election =
| ongoing = no
| previous_election = 2010 United Kingdom general election
| previous_year = 2010
| next_election =
| next_year =
| election_date = {{Start date|2012|03|29|df= y}}
| candidate1 = [[George Galloway]]
| image1 = George Galloway 2007-02-24.jpg
| party1 = Respect Party
| last_election1 = 1,245
| popular_vote1 = 18,341
| percentage1 = 55.9
| candidate2 = Imran Hussain
| image2 =
| party2 = Labour Party (UK)
| last_election2 = 18,401
| popular_vote2 = 8,201
| percentage2 = 25.0
| candidate3 = Jackie Whiteley
| image3 =
| party3 = Conservative Party (UK)
| last_election3 = 12,638
| popular_vote3 = 2,746
| percentage3 = 8.4
| candidate4 = Jeanette Sunderland
| image4 =
| party4 = Liberal Democrats (UK)
| last_election4 = 4,732
| popular_vote4 = 1,505
| percentage4 = 4.6
| candidate5 = Sonja McNally
| image5 =
| party5 = UK Independence Party
| last_election5 = 812
| popular_vote5 = 1,085
| percentage5 = 3.3
| candidate6 = Dawud Islam
| image6 =
| party6 = Green Party of England and Wales
| last_election6 = 940
| popular_vote6 = 481
| percentage6 = 1.5
| title = MP
| posttitle = Subsequent MP
| before_election = [[Marsha Singh]]
| before_party = Labour Party (UK)
| after_election = [[George Galloway]]
| after_party = Respect Party
| map_image = BradfordWest2007Constituency.svg
| map_size = 200px
| map_alt = A map of West Yorkshire with black lines dividing the area into irregular shapes
| map =
| map_caption = Boundary of Bradford West in [[West Yorkshire]].
}}
<syntaxhighlight lang="wikitext" style= "overflow: auto">
{{Infobox election
| election_name = 2012 Bradford West by-election
| type = By-election
| country = United Kingdom
| seats_for_election = The [[Bradford West (UK Parliament constituency)|Bradford West]] seat in the [[House of Commons of the United Kingdom|House of Commons]].<br />Elected by simple majority using [[first past the post]].<br />Triggered by resignation of incumbent
| ongoing = no
| previous_election = 2010 United Kingdom general election
| previous_year = 2010
| next_election =
| next_year =
| election_date = {{Start date|2012|03|29|df= y}}
| candidate1 = [[George Galloway]]
| image1 = George Galloway 2007-02-24.jpg
| party1 = Respect Party
| last_election1 = 1,245
| popular_vote1 = 18,341
| percentage1 = 55.9
| candidate2 = Imran Hussain
| image2 =
| party2 = Labour Party (UK)
| last_election2 = 18,401
| popular_vote2 = 8,201
| percentage2 = 25.0
| candidate3 = Jackie Whiteley
| image3 =
| party3 = Conservative Party (UK)
| last_election3 = 12,638
| popular_vote3 = 2,746
| percentage3 = 8.4
| candidate4 = Jeanette Sunderland
| image4 =
| party4 = Liberal Democrats
| last_election4 = 4,732
| popular_vote4 = 1,505
| percentage4 = 4.6
| candidate5 = Sonja McNally
| image5 =
| party5 = UK Independence Party
| last_election5 = 812
| popular_vote5 = 1,085
| percentage5 = 3.3
| candidate6 = Dawud Islam
| image6 =
| party6 = Green Party of England and Wales
| last_election6 = 940
| popular_vote6 = 481
| percentage6 = 1.5
| title = MP
| posttitle = Subsequent MP
| before_election = [[Marsha Singh]]
| before_party = Labour Party (UK)
| after_election = [[George Galloway]]
| after_party = Respect Party
| map_image = BradfordWest2007Constituency.svg
| map_size = 200px
| map_alt = A map of West Yorkshire with black lines dividing the area into irregular shapes
| map =
| map_caption = Boundary of Bradford West in [[West Yorkshire]].
}}
</syntaxhighlight>
{{-}}
===Annulled election===
{{Infobox election
| election_name = 2019 Bolivian general election
| country = Bolivia
| type = presidential
| previous_election = 2014 Bolivian general election
| previous_year = 2014
| next_election = 2020 Bolivian general election
| next_year = 2020
| election_date = 20 October 2019
| ongoing = no
| turnout = 88.31% ({{increase}} 0.41[[Percentage point|pp]])
<!-- Evo Morales -->| image1 = Evo Morales 2017.jpg
| image1_size = 150x150px
| nominee1 = [[Evo Morales]]
| party1 = Movement for Socialism (Bolivia)
| running_mate1 = [[Álvaro García Linera]]
| popular_vote1 = '''2,889,359'''
| percentage1 = '''47.08%'''
<!-- Carlos Mesa -->| image2 = Carlos Mesa, ex-President of Bolivia (cropped 2).jpg
| image2_size = 150x150px
| nominee2 = [[Carlos Mesa]]
| party2 = [[Civic Community]]
| colour2 = F26524
| running_mate2 = Gustavo Pedraza
| popular_vote2 = 2,240,920
| percentage2 = 36.51%
<!-- Chi Hyun Chung -->| image3 = Chi Hyun Ching (cropped).png
| image3_size = 150x150px
| nominee3 = [[Chi Hyun Chung]]
| party3 = Christian Democratic Party (Bolivia)
| running_mate3 = Paola Barriga
| popular_vote3 = 539,081
| percentage3 = 8.78%
<!-- map -->| map_image = 2019 Bolivian elections map.png
| map_size = 300px
| map_caption =
| title = President
| before_election = [[Evo Morales]]
| before_party = Movement for Socialism (Bolivia)
| after_election = [[2019 Bolivian political crisis|Election results annulled]] <br>[[Jeanine Áñez]] ([[Democrat Social Movement]]) becomes acting president
| after_party =
}}
<syntaxhighlight lang="wikitext" style= "overflow: auto">
{{Infobox election
| election_name = 2019 Bolivian general election
| country = Bolivia
| type = presidential
| previous_election = 2014 Bolivian general election
| previous_year = 2014
| next_election = 2020 Bolivian general election
| next_year = 2020
| election_date = 20 October 2019
| ongoing = no
| turnout = 88.31% ({{increase}} 0.41[[Percentage point|pp]])
<!-- Evo Morales -->| image1 = Evo Morales 2017.jpg
| image1_size = 150x150px
| nominee1 = [[Evo Morales]]
| party1 = Movement for Socialism (Bolivia)
| running_mate1 = [[Álvaro García Linera]]
| popular_vote1 = '''2,889,359'''
| percentage1 = '''47.08%'''
<!-- Carlos Mesa -->| image2 = Carlos Mesa, ex-President of Bolivia (cropped 2).jpg
| image2_size = 150x150px
| nominee2 = [[Carlos Mesa]]
| party2 = [[Civic Community]]
| colour2 = F26524
| running_mate2 = Gustavo Pedraza
| popular_vote2 = 2,240,920
| percentage2 = 36.51%
<!-- Chi Hyun Chung -->| image3 = Chi Hyun Ching (cropped).png
| image3_size = 150x150px
| nominee3 = [[Chi Hyun Chung]]
| party3 = Christian Democratic Party (Bolivia)
| running_mate3 = Paola Barriga
| popular_vote3 = 539,081
| percentage3 = 8.78%
<!-- map -->| map_image = 2019 Bolivian elections map.png
| map_size = 300px
| map_caption =
| title = President
| before_election = [[Evo Morales]]
| before_party = Movement for Socialism (Bolivia)
| after_election = [[2019 Bolivian political crisis|Election results annulled]] <br>[[Jeanine Áñez]] ([[Democrat Social Movement]]) becomes acting president
| after_party =
}}
</syntaxhighlight>
{{-}}
== Microformat ==
{{UF-hcal}}
Note: If no date is entered, then the microformat is not emitted.
== Tracking category ==
* {{clc|Pages using infobox election with unknown parameters}}
== TemplateData ==
{{TemplateData header}}
<templatedata>
{
"description": "An infobox for elections.",
"format": "block",
"params": {
"election_name": {
"label": "Name",
"description": "Name given to the election.",
"type": "string",
"required": false,
"example": "2012 United States Senate election in Nevada",
"autovalue": "{{subst:PAGENAME}}"
},
"country": {
"label": "Country",
"description": "Country where the election took place.",
"type": "string",
"required": false
},
"flag_year": {
"label": "Flag year",
"description": "For historical elections when an older flag design was in effect, enter the year the flag came into effect (not the election year).",
"type": "string",
"default": "current flag",
"required": false
},
"flag_image": {
"label": "Flag image",
"description": "For non-country elections, specify the full name of the flag, coat-of-arms, or seal image to display.",
"type": "string",
"required": false
},
"type": {
"label": "Type",
"description": "The type of election. Must be one of five: presidential, primary, legislative, parliamentary or by-election. The type \"Presidential\" lists nominee's names; legislative will not. Legislative after the election will display majority and minority party, rather than first and second party.",
"type": "string",
"required": false,
"example": "'presidential', 'primary', 'legislative', 'parliamentary', 'by-election'",
"autovalue": "presidential"
},
"vote_type": {
"label": "Vote type",
"description": "The type of votes recorded at popular_voten",
"type": "string",
"default": "popular",
"required": false
},
"ongoing": {
"label": "Ongoing?",
"description": "Must be either 'yes' or 'no', whether the election is yet to take place, or completed. 'no' means the election has concluded and results have been declared; 'yes' means the election has yet to occur and be called.",
"type": "string",
"default": "no",
"example": "'no', 'yes'",
"required": false
},
"party_colour": {
"label": "Show party colours?",
"description": "To turn off the party colours enter 'no'.",
"type": "string",
"required": false,
"aliases": [
"party_color"
],
"example": "no"
},
"party_name": {
"label": "Link to parties?",
"description": "To turn off linking to the parties, enter 'no'.",
"type": "string",
"required": false,
"example": "no"
},
"alliance_name": {
"label": "Link to alliances?",
"description": "To turn off linking to the alliances, enter 'no'.",
"type": "string",
"required": false,
"example": "no"
},
"previous_election": {
"label": "Previous election",
"description": "The page name of the last election of this type.",
"type": "wiki-page-name",
"required": false,
"example": "2000 United States presidential election"
},
"previous_year": {
"label": "Previous year",
"description": "The year the last election of this type took place.",
"type": "number",
"required": false,
"example": "2000"
},
"outgoing_members": {
"label": "Outgoing members",
"description": "The page name of the legislative term (typically including a list of members) serving between the previous election and this election. Can either be a page title or a wiki link.",
"type": "string",
"required": false
},
"election_date": {
"label": "Election date",
"description": "Date of election - use {{Start date|YYYY|mm|dd}}.",
"type": "wiki-template-name",
"example": "{{Start date|2020|11|03}}",
"required": false,
"suggested": true
},
"elected_members": {
"label": "Elected members",
"description": "The page name of the legislative term (typically including a list of members) serving between this election and the next election. Can either be a page title or a wiki link.",
"type": "string",
"required": false
},
"next_election": {
"label": "Next election",
"description": "The page name of the next election of this type. If red link (it doesn't exist), then it will appear unlinked.",
"type": "wiki-page-name",
"required": false,
"example": "2008 United States presidential election"
},
"next_year": {
"label": "Next year",
"description": "The year the next election of this type took place.",
"type": "number",
"required": false,
"example": "2008"
},
"votes_for_election": {
"label": "Votes for election",
"description": "The number of votes for election and the system of voting (eg. Electoral College).",
"type": "content",
"required": false,
"example": "All [[List of United States presidential electors, 2004|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]"
},
"needed_votes": {
"label": "Needed votes",
"description": "The number of votes required to win. If there is an even number of votes, use the number that is said by the media.",
"type": "string",
"required": false,
"example": "270 electoral"
},
"seats_for_election": {
"label": "Seats for election",
"description": "The number of seats for election and the house or chamber the seats are for.",
"type": "number",
"required": false
},
"majority_seats": {
"label": "Majority seats",
"description": "The number of seats required for a majority government. If there is an even number of seats in the house or chamber, use the number that is said by the media.",
"type": "number",
"required": false
},
"opinion_polls": {
"label": "Opinion polls",
"description": "Pagename or section anchor of opinion polls.",
"type": "string",
"required": false
},
"registered": {},
"turnout": {
"label": "Turnout",
"description": "Voter turnout for this election.",
"type": "string",
"required": false
},
"votes_counted": {
"label": "Percent of votes counted",
"type": "line",
"description": "Use ONE out of votes_counted, reporting, or declared. Do not include percentage (%) sign."
},
"reporting": {
"label": "Percent reporting",
"type": "line",
"description": "Use ONE out of votes_counted, reporting, or declared. Do not include percentage (%) sign."
},
"declared": {
"label": "Percent votes declared",
"type": "line",
"description": "Use ONE out of votes_counted, reporting, or declared. Do not include percentage (%) sign."
},
"college_voted": {},
"last_update": {
"label": "Last update",
"type": "date"
},
"time_zone": {
"label": "Time zone",
"type": "line",
"description": "Time zone of the time given in the ''last_update'' field. Must be linked as normal similar to an article [[Greenwich mean time|GMT]](e.g. )",
"example": "[[Greenwich mean time|GMT]]"
},
"image_size": {
"label": "Image size",
"type": "line",
"example": "x200px",
"description": "Size for images. Can be overridden by image(n)_size",
"required": false
},
"image_upright": {
"label": "Image upright",
"description": "Upright for imagen. See WP:UPRIGHT. Can be overridden by imagen_upright",
"type": "string",
"required": false
},
"previous_mps": {
"type": "string",
"deprecated": true
},
"elected_mps": {
"type": "string",
"deprecated": true
},
"image1": {
"label": "Image 1",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour1 or party1 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image1_size": {
"label": "Image 1 size",
"type": "line",
"example": "x200px",
"description": "Size for image 1. Overrides image_size",
"required": false
},
"image1_upright": {
"label": "Image 1 upright",
"description": "Upright for image1. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour1": {
"label": "Colour 1",
"description": "Enter a hex colour code (without the #) to override the border colour of image1. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color1"
]
},
"nominee1": {
"label": "Nominee 1",
"description": "Name of Nominee. When appropriate, candidate1 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate1": {
"label": "Candidate 1",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader1": {
"label": "Leader 1",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party1": {
"label": "Party 1",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance1": {
"label": "Alliance 1",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state1": {
"label": "Home state 1",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate1": {
"label": "Running mate 1",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"electoral_vote1": {
"label": "Electoral vote 1",
"description": "The electoral votes obtained by the Nominee. The number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"projected_vote1": {
"label": "Projected electoral vote 1",
"description": "The electoral votes projected for the Nominee.",
"type": "string",
"required": false
},
"delegate_count1": {
"label": "Delegate count 1",
"description": "The aggregate number of delegates obtained by the candidate. The number can be changed up to nine to display different candidates at the same time. Intended for use in pre-election processes such as selection of delegates to United States presidential nominating conventions. Intended to be used instead of electoral_vote1 for these cases.",
"type": "string",
"required": false
},
"states_carried1": {
"label": "States carried 1",
"description": "The states carried or won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"districts_won1": {
"label": "Districts won 1",
"description": "The number of districts won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"counties_threshold1": {},
"counties_won1": {},
"leader_since1": {
"label": "Leader since 1",
"description": "The date the Leader took office. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"leaders_seat1": {
"label": "Leaders seat 1",
"description": "The seat the Leader represents. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"last_election1": {
"label": "Last election 1",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before1": {
"label": "Seats before 1",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed1": {
"label": "Seats needed 1",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats1": {
"label": "Seats 1",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after1": {
"label": "Seats after 1",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change1": {
"label": "Seat change 1",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"swing1": {
"label": "Swing 1",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote1": {
"label": "Popular vote 1",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage1": {
"label": "Percentage 1",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "50.7%"
},
"image2": {
"label": "Image 2",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour1 or party1 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image2_size": {
"label": "Image 2 size",
"type": "line",
"example": "x200px",
"description": "Size for image 2. Overrides image_size",
"required": false
},
"image2_upright": {
"label": "Image 2 upright",
"description": "Upright for image2. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour2": {
"label": "Colour 2",
"description": "Enter a hex colour code (without the #) to override the border colour of image2. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color2"
]
},
"nominee2": {
"label": "Nominee 2",
"description": "Name of Nominee. When appropriate, candidate1 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate2": {
"label": "Candidate 2",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader2": {
"label": "Leader 2",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party2": {
"label": "Party 2",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance2": {
"label": "Alliance 2",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state2": {
"label": "Home state 2",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Massachusetts]]"
},
"running_mate2": {
"label": "Running mate 2",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[John Edwards]]"
},
"electoral_vote2": {
"label": "Electoral vote 2",
"description": "The electoral votes obtained by the Nominee. The number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"projected_vote2": {
"label": "Projected electoral vote 2",
"description": "The electoral votes projected for the Nominee.",
"type": "string",
"required": false
},
"delegate_count2": {
"label": "Delegate count 2",
"description": "The aggregate number of delegates obtained by the candidate. The number can be changed up to nine to display different candidates at the same time. Intended for use in pre-election processes such as selection of delegates to United States presidential nominating conventions. Intended to be used instead of electoral_vote1 for these cases.",
"type": "string",
"required": false
},
"states_carried2": {
"label": "States carried 2",
"description": "The states carried or won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"districts_won2": {
"label": "Districts won 2",
"description": "The number of districts won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"counties_threshold2": {},
"counties_won2": {},
"leader_since2": {
"label": "Leader since 2",
"description": "The date the Leader took office. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"leaders_seat2": {
"label": "Leaders seat 2",
"description": "The seat the Leader represents. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"last_election2": {
"label": "Last election 2",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before2": {
"label": "Seats before 2",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed2": {
"label": "Seats needed 2",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats2": {
"label": "Seats 2",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after2": {
"label": "Seats after 2",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change2": {
"label": "Seat change 2",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote2": {
"label": "Popular vote 2",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage2": {
"label": "Percentage 2",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing2": {
"label": "Swing 2",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"poll1_date": {
"label": "Poll 1 date",
"description": "The date of an opinion poll. The number can be changed up to five to display different polls at the same time.",
"type": "string",
"required": false
},
"poll1_source": {
"label": "Poll 1 source",
"description": "The source or URL of the opinion poll. The number can be changed up to five to display different polls at the same time.",
"type": "string",
"required": false
},
"poll1_nominee1": {
"label": "Poll 1 nominee 1",
"description": "The percentage poll 1 gave to nominee 1. When appropriate, poll1_candidate1 can be used instead. The poll number can be changed up to five to display different polls at the same time. The nominee or candidate number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"poll1_nominee2": {
"label": "Poll 1 nominee 2",
"description": "The percentage poll 1 gave to nominee 2. When appropriate, poll1_candidate2 can be used instead. The poll number can be changed up to five to display different polls at the same time. The nominee or candidate number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string"
},
"poll1_party1": {
"label": "Poll 1 party 1",
"description": "The percentage poll 1 gave to party 1. The poll number can be changed up to five to display different polls at the same time. The party number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"poll1_party2": {
"label": "Poll 1 party 2",
"description": "The percentage poll 1 gave to party 2. The poll number can be changed up to five to display different polls at the same time. The party number can be changed up to nine to display different Nominees at the same time.",
"type": "string"
},
"1blank": {
"label": "1 blank",
"description": "Title of an auxiliary row. The number can be changed up to six to display six extra rows.",
"type": "string",
"required": false
},
"1data1": {
"label": "1 data 1",
"description": "Data 1 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"1data2": {
"label": "1 data 2",
"description": "Data 1 for nominee or party 2. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"2blank": {
"label": "2 blank",
"description": "Title of an auxiliary row. The number can be changed up to six to display six extra rows.",
"type": "string",
"required": false
},
"2data1": {
"label": "2 data 1",
"description": "Data 2 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"2data2": {
"label": "2 data 2",
"description": "Data 2 for nominee or party 2. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"3blank": {
"label": "3 blank",
"description": "Title of an auxiliary row. The number can be changed up to six to display six extra rows.",
"type": "string",
"required": false
},
"3data1": {
"label": "3 data 1",
"description": "Data 3 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"3data2": {
"label": "3 data 2",
"description": "Data 3 for nominee or party 2. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"map_image": {
"label": "Map image",
"description": "Page name for the election map file.",
"type": "wiki-page-name",
"required": false
},
"map_size": {
"label": "Map size",
"description": "Size of image of the election map to be displayed.",
"type": "line",
"default": "300px",
"required": false
},
"map_alt": {
"label": "Map alt",
"description": "Alt text for the election map.",
"type": "string",
"required": false
},
"map": {
"label": "Map",
"description": "A freeform replacement for the above, which can be used to insert extension:ImageMaps or templates instead of images.",
"type": "content",
"required": false
},
"map_caption": {
"label": "Map caption",
"description": "Caption on image of the election map to be displayed.",
"type": "string",
"required": false
},
"map2_image": {
"label": "Map 2 image",
"description": "Page name for the election map 2 file.",
"type": "wiki-page-name",
"required": false
},
"map2_size": {
"label": "Map 2 size",
"description": "Size of image of the election map 2 to be displayed.",
"type": "line",
"default": "300px",
"required": false
},
"map2_alt": {
"label": "Map 2 alt",
"description": "Alt text for the election map.",
"type": "string",
"required": false
},
"map2": {
"label": "Map 2",
"description": "A freeform replacement for the above, which can be used to insert extension:ImageMaps or templates instead of images.",
"type": "content",
"required": false
},
"map2_caption": {
"label": "Map 2 caption",
"description": "Caption on image of the election map 2 to be displayed.",
"type": "string",
"required": false
},
"map3_image": {
"label": "Map 3 image",
"description": "Page name for the election map 3 file.",
"type": "wiki-page-name",
"required": false
},
"map3_size": {
"label": "Map 3 size",
"description": "Size of image of the election map 3 to be displayed.",
"type": "line",
"default": "300px",
"required": false
},
"map3_alt": {
"label": "Map 3 alt",
"description": "Alt text for the election map.",
"type": "string",
"required": false
},
"map3": {
"label": "Map 3",
"description": "A freeform replacement for the above, which can be used to insert extension:ImageMaps or templates instead of images.",
"type": "content",
"required": false
},
"map3_caption": {
"label": "Map 3 caption",
"description": "Caption on image of the election map 3 to be displayed.",
"type": "string",
"required": false
},
"map4_image": {
"label": "Map 4 image",
"description": "Page name for the election map 4 file.",
"type": "wiki-page-name",
"required": false
},
"map4_size": {
"label": "Map 4 size",
"description": "Size of image of the election map 4 to be displayed.",
"type": "line",
"default": "300px",
"required": false
},
"map4_alt": {
"label": "Map 4 alt",
"description": "Alt text for the election map.",
"type": "string",
"required": false
},
"map4": {
"label": "Map 4",
"description": "A freeform replacement for the above, which can be used to insert extension:ImageMaps or templates instead of images.",
"type": "content",
"required": false
},
"map4_caption": {
"label": "Map 4 caption",
"description": "Caption on image of the election map 4 to be displayed.",
"type": "string",
"required": false
},
"title": {
"label": "Title",
"description": "Title of the leader before the election. (President, Speaker, Government, Prime Minister).",
"type": "string",
"required": false
},
"before_election": {
"label": "Before election",
"description": "The leader in power before the election, labeled incumbent if the election is yet to take place.",
"type": "string",
"required": false
},
"before_party": {
"label": "Before party",
"description": "The party in power before the election. This can be set to 'Acting (law)' (which will display as 'Acting') if necessary.",
"type": "string",
"required": false
},
"posttitle": {
"label": "Post-title",
"description": "Title of the victor of the election (President-elect, Prime Minister-designate), only if different than before.",
"type": "string",
"required": false
},
"after_election": {
"label": "After election",
"description": "The leader in power as a result of the election. If an election is annulled, it should be noted Election results annulled or other equivalent and the acting office holder should be denoted in small text on the line below it.",
"type": "string",
"required": false
},
"after_party": {
"label": "After party",
"description": "The party in power as a result of the election.",
"type": "string",
"required": false
},
"image3": {
"label": "Image 3",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour3 or party3 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image3_size": {
"label": "Image 3 size",
"type": "line",
"example": "x200px",
"description": "Size for image 3. Overrides image_size",
"required": false
},
"image3_upright": {
"label": "Image 3 upright",
"description": "Upright for image3. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour3": {
"label": "Colour 3",
"description": "Enter a hex colour code (without the #) to override the border colour of image3. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color3"
]
},
"nominee3": {
"label": "Nominee 3",
"description": "Name of Nominee. When appropriate, candidate3 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate3": {
"label": "Candidate 3",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader3": {
"label": "Leader 3",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party3": {
"label": "Party 3",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance3": {
"label": "Alliance 3",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state3": {
"label": "Home state 3",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate3": {
"label": "Running mate 3",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election3": {
"label": "Last election 3",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before3": {
"label": "Seats before 3",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed3": {
"label": "Seats needed 3",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats3": {
"label": "Seats 3",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after3": {
"label": "Seats after 3",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change3": {
"label": "Seat change 3",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote3": {
"label": "Popular vote 3",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage3": {
"label": "Percentage 3",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing3": {
"label": "Swing 3",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"image4_size": {
"label": "Image 4 size",
"type": "line",
"example": "x200px",
"description": "Size for image 4. Overrides image_size",
"required": false
},
"image4": {
"label": "Image 4",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour4 or party4 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image4_upright": {
"label": "Image 4 upright",
"description": "Upright for image4. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour4": {
"label": "Colour 4",
"description": "Enter a hex colour code (without the #) to override the border colour of image4. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color4"
]
},
"nominee4": {
"label": "Nominee 4",
"description": "Name of Nominee. When appropriate, candidate4 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate4": {
"label": "Candidate 4",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader4": {
"label": "Leader 4",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party4": {
"label": "Party 4",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance4": {
"label": "Alliance 4",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state4": {
"label": "Home state 4",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate4": {
"label": "Running mate 4",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election4": {
"label": "Last election 4",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before4": {
"label": "Seats before 4",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed4": {
"label": "Seats needed 4",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats4": {
"label": "Seats 4",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after4": {
"label": "Seats after 4",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change4": {
"label": "Seat change 4",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote4": {
"label": "Popular vote 4",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage4": {
"label": "Percentage 4",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing4": {
"label": "Swing 4",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"image5": {
"label": "Image 5",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour5 or party5 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image5_size": {
"label": "Image 5 size",
"type": "line",
"example": "x200px",
"description": "Size for image 5. Overrides image_size",
"required": false
},
"image5_upright": {
"label": "Image 5 upright",
"description": "Upright for image5. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour5": {
"label": "Colour 5",
"description": "Enter a hex colour code (without the #) to override the border colour of image5. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color5"
]
},
"nominee5": {
"label": "Nominee 5",
"description": "Name of Nominee. When appropriate, candidate5 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate5": {
"label": "Candidate 5",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader5": {
"label": "Leader 5",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party5": {
"label": "Party 5",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance5": {
"label": "Alliance 5",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state5": {
"label": "Home state 5",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate5": {
"label": "Running mate 5",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election5": {
"label": "Last election 5",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before5": {
"label": "Seats before 5",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed5": {
"label": "Seats needed 5",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats5": {
"label": "Seats 5",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after5": {
"label": "Seats after 5",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change5": {
"label": "Seat change 5",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote5": {
"label": "Popular vote 5",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage5": {
"label": "Percentage 5",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing5": {
"label": "Swing 5",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"image6": {
"label": "Image 6",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour6 or party6 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image6_size": {
"label": "Image 6 size",
"type": "line",
"example": "x200px",
"description": "Size for image 6. Overrides image_size",
"required": false
},
"image6_upright": {
"label": "Image 6 upright",
"description": "Upright for image6. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour6": {
"label": "Colour 6",
"description": "Enter a hex colour code (without the #) to override the border colour of image6. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color6"
]
},
"nominee6": {
"label": "Nominee 6",
"description": "Name of Nominee. When appropriate, candidate6 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate6": {
"label": "Candidate 6",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader6": {
"label": "Leader 6",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party6": {
"label": "Party 6",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance6": {
"label": "Alliance 6",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state6": {
"label": "Home state 6",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate6": {
"label": "Running mate 6",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election6": {
"label": "Last election 6",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before6": {
"label": "Seats before 6",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed6": {
"label": "Seats needed 6",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats6": {
"label": "Seats 6",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after6": {
"label": "Seats after 6",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change6": {
"label": "Seat change 6",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote6": {
"label": "Popular vote 6",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage6": {
"label": "Percentage 6",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing6": {
"label": "Swing 6",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"image7": {
"label": "Image 7",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour7 or party7 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image7_size": {
"label": "Image 7 size",
"type": "line",
"example": "x200px",
"description": "Size for image 7. Overrides image_size",
"required": false
},
"image7_upright": {
"label": "Image 7 upright",
"description": "Upright for image7. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour7": {
"label": "Colour 7",
"description": "Enter a hex colour code (without the #) to override the border colour of image7. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color7"
]
},
"nominee7": {
"label": "Nominee 7",
"description": "Name of Nominee. When appropriate, candidate7 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate7": {
"label": "Candidate 7",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader7": {
"label": "Leader 7",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party7": {
"label": "Party 7",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance7": {
"label": "Alliance 7",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state7": {
"label": "Home state 7",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate7": {
"label": "Running mate 7",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election7": {
"label": "Last election 7",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before7": {
"label": "Seats before 7",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed7": {
"label": "Seats needed 7",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats7": {
"label": "Seats 7",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after7": {
"label": "Seats after 7",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change7": {
"label": "Seat change 7",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote7": {
"label": "Popular vote 7",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage7": {
"label": "Percentage 7",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing7": {
"label": "Swing 7",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"image8": {
"label": "Image 8",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour8 or party8 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image8_size": {
"label": "Image 8 size",
"type": "line",
"example": "x200px",
"description": "Size for image 8. Overrides image_size",
"required": false
},
"image8_upright": {
"label": "Image 8 upright",
"description": "Upright for image8. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour8": {
"label": "Colour 8",
"description": "Enter a hex colour code (without the #) to override the border colour of image8. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color8"
]
},
"nominee8": {
"label": "Nominee 8",
"description": "Name of Nominee. When appropriate, candidate8 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate8": {
"label": "Candidate 8",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader8": {
"label": "Leader 8",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party8": {
"label": "Party 8",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance8": {
"label": "Alliance 8",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state8": {
"label": "Home state 8",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate8": {
"label": "Running mate 8",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election8": {
"label": "Last election 8",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before8": {
"label": "Seats before 8",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed8": {
"label": "Seats needed 8",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats8": {
"label": "Seats 8",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after8": {
"label": "Seats after 8",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change8": {
"label": "Seat change 8",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote8": {
"label": "Popular vote 8",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage8": {
"label": "Percentage 8",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing8": {
"label": "Swing 8",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"image9": {
"label": "Image 9",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour9 or party9 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image9_size": {
"label": "Image 9 size",
"type": "line",
"example": "x200px",
"description": "Size for image 9. Overrides image_size",
"required": false
},
"image9_upright": {
"label": "Image 9 upright",
"description": "Upright for image9. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour9": {
"label": "Colour 9",
"description": "Enter a hex colour code (without the #) to override the border colour of image9. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color9"
]
},
"nominee9": {
"label": "Nominee 9",
"description": "Name of Nominee. When appropriate, candidate9 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate9": {
"label": "Candidate 9",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader9": {
"label": "Leader 9",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party9": {
"label": "Party 9",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance9": {
"label": "Alliance 9",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state9": {
"label": "Home state 9",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate9": {
"label": "Running mate 9",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election9": {
"label": "Last election 9",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before9": {
"label": "Seats before 9",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed9": {
"label": "Seats needed 9",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats9": {
"label": "Seats 9",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after9": {
"label": "Seats after 9",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change9": {
"label": "Seat change 9",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote9": {
"label": "Popular vote 9",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage9": {
"label": "Percentage 9",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing9": {
"label": "Swing 9",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"4blank": {
"label": "4 blank",
"description": "Title of an auxiliary row. The number can be changed up to six to display six extra rows.",
"type": "string",
"required": false
},
"4data1": {
"label": "4 data 1",
"description": "Data 4 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"4data2": {
"label": "4 data 2",
"description": "Data 4 for nominee or party 2. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"5blank": {
"label": "5 blank",
"description": "Title of an auxiliary row. The number can be changed up to six to display six extra rows.",
"type": "string",
"required": false
},
"5data1": {
"label": "5 data 1",
"description": "Data 5 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"5data2": {
"label": "5 data 2",
"description": "Data 5 for nominee or party 2. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"6blank": {
"label": "6 blank",
"description": "Title of an auxiliary row. The number can be changed up to six to display six extra rows.",
"type": "string",
"required": false
},
"6data1": {
"label": "6 data 1",
"description": "Data 6 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"6data2": {
"label": "6 data 2",
"description": "Data 6 for nominee or party 2. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"1data3": {
"label": "1 data 3",
"description": "Data 1 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"1data4": {
"label": "1 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"1data5": {
"label": "1 data 5",
"description": "Data 1 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"1data6": {
"label": "1 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"1data7": {
"label": "1 data 7",
"description": "Data 1 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"1data8": {
"label": "1 data 8",
"description": "Data 1 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"1data9": {
"label": "1 data 9",
"description": "Data 1 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"2data3": {
"label": "2 data 3",
"description": "Data 2 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"2data4": {
"label": "2 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"2data5": {
"label": "2 data 5",
"description": "Data 2 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"2data6": {
"label": "2 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"2data7": {
"label": "2 data 7",
"description": "Data 2 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"2data8": {
"label": "2 data 8",
"description": "Data 2 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"2data9": {
"label": "2 data 9",
"description": "Data 2 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"3data3": {
"label": "3 data 3",
"description": "Data 3 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"3data4": {
"label": "3 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"3data5": {
"label": "3 data 5",
"description": "Data 3 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"3data6": {
"label": "3 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"3data7": {
"label": "3 data 7",
"description": "Data 3 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"3data8": {
"label": "3 data 8",
"description": "Data 3 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"3data9": {
"label": "3 data 9",
"description": "Data 3 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"4data3": {
"label": "4 data 3",
"description": "Data 4 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"4data4": {
"label": "4 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"4data5": {
"label": "4 data 5",
"description": "Data 4 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"4data6": {
"label": "4 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"4data7": {
"label": "4 data 7",
"description": "Data 4 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"4data8": {
"label": "4 data 8",
"description": "Data 4 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"4data9": {
"label": "4 data 9",
"description": "Data 4 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"5data3": {
"label": "5 data 3",
"description": "Data 5 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"5data4": {
"label": "5 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"5data5": {
"label": "5 data 5",
"description": "Data 5 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"5data6": {
"label": "5 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"5data7": {
"label": "5 data 7",
"description": "Data 5 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"5data8": {
"label": "5 data 8",
"description": "Data 5 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"5data9": {
"label": "5 data 9",
"description": "Data 5 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"6data3": {
"label": "6 data 3",
"description": "Data 6 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"6data4": {
"label": "6 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"6data5": {
"label": "6 data 5",
"description": "Data 6 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"6data6": {
"label": "6 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"6data7": {
"label": "6 data 7",
"description": "Data 6 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"6data8": {
"label": "6 data 8",
"description": "Data 6 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"6data9": {
"label": "6 data 9",
"description": "Data 6 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"7data3": {
"label": "7 data 3",
"description": "Data 7 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"7data4": {
"label": "7 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"7data5": {
"label": "7 data 5",
"description": "Data 7 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"7data6": {
"label": "7 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"7data7": {
"label": "7 data 7",
"description": "Data 7 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"7data8": {
"label": "7 data 8",
"description": "Data 7 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"7data9": {
"label": "7 data 9",
"description": "Data 7 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"8data3": {
"label": "8 data 3",
"description": "Data 8 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"8data4": {
"label": "8 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"8data5": {
"label": "8 data 5",
"description": "Data 8 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"8data6": {
"label": "8 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"8data7": {
"label": "8 data 7",
"description": "Data 8 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"8data8": {
"label": "8 data 8",
"description": "Data 8 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"8data9": {
"label": "8 data 9",
"description": "Data 8 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"9data3": {
"label": "9 data 3",
"description": "Data 9 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"9data4": {
"label": "9 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"9data5": {
"label": "9 data 5",
"description": "Data 9 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"9data6": {
"label": "9 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"9data7": {
"label": "9 data 7",
"description": "Data 9 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"9data8": {
"label": "9 data 8",
"description": "Data 9 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"9data9": {
"label": "9 data 9",
"description": "Data 9 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"counties_threshold3": {},
"counties_threshold4": {},
"counties_threshold5": {},
"counties_threshold6": {},
"counties_threshold7": {},
"counties_threshold8": {},
"counties_threshold9": {},
"counties_won3": {},
"counties_won4": {},
"counties_won5": {},
"counties_won6": {},
"counties_won7": {},
"counties_won8": {},
"counties_won9": {},
"states_carried3": {},
"states_carried4": {},
"states_carried5": {},
"states_carried6": {},
"states_carried7": {},
"states_carried8": {},
"states_carried9": {},
"delegate_count3": {},
"delegate_count4": {},
"delegate_count5": {},
"delegate_count6": {},
"delegate_count7": {},
"delegate_count8": {},
"delegate_count9": {},
"electoral_vote3": {},
"electoral_vote4": {},
"electoral_vote5": {},
"electoral_vote6": {},
"electoral_vote7": {},
"electoral_vote8": {},
"electoral_vote9": {},
"leader_since3": {},
"leader_since4": {},
"leader_since5": {},
"leader_since6": {},
"leader_since7": {},
"leader_since8": {},
"leader_since9": {},
"leaders_seat3": {},
"leaders_seat4": {},
"leaders_seat5": {},
"leaders_seat6": {},
"leaders_seat7": {},
"leaders_seat8": {},
"leaders_seat9": {},
"poll1_candidate1": {},
"poll1_candidate2": {},
"poll1_candidate3": {},
"poll1_candidate4": {},
"poll1_candidate5": {},
"poll1_candidate6": {},
"poll1_candidate7": {},
"poll1_candidate8": {},
"poll1_candidate9": {},
"poll1_date1": {},
"poll1_date2": {},
"poll1_date3": {},
"poll1_nominee3": {},
"poll1_nominee4": {},
"poll1_nominee5": {},
"poll1_nominee6": {},
"poll1_nominee7": {},
"poll1_nominee8": {},
"poll1_nominee9": {},
"poll1_party3": {},
"poll1_party4": {},
"poll1_party5": {},
"poll1_party6": {},
"poll1_party7": {},
"poll1_party8": {},
"poll1_party9": {},
"poll1_source1": {},
"poll1_source2": {},
"poll1_source3": {},
"poll2_candidate1": {},
"poll2_candidate2": {},
"poll2_candidate3": {},
"poll2_candidate4": {},
"poll2_candidate5": {},
"poll2_candidate6": {},
"poll2_candidate7": {},
"poll2_candidate8": {},
"poll2_candidate9": {},
"poll2_date": {},
"poll2_date1": {},
"poll2_date2": {},
"poll2_date3": {},
"poll2_nominee1": {},
"poll2_nominee2": {},
"poll2_nominee3": {},
"poll2_nominee4": {},
"poll2_nominee5": {},
"poll2_nominee6": {},
"poll2_nominee7": {},
"poll2_nominee8": {},
"poll2_nominee9": {},
"poll2_party1": {},
"poll2_party2": {},
"poll2_party3": {},
"poll2_party4": {},
"poll2_party5": {},
"poll2_party6": {},
"poll2_party7": {},
"poll2_party8": {},
"poll2_party9": {},
"poll2_source": {},
"poll2_source1": {},
"poll2_source2": {},
"poll2_source3": {},
"poll3_candidate1": {},
"poll3_candidate2": {},
"poll3_candidate3": {},
"poll3_candidate4": {},
"poll3_candidate5": {},
"poll3_candidate6": {},
"poll3_candidate7": {},
"poll3_candidate8": {},
"poll3_candidate9": {},
"poll3_date": {},
"poll3_date1": {},
"poll3_date2": {},
"poll3_date3": {},
"poll3_nominee1": {},
"poll3_nominee2": {},
"poll3_nominee3": {},
"poll3_nominee4": {},
"poll3_nominee5": {},
"poll3_nominee6": {},
"poll3_nominee7": {},
"poll3_nominee8": {},
"poll3_nominee9": {},
"poll3_party1": {},
"poll3_party2": {},
"poll3_party3": {},
"poll3_party4": {},
"poll3_party5": {},
"poll3_party6": {},
"poll3_party7": {},
"poll3_party8": {},
"poll3_party9": {},
"poll3_source": {},
"poll3_source1": {},
"poll3_source2": {},
"poll3_source3": {},
"poll4_candidate1": {},
"poll4_candidate2": {},
"poll4_candidate3": {},
"poll4_candidate4": {},
"poll4_candidate5": {},
"poll4_candidate6": {},
"poll4_candidate7": {},
"poll4_candidate8": {},
"poll4_candidate9": {},
"poll4_date": {},
"poll4_date1": {},
"poll4_date2": {},
"poll4_date3": {},
"poll4_nominee1": {},
"poll4_nominee2": {},
"poll4_nominee3": {},
"poll4_nominee4": {},
"poll4_nominee5": {},
"poll4_nominee6": {},
"poll4_nominee7": {},
"poll4_nominee8": {},
"poll4_nominee9": {},
"poll4_party1": {},
"poll4_party2": {},
"poll4_party3": {},
"poll4_party4": {},
"poll4_party5": {},
"poll4_party6": {},
"poll4_party7": {},
"poll4_party8": {},
"poll4_party9": {},
"poll4_source": {},
"poll4_source1": {},
"poll4_source2": {},
"poll4_source3": {},
"poll5_candidate1": {},
"poll5_candidate2": {},
"poll5_candidate3": {},
"poll5_candidate4": {},
"poll5_candidate5": {},
"poll5_candidate6": {},
"poll5_candidate7": {},
"poll5_candidate8": {},
"poll5_candidate9": {},
"poll5_date": {},
"poll5_date1": {},
"poll5_date2": {},
"poll5_date3": {},
"poll5_nominee1": {},
"poll5_nominee2": {},
"poll5_nominee3": {},
"poll5_nominee4": {},
"poll5_nominee5": {},
"poll5_nominee6": {},
"poll5_nominee7": {},
"poll5_nominee8": {},
"poll5_nominee9": {},
"poll5_party1": {},
"poll5_party2": {},
"poll5_party3": {},
"poll5_party4": {},
"poll5_party5": {},
"poll5_party6": {},
"poll5_party7": {},
"poll5_party8": {},
"poll5_party9": {},
"poll5_source": {},
"poll5_source1": {},
"poll5_source2": {},
"poll5_source3": {}
}
}
</templatedata>
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Politics and government infobox templates|Election]]
[[Category:Infobox templates with module parameter|Election]]
[[Category:Embeddable templates]]
[[Category:Election and referendum infobox templates]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
99d9af16fe53327b446b74cf86a1cdb913b0cd84
Module:Political party/G
828
1487
3037
2024-02-28T19:12:50Z
Wikipedia>SilverLocust
0
Change of color for [[German National Party]] to follow the color used in [[File:National_Assembly_of_Czechoslovakia_1920.svg]] per edit request
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["GABRIELA Women's Party"] = "Gabriela Women's Party",
["Galician National-Popular Bloc"] = "Galician Nationalist Bloc",
["Galician Nationalist Convergence"] = "Galician Coalition",
["Galician Progressive Coalition"] = "Galician Coalition",
["Galician Workers' Party"] = "Galician Left",
["Ganatantra Parishad"] = "All India Ganatantra Parishad",
["Gelora"] = "Gelora Party",
["Génération.s, le mouvement"] = "Génération.s",
["Genzei Nippon"] = "Tax Cuts Japan",
["Georgia Republican Party"] = "Republican Party (United States)",
["German Centre"] = "Centre Party (Germany)",
["German Minority (political party)"] = "German Minority Electoral Committee",
["German Minority"] = "German Minority Electoral Committee",
["German Pirate Party"] = "Pirate Party Germany",
["German Reich Party"] = "Free Conservative Party",
["Girondin"] = "Girondins",
["Girondist"] = "Girondins",
["Go Peru"] = "Let’s Go Peru",
["Golongan Karya"] = "Golkar",
["Good Choice"] = "Good Choice and Moderates",
["Good Choice (Slovakia)"] = "Good Choice and Moderates",
["Government by the People Green Party"] = "Green Party of South Africa",
["Grand Alliance (Bangladesh)"] = "Awami League",
["Grassroots-Legalize Cannabis Party"] = "Grassroots—Legalize Cannabis Party",
["Grassroots–Legalize Cannabis Party"] = "Grassroots—Legalize Cannabis Party", -- dash difference
["Grassroots Party (US)"] = "Grassroots Party",
["Great Indonesia Movement Party"] = "Gerindra Party",
["Great Union Party"] = "Great Unity Party",
["Greek politics/party colours/Panhellenic Sociali"] = "PASOK",
["Green (political party)"] = "Groen (political party)",
["Green Alliance"] = "Green Party (Ireland)",
["Green Alliance (Ireland)"] = "Green Party (Ireland)",
["Green Alternative Alliance"] = "The Greens (Luxembourg)",
["Green Alternative Party"] = "The Greens (Luxembourg)",
["Green List (Spain)"] = "Confederation of the Greens",
["Green Mountain Peace and Justice"] = "Green Mountain Peace and Justice Party",
["Green Movement (Israel)"] = "Green Party (Israel)",
["Green Party - Save Our Green Space"] = "Green Party of England and Wales",
["Green Party (Colombia)"] = "Green Alliance (Colombia)",
["Green Party (Poland)"] = "The Greens (Poland)",
["Green Party (United States)"] = "Green Party (US)",
["Green Party in Northern Ireland"] = "Green Party Northern Ireland",
["Green Party of Alaska"] = "Green Party (US)",
["Green Party of Arkansas"] = "Green Party (US)",
["Green Party of California"] = "Green Party (US)",
["Green Party of Colorado"] = "Green Party (US)",
["Green Party of Connecticut"] = "Green Party (US)",
["Green Party of Hawaii"] = "Green Party (US)",
["Green Party of Michigan"] = "Green Party (US)",
["Green Party of Minnesota"] = "Green Party (US)",
["Green Party of Montana"] = "Green Party (US)",
["Green Party of New York"] = "Green Party (US)",
["Green Party of Northern Ireland"] = "Green Party Northern Ireland",
["Green Party of Ohio"] = "Green Party (US)",
["Green Party of Pennsylvania"] = "Green Party (US)",
["Green Party of Texas"] = "Green Party (US)",
["Green Party (Arizona)"] = "Green Party (US)",
["Green Party (Arkansas)"] = "Green Party (US)",
["Green Party (California)"] = "Green Party (US)",
["Green Party (Colorado)"] = "Green Party (US)",
["Green Party (Connecticut)"] = "Green Party (US)",
["Green Party (Hawaii)"] = "Green Party (US)",
["Green Party (Iowa)"] = "Green Party (US)",
["Green Party (Michigan)"] = "Green Party (US)",
["Green Party (New York)"] = "Green Party (US)",
["Green Party of the United States"] = "Green Party (US)",
["Green!"] = "Groen (political party)",
["Green–Justice Party"] = "Green Justice Party",
["Greenback Party (United States)"] = "Greenback Party",
["GreenLeft"] = "GroenLinks",
["Greens 2004"] = "The Greens (Poland)",
["Greens-European Free Alliance"] = "Greens–European Free Alliance",
["Gregor Virant's Civic List"] = "Civic List (Slovenia)",
["Groen!"] = "Groen (political party)",
["Group of Independent Citizens"] = "Independent Solution",
["Group of the Alliance of Liberals and Democrats for Europe"] = "Alliance of Liberals and Democrats for Europe group",
["GSD"] = "Gibraltar Social Democrats",
["GSLP"] = "Gibraltar Socialist Labour Party",
["Guanyar Alacant"] = "Acord Ciutadà",
["Guanyar Alcoi"] = "Acord Ciutadà",
["Guanyem Sant Josep de sa Talaia"] = "Guanyem Eivissa",
["Guanyem Santa Eulària des Riu"] = "Guanyem Eivissa",
["Guatemalan Republican Front"] = "Institutional Republican Party",
["Gwlad - The Welsh Independence Party"] = "Gwlad",
}
local full = {
["G17 Plus"] = {abbrev = "G17+", color = "#545AA7", shortname = "",},
["G99"] = {abbrev = "", color = "red", shortname = "",},
["Gabonese Democratic and Social Union"] = {abbrev = "", color = "red", shortname = "",},
["Gabonese Democratic Bloc"] = {abbrev = "", color = "#008800", shortname = "",},
["Gabonese Democratic Party"] = {abbrev = "PDG", color = "#006533", shortname = "",},
["Gabonese Progress Party"] = {abbrev = "PGP", color = "red", shortname = "",},
["Gabonese Socialist Party"] = {abbrev = "", color = "red", shortname = "",},
["Gabonese Socialist Union"] = {abbrev = "", color = "red", shortname = "",},
["Gabriela Women's Party"] = {abbrev = "", color = "#800080", shortname = "Gabriela",},
["Gabungan Parti Sarawak"] = {abbrev = "GPS", color = "#FF6060", shortname = "",},
["Gabungan Rakyat Sabah"] = {abbrev = "GRS", color = "#4682B4", shortname = "",},
["Gagasan Rakyat"] = {abbrev = "GR", color = "#ADD8E6", shortname = "",},
["Gagasan Sejahtera"] = {abbrev = "", color = "#008800", shortname = "",},
["Gahal"] = {abbrev = "", color = "#143997", shortname = "",},
["Galeusca–Peoples of Europe"] = {abbrev = "", color = "#2C3294", shortname = "Galeusca",},
["Galicia en Común"] = {abbrev = "", color = "#5D2C75", shortname = "Podemos–EU–Anova",},
["Galicia New Way"] = {abbrev = "", color = "#6FA7B6", shortname = "",},
["Galicia Sempre"] = {abbrev = "", color = "#8EC81E", shortname = "",},
["Galician Alternative"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Galician Coalition"] = {abbrev = "CG", color = "#002C9C", shortname = "",},
["Galician Convergence"] = {abbrev = "", color = "#087608", shortname = "",},
["Galician Democracy"] = {abbrev = "", color = "#81DAF5", shortname = "",},
["Galician Democratic Candidacy"] = {abbrev = "", color = "#15EAEA", shortname = "",},
["Galician Democratic Party"] = {abbrev = "", color = "#20ACE1", shortname = "",},
["Galician Identity"] = {abbrev = "", color = "#0579FC", shortname = "",},
["Galician Initiative"] = {abbrev = "", color = "#D54D13", shortname = "",},
["Galician Left Alternative"] = {abbrev = "AGE", color = "#62A3CA", shortname = "",},
["Galician Left"] = {abbrev = "EG", color = "#522998", shortname = "",},
["Galician Movement for Socialism"] = {abbrev = "", color = "#003F77", shortname = "",},
["Galician Nationalist Bloc"] = {abbrev = "BNG", color = "#ADCFEF", shortname = "",},
["Galician Nationalist Group of Narón"] = {abbrev = "", color = "#AA4CAA", shortname = "",},
["Galician Nationalist Party–Galicianist Party"] = {abbrev = "", color = "#639E00", shortname = "",},
["Galician Party of the Country"] = {abbrev = "", color = "#66BB66", shortname = "",},
["Galician People's Front"] = {abbrev = "", color = "#3920DE", shortname = "",},
["Galician People's Union"] = {abbrev = "", color = "#CF1B15", shortname = "",},
["Galician Progressive Democracy"] = {abbrev = "", color = "#C66900", shortname = "",},
["Galician Socialist Party (1963)"] = {abbrev = "", color = "#D73D2A", shortname = "",},
["Galician Socialist Party–Galician Left"] = {abbrev = "PSG–EG", color = "#2AAC24", shortname = "",},
["Galician Socialist Space"] = {abbrev = "", color = "#28AC90", shortname = "",},
["Galician Socialist Unity"] = {abbrev = "", color = "#FF3300", shortname = "",},
["Galician Unity"] = {abbrev = "", color = "#00CCF1", shortname = "",},
["Galician Workers' Front"] = {abbrev = "", color = "#3B96BB", shortname = "",},
["Galicianist Party (1931)"] = {abbrev = "", color = "#57ABB3", shortname = "",},
["Galicianist Party (1978)"] = {abbrev = "", color = "#E46D2B", shortname = "",},
["Galicianist Party–Centrists of Orense"] = {abbrev = "", color = "#986968", shortname = "",},
["Galicianist Party–Convergence of Independents of Galicia"] = {abbrev = "", color = "#726887", shortname = "",},
["Galiza Ceibe"] = {abbrev = "", color = "#29AEEF", shortname = "",},
["Gamacists"] = {abbrev = "", color = "#599F25", shortname = "Gamacist",},
["Gambela People's Democratic Movement"] = {abbrev = "", color = "#AC1538", shortname = "",},
["Gambia Democratic Congress"] = {abbrev = "GDC", color = "#771C7C", shortname = "",},
["Gambia Party for Democracy and Progress"] = {abbrev = "", color = "#FB7F00", shortname = "",},
["Gamonie i Krasnoludki"] = {abbrev = "", color = "orange", shortname = "",},
["Gana Fuerteventura"] = {abbrev = "", color = "#FFC000", shortname = "",},
["Gana Suraksha Party"] = {abbrev = "", color = "#E74C3C", shortname = "",},
["Gana Zamora"] = {abbrev = "", color = "#146612", shortname = "",},
["Ganar Alcorcón"] = {abbrev = "", color = "#B507A6", shortname = "",},
["Ganar Cádiz en Común"] = {abbrev = "", color = "#187669", shortname = "",},
["Ganar Fuenlabrada"] = {abbrev = "", color = "#C63903", shortname = "",},
["Ganar Humanes"] = {abbrev = "", color = "#8A64A5", shortname = "",},
["Ganar la Región de Murcia"] = {abbrev = "", color = "#BB0017", shortname = "",},
["Ganar Móstoles"] = {abbrev = "", color = "#AAB93C", shortname = "",},
["Ganar Teruel"] = {abbrev = "", color = "#A91C30", shortname = "",},
["Ganar Torrejón"] = {abbrev = "", color = "#930B71", shortname = "",},
["Gandhi Kamaraj National Congress"] = {abbrev = "", color = "#187669", shortname = "GKC",},
["Ganatantri Dal"] = {abbrev = "", color = "blue", shortname = "",},
["Ganatantri Party"] = {abbrev = "", color = "#6a9a62", shortname = "",},
["Ganemos (2015)"] = {abbrev = "", color = "#3EADB9", shortname = "",},
["Ganemos (2019)"] = {abbrev = "", color = "#C2272D", shortname = "",},
["Ganemos al Fracking"] = {abbrev = "", color = "#D3CA23", shortname = "",},
["Ganemos Albacete"] = {abbrev = "", color = "#A30A40", shortname = "",},
["Ganemos Almería Sí Se Puede"] = {abbrev = "", color = "#D7C01A", shortname = "",},
["Ganemos Avilés en Común"] = {abbrev = "", color = "#FB0000", shortname = "",},
["Ganemos Cambre"] = {abbrev = "", color = "#02460B", shortname = "",},
["Ganemos Cantabria"] = {abbrev = "", color = "#A91515", shortname = "",},
["Ganemos Castilla–La Mancha"] = {abbrev = "", color = "#CC1A4E", shortname = "",},
["Ganemos Chiclana"] = {abbrev = "", color = "#7B0C2C", shortname = "",},
["Ganemos Ciudad Real"] = {abbrev = "", color = "#AB0D14", shortname = "",},
["Ganemos Córdoba"] = {abbrev = "", color = "#18A383", shortname = "",},
["Ganemos Culleredo"] = {abbrev = "", color = "#DD2E44", shortname = "",},
["Ganemos Elche"] = {abbrev = "", color = "#CD00A3", shortname = "",},
["Ganemos Euskadi"] = {abbrev = "", color = "#BA1652", shortname = "",},
["Gañemos Galicia"] = {abbrev = "", color = "#009ACF", shortname = "",},
["Ganemos Jerez"] = {abbrev = "", color = "#00BEB1", shortname = "",},
["Ganemos Madrid"] = {abbrev = "", color = "#009DBC", shortname = "",},
["Ganemos Orihuela"] = {abbrev = "", color = "#D83927", shortname = "",},
["Ganemos País Valencià"] = {abbrev = "", color = "#613041", shortname = "",},
["Ganemos Palencia"] = {abbrev = "", color = "#795EAC", shortname = "",},
["Ganemos Pinto"] = {abbrev = "", color = "#69388A", shortname = "",},
["Ganemos Ronda"] = {abbrev = "", color = "#8D1F20", shortname = "",},
["Ganemos Salamanca"] = {abbrev = "", color = "#9F3122", shortname = "",},
["Ganemos Santander Sí Puede"] = {abbrev = "", color = "#7F286D", shortname = "",},
["Ganemos Sevilla"] = {abbrev = "", color = "#0C7C18", shortname = "",},
["Ganemos Talavera"] = {abbrev = "", color = "#00679C", shortname = "",},
["Ganemos Toledo"] = {abbrev = "", color = "#32A59A", shortname = "",},
["Gañemos Vigo"] = {abbrev = "", color = "#D3122C", shortname = "",},
["Gano Azadi League"] = {abbrev = "GAL", color = "#BFAC00", shortname = "",},
["Gano Forum"] = {abbrev = "", color = "#47C187", shortname = "",},
["Gano Front"] = {abbrev = "", color = "#64a470", shortname = "",},
["Garforth and Swillington Independents"] = {abbrev = "", color = "#52F72E", shortname = "",},
["Garib Raj Party"] = {abbrev = "GRP", color = "#e7d18b", shortname = "",},
["Garo National Council"] = {abbrev = "", color = "#d492b9", shortname = "",},
["Garuda Party"] = {abbrev = "", color = "#B3282B", shortname = "",},
["Gassetists"] = {abbrev = "", color = "#548D54", shortname = "Gassetist",},
["Gastoria VG"] = {abbrev = "", color = "#F29301", shortname = "",},
["Gather Sustainable Canaries"] = {abbrev = "", color = "#0DC0E0", shortname = "",},
["Gaullist"] = {abbrev = "", color = "#0066CC", shortname = "",},
["Gaumee Itthihaad"] = {abbrev = "GIP", color = "#00A651", shortname = "",},
["Gay Party"] = {abbrev = "", color = "#562E75", shortname = "",},
["Gazankulu Liberation Congress"] = {abbrev = "", color = "#E9F294", shortname = "",},
["Gelora Party"] = {abbrev = "", color = "#00CDFF", shortname = "Gelora",},
["General Elderly Alliance"] = {abbrev = "AOV", color = "#972C95", shortname = "",},
["General Electoral League"] = {abbrev = "", color = "#00529C", shortname = "Electoral League",},
["General League of Roman Catholic Caucuses"] = {abbrev = "ABRKK", color = "#000000", shortname = "",},
["General Liberation and Development Party"] = {abbrev = "", color = "#F1C40F", shortname = "",},
["General People's Congress (Yemen)"] = {abbrev = "GPC", color = "#FFCD00", shortname = "",},
["General Popular Radical Union"] = {abbrev = "GLRE", color = "grey", shortname = "",},
["General Union for the Good of Macau"] = {abbrev = "UBM", color = "#800080", shortname = "",},
["General Union of Neighbourhood Associations of Macau"] = {abbrev = "", color = "#183B7D", shortname = "",},
["General Union Party"] = {abbrev = "PUGEN", color = "#DAA520", shortname = "",},
["General Water Board Party"] = {abbrev = "AWP", color = "#021373", shortname = "",},
["General Zionists"] = {abbrev = "", color = "#00ADCC", shortname = "",},
["Generation Citizens"] = {abbrev = "", color = "#312883", shortname = "",},
["Generation for a National Encounter"] = {abbrev = "", color = "#E9242B", shortname = "",},
["Generation of Independence Party (Armenia)"] = {abbrev = "", color = "#FFCB00", shortname = "",},
["Génération.s"] = {abbrev = "G.s", color = "#CC1E54", shortname = "",},
["Geneva Citizens' Movement"] = {abbrev = "", color = "#CE9D24", shortname = "Geneva Citizens'",},
["Gent de Canals"] = {abbrev = "", color = "#514D30", shortname = "",},
["Gent de Dénia"] = {abbrev = "", color = "#3CA48D", shortname = "",},
["Gent de Gramenet"] = {abbrev = "", color = "#D9951C", shortname = "",},
["Gent per Ciutadella"] = {abbrev = "", color = "#C50D1E", shortname = "",},
["Gent per Eivissa"] = {abbrev = "", color = "#04877D", shortname = "",},
["Gent per Formentera"] = {abbrev = "", color = "#96104E", shortname = "",},
["Gent per Santa María"] = {abbrev = "", color = "#FFF509", shortname = "",},
["Gente del Pueblo"] = {abbrev = "", color = "#6EA4B9", shortname = "",},
["Gente"] = {abbrev = "", color = "#B48EDB", shortname = "",},
["Genuine Opposition"] = {abbrev = "GO", color = "#ffa500", shortname = "",},
["Genuine Republican Party"] = {abbrev = "", color = "#FFA500", shortname = "",},
["George's Day Movement"] = {abbrev = "", color = "#EEB600", shortname = "",},
["Georgian Dream"] = {abbrev = "", color = "#27509C", shortname = "",},
["Georgian Labour Party"] = {abbrev = "SLP", color = "#346FAB", shortname = "",},
["Georgian Socialist-Federalist Revolutionary Party"] = {abbrev = "SSPSP", color = "#483D8B", shortname = "",},
["Georgian Troupe"] = {abbrev = "", color = "red", shortname = "",},
["Georgios Papandreou Party"] = {abbrev = "KGP", color = "khaki", shortname = "",},
["Gerakan Tanah Air"] = {abbrev = "GTA", color = "black", shortname = "",},
["Gerindra Party"] = {abbrev = "", color = "#8B0000", shortname = "Gerindra",},
["GERB"] = {abbrev = "", color = "#0054A6", shortname = "",},
["GERB—SDS"] = {abbrev = "", color = "#226ABA", shortname = "",},
["German Agrarian League"] = {abbrev = "", color = "#008B45", shortname = "",},
["German Christian Social People's Party"] = {abbrev = "DCVP", color = "#AA98A9", shortname = "",},
["German Communist Party"] = {abbrev = "DKP", color = "#ED1C24", shortname = "",},
["German Conservative Party"] = {abbrev = "DKP", color = "#0781E5", shortname = "",},
["German Democratic Party"] = {abbrev = "DDP", color = "#DCCA4A", shortname = "",},
["German Electoral Coalition"] = {abbrev = "", color = "#00693E", shortname = "German Coalition",},
["German Farmers' Party"] = {abbrev = "", color = "#007A00", shortname = "",},
["German Free-minded Party"] = {abbrev = "DFP", color = "#FFD800", shortname = "",},
["German Minority Electoral Committee"] = {abbrev = "KWMN", color = "#237FC2", shortname = "",},
["German National People's Party"] = {abbrev = "DNVP", color = "#3F7BC1", shortname = "",},
["German National Party"] = {abbrev = "DNP", color = "#75781A", shortname = "",},
["German National Socialist Workers' Party"] = {abbrev = "DNSAP", color = "#8A3324", shortname = "",},
["German National Socialist Workers' Party (Czechoslovakia)"] = {abbrev = "DNSAP", color = "#8A3324", shortname = "",},
["German Party (1947)"] = {abbrev = "DP", color = "#66B67F", shortname = "",},
["German Party (Romania)"] = {abbrev = "DPR", color = "black", shortname = "",},
["German Party"] = {abbrev = "", color = "#63B8FF", shortname = "",},
["German People's Party (1868)"] = {abbrev = "", color = "#FFAB00", shortname = "",},
["German People's Party (Austria)"] = {abbrev = "DVP", color = "#63C3D0", shortname = "",},
["German People's Party"] = {abbrev = "DVP", color = "#D5AC27", shortname = "",},
["German People's Union"] = {abbrev = "DVU", color = "#AA4422", shortname = "",},
["German Progress Party (Austria)"] = {abbrev = "DSP", color = "#EEEEEE", shortname = "",},
["German Progress Party"] = {abbrev = "DFP", color = "#FFD700", shortname = "",},
["German Right Party"] = {abbrev = "DRP", color = "#85553D", shortname = "",},
["German Social Democratic Workers' Party in the Czechoslovak Republic"] = {abbrev = "DSAP", color = "#FA5A42", shortname = "",},
["German Social Party (Weimar Republic)"] = {abbrev = "", color = "#A46A44", shortname = "",},
["German Social Union (East Germany)"] = {abbrev = "DSU", color = "#6495ED", shortname = "",},
["German State Party"] = {abbrev = "DStP", color = "#DBC94B", shortname = "",},
["German Völkisch Freedom Party"] = {abbrev = "", color = "black", shortname = "",},
["German Workers' Party"] = {abbrev = "DAP", color = "#096300", shortname = "",},
["German Workers' Party (Austria-Hungary)"] = {abbrev = "DAP", color = "#6495ED", shortname = "",},
["German-Hanoverian Party"] = {abbrev = "DHP", color = "#C5DC74", shortname = "",},
["German-National Party"] = {abbrev = "DNP", color = "#63B8FF", shortname = "",},
["Geroa Bai"] = {abbrev = "GBai", color = "#F75E42", shortname = "",},
["Geroa Socialverdes"] = {abbrev = "", color = "#6B8F36", shortname = "",},
["Gesher (2019 political party)"] = {abbrev = "", color = "#ED0963", shortname = "",},
["Gesher"] = {abbrev = "", color = "#252CAE", shortname = "",},
["Getxoko Udal Kandidatura"] = {abbrev = "", color = "#622D63", shortname = "",},
["Ghana Freedom Party"] = {abbrev = "", color = "#094715", shortname = "",},
["Ghana Union Movement"] = {abbrev = "", color = "#8B0021", shortname = "",},
["Għarb First"] = {abbrev = "GĦ1", color = "black", shortname = "Għarb First",},
["Ghibellines"] = {abbrev = "", color = "#E34234", shortname = "",},
["Gibraltar National Party"] = {abbrev = "", color = "#DF424D", shortname = "National",},
["Gibraltar Social Democrats"] = {abbrev = "", color = "#043967", shortname = "Social Democrats",},
["Gibraltar Socialist Labour Party"] = {abbrev = "", color = "#F5053C", shortname = "Socialist Labour",},
["Gijonese Unity"] = {abbrev = "", color = "#8D6E63", shortname = "",},
["Girchi - More Freedom"] = {abbrev = "", color = "#359239", shortname = "",},
["Girondins"] = {abbrev = "", color = "#6082B6", shortname = "",},
["Glasgow First"] = {abbrev = "", color = "#ff0000", shortname = "",},
["Glór – Voice of the People"] = {abbrev = "", color = "#ff6900", shortname = "Glór",},
["Go on Country – Social Integration Party"] = {abbrev = "", color = "#E62171", shortname = "Go on Country",},
["Go on Country"] = {abbrev = "", color = "#E62171", shortname = "",},
["Goa Forward Party"] = {abbrev = "GFP", color = "#353982", shortname = "",},
["Goa Rajiv Congress Party"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Goa Suraksha Manch"] = {abbrev = "", color = "#E1A95F", shortname = "",},
["Goa Vikas Party"] = {abbrev = "", color = "orange", shortname = "",},
["Goazen Bilbao"] = {abbrev = "", color = "#B90DBB", shortname = "",},
["Golden Dawn (Greece)"] = {abbrev = "ΧΑ", color = "#00022D", shortname = "",},
["Golden Dawn"] = {abbrev = "", color = "black", shortname = "",},
["Golden India Party"] = {abbrev = "", color = "#330000", shortname = "",},
["Golfitenean Action Party"] = {abbrev = "PAGOL", color = "#7DC9FF", shortname = "",},
["Golkar"] = {abbrev = "", color = "#FFD83B", shortname = "",},
["Gomera Group of Independents"] = {abbrev = "", color = "#0C1C94", shortname = "",},
["Gomera Socialist Group"] = {abbrev = "ASG", color = "#B61414", shortname = "",},
["Gondwana Ganatantra Party"] = {abbrev = "GGP", color = "purple", shortname = "",},
["Good (political party)"] = {abbrev = "", color = "#F36900", shortname = "Good",},
["Good Choice and Moderates"] = {abbrev = "", color = "#FF002B", shortname = "",},
["Good Governance Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Good Morning Serbia"] = {abbrev = "DJS", color = "#C4B34E", shortname = "",},
["Good Movement"] = {abbrev = "DR", color = "#F6B331", shortname = "",},
["Good Old Democratic Party"] = {abbrev = "", color = "#365476", shortname = "",},
["Good Party"] = {abbrev = "", color = "#3db5e6", shortname = "",},
["Good Right"] = {abbrev = "BD", color = "#2C6DB3", shortname = "",},
["Good State (Slovenia)"] = {abbrev = "", color = "#015F9C", shortname = "",},
["Gorkha Janmukti Morcha (G)"] = {abbrev = "", color = "#FF6600", shortname = "",},
["Gorkha Janmukti Morcha (T)"] = {abbrev = "", color = "#FF2561", shortname = "",},
["Gorkha Janmukti Morcha"] = {abbrev = "GJM", color = "#049747", shortname = "",},
["Gorkha National Liberation Front"] = {abbrev = "GNLF", color = "#347C17", shortname = "",},
["Gorkha Rashtriya Congress"] = {abbrev = "GRC", color = "#FF0130", shortname = "",},
["Gorkhaland Rajya Nirman Morcha"] = {abbrev = "", color = "#FF0274", shortname = "",},
["Gorran Movement"] = {abbrev = "", color = "#1F1C50", shortname = "Gorran",},
["Government Disciplined Services General Union"] = {abbrev = "", color = "#0000CC", shortname = "",},
["Government of South Korea"] = {abbrev = "", color = "#003865", shortname = "",},
["Government"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Governors of British Ceylon"] = {abbrev = "", color = "#000000", shortname = "",},
["Granada Truth and Democracy"] = {abbrev = "", color = "#E5349E", shortname = "",},
["Grand Alliance (Philippines)"] = {abbrev = "GA", color ="#4F69C6", shortname = "",},
["Grand Alliance for Democracy"] = {abbrev = "GAD", color = "#4169E1", shortname = "",},
["Grand Alliance for National Unity"] = {abbrev = "GANA", color = "#F28900", shortname = "",},
["Grand Democratic Alliance"] = {abbrev = "GDA", color = "#007a4d", shortname = "",},
["Grand Dream Development Party"] = {abbrev = "GDDP", color = "#113673", shortname = "",},
["Grand National Alliance (Dominican Republic)"] = {abbrev = "", color = "#F88379", shortname = "",},
["Grand National Alliance (Guatemala)"] = {abbrev = "GANA", color = "#0047AB", shortname = "",},
["Grand National Party"] = {abbrev = "", color = "#0994DC", shortname = "Grand National",},
["Grand National Party (1997)"] = {abbrev = "", color = "#0000A8", shortname = "Grand National",},
["Grand National Union of Kenya"] = {abbrev = "GNU", color = "Orange", shortname = "",},
["Grand Slam"] = {abbrev = "", color = "#f3e6d7", shortname = "",},
["Grand Unified Democratic New Party"] = {abbrev = "", color = "#FF8200", shortname = "New Democratic",},
["Grassroots Democratic Party (Cambodia)"] = {abbrev = "GDP", color = "#269721", shortname = "",},
["Grassroots Democratic Party of Germany"] = {abbrev = "", color = "#4AA79D", shortname = "dieBasis",},
["Grassroots—Legalize Cannabis Party"] = {abbrev = "", color = "#50C878", shortname = "Grassroots—LC",},
["Grassroots Party"] = {abbrev = "", color = "#50C878", shortname = "Grassroots",},
["Grau Unit"] = {abbrev = "", color = "#078930", shortname = "",},
["Great Azerbaijan Party"] = {abbrev = "BAP", color = "#C72127", shortname = "",},
["Great Consolidated Popular Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Great Fatherland Party"] = {abbrev = "", color = "#B00000", shortname = "Great Fatherland",},
["Great Indonesia Unity Party"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Great Nigeria People's Party"] = {abbrev = "", color = "yellow", shortname = "",},
["Great North"] = {abbrev = "", color = "#0045AA", shortname = "",},
["Great Order Party"] = {abbrev = "", color = "#ED2939", shortname = "Great Order",},
["Great Patriotic Pole"] = {abbrev = "GPP", color = "#F0001C", shortname = "",},
["Great Renewed National Alliance"] = {abbrev = "", color = "orange", shortname = "",},
["Great Unity Party"] = {abbrev = "", color = "#CC5252", shortname = "Büyük Birlik",},
["Greater Dunedin"] = {abbrev = "", color = "#2690C4", shortname = "",},
["Greater German People's Party"] = {abbrev = "GDVP", color = "#0E428E", shortname = "",},
["Greater Moldova Party"] = {abbrev = "", color = "purple", shortname = "",},
["Greater Romania Party"] = {abbrev = "PRM", color = "#0258A4", shortname = "",},
["Greek Ecologists"] = {abbrev = "EO", color = "aquamarine", shortname = "",},
["Greek Radical Movement"] = {abbrev = "", color = "#1E90FF", shortname = "",},
["Greek Rally"] = {abbrev = "", color = "#1935D0", shortname = "",},
["Greek Socialist Party"] = {abbrev = "ESK", color = "#007D44", shortname = "",},
["Greek Solution"] = {abbrev = "EL", color = "#3576CC", shortname = "",},
["Greeks for the Fatherland"] = {abbrev = "", color = "#124285", shortname = "",},
["Green Actions"] = {abbrev = "", color = "#4A7729", shortname = "",},
["Green Algeria Alliance"] = {abbrev = "", color = "#009900", shortname = "Green Alliance",},
["Green Alliance (Colombia)"] = {abbrev = "", color = "#07d400", shortname = "Green Alliance",},
["Green Alliance (Russia)"] = {abbrev = "", color = "#64A20C", shortname = "",},
["Green Alliance (Spain)"] = {abbrev = "", color = "#57AC48", shortname = "",},
["Green Alliance (Switzerland)"] = {abbrev = "", color = "#11BB44", shortname = "Green Alliance",},
["Green Alternative (Hungary)"] = {abbrev = "ZA", color = "#00FF7F", shortname = "",},
["Green Alternative (Russia)"] = {abbrev = "", color = "#00A200", shortname = "",},
["Green Alternative–Ecologist Movement of Catalonia"] = {abbrev = "", color = "#009966", shortname = "",},
["Green Alternative - Sustainable Development of Croatia"] = {abbrev = "ORaH", color = "#869B20", shortname = "",},
["Green and Independent group (Braintree)"] = {abbrev = "G&I", color = "#B2D58F", shortname = "",},
["Green and Liberal Alliance"] = {abbrev = "", color = "#99FF66", shortname = "",},
["Green and Red Canaries"] = {abbrev = "", color = "#CADC0B", shortname = "",},
["Green Animalist Party"] = {abbrev = "", color = "#3B9945", shortname = "Green Animalist",},
["Green Assembly"] = {abbrev = "", color = "#008000", shortname = "",},
["Green Breeze Party"] = {abbrev = "", color = "#008000", shortname = "",},
["Green Coalition"] = {abbrev = "", color = "#18BF89", shortname = "",},
["Green Coalition–Citizen Europe"] = {abbrev = "", color = "#099E40", shortname = "",},
["Green Confederation"] = {abbrev = "", color = "#61BC5F", shortname = "",},
["Green Ecologist Party (Chile)"] = {abbrev = "", color = "#03BF00", shortname = "Green",},
["Green Europe"] = {abbrev = "", color = "#54C160", shortname = "",},
["Green Humane City"] = {abbrev = "", color = "#059948", shortname = "",},
["Green independents"] = {abbrev = "", color = "#10C25B", shortname = "Ind. Green",},
["Green League"] = {abbrev = "", color = "#006845", shortname = "Green",},
["Green Left (Catalonia)"] = {abbrev = "EV", color = "#6DB152", shortname = "",},
["Green Left (Denmark)"] = {abbrev = "", color = "#eb94d1", shortname = "Green Left",},
["Green–Left Front"] = {abbrev = "ZLF", color = "#015E50", shortname = "",},
["Green Left Party"] = {abbrev = "YSP", color = "#388537", shortname = "",},
["Green Left Party (Morocco)"] = {abbrev = "", color = "green", shortname = "",},
["Green Left–Initiative for the Valencian Country"] = {abbrev = "", color = "#00A354", shortname = "",},
["Green Liberal Party of Switzerland"] = {abbrev = "", color = "#b4dc00", shortname = "Green Liberals",},
["Green List"] = {abbrev = "", color = "green", shortname = "",},
["Green List Ecological Initiative"] = {abbrev = "", color = "#8DB600", shortname = "",},
["Green Melilla Platform"] = {abbrev = "", color = "#9CFE67", shortname = "",},
["Green Mountain Peace and Justice Party"] = {abbrev = "", color = "#D6FF33", shortname = "Green Mountain Peace and Justice",},
["Green Movement (Bulgaria)"] = {abbrev = "", color = "#63A83D", shortname = "Green Movement",},
["Green North Regional Force"] = {abbrev = "", color = "#32A12A", shortname = "",},
["Green Party (Brazil)"] = {abbrev = "PV", color = "#006600", shortname = "",},
["Green Party (Czech Republic)"] = {abbrev = "SZ", color = "#60B44C", shortname = "",},
["Green Party (Dominican Republic)"] = {abbrev = "", color = "#008000", shortname = "",},
["Green Party (Ireland)"] = {abbrev = "GP", color = "#22AC6F", shortname = "Green",},
["Green Party (Israel)"] = {abbrev = "", color = "#59E059", shortname = "",},
["Green Party (Norway)"] = {abbrev = "", color = "#6A9325", shortname = "Green",},
["Green Party (Romania)"] = {abbrev = "", color = "#198A3A", shortname = "",},
["Green Party (Serbia)"] = {abbrev = "", color = "#016830", shortname = "",},
["Green Party (Slovakia)"] = {abbrev = "SZ", color = "#00FF00", shortname = "",},
["Green Party (Sweden)"] = {abbrev = "MP", color = "#2B912C", shortname = "Green",},
["Green Party (Thailand)"] = {abbrev = "", color = "#309B4B", shortname = "Green",},
["Green Party (Trinidad and Tobago)"] = {abbrev = "", color = "#377D22", shortname = "Green",},
["Green Party (Turkey)"] = {abbrev = "", color = "#009245", shortname = "",},
["Green Party (UK)"] = {abbrev = "GPUK", color = "#528D6B", shortname = "Green",},
["Green Party (US)"] = {abbrev = "G", color = "#17aa5c", shortname = "Green",},
["Green Party for Progress"] = {abbrev = "", color = "#8CD901", shortname = "",},
["Green Party Korea"] = {abbrev = "", color = "#59B224", shortname = "Green",},
["Green Party Northern Ireland"] = {abbrev = "", color = "#8dc63f", shortname = "Green (NI)",},
["Green Party of Albania"] = {abbrev = "", color = "green", shortname = "",},
["Green Party of Aotearoa New Zealand"] = {abbrev = "", color = "#098137", shortname = "Green",},
["Green Party of Bolivia"] = {abbrev = "PVB", color = "#027E42", shortname = "",},
["Green Party of Bulgaria"] = {abbrev = "", color = "#337E2C", shortname = "",},
["Green Party of Canada"] = {abbrev = "", color = "#99C955", shortname = "Green",},
["Green Party of England and Wales"] = {abbrev = "", color = "#02A95B", shortname = "Green",},
["Green Party of Hong Kong"] = {abbrev = "", color = "#64aa4b", shortname = "Green",},
["Green Party of Hungary"] = {abbrev = "MZP", color = "#58AB27", shortname = "",},
["Green Party of South Africa"] = {abbrev = "", color = "green", shortname = "Green Party",},
["Green Party of Switzerland"] = {abbrev = "", color = "#84B414", shortname = "Greens",},
["Green Party of Timor"] = {abbrev = "", color = "#02A75B", shortname = "Os Verdes",},
["Green Party Solomon Islands"] = {abbrev = "", color = "#00AA4D", shortname = "",},
["Green Party Taiwan"] = {abbrev = "", color = "#3AB483", shortname = "Green",},
["Green Progressive Accord"] = {abbrev = "GPA", color = "#76EE00", shortname = "",},
["Green Regionalist Coalition"] = {abbrev = "", color = "#008000", shortname = "",},
["Green Socialist Party"] = {abbrev = "", color = "green", shortname = "",},
["Green Society"] = {abbrev = "", color = "#74B249", shortname = "",},
["Green Tunisia Party"] = {abbrev = "", color = "green", shortname = "",},
["Green Justice Party"] = {abbrev = "Green Justice", color = "#007C36", shortname = "",},
["Green Wind"] = {abbrev = "", color = "green", shortname = "",},
["Green-Rainbow Party"] = {abbrev = "", color = "#17aa5c", shortname = "Green-Rainbow",},
["Green–Left Coalition"] = {abbrev = "", color = "#B31224", shortname = "",},
["Green"] = {abbrev = "", color = "#99CC33", shortname = "Greens",},
["Greenback Party"] = {abbrev = "GB", color = "#0BDA51", shortname = "Greenback",},
["Greens – Solidarity"] = {abbrev = "", color = "#32cd32", shortname = "Greens",},
["Greens (South Tyrol)"] = {abbrev = "", color = "#6B8E23", shortname = "Greens",},
["Greens (Ukraine)"] = {abbrev = "", color = "#228B22", shortname = "Greens",},
["Greens and Castilians"] = {abbrev = "", color = "#5A9C30", shortname = "",},
["Greens and Eco-pacifists"] = {abbrev = "", color = "#36A119", shortname = "",},
["Greens and Left Alliance"] = {abbrev = "", color = "#BE3457", shortname = "Greens and Left",},
["Greens Equo of the Valencian Country"] = {abbrev = "", color = "#36A119", shortname = "",},
["Greens Equo"] = {abbrev = "", color = "#46922B", shortname = "",},
["Greens Greens"] = {abbrev = "", color = "green", shortname = "",},
["Greens Japan"] = {abbrev = "", color = "#52af45", shortname = "Greens",},
["Greens New South Wales"] = {abbrev = "", color = "#10C25B", shortname = "Greens",},
["Greens of Andorra"] = {abbrev = "Vd'A", color = "#ADFF2F", shortname = "",},
["Greens of Bosnia and Herzegovina"] = {abbrev = "", color = "green", shortname = "",},
["Greens of Burkina"] = {abbrev = "", color = "green", shortname = "",},
["Greens of Serbia"] = {abbrev = "ZS", color = "#059649", shortname = "",},
["Greens of Slovenia"] = {abbrev = "", color = "green", shortname = "",},
["Greens on Åland"] = {abbrev = "", color = "#008000", shortname = "",},
["Greens Party of Georgia"] = {abbrev = "", color = "#26884A", shortname = "Greens",},
["Greens Party of Mozambique"] = {abbrev = "", color = "#64BC44", shortname = "",},
["Greens South Australia"] = {abbrev = "", color = "#00a651", shortname = "Greens",},
["Greens Western Australia"] = {abbrev = "", color = "#00a651", shortname = "Greens",},
["Greens–European Free Alliance"] = {abbrev = "", color = "#57B45F", shortname = "Greens/EFA",},
["Grenada National Party"] = {abbrev = "", color = "green", shortname = "",},
["Grenada Renaissance Party"] = {abbrev = "", color = "#4BACC6", shortname = "",},
["Grenada United Labour Party"] = {abbrev = "", color = "#D50000", shortname = "",},
["Groen (political party)"] = {abbrev = "", color = "#01796F", shortname = "Groen",},
["GroenLinks"] = {abbrev = "GL", color = "#5BC422", shortname = "",},
["GroenLinks–PvdA"] = {abbrev = "GL/PvdA", color = "#DC1F26", shortname = "",},
["Group and Union for the Progress of Almeria"] = {abbrev = "", color = "#005121", shortname = "",},
["Group for La Laguna"] = {abbrev = "", color = "#9F2362", shortname = "",},
["Group of 89"] = {abbrev = "", color = "#0d3b68", shortname = "",},
["Group of Independents of Marratxí"] = {abbrev = "", color = "#6E7096", shortname = "",},
["Group of Independents, Progressives and Nationalists"] = {abbrev = "", color = "#F8C902", shortname = "",},
["Group of Transylvanian Saxons"] = {abbrev = "GST", color = "black", shortname = "",},
["Group Otten"] = {abbrev = "GO", color = "#FAE704", shortname = "",},
["Grouped Independent Neighbors"] = {abbrev = "", color = "#ECD060", shortname = "",},
["Grouped Independents of Ponferrada"] = {abbrev = "", color = "#F78513", shortname = "",},
["Grouped Rural Citizens"] = {abbrev = "", color = "#52CA6B", shortname = "",},
["Grouping to the Service of the Republic"] = {abbrev = "", color = "#6B1F7C", shortname = "",},
["Grup Independent de Son Carrió"] = {abbrev = "", color = "#E46668", shortname = "",},
["Grupo Común da Esquerda"] = {abbrev = "", color = "#6D52C1", shortname = "",},
["Grütli Union"] = {abbrev = "", color = "#FA1360", shortname = "",},
["GSLP–Liberal Alliance"] = {abbrev = "", color = "#D20D13", shortname = "Alliance",},
["Guadeloupe Communist Party"] = {abbrev = "", color = "#DD0000", shortname = "",},
["Guanyant Torrent"] = {abbrev = "", color = "#9A297E", shortname = "",},
["Guanyem Badalona–Badalona En Comú"] = {abbrev = "", color = "#D51D50", shortname = "",},
["Guanyem Catalunya (2020)"] = {abbrev = "", color = "#ED174B", shortname = "",},
["Guanyem Catalunya"] = {abbrev = "", color = "#9F1B3F", shortname = "",},
["Guanyem Eivissa"] = {abbrev = "", color = "#940000", shortname = "",},
["Guanyem Gandia"] = {abbrev = "", color = "#EE1F25", shortname = "",},
["Guanyem Girona"] = {abbrev = "", color = "#B41062", shortname = "",},
["Guanyem L'Hospitalet"] = {abbrev = "", color = "#7B0012", shortname = "",},
["Guanyem les Illes Balears"] = {abbrev = "", color = "#BD0E15", shortname = "",},
["Guanyem Sabadell"] = {abbrev = "", color = "#91030F", shortname = "",},
["Guanyem Tarragona"] = {abbrev = "", color = "#F93620", shortname = "",},
["Guanyem–L'Esquerra Unitària"] = {abbrev = "", color = "#D42B15", shortname = "",},
["Guasú Front"] = {abbrev = "", color = "#BA55D3", shortname = "",},
["Guatemalan Christian Democracy"] = {abbrev = "DCG", color = "#046637", shortname = "",},
["Guatemalan National Revolutionary Unity"] = {abbrev = "URNG", color = "#D79E2D", shortname = "",},
["Guatemalan People's Party"] = {abbrev = "PPG", color = "#2b65af", shortname = "People's Party",},
["Guatemalan Party of Labour"] = {abbrev = "", color = "#DD0000", shortname = "",},
["Guelphs"] = {abbrev = "", color = "#000000", shortname = "",},
["Guianese Socialist Party"] = {abbrev = "PSG", color = "#EA8B9B", shortname = "",},
["Guildford Greenbelt Group"] = {abbrev = "GGG", color = "#006633", shortname = "",},
["Guinea for All"] = {abbrev = "", color = "#299D58", shortname = "",},
["Guinean Patriotic Union"] = {abbrev = "", color = "#2C2F74", shortname = "",},
["Guinean Workers' Party"] = {abbrev = "PTG", color = "#C4272A", shortname = "",},
["Gujarat Parivartan Party"] = {abbrev = "GPP", color = "#FADA5E", shortname = "",},
["Guldborgsundlisten"] = {abbrev = "", color = "#00ffff", shortname = "",},
["Gure Aukera"] = {abbrev = "", color = "#DB005F", shortname = "",},
["Guxo"] = {abbrev = "", color = "#14B0A7", shortname = "",},
["Guyana Action Party"] = {abbrev = "", color = "red", shortname = "",},
["Gwlad Gwlad"] = {abbrev = "", color = "#FF8000", shortname = "",},
["Gwlad"] = {abbrev = "", color = "#FF8000", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
a56ceb295b2fbd1a691c2f71649d65726fd4e7db
Module:Protection banner/config
828
1450
2963
2024-03-01T12:45:46Z
Wikipedia>SilverLocust
0
Fix for [[Template talk:Db-a1]] and similar template-protected non-template redirects being miscategorized into [[Category:Wikipedia fully protected pages]].
Scribunto
text/plain
-- This module provides configuration data for [[Module:Protection banner]].
return {
--------------------------------------------------------------------------------
--
-- BANNER DATA
--
--------------------------------------------------------------------------------
--[[
-- Banner data consists of six fields:
-- * text - the main protection text that appears at the top of protection
-- banners.
-- * explanation - the text that appears below the main protection text, used
-- to explain the details of the protection.
-- * tooltip - the tooltip text you see when you move the mouse over a small
-- padlock icon.
-- * link - the page that the small padlock icon links to.
-- * alt - the alt text for the small padlock icon. This is also used as tooltip
-- text for the large protection banners.
-- * image - the padlock image used in both protection banners and small padlock
-- icons.
--
-- The module checks in three separate tables to find a value for each field.
-- First it checks the banners table, which has values specific to the reason
-- for the page being protected. Then the module checks the defaultBanners
-- table, which has values specific to each protection level. Finally, the
-- module checks the masterBanner table, which holds data for protection
-- templates to use if no data has been found in the previous two tables.
--
-- The values in the banner data can take parameters. These are specified
-- using ${TEXTLIKETHIS} (a dollar sign preceding a parameter name
-- enclosed in curly braces).
--
-- Available parameters:
--
-- ${CURRENTVERSION} - a link to the page history or the move log, with the
-- display message "current-version-edit-display" or
-- "current-version-move-display".
--
-- ${EDITREQUEST} - a link to create an edit request for the current page.
--
-- ${EXPLANATIONBLURB} - an explanation blurb, e.g. "Please discuss any changes
-- on the talk page; you may submit a request to ask an administrator to make
-- an edit if it is minor or supported by consensus."
--
-- ${IMAGELINK} - a link to set the image to, depending on the protection
-- action and protection level.
--
-- ${INTROBLURB} - the PROTECTIONBLURB parameter, plus the expiry if an expiry
-- is set. E.g. "Editing of this page by new or unregistered users is currently
-- disabled until dd Month YYYY."
--
-- ${INTROFRAGMENT} - the same as ${INTROBLURB}, but without final punctuation
-- so that it can be used in run-on sentences.
--
-- ${PAGETYPE} - the type of the page, e.g. "article" or "template".
-- Defined in the cfg.pagetypes table.
--
-- ${PROTECTIONBLURB} - a blurb explaining the protection level of the page, e.g.
-- "Editing of this page by new or unregistered users is currently disabled"
--
-- ${PROTECTIONDATE} - the protection date, if it has been supplied to the
-- template.
--
-- ${PROTECTIONLEVEL} - the protection level, e.g. "fully protected" or
-- "semi-protected".
--
-- ${PROTECTIONLOG} - a link to the protection log or the pending changes log,
-- depending on the protection action.
--
-- ${TALKPAGE} - a link to the talk page. If a section is specified, links
-- straight to that talk page section.
--
-- ${TOOLTIPBLURB} - uses the PAGETYPE, PROTECTIONTYPE and EXPIRY parameters to
-- create a blurb like "This template is semi-protected", or "This article is
-- move-protected until DD Month YYYY".
--
-- ${VANDAL} - links for the specified username (or the root page name)
-- using Module:Vandal-m.
--
-- Functions
--
-- For advanced users, it is possible to use Lua functions instead of strings
-- in the banner config tables. Using functions gives flexibility that is not
-- possible just by using parameters. Functions take two arguments, the
-- protection object and the template arguments, and they must output a string.
--
-- For example:
--
-- text = function (protectionObj, args)
-- if protectionObj.level == 'autoconfirmed' then
-- return 'foo'
-- else
-- return 'bar'
-- end
-- end
--
-- Some protection object properties and methods that may be useful:
-- protectionObj.action - the protection action
-- protectionObj.level - the protection level
-- protectionObj.reason - the protection reason
-- protectionObj.expiry - the expiry. Nil if unset, the string "indef" if set
-- to indefinite, and the protection time in unix time if temporary.
-- protectionObj.protectionDate - the protection date in unix time, or nil if
-- unspecified.
-- protectionObj.bannerConfig - the banner config found by the module. Beware
-- of editing the config field used by the function, as it could create an
-- infinite loop.
-- protectionObj:isProtected - returns a boolean showing whether the page is
-- protected.
-- protectionObj:isTemporary - returns a boolean showing whether the expiry is
-- temporary.
-- protectionObj:isIncorrect - returns a boolean showing whether the protection
-- template is incorrect.
--]]
-- The master banner data, used if no values have been found in banners or
-- defaultBanners.
masterBanner = {
text = '${INTROBLURB}',
explanation = '${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPBLURB}',
link = '${IMAGELINK}',
alt = 'Page ${PROTECTIONLEVEL}'
},
-- The default banner data. This holds banner data for different protection
-- levels.
-- *required* - this table needs edit, move, autoreview and upload subtables.
defaultBanners = {
edit = {},
move = {},
autoreview = {
default = {
alt = 'Page protected with pending changes',
tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users',
image = 'Pending-protection-shackle.svg'
}
},
upload = {}
},
-- The banner data. This holds banner data for different protection reasons.
-- In fact, the reasons specified in this table control which reasons are
-- valid inputs to the first positional parameter.
--
-- There is also a non-standard "description" field that can be used for items
-- in this table. This is a description of the protection reason for use in the
-- module documentation.
--
-- *required* - this table needs edit, move, autoreview and upload subtables.
banners = {
edit = {
blp = {
description = 'For pages protected to promote compliance with the'
.. ' [[Wikipedia:Biographies of living persons'
.. '|biographies of living persons]] policy',
text = '${INTROFRAGMENT} to promote compliance with'
.. ' [[Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. ' of living people]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living persons',
},
dmca = {
description = 'For pages protected by the Wikimedia Foundation'
.. ' due to [[Digital Millennium Copyright Act]] takedown requests',
explanation = function (protectionObj, args)
local ret = 'Pursuant to a rights owner notice under the Digital'
.. ' Millennium Copyright Act (DMCA) regarding some content'
.. ' in this article, the Wikimedia Foundation acted under'
.. ' applicable law and took down and restricted the content'
.. ' in question.'
if args.notice then
ret = ret .. ' A copy of the received notice can be found here: '
.. args.notice .. '.'
end
ret = ret .. ' For more information, including websites discussing'
.. ' how to file a counter-notice, please see'
.. " [[Wikipedia:Office actions]] and the article's ${TALKPAGE}."
.. "'''Do not remove this template from the article until the"
.. " restrictions are withdrawn'''."
return ret
end,
image = 'Office-protection-shackle.svg',
},
dispute = {
description = 'For pages protected due to editing disputes',
text = function (protectionObj, args)
-- Find the value of "disputes".
local display = 'disputes'
local disputes
if args.section then
disputes = string.format(
'[[%s:%s#%s|%s]]',
mw.site.namespaces[protectionObj.title.namespace].talk.name,
protectionObj.title.text,
args.section,
display
)
else
disputes = display
end
-- Make the blurb, depending on the expiry.
local msg
if type(protectionObj.expiry) == 'number' then
msg = '${INTROFRAGMENT} or until editing %s have been resolved.'
else
msg = '${INTROFRAGMENT} until editing %s have been resolved.'
end
return string.format(msg, disputes)
end,
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPFRAGMENT} due to editing disputes',
},
ecp = {
description = 'For articles in topic areas authorized by'
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
.. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
alt = 'Extended-protected ${PAGETYPE}',
},
mainpage = {
description = 'For pages protected for being displayed on the [[Main Page]]',
text = 'This file is currently'
.. ' [[Wikipedia:This page is protected|protected]] from'
.. ' editing because it is currently or will soon be displayed'
.. ' on the [[Main Page]].',
explanation = 'Images on the Main Page are protected due to their high'
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
.. '<br /><span style="font-size:90%;">'
.. "'''Administrators:''' Once this image is definitely off the Main Page,"
.. ' please unprotect this file, or reduce to semi-protection,'
.. ' as appropriate.</span>',
},
office = {
description = 'For pages protected by the Wikimedia Foundation',
text = function (protectionObj, args)
local ret = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.'
if protectionObj.protectionDate then
ret = ret .. ' It has been protected since ${PROTECTIONDATE}.'
end
return ret
end,
explanation = "If you can edit this page, please discuss all changes and"
.. " additions on the ${TALKPAGE} first. '''Do not remove protection from this"
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
image = 'Office-protection-shackle.svg',
},
reset = {
description = 'For pages protected by the Wikimedia Foundation and'
.. ' "reset" to a bare-bones version',
text = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.',
explanation = function (protectionObj, args)
local ret = ''
if protectionObj.protectionDate then
ret = ret .. 'On ${PROTECTIONDATE} this ${PAGETYPE} was'
else
ret = ret .. 'This ${PAGETYPE} has been'
end
ret = ret .. ' reduced to a'
.. ' simplified, "bare bones" version so that it may be completely'
.. ' rewritten to ensure it meets the policies of'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' will eventually be open to all editors—and will be strictly'
.. ' enforced. The ${PAGETYPE} has been ${PROTECTIONLEVEL} while'
.. ' it is being rebuilt.\n\n'
.. 'Any insertion of material directly from'
.. ' pre-protection revisions of the ${PAGETYPE} will be removed, as'
.. ' will any material added to the ${PAGETYPE} that is not properly'
.. ' sourced. The associated talk page(s) were also cleared on the'
.. " same date.\n\n"
.. "If you can edit this page, please discuss all changes and"
.. " additions on the ${TALKPAGE} first. '''Do not override"
.. " this action, and do not remove protection from this page,"
.. " unless you are authorized by the Wikimedia Foundation"
.. " to do so. No editor may remove this notice.'''"
return ret
end,
image = 'Office-protection-shackle.svg',
},
sock = {
description = 'For pages protected due to'
.. ' [[Wikipedia:Sock puppetry|sock puppetry]]',
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:Banning policy|banned users]]'
.. ' from editing it.',
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
.. ' editing it',
},
template = {
description = 'For [[Wikipedia:High-risk templates|high-risk]]'
.. ' templates and Lua modules',
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},'
.. ' as it is [[Wikipedia:High-risk templates|high-risk]].',
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] or'
.. ' [[Wikipedia:Template editor|template editor]] to make an edit if'
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by'
.. ' [[Wikipedia:Consensus|consensus]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
.. ' to prevent vandalism',
alt = 'Permanently protected ${PAGETYPE}',
},
usertalk = {
description = 'For pages protected against disruptive edits by a'
.. ' particular user',
text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,'
.. ' such as abusing the'
.. ' {{[[Template:unblock|unblock]]}} template.',
explanation = 'If you cannot edit this user talk page and you need to'
.. ' make a change or leave a message, you can'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for edits to a protected page'
.. '|request an edit]],'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]],'
.. ' [[Special:Userlogin|log in]],'
.. ' or [[Special:UserLogin/signup|create an account]].',
},
vandalism = {
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism|vandalism]]',
text = '${INTROFRAGMENT} due to [[Wikipedia:Vandalism|vandalism]].',
explanation = function (protectionObj, args)
local ret = ''
if protectionObj.level == 'sysop' then
ret = ret .. "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. '
end
return ret .. '${EXPLANATIONBLURB}'
end,
tooltip = '${TOOLTIPFRAGMENT} due to vandalism',
}
},
move = {
dispute = {
description = 'For pages protected against page moves due to'
.. ' disputes over the page title',
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
image = 'Move-protection-shackle.svg'
},
vandalism = {
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism#Page-move vandalism'
.. ' |page-move vandalism]]'
}
},
autoreview = {},
upload = {}
},
--------------------------------------------------------------------------------
--
-- GENERAL DATA TABLES
--
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Protection blurbs
--------------------------------------------------------------------------------
-- This table produces the protection blurbs available with the
-- ${PROTECTIONBLURB} parameter. It is sorted by protection action and
-- protection level, and is checked by the module in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionBlurbs = {
edit = {
default = 'This ${PAGETYPE} is currently [[Help:Protection|'
.. 'protected]] from editing',
autoconfirmed = 'Editing of this ${PAGETYPE} by [[Wikipedia:User access'
.. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered'
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]',
extendedconfirmed = 'This ${PAGETYPE} is currently under extended confirmed protection',
},
move = {
default = 'This ${PAGETYPE} is currently [[Help:Protection|protected]]'
.. ' from [[Help:Moving a page|page moves]]'
},
autoreview = {
default = 'All edits made to this ${PAGETYPE} by'
.. ' [[Wikipedia:User access levels#New users|new]] or'
.. ' [[Wikipedia:User access levels#Unregistered users|unregistered]]'
.. ' users are currently'
.. ' [[Wikipedia:Pending changes|subject to review]]'
},
upload = {
default = 'Uploading new versions of this ${PAGETYPE} is currently disabled'
}
},
--------------------------------------------------------------------------------
-- Explanation blurbs
--------------------------------------------------------------------------------
-- This table produces the explanation blurbs available with the
-- ${EXPLANATIONBLURB} parameter. It is sorted by protection action,
-- protection level, and whether the page is a talk page or not. If the page is
-- a talk page it will have a talk key of "talk"; otherwise it will have a talk
-- key of "subject". The table is checked in the following order:
-- 1. page's protection action, page's protection level, page's talk key
-- 2. page's protection action, page's protection level, default talk key
-- 3. page's protection action, default protection level, page's talk key
-- 4. page's protection action, default protection level, default talk key
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
explanationBlurbs = {
edit = {
autoconfirmed = {
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
},
extendedconfirmed = {
default = 'Extended confirmed protection prevents edits from all unregistered editors'
.. ' and registered users with fewer than 30 days tenure and 500 edits.'
.. ' The [[Wikipedia:Protection policy#extended|policy on community use]]'
.. ' specifies that extended confirmed protection can be applied to combat'
.. ' disruption, if semi-protection has proven to be ineffective.'
.. ' Extended confirmed protection may also be applied to enforce'
.. ' [[Wikipedia:Arbitration Committee|arbitration sanctions]].'
.. ' Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask for uncontroversial changes supported by'
.. ' [[Wikipedia:Consensus|consensus]].'
},
default = {
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus'
.. '|consensus]]. You may also [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|request]] that this page be unprotected.',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' You may [[Wikipedia:Requests for page'
.. ' protection#Current requests for edits to a protected page|request an'
.. ' edit]] to this page, or [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|ask]] for it to be unprotected.'
}
},
move = {
default = {
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves on the'
.. ' ${TALKPAGE} or at [[Wikipedia:Requested moves]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves at'
.. ' [[Wikipedia:Requested moves]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.'
}
},
autoreview = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
.. ' will not be visible to readers until they are accepted by'
.. ' a reviewer. To avoid the need for your edits to be'
.. ' reviewed, you may'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].'
},
},
upload = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but new versions of the file'
.. ' cannot be uploaded until it is unprotected. You can'
.. ' request that a new version be uploaded by using a'
.. ' [[Wikipedia:Edit requests|protected edit request]], or you'
.. ' can [[Wikipedia:Requests for page protection|request]]'
.. ' that the file be unprotected.'
}
}
},
--------------------------------------------------------------------------------
-- Protection levels
--------------------------------------------------------------------------------
-- This table provides the data for the ${PROTECTIONLEVEL} parameter, which
-- produces a short label for different protection levels. It is sorted by
-- protection action and protection level, and is checked in the following
-- order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionLevels = {
edit = {
default = 'protected',
templateeditor = 'template-protected',
extendedconfirmed = 'extended-protected',
autoconfirmed = 'semi-protected',
},
move = {
default = 'move-protected'
},
autoreview = {
},
upload = {
default = 'upload-protected'
}
},
--------------------------------------------------------------------------------
-- Images
--------------------------------------------------------------------------------
-- This table lists different padlock images for each protection action and
-- protection level. It is used if an image is not specified in any of the
-- banner data tables, and if the page does not satisfy the conditions for using
-- the ['image-filename-indef'] image. It is checked in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
images = {
edit = {
default = 'Full-protection-shackle.svg',
templateeditor = 'Template-protection-shackle.svg',
extendedconfirmed = 'Extended-protection-shackle.svg',
autoconfirmed = 'Semi-protection-shackle.svg'
},
move = {
default = 'Move-protection-shackle.svg',
},
autoreview = {
default = 'Pending-protection-shackle.svg'
},
upload = {
default = 'Upload-protection-shackle.svg'
}
},
-- Pages with a reason specified in this table will show the special "indef"
-- padlock, defined in the 'image-filename-indef' message, if no expiry is set.
indefImageReasons = {
template = true
},
--------------------------------------------------------------------------------
-- Image links
--------------------------------------------------------------------------------
-- This table provides the data for the ${IMAGELINK} parameter, which gets
-- the image link for small padlock icons based on the page's protection action
-- and protection level. It is checked in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
imageLinks = {
edit = {
default = 'Wikipedia:Protection policy#full',
templateeditor = 'Wikipedia:Protection policy#template',
extendedconfirmed = 'Wikipedia:Protection policy#extended',
autoconfirmed = 'Wikipedia:Protection policy#semi'
},
move = {
default = 'Wikipedia:Protection policy#move'
},
autoreview = {
default = 'Wikipedia:Protection policy#pending'
},
upload = {
default = 'Wikipedia:Protection policy#upload'
}
},
--------------------------------------------------------------------------------
-- Padlock indicator names
--------------------------------------------------------------------------------
-- This table provides the "name" attribute for the <indicator> extension tag
-- with which small padlock icons are generated. All indicator tags on a page
-- are displayed in alphabetical order based on this attribute, and with
-- indicator tags with duplicate names, the last tag on the page wins.
-- The attribute is chosen based on the protection action; table keys must be a
-- protection action name or the string "default".
padlockIndicatorNames = {
autoreview = 'pp-autoreview',
default = 'pp-default'
},
--------------------------------------------------------------------------------
-- Protection categories
--------------------------------------------------------------------------------
--[[
-- The protection categories are stored in the protectionCategories table.
-- Keys to this table are made up of the following strings:
--
-- 1. the expiry date
-- 2. the namespace
-- 3. the protection reason (e.g. "dispute" or "vandalism")
-- 4. the protection level (e.g. "sysop" or "autoconfirmed")
-- 5. the action (e.g. "edit" or "move")
--
-- When the module looks up a category in the table, first it will will check to
-- see a key exists that corresponds to all five parameters. For example, a
-- user page semi-protected from vandalism for two weeks would have the key
-- "temp-user-vandalism-autoconfirmed-edit". If no match is found, the module
-- changes the first part of the key to "all" and checks the table again. It
-- keeps checking increasingly generic key combinations until it finds the
-- field, or until it reaches the key "all-all-all-all-all".
--
-- The module uses a binary matrix to determine the order in which to search.
-- This is best demonstrated by a table. In this table, the "0" values
-- represent "all", and the "1" values represent the original data (e.g.
-- "indef" or "file" or "vandalism").
--
-- expiry namespace reason level action
-- order
-- 1 1 1 1 1 1
-- 2 0 1 1 1 1
-- 3 1 0 1 1 1
-- 4 0 0 1 1 1
-- 5 1 1 0 1 1
-- 6 0 1 0 1 1
-- 7 1 0 0 1 1
-- 8 0 0 0 1 1
-- 9 1 1 1 0 1
-- 10 0 1 1 0 1
-- 11 1 0 1 0 1
-- 12 0 0 1 0 1
-- 13 1 1 0 0 1
-- 14 0 1 0 0 1
-- 15 1 0 0 0 1
-- 16 0 0 0 0 1
-- 17 1 1 1 1 0
-- 18 0 1 1 1 0
-- 19 1 0 1 1 0
-- 20 0 0 1 1 0
-- 21 1 1 0 1 0
-- 22 0 1 0 1 0
-- 23 1 0 0 1 0
-- 24 0 0 0 1 0
-- 25 1 1 1 0 0
-- 26 0 1 1 0 0
-- 27 1 0 1 0 0
-- 28 0 0 1 0 0
-- 29 1 1 0 0 0
-- 30 0 1 0 0 0
-- 31 1 0 0 0 0
-- 32 0 0 0 0 0
--
-- In this scheme the action has the highest priority, as it is the last
-- to change, and the expiry has the least priority, as it changes the most.
-- The priorities of the expiry, the protection level and the action are
-- fixed, but the priorities of the reason and the namespace can be swapped
-- through the use of the cfg.bannerDataNamespaceHasPriority table.
--]]
-- If the reason specified to the template is listed in this table,
-- namespace data will take priority over reason data in the protectionCategories
-- table.
reasonsWithNamespacePriority = {
vandalism = true,
},
-- The string to use as a namespace key for the protectionCategories table for each
-- namespace number.
categoryNamespaceKeys = {
[ 2] = 'user',
[ 3] = 'user',
[ 4] = 'project',
[ 6] = 'file',
[ 8] = 'mediawiki',
[ 10] = 'template',
[ 12] = 'project',
[ 14] = 'category',
[100] = 'portal',
[828] = 'module',
},
protectionCategories = {
['all|all|all|all|all'] = 'Wikipedia fully protected pages',
['all|all|office|all|all'] = 'Wikipedia Office-protected pages',
['all|all|reset|all|all'] = 'Wikipedia Office-protected pages',
['all|all|dmca|all|all'] = 'Wikipedia Office-protected pages',
['all|all|mainpage|all|all'] = 'Wikipedia fully protected main page files',
['all|all|all|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages',
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages',
['all|template|all|all|edit'] = 'Wikipedia fully protected templates',
['all|all|all|autoconfirmed|edit'] = 'Wikipedia semi-protected pages',
['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages',
['all|all|blp|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected biographies of living people',
['temp|all|blp|autoconfirmed|edit'] = 'Wikipedia temporarily semi-protected biographies of living people',
['all|all|dispute|autoconfirmed|edit'] = 'Wikipedia pages semi-protected due to dispute',
['all|all|sock|autoconfirmed|edit'] = 'Wikipedia pages semi-protected from banned users',
['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism',
['all|category|all|autoconfirmed|edit'] = 'Wikipedia semi-protected categories',
['all|file|all|autoconfirmed|edit'] = 'Wikipedia semi-protected files',
['all|portal|all|autoconfirmed|edit'] = 'Wikipedia semi-protected portals',
['all|project|all|autoconfirmed|edit'] = 'Wikipedia semi-protected project pages',
['all|talk|all|autoconfirmed|edit'] = 'Wikipedia semi-protected talk pages',
['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates',
['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages',
['all|all|all|templateeditor|move'] = 'Wikipedia template-protected pages other than templates and modules',
['all|all|all|templateeditor|edit'] = 'Wikipedia template-protected pages other than templates and modules',
['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates',
['all|template|all|templateeditor|move'] = 'Wikipedia template-protected templates', -- move-protected templates
['all|all|blp|sysop|edit'] = 'Wikipedia indefinitely protected biographies of living people',
['temp|all|blp|sysop|edit'] = 'Wikipedia temporarily protected biographies of living people',
['all|all|dispute|sysop|edit'] = 'Wikipedia pages protected due to dispute',
['all|all|sock|sysop|edit'] = 'Wikipedia pages protected from banned users',
['all|all|vandalism|sysop|edit'] = 'Wikipedia pages protected against vandalism',
['all|category|all|sysop|edit'] = 'Wikipedia fully protected categories',
['all|file|all|sysop|edit'] = 'Wikipedia fully protected files',
['all|project|all|sysop|edit'] = 'Wikipedia fully protected project pages',
['all|talk|all|sysop|edit'] = 'Wikipedia fully protected talk pages',
['all|template|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected templates',
['all|template|all|sysop|edit'] = 'Wikipedia fully protected templates',
['all|user|all|sysop|edit'] = 'Wikipedia fully protected user and user talk pages',
['all|module|all|all|edit'] = 'Wikipedia fully protected modules',
['all|module|all|templateeditor|edit'] = 'Wikipedia template-protected modules',
['all|module|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected modules',
['all|module|all|autoconfirmed|edit'] = 'Wikipedia semi-protected modules',
['all|all|all|sysop|move'] = 'Wikipedia move-protected pages',
['indef|all|all|sysop|move'] = 'Wikipedia indefinitely move-protected pages',
['all|all|dispute|sysop|move'] = 'Wikipedia pages move-protected due to dispute',
['all|all|vandalism|sysop|move'] = 'Wikipedia pages move-protected due to vandalism',
['all|portal|all|sysop|move'] = 'Wikipedia move-protected portals',
['all|project|all|sysop|move'] = 'Wikipedia move-protected project pages',
['all|talk|all|sysop|move'] = 'Wikipedia move-protected talk pages',
['all|template|all|sysop|move'] = 'Wikipedia move-protected templates',
['all|user|all|sysop|move'] = 'Wikipedia move-protected user and user talk pages',
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages',
['all|file|all|all|upload'] = 'Wikipedia upload-protected files',
},
--------------------------------------------------------------------------------
-- Expiry category config
--------------------------------------------------------------------------------
-- This table configures the expiry category behaviour for each protection
-- action.
-- * If set to true, setting that action will always categorise the page if
-- an expiry parameter is not set.
-- * If set to false, setting that action will never categorise the page.
-- * If set to nil, the module will categorise the page if:
-- 1) an expiry parameter is not set, and
-- 2) a reason is provided, and
-- 3) the specified reason is not blacklisted in the reasonsWithoutExpiryCheck
-- table.
expiryCheckActions = {
edit = nil,
move = false,
autoreview = true,
upload = false
},
reasonsWithoutExpiryCheck = {
blp = true,
template = true,
},
--------------------------------------------------------------------------------
-- Pagetypes
--------------------------------------------------------------------------------
-- This table produces the page types available with the ${PAGETYPE} parameter.
-- Keys are namespace numbers, or the string "default" for the default value.
pagetypes = {
[0] = 'article',
[6] = 'file',
[10] = 'template',
[14] = 'category',
[828] = 'module',
default = 'page'
},
--------------------------------------------------------------------------------
-- Strings marking indefinite protection
--------------------------------------------------------------------------------
-- This table contains values passed to the expiry parameter that mean the page
-- is protected indefinitely.
indefStrings = {
['indef'] = true,
['indefinite'] = true,
['indefinitely'] = true,
['infinite'] = true,
},
--------------------------------------------------------------------------------
-- Group hierarchy
--------------------------------------------------------------------------------
-- This table maps each group to all groups that have a superset of the original
-- group's page editing permissions.
hierarchy = {
sysop = {},
reviewer = {'sysop'},
filemover = {'sysop'},
templateeditor = {'sysop'},
extendedconfirmed = {'sysop'},
autoconfirmed = {'reviewer', 'filemover', 'templateeditor', 'extendedconfirmed'},
user = {'autoconfirmed'},
['*'] = {'user'}
},
--------------------------------------------------------------------------------
-- Wrapper templates and their default arguments
--------------------------------------------------------------------------------
-- This table contains wrapper templates used with the module, and their
-- default arguments. Templates specified in this table should contain the
-- following invocation, and no other template content:
--
-- {{#invoke:Protection banner|main}}
--
-- If other content is desired, it can be added between
-- <noinclude>...</noinclude> tags.
--
-- When a user calls one of these wrapper templates, they will use the
-- default arguments automatically. However, users can override any of the
-- arguments.
wrappers = {
['Template:Pp'] = {},
['Template:Pp-extended'] = {'ecp'},
['Template:Pp-blp'] = {'blp'},
-- we don't need Template:Pp-create
['Template:Pp-dispute'] = {'dispute'},
['Template:Pp-main-page'] = {'mainpage'},
['Template:Pp-move'] = {action = 'move', catonly = 'yes'},
['Template:Pp-move-dispute'] = {'dispute', action = 'move', catonly = 'yes'},
-- we don't need Template:Pp-move-indef
['Template:Pp-move-vandalism'] = {'vandalism', action = 'move', catonly = 'yes'},
['Template:Pp-office'] = {'office'},
['Template:Pp-office-dmca'] = {'dmca'},
['Template:Pp-pc'] = {action = 'autoreview', small = true},
['Template:Pp-pc1'] = {action = 'autoreview', small = true},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-semi-indef'] = {small = true},
['Template:Pp-sock'] = {'sock'},
['Template:Pp-template'] = {'template', small = true},
['Template:Pp-upload'] = {action = 'upload'},
['Template:Pp-usertalk'] = {'usertalk'},
['Template:Pp-vandalism'] = {'vandalism'},
},
--------------------------------------------------------------------------------
--
-- MESSAGES
--
--------------------------------------------------------------------------------
msg = {
--------------------------------------------------------------------------------
-- Intro blurb and intro fragment
--------------------------------------------------------------------------------
-- These messages specify what is produced by the ${INTROBLURB} and
-- ${INTROFRAGMENT} parameters. If the protection is temporary they use the
-- intro-blurb-expiry or intro-fragment-expiry, and if not they use
-- intro-blurb-noexpiry or intro-fragment-noexpiry.
-- It is possible to use banner parameters in these messages.
['intro-blurb-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY}.',
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.',
['intro-fragment-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY},',
['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}',
--------------------------------------------------------------------------------
-- Tooltip blurb
--------------------------------------------------------------------------------
-- These messages specify what is produced by the ${TOOLTIPBLURB} parameter.
-- If the protection is temporary the tooltip-blurb-expiry message is used, and
-- if not the tooltip-blurb-noexpiry message is used.
-- It is possible to use banner parameters in these messages.
['tooltip-blurb-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY}.',
['tooltip-blurb-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}.',
['tooltip-fragment-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY},',
['tooltip-fragment-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
--------------------------------------------------------------------------------
-- Special explanation blurb
--------------------------------------------------------------------------------
-- An explanation blurb for pages that cannot be unprotected, e.g. for pages
-- in the MediaWiki namespace.
-- It is possible to use banner parameters in this message.
['explanation-blurb-nounprotect'] = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus'
.. '|consensus]].',
--------------------------------------------------------------------------------
-- Protection log display values
--------------------------------------------------------------------------------
-- These messages determine the display values for the protection log link
-- or the pending changes log link produced by the ${PROTECTIONLOG} parameter.
-- It is possible to use banner parameters in these messages.
['protection-log-display'] = 'protection log',
['pc-log-display'] = 'pending changes log',
--------------------------------------------------------------------------------
-- Current version display values
--------------------------------------------------------------------------------
-- These messages determine the display values for the page history link
-- or the move log link produced by the ${CURRENTVERSION} parameter.
-- It is possible to use banner parameters in these messages.
['current-version-move-display'] = 'current title',
['current-version-edit-display'] = 'current version',
--------------------------------------------------------------------------------
-- Talk page
--------------------------------------------------------------------------------
-- This message determines the display value of the talk page link produced
-- with the ${TALKPAGE} parameter.
-- It is possible to use banner parameters in this message.
['talk-page-link-display'] = 'talk page',
--------------------------------------------------------------------------------
-- Edit requests
--------------------------------------------------------------------------------
-- This message determines the display value of the edit request link produced
-- with the ${EDITREQUEST} parameter.
-- It is possible to use banner parameters in this message.
['edit-request-display'] = 'submit an edit request',
--------------------------------------------------------------------------------
-- Expiry date format
--------------------------------------------------------------------------------
-- This is the format for the blurb expiry date. It should be valid input for
-- the first parameter of the #time parser function.
['expiry-date-format'] = 'F j, Y "at" H:i e',
--------------------------------------------------------------------------------
-- Tracking categories
--------------------------------------------------------------------------------
-- These messages determine which tracking categories the module outputs.
['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates',
['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules',
--------------------------------------------------------------------------------
-- Images
--------------------------------------------------------------------------------
-- These are images that are not defined by their protection action and protection level.
['image-filename-indef'] = 'Full-protection-shackle.svg',
['image-filename-default'] = 'Transparent.gif',
--------------------------------------------------------------------------------
-- End messages
--------------------------------------------------------------------------------
}
--------------------------------------------------------------------------------
-- End configuration
--------------------------------------------------------------------------------
}
65de905227752d0a0dae145e9ad8dbe1d0087016
Module:Political party/L
828
1477
3017
2024-03-08T18:10:01Z
Wikipedia>Charles Essie
0
+
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["La France insoumise"] = "La France Insoumise",
["Labor Front"] = "Labour Front",
["Labor Party (United States, 1996)"] = "Labor Party (US, 1996)",
["Labor Party (United States)"] = "Labor Party (US)",
["Labor Party (US, 19th century)"] = "Labor Party (United States, 19th century)",
["Labor Party"] = "Labour Party",
["Labour Party–GroenLinks"] = "GroenLinks–PvdA",
["Labor-Farm Party of Wisconsin"] = "Labor–Farm Party of Wisconsin",
["Labour '87"] = "Labour Party of Northern Ireland",
["Labour Co-operative"] = "Labour and Co-operative Party",
["Labour and Co-operative"] = "Labour and Co-operative Party",
["Labour Coalition"] = "Labour coalition",
["Labour (Ireland)"] = "Labour Party (Ireland)",
["Labour Party (Mexico)"] = "Labor Party (Mexico)",
["Labour Party (Portugal)"] = "Worker–Peasant Alliance",
["Lakas Kampi CMD"] = "Lakas–Kampi",
["Lakas-Kampi-CMD"] = "Lakas–Kampi",
["Lakas-Christian Muslim Democrats"] = "Lakas–CMD",
["Lakas-CMD"] = "Lakas–CMD",
["Lakas-CMD (1991)"] = "Lakas–CMD (1991)",
["Lakas-CMD (2009)"] = "Lakas–CMD",
["Lakas-Kampi-CMD"] = "Lakas–Kampi",
["Lakas-NUCD-UMDP"] = "Lakas–CMD (1991)",
["Lakas-NUCD"] = "Lakas–CMD (1991)",
["Lakas–Christian Muslim Democrats"] = "Lakas–CMD",
["Lakas–CMD"] = "Lakas–CMD",
["Lakas–CMD (1991)"] = "Lakas–CMD (1991)",
["Lakas–CMD (2009)"] = "Lakas–CMD",
["Lakas–Kampi–CMD"] = "Lakas–Kampi",
["Lakas–NUCD–UMDP"] = "Lakas–CMD (1991)",
["Lakas–NUCD"] = "Lakas–CMD (1991)",
["Lalit"] = "Lalit (Mauritius)",
["Lanka Democratic Party"] = "Lanka Prajathanthravadi Pakshaya",
["Lantmannapartiet"] = "Lantmanna Party",
["LaRouche movement"] = "National Democratic Policy Committee",
["Latvian Centrist Party"] = "Centre Party (Latvia)",
["Latvian Social Democratic Alliance"] = "Latvian Social Democratic Workers' Party",
["Law and Order (Latvia)"] = "For Each and Every One",
["Law and Order Party (United States)"] = "Law and Order Party (US)",
["LDPR (political party)"] = "Liberal Democratic Party of Russia",
["Left for the Right to Decide"] = "Republican Left of Catalonia",
["Left Front (India)"] = "Left Front",
["Left Front (Sri Lanka)"] = "Left Liberation Front",
["Left of the Peoples (1987)"] = "Left of the Peoples",
["Left of the Peoples (1989)"] = "Left of the Peoples",
["Left Option"] = "Estonian Left Party",
["Left Party – Communists"] = "Left Party (Sweden)",
["Left Party-Communists"] = "Left Party (Sweden)",
["Left Radical Party"] = "Radical Party of the Left",
["Left Revolutionary Front (Portugal)"] = "Socialist Alternative Movement",
["Left Unity (European Parliament)"] = "European United Left–Nordic Green Left",
["Leftist Socialist Party of Japan"] = "Left Socialist Party of Japan",
["Leftist Workers and Farm Labourers"] = "Communist Party of Latvia",
["Lega per Salvini Premier"] = "Lega (political party)",
["Les Engagés"] = "Les Engagés (political party)",
["Libertarian Party (Alaska)"] = "Libertarian Party (US)",
["Liberal–Democratic List"] = "Liberal League (Luxembourg)",
["Liberal/Country Coalition"] = "Coalition (Australia)",
["Liberal-Country Coalition"] = "Coalition (Australia)",
["Liberal–Country Coalition"] = "Coalition (Australia)",
["Liberal/National Coalition"] = "Coalition (Australia)",
["Liberal-National Coalition"] = "Coalition (Australia)",
["Liberal–National Coalition"] = "Coalition (Australia)",
["Lib-Lab"] = "Liberal-Labour (UK)",
["Liberal Coalition Party"] = "Liberals (Sweden)",
["Liberal Constitutional Party (Italy)"] = "Historical Right (Italy)",
["Liberal Democratic Party (Chile)"] = "Liberal Democratic Party (Chile, 1893)",
["Liberal Democratic Party (Italy)"] = "Italian Democratic Liberal Party",
["Liberal Democratic Party (Lithuania)"] = "Order and Justice",
["Liberal Democratic Party (Serbia 2005)"] = "Liberal Democratic Party (Serbia)",
["Liberal Democratic Party (Spain)"] = "Liberal Democratic Party (Spain, 1982)",
["Liberal Democratic Party of Japan"] = "Liberal Democratic Party (Japan)",
["Liberal Democratic Party of Switzerland"] = "Liberal Party of Switzerland",
["Liberal Democrats"] = "Liberal Democrats (UK)",
["Liberal Movement"] = "Liberal Movement (Australia)",
["Liberal Movement (Lithuania)"] = "Liberals' Movement (Lithuania)",
["Liberal National Party (UK, 1931)"] = "National Liberal Party (UK, 1931)",
["Liberal Party (Japan, 1945)"] = "Liberal Party (Japan, 1950)",
["Liberal Party (Luxembourg)"] = "Liberal League (Luxembourg)",
["Liberal Party (Scotland)"] = "Scottish Liberal Party",
["Liberal Party (Serbia, 1989)"] = "Liberal Democratic Party (Serbia, 1989)",
["Liberal Party of Australia (Australian Capital Territory Division)"] = "Liberal Party of Australia (A.C.T. Division)",
["Liberal Party of New York"] = "Liberal Party (New York)",
["Liberal Party of Sweden"] = "Liberals (Sweden)",
["Liberal Party"] = "Democratic Liberal Party (Japan)",
["Liberal People's Party (Sweden)"] = "Liberals (Sweden)",
["Liberal People's Party"] = "Liberals (Sweden)",
["Liberal Reformist Party + Democratic Front of Francophones"] = "Reformist Movement",
["Liberal Reformist Party"] = "Liberal Reformist Party (Belgium)",
["Liberal Republican Party (United States)"] = "Liberal Republican Party (US)",
["Liberal Socialist Party"] = "Liberal Socialist Party (Singapore)",
["Liberal Socialists Party"] = "Liberal Socialists Party (Egypt)",
["Liberal Unionist"] = "Liberal Unionist Party",
["Liberal Unionist Party (UK)"] = "Liberal Unionist Party",
["Liberal-Labour (New Zealand)"] = "Liberal–Labour (New Zealand)",
["Liberals (Italy)"] = "Liberal Union (Italy)",
["Liberals–Democrats–Radicals"] = "Liberals, Democrats and Radicals",
["Liberals' Movement of the Republic of Lithuania"] = "Liberals' Movement (Lithuania)",
["Liberal Party of Andorra"] = "Liberals of Andorra",
["Libertad y Refundación"] = "Liberty and Refoundation",
["Libertarian, Direct, Democratic"] = "Libertair, Direct, Democratisch",
["Libertarian Party UK"] = "Libertarian Party (UK)",
["Libertarian Party (United Kingdom)"] = "Libertarian Party (UK)",
["Libertarian Party (United States)"] = "Libertarian Party (US)",
["Libertarian Party (Alaska)"] = "Libertarian Party (US)",
["Libertarian Party (Arizona)"] = "Libertarian Party (US)",
["Libertarian Party (California)"] = "Libertarian Party (US)",
["Libertarian Party (Colorado)"] = "Libertarian Party (US)",
["Libertarian Party (Connecticut)"] = "Libertarian Party (US)",
["Libertarian Party (Delaware)"] = "Libertarian Party (US)",
["Libertarian Party (Iowa)"] = "Libertarian Party (US)",
["Libertarian Party (Massachusetts)"] = "Libertarian Party (US)",
["Libertarian Party (Michigan)"] = "Libertarian Party (US)",
["Libertarian Party (Missouri)"] = "Libertarian Party (US)",
["Libertarian Party (Nevada)"] = "Libertarian Party (US)",
["Libertarian Party (New Mexico)"] = "Libertarian Party (US)",
["Libertarian Party (New York)"] = "Libertarian Party (US)",
["Libertarian Party (Oregon)"] = "Libertarian Party (US)",
["Libertarian Party (Vermont)"] = "Libertarian Party (US)",
["Libertarian Party (Washington)"] = "Libertarian Party (US)",
["Libertarian Party of Arizona"] = "Libertarian Party (US)",
["Libertarian Party of California"] = "Libertarian Party (US)",
["Libertarian Party of Colorado"] = "Libertarian Party (US)",
["Libertarian Party of Connecticut"] = "Libertarian Party (US)",
["Libertarian Party of Delaware"] = "Libertarian Party (US)",
["Libertarian Party of the District of Columbia"] = "Libertarian Party (US)",
["Libertarian Party of Florida"] = "Libertarian Party (US)",
["Libertarian Party of Georgia"] = "Libertarian Party (US)",
["Libertarian Party of Hawaii"] = "Libertarian Party (US)",
["Libertarian Party of Kentucky"] = "Libertarian Party (US)",
["Libertarian Party of Maryland"] = "Libertarian Party (US)",
["Libertarian Party of Massachusetts"] = "Libertarian Party (US)",
["Libertarian Party of Michigan"] = "Libertarian Party (US)",
["Libertarian Party of Minnesota"] = "Libertarian Party (US)",
["Libertarian Party of Missouri"] = "Libertarian Party (US)",
["Libertarian Party of Montana"] = "Libertarian Party (US)",
["Libertarian Party of Nevada"] = "Libertarian Party (US)",
["Libertarian Party of New Mexico"] = "Libertarian Party (US)",
["Libertarian Party of New York"] = "Libertarian Party (US)",
["Libertarian Party of North Carolina"] = "Libertarian Party (US)",
["Libertarian Party of North Dakota"] = "Libertarian Party (US)",
["Libertarian Party of Ohio"] = "Libertarian Party (US)",
["Libertarian Party of Oklahoma"] = "Libertarian Party (US)",
["Libertarian Party of Oregon"] = "Libertarian Party (US)",
["Libertarian Party of Pennsylvania"] = "Libertarian Party (US)",
["Libertarian Party of Texas"] = "Libertarian Party (US)",
["Libertarian Party of Utah"] = "Libertarian Party (US)",
["Libertarian Party of Washington"] = "Libertarian Party (US)",
["Libertarian Party of Wisconsin"] = "Libertarian Party (US)",
["Libertas (lobby group)"] = "Libertas.eu",
["Libertas Spain"] = "Libertas.eu",
["Liberty Forward Party"] = "Advancement Unification Party",
["Liberty Party (United States, 1840)"] = "Liberty Party (US)",
["Liberty Party (United States, 1932)"] = "Liberty Party (US)",
["Liberty Party (United States)"] = "Liberty Party (US)",
["Liberty Party (US, 1840)"] = "Liberty Party (US)",
["Liberty Party"] = "Liberty Party (US)",
["Liberal People's Party (Finland)"] = "Liberals (Finland)",
["Libra Party (Albania)"] = "Libra Party",
["Libyan Arab Socialist Union"] = "Arab Socialist Union (Libya)",
["LID"] = "Left and Democrats",
["Ligue du Midi"] = "Ligue du Sud",
["Local"] = "Localist",
["Lok Dal"] = "Lokdal",
["Lok Jan Shakti Party"] = "Lok Janshakti Party",
["Long Live Tunisia"] = "Tahya Tounes",
["Louisiana Democratic Party"] = "Democratic Party (United States)",
["LPHK"] = "Liberal Party (Hong Kong)",
["LPR"] = "League of Polish Families",
["LSSP"] = "Lanka Sama Samaja Party",
["Luxembourg Workers' Party"] = "Luxembourg Socialist Workers' Party",
["Luys Alliance"] = "Bright Alliance",
}
local full = {
["L'Alternativa c'è"] = {abbrev = "", color = "#FE9F07", shortname = "",},
["L'Hospitalet Left Alternative"] = {abbrev = "", color = "#42837D", shortname = "",},
["La Axarquía Progress"] = {abbrev = "", color = "#FF990E", shortname = "",},
["La España en Marcha"] = {abbrev = "", color = "#111011", shortname = "",},
["La Falange (1999)"] = {abbrev = "", color = "#29191E", shortname = "",},
["La France En Action"] = {abbrev = "", color = "#F8F1BB", shortname = "",},
["La France Insoumise"] = {abbrev = "LFI", color = "#E53D40", shortname = "",},
["La Fresneda Local Platform"] = {abbrev = "", color = "#004D21", shortname = "",},
["La Fuerza de Santa Fe"] = {abbrev = "", color = "#5F8748", shortname = "",},
["La Libertad Avanza"] = {abbrev = "LLA", color = "#6C4C99", shortname = "",},
["La Línea 100x100"] = {abbrev = "", color = "#FA5841", shortname = "",},
["La Palma Group of Independents"] = {abbrev = "", color = "#072357", shortname = "",},
["La République En Marche!"] = {abbrev = "LREM", color = "#FFD600", shortname = "",},
["Laban ng Demokratikong Pilipino"] = {abbrev = "LDP", color = "#0000CD", shortname = "",},
["Laban ng Makabayang Masang Pilipino"] = {abbrev = "LAMMP", color = "#ffa500", shortname = "",},
["Labor and Agrarian Party"] = {abbrev = "PALA", color = "royalblue", shortname = "",},
["Labor Party (Mexico)"] = {abbrev = "PT", color = "#DB2017", shortname = "",},
["Labor Party (South Korea)"] = {abbrev = "", color = "#DC143C", shortname = "Labor",},
["Labor Party (Taiwan)"] = {abbrev = "", color = "red", shortname = "",},
["Labor Party (United States, 19th century)"] = {abbrev = "", color = "#FF6347", shortname = "Labor",},
["Labor Party (US, 1996)"] = {abbrev = "", color = "#FF6347", shortname = "Labor",},
["Labor Party (US)"] = {abbrev = "", color = "#FF6347", shortname = "Labor",},
["Labor Party of the United States"] = {abbrev = "", color = "#FF6347", shortname = "Labor",},
["Labor Party Philippines"] = {abbrev = "WPP", color = "#00039F", shortname = "",},
["Labor Solidarity"] = {abbrev = "SL", color = "purple", shortname = "",},
["Labor Union of Games and Gambling in Macau"] = {abbrev = "", color = "#B2FFFF", shortname = "",},
["Labor–Farm Party of Wisconsin"] = {abbrev = "", color = "#17aa5c", shortname = "Labor–Farm",},
["Labor-Gesher-Meretz"] = {abbrev = "", color = "#ED1B25", shortname = "Emet",},
["Labor-Gesher"] = {abbrev = "", color = "#EE161F", shortname = "",},
["Labor"] = {abbrev = "", color = "#FF6347", shortname = "",},
["Laboring People's Party"] = {abbrev = "", color = "red", shortname = "",},
["Laborious Ukraine Electoral Bloc"] = {abbrev = "", color = "#872558", shortname = "Labour Ukraine",},
["Laborist Party (Mexico)"] = {abbrev = "", color = "#CE1126", shortname = "Laborist",},
["Laborista Party"] = {abbrev = "", color = "green", shortname = "Laborista",},
["Labor Party (El Salvador)"] = {abbrev = "PL", color = "#FFD700", shortname = "",},
["Labour and Co-operative Party"] = {abbrev = "", color = "#E4003B", shortname = "Labour Co-op",},
["Labour and Equity Party"] = {abbrev = "", color = "#4e92d3", shortname = "",},
["Labour and Freedom Alliance"] = {abbrev = "", color = "#90268F", shortname = "Labour and Freedom",},
["Labour and Justice Party (Spain)"] = {abbrev = "", color = "#AD0000", shortname = "",},
["Labour and Social Justice – The Electoral Alternative"] = {abbrev = "WASG", color = "#FF8000", shortname = "Labour and Social Justice",},
["Labour and Solidarity Party"] = {abbrev = "", color = "#5963cf", shortname = "",},
["Labour and Trade Union Group"] = {abbrev = "", color = "#D44442", shortname = "Labour and Trade Union",},
["Labour Cause's Party"] = {abbrev = "", color = "#9F030A", shortname = "",},
["Labour coalition"] = {abbrev = "", color = "#cd5c5c", shortname = "",},
["Labour Democrat Party"] = {abbrev = "", color = "", shortname = "Labour Democrat",},
["Labour Democratic Party"] = {abbrev = "", color = "Pink", shortname = "Labour Democracy",},
["Labour Democrats"] = {abbrev = "", color = "#59A421", shortname = "",},
["Labour Electoral Association"] = {abbrev = "LEA", color = "#B22222", shortname = "",},
["Labour Faction (1937)"] = {abbrev = "SP", color = "#1693F4", shortname = "",},
["Labour Front"] = {abbrev = "LF", color = "#AA5634", shortname = "",},
["Labour Gathering Party"] = {abbrev = "", color = "#8B0000", shortname = "",},
["Labour Independent Group"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Labour Party (Argentina)"] = {abbrev = "PL", color = "#00708B", shortname = "Labour Party",},
["Labour Party (Greenland)"] = {abbrev = "", color = "pink", shortname = "Labour",},
["Labour Party (Hong Kong)"] = {abbrev = "", color = "#F7941E", shortname = "Labour",},
["Labour Party (Indonesia, 1949)"] = {abbrev = "PB", color = "red", shortname = "",},
["Labour Party (Indonesia, 1998)"] = {abbrev = "PB", color = "#000080", shortname = "",},
["Labour Party (Indonesia, 2021)"] = {abbrev = "PB", color = "#ff6800", shortname = "",},
["Labour Party (Ireland)"] = {abbrev = "Lab", color = "#CC0000", shortname = "Labour",},
["Labour Party (Lithuania)"] = {abbrev = "DP", color = "#1D578C", shortname = "",},
["Labour Party (Malta)"] = {abbrev = "", color = "#EE3224", shortname = "Labour",},
["Labour Party (Mauritius)"] = {abbrev = "", color = "#FF0000", shortname = "Labour Party",},
["Labour Party (Morocco)"] = {abbrev = "", color = "#D04933", shortname = "",},
["Labour Party (Netherlands)"] = {abbrev = "PvdA", color = "#DF111A", shortname = "",},
["Labour Party (New Caledonia)"] = {abbrev = "PT", color = "#9A0000", shortname = "",},
["Labour Party (Nigeria)"] = {abbrev = "LP", color = "#DA251C", shortname = "",},
["Labour Party (Norway)"] = {abbrev = "", color = "#D70926", shortname = "Labour",},
["Labour Party (Poland)"] = {abbrev = "SP", color = "#083A7F", shortname = "",},
["Labour Party (Secular)"] = {abbrev = "LP(S)", color = "#2E64FE", shortname = "",},
["Labour Party (Singapore)"] = {abbrev = "", color = "#CC8955", shortname = "Labour Party",},
["Labour Party (Slovakia)"] = {abbrev = "SP", color = "#C31B3E", shortname = "",},
["Labour Party (South Africa, 1969)"] = {abbrev = "", color = "#8D0000", shortname = "Labour",},
["Labour Party (South Africa)"] = {abbrev = "", color = "#FF0000", shortname = "Labour",},
["Labour Party (Thailand)"] = {abbrev = "", color = "#FF0000", shortname = "Labour",},
["Labour Party (Turkey)"] = {abbrev = "", color = "#FFDE4D", shortname = "Labour",},
["Labour Party (UK)"] = {abbrev = "Lab", color = "#E4003B", shortname = "Labour",},
["Labour Party in Northern Ireland"] = {abbrev = "", color = "#DC241F", shortname = "",},
["Labour Party of Bosnia and Herzegovina"] = {abbrev = "", color = "#013971", shortname = "",},
["Labour Party of Brazil"] = {abbrev = "PTdoB", color = "#00FF00", shortname = "",},
["Labour Party of Hong Kong"] = {abbrev = "", color = "#DE2910", shortname = "Labour",},
["Labour Party of India (V V Prasad)"] = {abbrev = "LPI(V)", color = "#4C81B6", shortname = "",},
["Labour Party of India"] = {abbrev = "LPI", color = "#E0E6F8", shortname = "",},
["Labour Party of Malaya"] = {abbrev = "", color = "#FAAFBA", shortname = "",},
["Labour Party of Northern Ireland"] = {abbrev = "", color = "#DC241f", shortname = "Labour Party NI",},
["Labour Party of Serbia"] = {abbrev = "LPS", color = "#2274A5", shortname = "",},
["Labour Party Pakistan"] = {abbrev = "", color = "#FE2712", shortname = "",},
["Labour Party"] = {abbrev = "", color = "#FF0000", shortname = "Labour",},
["Labour Progressive"] = {abbrev = "", color = "red", shortname = "",},
["Labour Renewal Movement"] = {abbrev = "", color = "#23FF00", shortname = "",},
["Labour Representation Committee (1900)"] = {abbrev = "", color = "#b22222", shortname = "Labour Repr. Cmte.",},
["Labour Representation Committee"] = {abbrev = "", color = "#b22222", shortname = "Labour",},
["Labour Republican Party"] = {abbrev = "", color = "#FF9340", shortname = "",},
["Labour Solidarity"] = {abbrev = "SP", color = "#D33F49", shortname = "",},
["Labour Ukraine"] = {abbrev = "", color = "Purple", shortname = "",},
["Labour Union (Poland)"] = {abbrev = "UP", color = "#ED1C24", shortname = "",},
["Labour Unionist"] = {abbrev = "", color = "#DDEEFF", shortname = "",},
["Labour-Farmer Party"] = {abbrev = "", color = "#FF5C85", shortname = "",},
["Labour-Farmer Masses Party"] = {abbrev = "", color = "#FF5C85", shortname = "",},
["Labour, Co-operative and Trade Union"] = {abbrev = "", color = "white", shortname = "Labour, Co-op & Trade Union",},
["Labourers and Farmers Party"] = {abbrev = "", color = "#FE7580", shortname = "Labourers and Farmers",},
["Labourist Movement Party"] = {abbrev = "EHP", color = "#FF0000", shortname = "",},
["Ladlad"] = {abbrev = "", color = "#FFC0CB", shortname = "",},
["Lahu National Development Party"] = {abbrev = "LHNDP", color = "#A66971", shortname = "",},
["Lakas ng Bansa"] = {abbrev = "LnB", color = "#0000CD", shortname = "Lakas (LnB)",},
["Lakas ng Bayan Coalition"] = {abbrev = "LABAN", color = "#FFFF40", shortname = "",},
["Lakas ng Bayan"] = {abbrev = "LABAN", color = "#FFFF00", shortname = "",},
["Lakas–CMD"] = {abbrev = "", color = "#B0E0E6", shortname = "Lakas",},
["Lakas–CMD (1991)"] = {abbrev = "", color = "#B0E0E6", shortname = "Lakas",},
["Lakas–Kampi"] = {abbrev = "LKS-KAM", color = "#B0E0E6", shortname = "Lakas–Kampi",},
["Lakas-Laban Coalition"] = {abbrev = "L–L", color = "#B0E0E6", shortname = "Lakas–Laban",},
["Lalit (Mauritius)"] = {abbrev = "", color = "#F7CC06", shortname = "",},
["Land and Justice Party"] = {abbrev = "", color = "#DC261B", shortname = "Land & Justice",},
["Land development"] = {abbrev = "", color = "#CDB79E", shortname = "",},
["Land Justice League"] = {abbrev = "", color = "#73BC7C", shortname = "",},
["Land of Dharma Party"] = {abbrev = "", color = "#593012", shortname = "",},
["Land Party (South Africa)"] = {abbrev = "", color = "#7e803e", shortname = "Land Party",},
["Land Party"] = {abbrev = "", color = "#4898B9", shortname = "",},
["Landbund"] = {abbrev = "", color = "#385A38", shortname = "",},
["Landless People's Movement (Namibia)"] = {abbrev = "LPM", color = "#FC7B2C", shortname = "",},
["Lang Labor"] = {abbrev = "", color = "#E2725B", shortname = "",},
["Lanka Prajathanthravadi Pakshaya"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Lanka Sama Samaja Party"] = {abbrev = "LSSP", color = "#FF0000", shortname = "",},
["Lantmanna and Bourgeois Party"] = {abbrev = "", color = "#ff9933", shortname = "Lantmanna and Bourgeois",},
["Lantmanna Party"] = {abbrev = "", color = "#00529C", shortname = "Lantmanna",},
["Lanzarote Avanza"] = {abbrev = "", color = "#037468", shortname = "",},
["Lanzarote En Pie"] = {abbrev = "", color = "#238EAD", shortname = "",},
["Lanzarote Independents Party"] = {abbrev = "", color = "#31B404", shortname = "",},
["Lanzarote Neighborhood Force"] = {abbrev = "", color = "#98CCFE", shortname = "",},
["Lao National Union Party"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Lao Patriotic Front"] = {abbrev = "", color = "#CE1126", shortname = "",},
["Lao People's Revolutionary Party"] = {abbrev = "LPRP", color = "#CE1126", shortname = "",},
["Lapian ng Masang Pilipino"] = {abbrev = "LAMP", color = "#ffa500", shortname = "",},
["Lapiang Manggagawa"] = {abbrev = "LM", color = "#00039f", shortname = "",},
["LaPrimaire.org"] = {abbrev = "", color = "#800080", shortname = "",},
["Las Palmas de Gran Canaria Puede"] = {abbrev = "", color = "#96CA2D", shortname = "",},
["Latgale Party"] = {abbrev = "", color = "#004B84", shortname = "",},
["Latvia First"] = {abbrev = "LPV", color = "#A8343C", shortname = "",},
["Latvia's First Party"] = {abbrev = "", color = "#582B64", shortname = "",},
["Latvia's First Party/Latvian Way"] = {abbrev = "", color = "#682376", shortname = "",},
["Latvian Association of Regions"] = {abbrev = "LRA", color = "#0E3267", shortname = "",},
["Latvian Farmers' Union"] = {abbrev = "LZS", color = "#D5D900", shortname = "",},
["Latvian Green Party"] = {abbrev = "", color = "#00683A", shortname = "",},
["Latvian National Independence Movement"] = {abbrev = "", color = "#902E3B", shortname = "",},
["Latvian Nationalists"] = {abbrev = "", color = "#9E2B38", shortname = "",},
["Latvian Russian Union"] = {abbrev = "", color = "#3560A9", shortname = "",},
["Latvian Social Democratic Workers' Party"] = {abbrev = "LSDSP", color = "#830D30", shortname = "",},
["Latvian Unity Party"] = {abbrev = "", color = "#DC5356", shortname = "",},
["Latvian Way"] = {abbrev = "", color = "#FFE200", shortname = "",},
["Lauredian Union"] = {abbrev = "UL", color = "#000000", shortname = "",},
["Law and Justice (Georgia)"] = {abbrev = "", color = "#01FFFF", shortname = "",},
["Law and Justice"] = {abbrev = "PiS", color = "#263778", shortname = "",},
["Law and Order Party (US)"] = {abbrev = "", color = "#00DDDD", shortname = "Law and Order",},
["Law Preservation Party"] = {abbrev = "", color = "#FF00FF", shortname = "Law Preservation",},
["Le Trèfle"] = {abbrev = "", color = "#77FF77", shortname = "",},
["Leaders Party of Vanuatu"] = {abbrev = "", color = "#3DAB48", shortname = "Leaders Party",},
["Leading Thai Party"] = {abbrev = "", color = "#DEB887", shortname = "Leading Thai",},
["League Against Usury"] = {abbrev = "LCC", color = "lightgreen", shortname = "",},
["League for Democracy Party"] = {abbrev = "", color = "#3BB9FF", shortname = "",},
["League Nepal Shanti Ekta Party"] = {abbrev = "", color = "#E6DBCF", shortname = "",},
["League of Albanians of Romania"] = {abbrev = "LSR", color = "#444444", shortname = "",},
["League of Anti-Corruption Governors"] = {abbrev = "LIGA", color = "#F5EC49", shortname = "",},
["League of Catalonia–Catalan Liberal Party"] = {abbrev = "", color = "#99FF00", shortname = "",},
["League of Communists – Movement for Yugoslavia"] = {abbrev = "", color = "#FF0000", shortname = "",},
["League of Communists of Bosnia and Herzegovina"] = {abbrev = "SK BiH", color = "#DD0000", shortname = "",},
["League of Communists of Croatia"] = {abbrev = "SKH", color = "#DD0000", shortname = "",},
["League of Communists of Montenegro"] = {abbrev = "SKCG", color = "#DD0000", shortname = "",},
["League of Communists of Serbia"] = {abbrev = "SKS", color = "#DD0000", shortname = "",},
["League of Communists of Slovenia"] = {abbrev = "ZKS", color = "#DD0000", shortname = "",},
["League of Communists of Yugoslavia"] = {abbrev = "SKJ", color = "#DD0000", shortname = "",},
["League of Communists of Yugoslavia in Serbia"] = {abbrev = "SKJS", color = "red", shortname = "",},
["League of Democratic Socialists"] = {abbrev = "BDS", color = "red", shortname = "",},
["League of Free Liberals"] = {abbrev = "BVL", color = "#3399FF", shortname = "",},
["League of Polish Families"] = {abbrev = "LPR", color = "#2DA0D2", shortname = "",},
["League of Social Democrats of Vojvodina"] = {abbrev = "LSV", color = "#03C03C", shortname = "",},
["League of Social Democrats"] = {abbrev = "LSD", color = "#e0050d", shortname = "",},
["League of Socialist Youth of Bosnia and Herzegovina"] = {abbrev = "", color = "#FF6347", shortname = "",},
["League of Supporters of Indonesian Independence"] = {abbrev = "IPKI", color = "#D1E231", shortname = "",},
["League of the South (France)"] = {abbrev = "", color = "#C60B27", shortname = "",},
["League of West German Communists"] = {abbrev = "BWK", color = "red", shortname = "",},
["Lebanese Forces"] = {abbrev = "LF", color = "#ED2027", shortname = "Lebanese Forces",},
["Lecompton Democrat"] = {abbrev = "", color = "#ACCCFE", shortname = "Lecompton Democratic",},
["Leeds Left Alliance"] = {abbrev = "", color = "#00A86B", shortname = "",},
["LEF – For the New Generation"] = {abbrev = "LEF", color = "#6B6BFF", shortname = "",},
["Left (Austria)"] = {abbrev = "", color = "#FF0000", shortname = "Left",},
["Left Alliance (Finland)"] = {abbrev = "Vas.", color = "#F00A64", shortname = "Left Alliance",},
["Left Alternative"] = {abbrev = "", color = "red", shortname = "",},
["Left and Democrats"] = {abbrev = "LiD", color = "#D22833", shortname = "",},
["Left Andalusian Bloc"] = {abbrev = "", color = "#32754C", shortname = "",},
["Left Assembly of Tudela"] = {abbrev = "", color = "#CC7EAE", shortname = "",},
["Left Assembly–Initiative for Andalusia"] = {abbrev = "", color = "#ADA0A3", shortname = "",},
["Left Bloc (Portugal)"] = {abbrev = "BE", color = "#8B0000", shortname = "",},
["Left Bloc for National Liberation"] = {abbrev = "", color = "#FF9933", shortname = "",},
["Left Bloc"] = {abbrev = "", color = "#8B0000", shortname = "",},
["Left Camp of Israel"] = {abbrev = "Sheli", color = "#DC241F", shortname = "",},
["Left Centre"] = {abbrev = "", color = "#2CBFE3", shortname = "",},
["Left Coalition (Serbia)"] = {abbrev = "LK", color = "#A60C19", shortname = "",},
["Left Communists (Weimar Republic)"] = {abbrev = "LK", color = "red", shortname = "",},
["Left Democratic Front (Kerala)"] = {abbrev = "LDF", color = "#EE0000", shortname = "",},
["Left and Democratic Front (India)"] = {abbrev = "LDF", color = "#FF0000", shortname = "",},
["Left Ecology Freedom"] = {abbrev = "", color = "#C80815", shortname = "",},
["Left for Almería"] = {abbrev = "", color = "#037949", shortname = "",},
["Left for Independence"] = {abbrev = "", color = "#DAC125", shortname = "",},
["Left Front (Asturias)"] = {abbrev = "", color = "#76319B", shortname = "",},
["Left Front (France)"] = {abbrev = "FG", color = "#D6232B", shortname = "",},
["Left Front (Russia)"] = {abbrev = "Left Front", color = "#FF131C", shortname = "",},
["Left Front (West Bengal)"] = {abbrev = "LF", color = "#FF0000", shortname = "",},
["Left Front"] = {abbrev = "LF", color = "red", shortname = "",},
["Left in Positive"] = {abbrev = "", color = "#9B0F3B", shortname = "",},
["Left Independentists"] = {abbrev = "", color = "#AF1B1D", shortname = "",},
["Left Liberals"] = {abbrev = "", color = "#00FF00", shortname = "",},
["Left Liberation Front"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Left List"] = {abbrev = "", color = "red", shortname = "",},
["Left Movement"] = {abbrev = "", color = "#BD1928", shortname = "",},
["Left Nationalists"] = {abbrev = "", color = "#E53E13", shortname = "",},
["Left of Catalonia–Democratic Electoral Front"] = {abbrev = "", color = "#EFF24C", shortname = "",},
["Left of Galicia"] = {abbrev = "", color = "#E80810", shortname = "",},
["Left of the Peoples"] = {abbrev = "", color = "#D56545", shortname = "",},
["Left Party - Communists"] = {abbrev = "", color = "#b00000", shortname = "Left-Communist",},
["Left Party (France)"] = {abbrev = "", color = "#AA0000", shortname = "Left Party",},
["Left Party (Sweden)"] = {abbrev = "V", color = "#B00000", shortname = "Left",},
["Left Party (Turkey)"] = {abbrev = "", color = "#0069B4", shortname = "SOL",},
["Left Peraltese Union"] = {abbrev = "", color = "#A1138C", shortname = "",},
["Left Platform of Coslada"] = {abbrev = "", color = "#244E0E", shortname = "",},
["Left Republican Party (Spain)"] = {abbrev = "", color = "#7F1E6D", shortname = "",},
["Left Segovia"] = {abbrev = "", color = "#F53000", shortname = "",},
["Left Socialist Initiative"] = {abbrev = "", color = "#DE0929", shortname = "",},
["Left Socialist Party (Belgium)"] = {abbrev = "", color = "red", shortname = "",},
["Left Socialist Party (Sweden)"] = {abbrev = "", color = "red", shortname = "Left Socialist",},
["Left Socialists"] = {abbrev = "", color = "#E72240", shortname = "",},
["Left Socialist Party of Japan"] = {abbrev = "", color = "#EC1B27", shortname = "Left Socialist",},
["Left Struggle"] = {abbrev = "MA", color = "red", shortname = "",},
["Left Together"] = {abbrev = "", color = "#870f57", shortname = "",},
["Left Union for a Clean and Holy Republic"] = {abbrev = "", color = "#F11928", shortname = "",},
["Left Unity (UK)"] = {abbrev = "", color = "red", shortname = "Left Unity",},
["Left Unity"] = {abbrev = "", color = "#990000", shortname = "",},
["Left-Green Movement"] = {abbrev = "", color = "#00B878", shortname = "Left-Green",},
["Left-wing Workers"] = {abbrev = "PTK", color = "#FF0000", shortname = "",},
["Left-wing Revolutionary Nationalist Movement"] = {abbrev = "MNRI", color = "#E34234", shortname = "",},
["Left-wing Revolutionary Nationalist Movement – 1"] = {abbrev = "MNRI-1", color = "#EF86B5", shortname = "",},
["Left-wing Union for the Socialist Democracy"] = {abbrev = "UEDS", color = "Red", shortname = "",},
["Lega Alpina Lumbarda"] = {abbrev = "LAL", color = "green", shortname = "",},
["Lega Autonomia Veneta"] = {abbrev = "LAV", color = "gold", shortname = "",},
["Lega Lombarda"] = {abbrev = "", color = "green", shortname = "",},
["Lega Marche"] = {abbrev = "", color = "#008000", shortname = "",},
["Lega Nord"] = {abbrev = "", color = "#008000", shortname = "",},
["Lega Piemonte"] = {abbrev = "", color = "#008000", shortname = "",},
["Lega (political party)"] = {abbrev = "", color = "#008000", shortname = "Lega",},
["Legal Marijuana Now Party"] = {abbrev = "", color = "#50C878", shortname = "Legal Marijuana Now",},
["Legalise Cannabis Australia"] = {abbrev = "", color = "#6fc442", shortname = "",},
["Legalise Cannabis Alliance"] = {abbrev = "", color = "#669966", shortname = "Legalise Cannabis",},
["Legality Movement Party"] = {abbrev = "PLL", color = "#FFFF05", shortname = "",},
["Leganemos"] = {abbrev = "", color = "#8183D8", shortname = "",},
["Legitimists"] = {abbrev = "", color = "#1F497D", shortname = "",},
["Lelo for Georgia"] = {abbrev = "", color = "#F0CE0D", shortname = "Lelo",},
["Leighton Baker Party"] = {abbrev = "", color = "#26A805", shortname = "",},
["León Despierta"] = {abbrev = "", color = "#4B244C", shortname = "",},
["León en Común"] = {abbrev = "", color = "#9D181D", shortname = "",},
["Leonese Autonomist Party–Leonesist Unity"] = {abbrev = "", color = "#D44F0C", shortname = "",},
["Leonese Convergence"] = {abbrev = "", color = "#FFCBDB", shortname = "",},
["Leonese People's Union"] = {abbrev = "UPL", color = "#B41062", shortname = "",},
["Leonid Chernovetskyi Bloc"] = {abbrev = "", color = "Gold", shortname = "",},
["Lepsza Polska"] = {abbrev = "", color = "white", shortname = "",},
["Les Centristes"] = {abbrev = "LC", color = "#6F97CF", shortname = "",},
["Les Écologistes"] = {abbrev = "LE", color = "#1F7B52", shortname = "",},
["Les Engagés (political party)"] = {abbrev = "LE", color = "#02E5D2", shortname = "",},
["Les Verts Fraternels"] = {abbrev = "", color = "#32CD32", shortname = "",},
["Lesotho Congress for Democracy"] = {abbrev = "LCD", color = "#78a22c", shortname = "",},
["Lesotho People's Congress"] = {abbrev = "LPC", color = "", shortname = "",},
["Lesotho Workers' Party"] = {abbrev = "LWP", color = "", shortname = "",},
["Lespwa"] = {abbrev = "", color = "#30B700", shortname = "",},
["Let Every Child Have Both Parents"] = {abbrev = "", color = "#DAA520", shortname = "",},
["Let London Live"] = {abbrev = "", color = "#2d1e6d", shortname = "",},
["Let us Give the Change"] = {abbrev = "", color = "#F7D102", shortname = "",},
["Let's Connect Slovenia"] = {abbrev = "PoS", color = "#FDB92E", shortname = "",},
["Let's Go Peru"] = {abbrev = "", color = "#FA8072", shortname = "",},
["Letterkenny Residents Party"] = {abbrev = "", color = "#9900CC", shortname = "",},
["Levantemos El Puerto"] = {abbrev = "", color = "#93117E", shortname = "",},
["Leviathan Movement"] = {abbrev = "", color = "#000000", shortname = "",},
["Lewisham People Before Profit"] = {abbrev = "", color = "#9400d3", shortname = "People Before Profit",},
["Lewisham Peoples' Alliance"] = {abbrev = "", color = "#CCCCCC", shortname = "",},
["Liaison Committee for the Presidential Majority"] = {abbrev = "", color = "#0047AB", shortname = "Presidential Majority",},
["Libera San Marino"] = {abbrev = "", color = "#14AABC", shortname = "Libera",},
["Liberal (Costa Rica)"] = {abbrev = "", color = "#BF1313", shortname = "Liberal",},
["Liberal (South Korea)"] = {abbrev = "", color = "#004EA2", shortname = "",},
["Liberal Alliance (Brazil)"] = {abbrev = "AL", color = "#FF8C00", shortname = "",},
["Liberal Alliance (Chile)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Alliance (Denmark)"] = {abbrev = "", color = "#3FB2BE", shortname = "Liberal Alliance",},
["Liberal Alliance (Denmark, 2021)"] = {abbrev = "", color = "#18354B", shortname = "Liberal Alliance",},
["Liberal Alliance (Greece)"] = {abbrev = "FISY", color = "#800080", shortname = "",},
["Liberal Alliance (Spain)"] = {abbrev = "", color = "#99FF00", shortname = "",},
["Liberal Alliance Focus Team"] = {abbrev = "LIBAFT", color = "#FDBB30", shortname = "Liberal Alliance FT",},
["Liberal Alliance of Montenegro"] = {abbrev = "LSCG", color = "#007F00", shortname = "",},
["Liberal Alternative for Manacor"] = {abbrev = "", color = "#291562", shortname = "",},
["Liberal Alternative"] = {abbrev = "", color = "#846394", shortname = "",},
["Liberal and Centre Union"] = {abbrev = "LiCS", color = "#FFD126", shortname = "",},
["Liberal and Country League (SA)"] = {abbrev = "", color = "#0095B6", shortname = "",},
["Liberal and Country League"] = {abbrev = "", color = "#0095B6", shortname = "",},
["Liberal and Country Party"] = {abbrev = "", color = "#080CAB", shortname = "Liberal and Country",},
["Liberal and Democratic Union"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Liberal and Social Alternative"] = {abbrev = "", color = "#4A4999", shortname = "",},
["Liberal Appeal"] = {abbrev = "", color = "#4A48CF", shortname = "",},
["Liberal bloc (Hong Kong)"] = {abbrev = "", color = "#297329", shortname = "Liberal",},
["Liberal Coalition (Spain)"] = {abbrev = "", color = "#ACAE34", shortname = "",},
["Liberal Centre (Spain)"] = {abbrev = "", color = "#0DB85E", shortname = "",},
["Liberal Centre"] = {abbrev = "", color = "#00CCA3", shortname = "",},
["Liberal Centrist Union (Spain)"] = {abbrev = "", color = "#3399FF", shortname = "",},
["Liberal Citizens Action"] = {abbrev = "", color = "#F96611", shortname = "",},
["Liberal Conservative Reformers"] = {abbrev = "LKR", color = "#F29200", shortname = "",},
["Liberal Constitutional Party (Egypt)"] = {abbrev = "", color = "#483D8B", shortname = "Liberal Constitutional",},
["Liberal Constitutionalist Party (Mexico)"] = {abbrev = "PLC", color = "#D4AA00", shortname = "",},
["Liberal Democracy (France)"] = {abbrev = "DL", color = "#004B8C", shortname = "",},
["Liberal Democracy of Slovenia"] = {abbrev = "LDS", color = "#00BBF0", shortname = "",},
["Liberal Democrat Party (Turkey)"] = {abbrev = "", color = "#00008B", shortname = "Liberal Democrat",},
["Liberal Democrat Party of Chile"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Democratic Alliance for Italy"] = {abbrev = "ALI", color = "#195385", shortname = "",},
["Liberal Democratic Centre"] = {abbrev = "", color = "#21A631", shortname = "",},
["Liberal Democratic Congress"] = {abbrev = "KLD", color = "#007FB2", shortname = "",},
["Liberal Democratic Federation of Hong Kong"] = {abbrev = "LDF", color = "#DC2A2A", shortname = "",},
["Liberal Democratic Focus Team"] = {abbrev = "", color = "#FDBB30", shortname = "Lib Dem Focus Team",},
["Liberal Democratic Party (Angola)"] = {abbrev = "PLD", color = "#FFCB48", shortname = "",},
["Liberal Democratic Party (Australia)"] = {abbrev = "", color = "#FEC327", shortname = "Liberal Democrats",},
["Liberal Democratic Party (Bangladesh)"] = {abbrev = "LDP", color = "#2e3192", shortname = "",},
["Liberal Democratic Party (Bosnia and Herzegovina)"] = {abbrev = "LDS BiH", color = "#28166F", shortname = "",},
["Liberal Democratic Party (Cambodia)"] = {abbrev = "", color = "blue", shortname = "",},
["Liberal Democratic Party (Chile, 1893)"] = {abbrev = "", color = "#00CCCC", shortname = "Liberal Democratic",},
["Liberal Democratic Party (El Salvador)"] = {abbrev = "PDL", color = "#E7D055", shortname = "",},
["Liberal Democratic Party (France)"] = {abbrev = "PLD", color = "#0080FF", shortname = "",},
["Liberal Democratic Party (Iceland)"] = {abbrev = "", color = "#3466E4", shortname = "",},
["Liberal Democratic Party (Japan)"] = {abbrev = "LDP", color = "#3CA324", shortname = "Liberal Democratic",},
["Liberal Democratic Party (Japan, 2017)"] = {abbrev = "LDP", color = "#D7003A", shortname = "",},
["Liberal Democratic Party (Kenya)"] = {abbrev = "", color = "yellow", shortname = "",},
["Liberal Democratic Party (Malaysia)"] = {abbrev = "", color = "#FF7F00", shortname = "",},
["Liberal Democratic Party (Netherlands)"] = {abbrev = "", color = "#333399", shortname = "",},
["Liberal Democratic Party (North Macedonia)"] = {abbrev = "LDP", color = "#2B2F7D", shortname = "",},
["Liberal Democratic Party (Romania)"] = {abbrev = "PLD", color = "#ff6633", shortname = "",},
["Liberal Democratic Party (Serbia)"] = {abbrev = "LDP", color = "#6901d4", shortname = "",},
["Liberal Democratic Party (Serbia, 1989)"] = {abbrev = "LDS", color = "#D85313", shortname = "",},
["Liberal Democratic Party (Slovenia)"] = {abbrev = "LDS", color = "#139BEA", shortname = "",},
["Liberal Democratic Party (Spain, 1913)"] = {abbrev = "", color = "#009933", shortname = "Liberal Democratic",},
["Liberal Democratic Party (Spain, 1982)"] = {abbrev = "PDL", color = "#339CD5", shortname = "",},
["Liberal Democratic Party (Sri Lanka)"] = {abbrev = "LDP", color = "#FFDE17", shortname = "Liberal Democratic Party",},
["Liberal Democratic Party (Thailand)"] = {abbrev = "", color = "#ffd700", shortname = "Liberal Democratic",},
["Liberal Democratic Party (Turkey)"] = {abbrev = "LDP", color = "#000099", shortname = "",},
["Liberal Democratic Party of the Soviet Union"] = {abbrev = "LDPSU", color = "#7295DB", shortname = "",},
["Liberal Democratic Party of Belarus"] = {abbrev = "LDPB", color = "#011E41", shortname = "",},
["Liberal Democratic Party of Germany"] = {abbrev = "LDPD", color = "#FFA500", shortname = "",},
["Liberal Democratic Party of Moldova"] = {abbrev = "PLDM", color = "#0E8A4A", shortname = "",},
["Liberal Democratic Party of Russia"] = {abbrev = "LDPR", color = "#48C", shortname = "",},
["Liberal Democratic Party of Ukraine"] = {abbrev = "", color = "orange", shortname = "Liberal Democratic",},
["Liberal Democratic Republican Party"] = {abbrev = "", color = "#1DACD6", shortname = "",},
["Liberal Democratic Union (Albania)"] = {abbrev = "BLD", color = "#2EA5E9", shortname = "",},
["Liberal Democrats (Germany)"] = {abbrev = "LD", color = "#F98113", shortname = "",},
["Liberal Democrats (UK)"] = {abbrev = "Lib Dem", color = "#FAA61A", shortname = "Liberal Democrats",},
["Liberal Democrats' Rally for National Reconstruction – Vivoten"] = {abbrev = "", color = "yellow", shortname = "",},
["Liberal Egyptian Party"] = {abbrev = "", color = "#FF3333", shortname = "",},
["Liberal Federation"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Liberal Focus Team"] = {abbrev = "LIBFT", color = "#FDBB30", shortname = "Liberal FT",},
["Liberal Force"] = {abbrev = "FL", color = "#FFDD93", shortname = "",},
["Liberal Forum"] = {abbrev = "LiF", color = "#FFDC00", shortname = "",},
["Liberal Front Party"] = {abbrev = "PFL", color = "#8CC63E", shortname = "",},
["Liberal Group of Andratx"] = {abbrev = "", color = "#6699CC", shortname = "",},
["Liberal Group Sanxenxo"] = {abbrev = "", color = "#0078B3", shortname = "",},
["Liberal Independent Group"] = {abbrev = "", color = "#009B31", shortname = "",},
["Liberal Initiative"] = {abbrev = "IL", color = "#00ADEF", shortname = "",},
["Liberal Integrity Party"] = {abbrev = "", color = "#ff69b4", shortname = "Liberal Integrity",},
["Liberal League (Finland)"] = {abbrev = "", color = "mediumblue", shortname = "",},
["Liberal League (Japan)"] = {abbrev = "", color = "#FFDF00", shortname = "Liberal League",},
["Liberal League (Luxembourg)"] = {abbrev = "", color = "yellow", shortname = "",},
["Liberal Left (France)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Left (Spain)"] = {abbrev = "", color = "#007138", shortname = "Liberal Left",},
["Liberal Left Coalition"] = {abbrev = "", color = "#6EBD57", shortname = "Liberal Left",},
["Liberal Movement (Australia)"] = {abbrev = "", color = "#8B008B", shortname = "Liberal Movement",},
["Liberal National Party of Queensland"] = {abbrev = "", color = "#1456F1", shortname = "Liberal National",},
["Liberal Opening Movement"] = {abbrev = "", color = "yellow", shortname = "",},
["Liberal Oppositionist"] = {abbrev = "", color = "#FFBF00", shortname = "Oppositionist",},
["Liberal Party – Freedom to Choose"] = {abbrev = "Lib.", color = "#F19321", shortname = "Liberal Party",},
["Liberal Party (Armenia)"] = {abbrev = "", color = "#EB5F10", shortname = "",},
["Liberal Party (Belgium)"] = {abbrev = "", color = "#3C40D2", shortname = "Liberal",},
["Liberal Party (Bolivia)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Party (Bourbon Restoration)"] = {abbrev = "", color = "#FDEE00", shortname = "",},
["Liberal Party (Brazil, 1831)"] = {abbrev = "", color = "#F7C100", shortname = "Liberal",},
["Liberal Party (Brazil, 1985)"] = {abbrev = "PL", color = "#080074", shortname = "",},
["Liberal Party (Brazil, 2006)"] = {abbrev = "PL", color = "#015AAA", shortname = "",},
["Liberal Party (Bulgaria)"] = {abbrev = "", color = "#EAC117", shortname = "",},
["Liberal Party (Cambodia)"] = {abbrev = "", color = "#FAAC58", shortname = "Liberal",},
["Liberal Party (Chile)"] = {abbrev = "", color = "#FFAE34", shortname = "",},
["Liberal Party (Chile, 1849)"] = {abbrev = "", color = "#FFD700", shortname = "Liberal",},
["Liberal Party (Chile, 1988)"] = {abbrev = "", color = "#F5D60A", shortname = "",},
["Liberal Party (Chile, 1998)"] = {abbrev = "", color = "#FFEE00", shortname = "",},
["Liberal Party (Croatia)"] = {abbrev = "", color = "#0303fa", shortname = "",},
["Liberal Party (East Timor)"] = {abbrev = "", color = "#2C43DB", shortname = "Liberal",},
["Liberal Party (Greece)"] = {abbrev = "", color = "#FFA500", shortname = "Liberal",},
["Liberal Party (Greece, modern)"] = {abbrev = "", color = "orange", shortname = "Liberal",},
["Liberal Party (Guatemala)"] = {abbrev = "", color = "#0000ff", shortname = "Liberal",},
["Liberal Party (Haiti)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Party (Hong Kong)"] = {abbrev = "", color = "#00aeef", shortname = "Liberal",},
["Liberal Party (Hungary)"] = {abbrev = "", color = "#AAD8E6", shortname = "Liberal",},
["Liberal Party (Iceland, historical)"] = {abbrev = "", color = "#00C6FF", shortname = "Liberal",},
["Liberal Party (Iceland)"] = {abbrev = "", color = "#406899", shortname = "Liberal",},
["Liberal Party (Israel)"] = {abbrev = "", color = "#FFCC00", shortname = "Liberal",},
["Liberal Party (Japan, 1890)"] = {abbrev = "", color = "#EFAB93", shortname = "Liberal",},
["Liberal Party (Japan, 1950)"] = {abbrev = "", color = "#128A45", shortname = "Liberal",},
["Liberal Party (Japan, 1998)"] = {abbrev = "", color = "#000099", shortname = "Liberal",},
["Liberal Party (Japan, 2016)"] = {abbrev = "", color = "#0950A0", shortname = "Liberal",},
["Liberal Party (Kingdom of Serbia)"] = {abbrev = "", color = "#FFDF00", shortname = "Liberal",},
["Liberal Party (Mexico)"] = {abbrev = "PL", color = "#FF3333", shortname = "Liberal",},
["Liberal Party (Moldova)"] = {abbrev = "PL", color = "#73C2FB", shortname = "",},
["Liberal Party (New York)"] = {abbrev = "", color = "#CC0000", shortname = "Liberal",},
["Liberal Party (Nicaragua)"] = {abbrev = "", color = "#800000", shortname = "Liberal",},
["Liberal Party (Norway)"] = {abbrev = "", color = "#006666", shortname = "Liberal",},
["Liberal Party (Panama)"] = {abbrev = "", color = "#FF0000", shortname = "Liberal",},
["Liberal Party (Papua New Guinea)"] = {abbrev = "LP", color = "#1F509F", shortname = "Liberal",},
["Liberal Party (Paraguay)"] = {abbrev = "", color = "#0000FF", shortname = "Liberal",},
["Liberal Party (Philippines)"] = {abbrev = "LP", color = "#f0e68c", shortname = "Liberal",},
["Liberal Party (Radoslavists)"] = {abbrev = "", color = "maroon", shortname = "",},
["Liberal Party (Rwanda)"] = {abbrev = "PL", color = "#03b464", shortname = "",},
["Liberal Party (Serbia)"] = {abbrev = "", color = "#FAFC38", shortname = "",},
["Liberal Party (Slovenia)"] = {abbrev = "", color = "#FFCC00", shortname = "",},
["Liberal Party (South Korea)"] = {abbrev = "", color = "#254170", shortname = "Liberal",},
["Liberal Party (South Korea, 1963)"] = {abbrev = "", color = "#485142", shortname = "Liberal",},
["Liberal Party (Spain, 1880)"] = {abbrev = "", color = "#83C53A", shortname = "Liberal",},
["Liberal Party (Spain, 1976)"] = {abbrev = "", color = "#006C95", shortname = "",},
["Liberal Party (Thailand)"] = {abbrev = "", color = "#00008B", shortname = "Liberal",},
["Liberal Party (UK, 1989)"] = {abbrev = "", color = "#EB7A43", shortname = "Liberal",},
["Liberal Party (UK)"] = {abbrev = "Lib", color = "#FFD700", shortname = "Liberal",},
["Liberal Party (Uruguay)"] = {abbrev = "", color = "#1047a1", shortname = "Liberal",},
["Liberal Party (Venezuela)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Party–Hatoyama"] = {abbrev = "", color = "#8DA405", shortname = "",},
["Liberal Party Bangladesh"] = {abbrev = "", color = "#EA6D6A", shortname = "",},
["Liberal Party of Albania"] = {abbrev = "", color = "#F2D863", shortname = "",},
["Liberals of Andorra"] = {abbrev = "L'A", color = "#019DC5", shortname = "",},
["Liberal Party of Australia (A.C.T. Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia (New South Wales Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia (Queensland Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia (South Australian Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia (Tasmanian Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia (Victorian Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia (Western Australian Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Chile (2013)"] = {abbrev = "", color = "#FF432C", shortname = "Liberal",},
["Liberal Party of Canada"] = {abbrev = "", color = "#D71920", shortname = "Liberal",},
["Liberal Party of Corrientes"] = {abbrev = "", color = "#35AAE0", shortname = "",},
["Liberal Party of Cuba"] = {abbrev = "", color = "#75AADB", shortname = "Liberal",},
["Liberal Party of Ghana"] = {abbrev = "", color = "#F96128", shortname = "",},
["Liberal Party of Gibraltar"] = {abbrev = "", color = "#EF4135", shortname = "Liberal",},
["Liberal Party of Honduras"] = {abbrev = "", color = "#CE2029", shortname = "Liberal",},
["Liberal Party of Ireland"] = {abbrev = "LPI", color = "#ADD8E6", shortname = "Liberal",},
["Liberal Party of Kosovo"] = {abbrev = "", color = "brown", shortname = "",},
["Liberal Party of Macedonia"] = {abbrev = "LPM", color = "#FFFF00", shortname = "",},
["Liberal Party of Montenegro"] = {abbrev = "LPCG", color = "#87CEEB", shortname = "",},
["Liberal Party of Norway"] = {abbrev = "", color = "#8CD600", shortname = "Liberal",},
["Liberal Party of South Africa"] = {abbrev = "", color = "#FED86F", shortname = "",},
["Liberal Party of Sri Lanka"] = {abbrev = "", color = "#FFDE17", shortname = "",},
["Liberal Party of State Employment and Housing"] = {abbrev = "", color = "#311829", shortname = "",},
["Liberal Party of Switzerland"] = {abbrev = "", color = "#134B94", shortname = "Liberals",},
["Liberal Party of the Right"] = {abbrev = "", color = "#4955A1", shortname = "",},
["Liberal Party of Ukraine"] = {abbrev = "", color = "blue", shortname = "Liberal",},
["Liberal People's Party (Norway)"] = {abbrev = "", color = "purple", shortname = "",},
["Liberal People's Party (Norway, 1972)"] = {abbrev = "", color = "red", shortname = "",},
["Liberal Poland – Entrepreneurs' Strike"] = {abbrev = "PL!SP", color = "#FFD900", shortname = "",},
["Liberal Popular Alliance"] = {abbrev = "", color = "#3366FF", shortname = "",},
["Liberal Progressive Party (Costa Rica)"] = {abbrev = "PLP", color = "#ff7300", shortname = "",},
["Liberal-Radical Party"] = {abbrev = "", color = "#ffcc00", shortname = "Liberal-Radical",},
["Liberal Reform Party (Australia)"] = {abbrev = "", color = "#00CED1", shortname = "Liberal Reform",},
["Liberal Reform Party (Czech Republic)"] = {abbrev = "LiRA", color = "yellow", shortname = "",},
["Liberal Reformist Party (Belgium)"] = {abbrev = "PRL", color = "blue", shortname = "",},
["Liberal Reformist Party (Dominican Republic)"] = {abbrev = "", color = "#32cd32", shortname = "",},
["Liberal Reformist Party (Puerto Rico)"] = {abbrev = "", color = "#B9245D", shortname = "",},
["Liberal Reformist Party (Romania)"] = {abbrev = "", color = "#1A92D0", shortname = "",},
["Liberal Reformist Party (Spain)"] = {abbrev = "", color = "#13CED2", shortname = "Liberal Reformist",},
["Liberal Regenerator Party"] = {abbrev = "", color = "#1935D0", shortname = "",},
["Liberal–Republican Coalition (Spain)"] = {abbrev = "", color = "#B1855B", shortname = "",},
["Liberal Republican Party (Turkey)"] = {abbrev = "", color = "#348AC9", shortname = "",},
["Liberal Republican Party (US)"] = {abbrev = "", color = "#FF69B4", shortname = "Liberal Republican",},
["Liberal Republican Right"] = {abbrev = "DLR", color = "#4EC766", shortname = "",},
["Liberal Samajbadi Party"] = {abbrev = "", color = "yellow", shortname = "",},
["Liberal Socialist Party (Singapore)"] = {abbrev = "LSP", color = "#EE5533", shortname = "",},
["Liberal Socialist Party (Switzerland)"] = {abbrev = "PLSS", color = "#F0D90B", shortname = "",},
["Liberal Socialists Party (Egypt)"] = {abbrev = "", color = "#00EE00", shortname = "",},
["Liberal State Party"] = {abbrev = "LSP", color = "#5A5CBD", shortname = "",},
["Liberal Swedish Party"] = {abbrev = "", color = "Blue", shortname = "",},
["Liberal Unification Party"] = {abbrev = "", color = "#013792", shortname = "Liberal Unification",},
["Liberal Union (Australia)"] = {abbrev = "", color = "#0000FF", shortname = "Liberal Union",},
["Liberal Union (Germany)"] = {abbrev = "LV", color = "#EEDC82", shortname = "",},
["Liberal Union (Italy)"] = {abbrev = "", color = "#0047AB", shortname = "Liberal Union",},
["Liberal Union (Netherlands)"] = {abbrev = "LU", color = "#5873DF", shortname = "",},
["Liberal Union (Spain, 1983)"] = {abbrev = "", color = "#1E90FF", shortname = "",},
["Liberal Union (Spain)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Union–Brătianu"] = {abbrev = "UL–B", color = "#FFDD00", shortname = "",},
["Liberal Union of Lithuania"] = {abbrev = "LLS", color = "#E8CA58", shortname = "",},
["Liberal Unionist Party"] = {abbrev = "LibU", color = "#2061A2", shortname = "Liberal Unionist",},
["Liberal Unity"] = {abbrev = "", color = "#FFD300", shortname = "",},
["Liberal Vannin Party"] = {abbrev = "", color = "#FA8000", shortname = "Liberal Vannin",},
["Liberal-Labour (UK)"] = {abbrev = "Lib-Lab", color = "orange", shortname = "",},
["Liberal-Labour"] = {abbrev = "", color = "orange", shortname = "",},
["Liberal–Labour (New Zealand)"] = {abbrev = "", color = "#FFA500", shortname = "Liberal–Labour",},
["Liberal-Social Union"] = {abbrev = "LSU", color = "#50C878", shortname = "",},
["Liberal–Socialist Kartels"] = {abbrev = "", color = "#800080", shortname = "Liberal–Socialist",},
["Liberal/Country coalition"] = {abbrev = "", color = "#0047AB", shortname = "",},
["Liberal/National coalition"] = {abbrev = "", color = "#0047AB", shortname = "",},
["Liberal/NCP coalition"] = {abbrev = "", color = "#0047AB", shortname = "",},
["Liberal"] = {abbrev = "", color = "#FFFF00", shortname = "",}, -- Generic color, not a party color; specify the actual party
["Liberalism in the Netherlands"] = {abbrev = "", color = "#e7cf25", shortname = "",},
["Liberalism"] = {abbrev = "", color = "#FFFF00", shortname = "Liberal",},
["Liberals (Finland)"] = {abbrev = "", color = "gold", shortname = "Liberals",},
["Liberals (Sweden)"] = {abbrev = "L", color = "#006AB3", shortname = "Liberals",},
["Liberals for Åland"] = {abbrev = "", color = "#1F66CA", shortname = "",},
["Liberals for Forests"] = {abbrev = "LFF", color = "#05A593", shortname = "Liberals for Forests",},
["Liberals of Benidorm"] = {abbrev = "", color = "#359E74", shortname = "",},
["Liberals of Serbia"] = {abbrev = "LS", color = "#FF4F00", shortname = "",},
["Liberals' Movement (Lithuania)"] = {abbrev = "LRLS", color = "#F48100", shortname = "",},
["Liberals, Democrats and Radicals"] = {abbrev = "LDR", color = "Gold", shortname = "",},
["Liberate the People"] = {abbrev = "YAW", color = "#FF1493", shortname = "",},
["Liberation Rally"] = {abbrev = "", color = "#CD7F32", shortname = "",},
["Liberation Movement (Serbia)"] = {abbrev = "O", color = "#18478e", shortname = "",},
["Liberator Party (Brazil)"] = {abbrev = "", color = "#F9AF1E", shortname = "",},
["Liberia Destiny Party"] = {abbrev = "LDP", color = "#BEC2CB", shortname = "",},
["Liberia National Union"] = {abbrev = "LNU", color = "#2E7286", shortname = "",},
["Liberia Restoration Party"] = {abbrev = "LRP", color = "#008000", shortname = "",},
["Liberia Transformation Party"] = {abbrev = "LTP", color = "#330104", shortname = "",},
["Liberian Action Party"] = {abbrev = "LAP", color = "#00FFFF", shortname = "",},
["Liberian People's Party"] = {abbrev = "LPP", color = "#DC143C", shortname = "",},
["Libertair, Direct, Democratisch"] = {abbrev = "LDD", color = "#6DCFF6", shortname = "",},
["Libertarian Left (Chile)"] = {abbrev = "", color = "#451255", shortname = "",},
["Libertarian Movement (Costa Rica)"] = {abbrev = "PML", color = "#DC143C", shortname = "",},
["Libertarian Movement Party"] = {abbrev = "", color = "#BA151B", shortname = "",},
["Libertarian Party (Argentina)"] = {abbrev = "PL", color = "#7D03FE", shortname = "",},
["Libertarian Party (Netherlands)"] = {abbrev = "", color = "#1170ce", shortname = "",},
["Libertarian Party (Spain)"] = {abbrev = "", color = "#C9A900", shortname = "",},
["Libertarian Party (Switzerland)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Libertarian Party (US)"] = {abbrev = "LI", color = "#FED105", shortname = "Libertarian",},
["Libertarian Party (UK)"] = {abbrev = "", color = "#FCC820", shortname = "Libertarian",},
["Libertarian Party of Australia"] = {abbrev = "", color = "#E5C601", shortname = "",},
["Libertarian Party of Canada"] = {abbrev = "", color = "#F2BA00", shortname = "",},
["Libertarian Party of Russia"] = {abbrev = "LPR", color = "#C5A664", shortname = "Libertarian",},
["Libertarian Party of South Africa"] = {abbrev = "", color = "#BE9F4D", shortname = "",},
["Libertarianz"] = {abbrev = "", color = "#09296B", shortname = "",},
["Libertas Estonia"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Libertas France"] = {abbrev = "", color = "#003366", shortname = "Libertas",},
["Libertas Ireland"] = {abbrev = "", color = "#3333CC", shortname = "Libertas",},
["Libertas United Kingdom"] = {abbrev = "", color = "#900020", shortname = "Pro-Democracy: Libertas.eu",},
["Libertas.eu"] = {abbrev = "Lib.eu", color = "#2c296e", shortname = "",},
["Liberties, Independents, Overseas and Territories"] = {abbrev = "", color = "#38D4C7", shortname = "LIOT",},
["Liberty (political party, Palestine)"] = {abbrev = "", color = "#C69F14", shortname = "",},
["Liberty (political party)"] = {abbrev = "", color = "#1882C5", shortname = "Volia",},
["Liberty and Lawfulness"] = {abbrev = "WiP", color = "grey", shortname = "",},
["Liberty and Refoundation"] = {abbrev = "", color = "#8B0000", shortname = "Libre",},
["Liberty GB"] = {abbrev = "", color = "#000168", shortname = "",},
["Liberty Korea Party"] = {abbrev = "", color = "#C9151E", shortname = "Liberty Korea",},
["Liberty Party (Liberia)"] = {abbrev = "LP", color = "#FFD600", shortname = "",},
["Liberty Party (Turkey)"] = {abbrev = "HP", color = "#C1F711", shortname = "",},
["Liberty Party (US, 1932)"] = {abbrev = "", color = "#00DDDD", shortname = "Liberty",},
["Liberty Party (US)"] = {abbrev = "", color = "#00DDDD", shortname = "Liberty",},
["Liberty Republican Party"] = {abbrev = "", color = "#009944", shortname = "",},
["Liberty Unification Party"] = {abbrev = "", color = "#E12F33", shortname = "Liberty Unification",},
["Liberty Union Party"] = {abbrev = "", color = "#D6FF33", shortname = "Liberty Union",},
["Liberty, Worth Voting For"] = {abbrev = "", color = "#DDDDDD", shortname = "Liberty",},
["Libra Party"] = {abbrev = "", color = "#F8D308", shortname = "",},
["Libre (Guatemala)"] = {abbrev = "", color = "#3467A1", shortname = "Libre",},
["Libres"] = {abbrev = "", color = "#194955", shortname = "",},
["Lider (political party)"] = {abbrev = "", color = "#00AFF0", shortname = "",},
["Liepāja Party"] = {abbrev = "", color = "#50A640", shortname = "",},
["Life – National Party"] = {abbrev = "Život–NS", color = "#032F67", shortname = "",},
["Life and Liberty Party"] = {abbrev = "", color = "black", shortname = "Life and Liberty",},
["Liga Veneta"] = {abbrev = "", color = "#0030AA", shortname = "",},
["LiGanDo"] = {abbrev = "", color = "#02A24A", shortname = "",},
["Light Blue and White Union"] = {abbrev = "", color = "blue", shortname = "",},
["Light of Faith (political party)"] = {abbrev = "", color = "#10C8DF", shortname = "Yiman Nuru",},
["Ligue du Sud"] = {abbrev = "LS", color = "#404040", shortname = "",},
["Likud Yisrael Beiteinu"] = {abbrev = "", color = "#1f5aa5", shortname = "",},
["Likud"] = {abbrev = "", color = "#1f5aa5", shortname = "",},
["Linares First"] = {abbrev = "", color = "#1F1715", shortname = "",},
["Lincoln Democratic Labour Association"] = {abbrev = "", color = "#FF6600", shortname = "Democratic Labour",},
["Lincolnshire Independents"] = {abbrev = "", color = "#000000", shortname = "Lincolnshire Independent",},
["Linese Alternative"] = {abbrev = "", color = "#0CB7F2", shortname = "",},
["Lingkod Taguig"] = {abbrev = "", color = "#0051B0", shortname = "",},
["Linyon Demokratik Seselwa"] = {abbrev = "", color = "#2C50A4", shortname = "",},
["List Burgenland"] = {abbrev = "", color = "#F8D323", shortname = "",},
["List Dedecker"] = {abbrev = "", color = "#000080", shortname = "",},
["List for Fiume"] = {abbrev = "", color = "#545AA7", shortname = "",},
["List for Sandžak"] = {abbrev = "LZS", color = "#307A4D", shortname = "",},
["List for Trieste"] = {abbrev = "", color = "#4CBB17", shortname = "",},
["List of Decency"] = {abbrev = "", color = "#CC00CC", shortname = "",},
["List of Marjan Šarec"] = {abbrev = "LMŠ", color = "#005AAB", shortname = "",},
["Lists of Slavs and Germans"] = {abbrev = "LST", color = "#B00000", shortname = "",},
["Lista del Apruebo"] = {abbrev = "", color = "#6F4D9A", shortname = "",},
["Lista Niun Paso Atras"] = {abbrev = "", color = "gold", shortname = "",},
["Lisu National Development Party"] = {abbrev = "LNDP", color = "#DC0723", shortname = "",},
["Lithuania – For Everyone"] = {abbrev = "L–V", color = "#0FC65E", shortname = "",},
["Lithuanian Centre Party"] = {abbrev = "", color = "#0CA13B", shortname = "",},
["Lithuanian Centre Union"] = {abbrev = "LCS", color = "#D6D40F", shortname = "",},
["Lithuanian Christian Democratic Party"] = {abbrev = "LKDP", color = "#3D6DBF", shortname = "",},
["Lithuanian Christian Democrats"] = {abbrev = "", color = "#3333CC", shortname = "",},
["Lithuanian Citizens' Alliance"] = {abbrev = "LPA", color = "#799B6F", shortname = "",},
["Lithuanian Democratic Party"] = {abbrev = "LDP", color = "#007272", shortname = "",},
["Lithuanian Farmers and Greens Union"] = {abbrev = "LVŽS", color = "#00A651", shortname = "",},
["Lithuanian Green Party"] = {abbrev = "LŽP", color = "#92C83E", shortname = "",},
["Lithuanian Labour Federation"] = {abbrev = "", color = "#2C6BC7", shortname = "Labour Federation",},
["Lithuanian Liberty Union"] = {abbrev = "LLS", color = "#FBB800", shortname = "",},
["Lithuanian List"] = {abbrev = "LS", color = "#810305", shortname = "",},
["Lithuanian Nationalist and Republican Union"] = {abbrev = "", color = "#FDC52A", shortname = "",},
["Lithuanian Nationalist Union"] = {abbrev = "LTS", color = "#FFD700", shortname = "",},
["Lithuanian Peasant Popular Union"] = {abbrev = "", color = "#BBFF02", shortname = "",},
["Lithuanian Peasants Party"] = {abbrev = "LVP", color = "#BAD759", shortname = "",},
["Lithuanian People's Party"] = {abbrev = "LLP", color = "#E6AD1E", shortname = "",},
["Lithuanian Popular Peasants' Union"] = {abbrev = "LVLS", color = "green", shortname = "",},
["Lithuanian Popular Socialist Democratic Party"] = {abbrev = "LSLDP", color = "pink", shortname = "",},
["Lithuanian Regions Party"] = {abbrev = "LRP", color = "#CE2C29", shortname = "",},
["Lithuanian Russian Union"] = {abbrev = "SRL", color = "red", shortname = "",},
["Lithuanian Social Democratic Union"] = {abbrev = "LSDS", color = "#901d78", shortname = "",},
["Lithuanian Union of Political Prisoners and Deportees"] = {abbrev = "LPKTS", color = "#216319", shortname = "",},
["Livable Netherlands"] = {abbrev = "LN", color = "#FF4400", shortname = "",},
["Liverpool Community Independents"] = {abbrev = "", color = "#800000", shortname = "Community Independents",},
["Liverpool Independent Party"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Liverpool Protestant Party"] = {abbrev = "", color = "#F88017", shortname = "Protestant",},
["Living Ourense"] = {abbrev = "", color = "#0082CD", shortname = "",},
["Living Unified Socialist Party of Catalonia"] = {abbrev = "PSUC viu", color = "#C40C34", shortname = "",},
["LIVRE"] = {abbrev = "", color = "#C2D216", shortname = "",},
["Llais Gwynedd"] = {abbrev = "", color = "#006400", shortname = "",},
["Llantwit First Independents"] = {abbrev = "", color = "#999999", shortname = "Llantwit First Independent",},
["Lliures"] = {abbrev = "", color = "#E75C73", shortname = "",},
["Lloc Espai Independent"] = {abbrev = "", color = "#E6302B", shortname = "",},
["LMP – Hungary's Green Party"] = {abbrev = "LMP", color = "#36CA8B", shortname = "",},
["Lower Hutt Citizens' Association"] = {abbrev = "", color = "#B8BFFE", shortname = "Citizens'",},
["Local Alliance"] = {abbrev = "", color = "#000000", shortname = "",},
["Local and Rural Issues"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Local Danish parties"] = {abbrev = "", color = "#C7C3BF", shortname = "",},
["Local Education Action by Parents"] = {abbrev = "", color = "#CCCCCC", shortname = "",},
["Local Option"] = {abbrev = "", color = "silver", shortname = "",},
["Local Progressive Party"] = {abbrev = "", color = "#FF4500", shortname = "",},
["Localist Bloc of Melilla"] = {abbrev = "", color = "#217118", shortname = "",},
["Localist"] = {abbrev = "", color = "#bb00bb", shortname = "",},
["Localist groups (Hong Kong)"] = {abbrev = "", color = "#002366", shortname = "Localist",},
["Loktantrik Morcha (Rajasthan)"] = {abbrev = "LM", color = "#FF1D15", shortname = "",},
["Lok Bhalai Party"] = {abbrev = "LBP", color = "#386059", shortname = "",},
["Lok Insaaf Party"] = {abbrev = "LIP", color = "Maroon", shortname = "",},
["Lok Janshakti Party (Ram Vilas)"] = {abbrev = "LJP(RV)", color = "#5B006A", shortname = "",},
["Lok Janshakti Party"] = {abbrev = "LJP", color = "#0093DD", shortname = "",},
["Lok Kalayankari Janata Party Nepal"] = {abbrev = "", color = "#FFEFD5", shortname = "Lok Kalayankari Janata Party",},
["Lok Paritran"] = {abbrev = "LKPT", color = "#f3c0f3", shortname = "",},
["Lok Raj Party Himachal Pradesh"] = {abbrev = "LRP", color = "indigo", shortname = "",},
["Lok Rajya Party"] = {abbrev = "", color = "#9900FF", shortname = "",},
["Lok Satta Party"] = {abbrev = "LSP", color = "#FF1493", shortname = "",},
["Lok Sewak Dal"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Lok Sewak Sangh"] = {abbrev = "", color = "#00FF00", shortname = "",},
["Lok Shakti"] = {abbrev = "", color = "#336600", shortname = "",},
["Lokdal"] = {abbrev = "LKD", color = "#00FF66", shortname = "",},
["Lokpriya Samaj Party"] = {abbrev = "LPSP", color = "#66FF99", shortname = "",},
["Loktanter Suraksha Party"] = {abbrev = "LSP", color = "#FF9900", shortname = "",},
["Loktantra Suraksha Party"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Loktantrik Jan Samta Party"] = {abbrev = "LJSP", color = "grey", shortname = "",},
["Loktantrik Janata Dal"] = {abbrev = "LJD", color = "#2E8B57", shortname = "",},
["Loktantrik Janata Party (Secular)"] = {abbrev = "LJP(S)", color = "pink", shortname = "",},
["Loktantrik Morcha Himachal Pradesh"]={abbrev="LHMP",color="",shortname=""},
["Loktantrik Samajwadi Party, Nepal"] = {abbrev = "LSWP", color = "#c7f884 ", shortname = "Loktantrik Samajwadi",},
["Londependence Party"] = {abbrev = "", color = "#751056", shortname = "Londependence",},
["London Real Party"] = {abbrev = "", color = "#af0823", shortname = "London Real",},
["London Socialist Alliance"] = {abbrev = "", color = "red", shortname = "London Socialist",},
["Longthornton and Tamworth Residents Association"] = {abbrev = "", color = "#000000", shortname = "Longthornton and Tamworth Residents",},
["Lord Fusituʻa"] = {abbrev = "", color = "#D3D3D3", shortname = "",},
["Lord Nuku"] = {abbrev = "", color = "#D3D3D3", shortname = "",},
["Lord Speaker"] = {abbrev = "", color = "black", shortname = "",},
["Lord Tuʻiʻafitu"] = {abbrev = "", color = "#D3D3D3", shortname = "",},
["Lords Spiritual"] = {abbrev = "", color = "#7F00FF", shortname = "",},
["Loss"] = {abbrev = "", color = "#999999", shortname = "",},
["Loughton Residents Association"] = {abbrev = "", color = "#50C878", shortname = "Loughton Residents",},
["Love Malaysia Party"] = {abbrev = "", color = "#DAE2EA", shortname = "",},
["Love Party (Italy)"] = {abbrev = "", color = "#FF91AF", shortname = "",},
["Love Sabah Party"] = {abbrev = "", color = "#FB5B47", shortname = "",},
["Love, Faith, Hope"] = {abbrev = "", color = "#BC413C", shortname = "",},
["Lower Cinca Between Everyone"] = {abbrev = "ETXSBC", color = "#F57D02", shortname = "",},
["Lower Minho Independents"] = {abbrev = "", color = "#824941", shortname = "",},
["Loyalty and Dignity"] = {abbrev = "", color = "#1e90ff", shortname = "",},
["Luen Wo United"] = {abbrev = "", color = "#000000", shortname = "",},
["Lugonovo"] = {abbrev = "", color = "#E5432C", shortname = "",},
["Luhansk Economic Union"] = {abbrev = "LES", color = "#76C5F0", shortname = "",},
["Lung Mun Concern Group"] = {abbrev = "LMCG", color = "#11A0B4", shortname = "",},
["Lutte Ouvrière"] = {abbrev = "LO", color = "#AA0000", shortname = "",},
["Luxembourg Socialist Workers' Party"] = {abbrev = "LSAP", color = "#F10035", shortname = "",},
["LXE"] = {abbrev = "", color = "#47B9AF", shortname = "",},
["Lytvyn Bloc"] = {abbrev = "", color = "#01B8A4", shortname = "",},
["Lytyn Bloc"] = {abbrev = "", color = "Green", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
749812df560acd286329cf8da3ac6f289b7e7d9a
Module:Political party/U
828
1485
3033
2024-03-08T23:45:38Z
Wikipedia>Number 57
0
+
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["U.S. Labor Party of the District of Columbia"] = "U.S. Labor Party",
["U.S. Taxpayers' Party"] = "Constitution Party (US)",
["UDAR"] = "Ukrainian Democratic Alliance for Reform",
["UDI"] = "Union of Democrats and Independents",
["UK National Government"] = "National Government (United Kingdom)",
["UKIP"] = "UK Independence Party",
["Ukrainian Strategy"] = "Ukrainian Strategy of Groysman",
["Ulster Conservatives and Unionists - New Force"] = "Ulster Conservatives and Unionists",
["Ulster Conservatives and Unionists – New Force"] = "Ulster Conservatives and Unionists", -- dash differences
["Ultra-royalist"] = "Legitimists",
["Unaffiliated"] = "Unaffiliated politician",
["Unconditional Unionist Party (US)"] = "Unconditional Unionist Party",
["Unidas Podemos cambiar Europa"] = "Unidas Podemos",
["Unidos Podemos"] = "Unidas Podemos",
["United Left (Greece)"] = "Communist Party of Greece",
["United Opposition (Hungary)"] = "United for Hungary",
["Unified Communist Party of Nepal (Maoist)"] = "Communist Party of Nepal (Maoist Centre)",
["Unified Socialist Party"] = "Unified Socialist Party (France)",
["Union Démocratique Bretonne"] = "Breton Democratic Union",
["Union for Democracy (Finland)"] = "Finnish People's Unity Party",
["Union for France"] = "Rally for the Republic",
["Union for French Democracy (alliance)"] = "Union for French Democracy",
["Union for Latvia"] = "For a Humane Latvia",
["Union for the Presidential Majority"] = "Union for a Popular Movement",
["Union for the Republic-Res Publica"] = "Res Publica Party",
["Union for the Republic–Res Publica"] = "Res Publica Party", -- dash differences
["Union for the Fatherland"] = "Union for the Homeland",
["Union Labor Party (California)"] = "Union Labor Party",
["Union Labor Party (United States)"] = "Union Labor Party",
["Union of Centrists of Menorca"] = "Menorcan Union",
["Union of Christian and Centre Democrats"] = "Union of the Centre (2002)",
["Union of Franchophones"] = "Union des Francophones",
["Union of the Centre (2008)"] = "Union of the Centre (2002)",
["Union of the Left (Luxembourg)"] = "Radical Socialist Party (Luxembourg)",
["Union of the Left (Poland)"] = "Freedom and Equality",
["Union of the Right (Poland)"] = "Real Politics Union",
["Union Party (United States)"] = "Union Party (US)",
["Unión por la Patria"] = "Union for the Homeland",
["Unionist Party (United States)"] = "Unionist Party (US)",
["Unionist Party"] = "Unionist Party (US)",
["United Canarian Left"] = "United Left (Spain)",
["United Citizens Association of Macau"] = "Macau United Citizens Association",
["United Democratic Party (Gambia)"] = "United Democratic Party (The Gambia)",
["United Front (Singapore)"] = "Democratic Progressive Party (Singapore)",
["United Future New Zealand"] = "United Future",
["United Galicia Party"] = "United Galicia",
["United Kingdom Independence Party"] = "UK Independence Party",
["United Kingdom Libertarian Party"] = "Libertarian Party (UK)",
["United Labour Party"] = "Unity Labour Party",
["United Land Party"] = "Sahaphum Party",
["United Left (Galicia)"] = "United Left (Spain)",
["United Left and Peasants"] = "Justice Party (Ukraine)",
["United Left Catalonia"] = "United Left (Spain)",
["United Left Extremadura"] = "United Left (Spain)",
["United Left of Aragon"] = "United Left (Spain)",
["United Left of Asturias"] = "United Left (Spain)",
["United Left of Cantabria"] = "United Left (Spain)",
["United Left of Castile and León"] = "United Left (Spain)",
["United Left of Navarre"] = "United Left (Spain)",
["United Left of the Balearic Islands"] = "United Left (Spain)",
["United Left of the Community of Madrid"] = "United Left (Spain)",
["United Left of the Valencian Country"] = "United Left (Spain)",
["United Left–Assembly for Andalusia"] = "United Left (Spain)",
["United Left–Greens of the Region of Murcia"] = "United Left (Spain)",
["United Left–Madrid"] = "United Left (Spain)",
["United National Movement"] = "United National Movement (Georgia)",
["United National South West Party"] = "United Party (South Africa)",
["United New Democratic Party"] = "Grand Unified Democratic New Party",
["United People's Party (Malaysia)"] = "Sarawak United Party",
["United States Independence Party"] = "Independence Party (US)",
["United States Marijuana Party"] = "Marijuana Party (US)",
["United States Natural Law Party"] = "Natural Law Party (US)",
["United States Whig Party"] = "Whig Party (US)",
["United Thai Nation"] = "United Thai Nation Party",
["United/Reform Coalition"] = "United–Reform Coalition",
["Units Podem Més"] = "Unidas Podemos",
["Unity (Latvian political party)"] = "Unity (Latvia)",
["Unity (political party, Latvia)"] = "Unity (Latvia)",
["Unity (Ukraine)"] = "Unity of Oleksandr Omelchenko",
["Unity For Peace And Socialism"] = "Unity for Peace and Socialism",
["Unity List (Denmark)"] = "Red–Green Alliance (Denmark)",
["Unity Movement for Workers"] = "Workers' Party of Socialist Unity",
["Unity"] = "Unity (Northern Ireland)",
["Unrepresented People’s Party"] = "Unrepresented Peoples Party",
["Unsubmissive France"] = "La France Insoumise",
["Upper House branch of the Lantmanna Party"] = "Lantmanna Party",
["Urban Tax Reform Party"] = "Other parties",
["US Marijuana Party"] = "Marijuana Party (US)",
["US Taxpayers Party"] = "Constitution Party (US)",
["Utah Constitution Party"] = "Constitution Party (US)",
["Utah Democratic Party"] = "Democratic Party (United States)",
["Utah Republican Party"] = "Republican Party (United States)",
["Uttama Prajakeeya Party"] = "Uttama Prajaakeeya Party",
}
local full = {
["U.S. Labor Party"] = {abbrev = "", color = "#800000", shortname = "U.S. Labor",},
["U.S. Taxpayers Party"] = {abbrev = "", color = "transparent", shortname = "U.S. Taxpayers",},
["UAP/Country coalition"] = {abbrev = "", color = "#00008B", shortname = "",},
["Ubuntu Connected Front"] = {abbrev = "", color = "#EA0512", shortname = "",},
["Ubuntu Party"] = {abbrev = "", color = "Lightblue", shortname = "",},
["Udalberri"] = {abbrev = "", color = "#428E89", shortname = "",},
["UDEUR Populars for the South"] = {abbrev = "", color = "#0080FF", shortname = "",},
["UDM"] = {abbrev = "", color = "orange", shortname = "",},
["Ue-Kedadji"] = {abbrev = "", color = "#FFF700", shortname = "",},
["Uganda People's Congress"] = {abbrev = "UPC", color = "#E70000", shortname = "",},
["Ugyon Kita Capiz"] = {abbrev = "", color = "#98fb98", shortname = "",},
["Ujedinjeni"] = {abbrev = "", color = "#EC4242", shortname = "",},
["UK Community Issues Party"] = {abbrev = "", color = "#C0C0C0", shortname = "",},
["UK European Union Party"] = {abbrev = "UKEU", color = "#1A347E", shortname = "",},
["UK Independence Party"] = {abbrev = "UKIP", color = "#6D3177", shortname = "",},
["UK Unionist Party"] = {abbrev = "", color = "#660066", shortname = "UK Unionist",},
["UK Veteran's and People's Party"] = {abbrev = "UKVPP", color = "#053360", shortname = "",},
["Ukraine – Forward!"] = {abbrev = "", color = "SlateBlue", shortname = "",},
["Ukraine is Our Home"] = {abbrev = "", color = "#F4C711", shortname = "",},
["Ukrainian Conservative Republican Party"] = {abbrev = "UCRP", color = "#0C7EBD", shortname = "",},
["Ukrainian Democratic Alliance for Reform"] = {abbrev = "UDAR", color = "#C93732", shortname = "",},
["Ukrainian Galician Party"] = {abbrev = "", color = "#FCCD3F", shortname = "",},
["Ukrainian Marine Party"] = {abbrev = "UMP", color = "#3249B3", shortname = "",},
["Ukrainian National Assembly"] = {abbrev = "UNA", color = "#D80100", shortname = "",},
["Ukrainian National Assembly – Ukrainian People's Self-Defence"] = {abbrev = "UNA–UNSO", color = "#d90000", shortname = "",},
["Ukrainian National Bloc of Kostenko and Plyushch"] = {abbrev = "", color = "Blue", shortname = "Kostenko and Plyushch Bloc",},
["Ukrainian National Democratic Alliance"] = {abbrev = "UNDO", color = "#87CEEB", shortname = "",},
["Ukrainian National State Union"] = {abbrev = "", color = "#5F9EA0", shortname = "",},
["Ukrainian Peasant Democratic Party"] = {abbrev = "", color = "#d29443", shortname = "Peasant Democratic",},
["Ukrainian People's Party"] = {abbrev = "", color = "#0A4595", shortname = "",},
["Ukrainian Radical Party"] = {abbrev = "URP", color = "red", shortname = "",},
["Ukrainian Republican Party"] = {abbrev = "URP", color = "#FEBF10", shortname = "",},
["Ukrainian Republican Party (2006)"] = {abbrev = "URP", color = "#194582", shortname = "",},
["Ukrainian Social Democratic Labour Party"] = {abbrev = "", color = "#CE0000", shortname = "",},
["Ukrainian Social Democratic Party (1899)"] = {abbrev = "USDP", color = "red", shortname = "",},
["Ukrainian Strategy of Groysman"] = {abbrev = "USH", color = "#FFDD00", shortname = "",},
["UKROP"] = {abbrev = "", color = "#0B9444", shortname = "",},
["Ulster Conservatives and Unionists"] = {abbrev = "UCU-NF", color = "#9999FF", shortname = "",},
["Ulster Constitution Party"] = {abbrev = "", color = "black", shortname = "Ulster Constitution",},
["Ulster Democratic Party"] = {abbrev = "", color = "black", shortname = "Ulster Democratic",},
["Ulster Independence Movement"] = {abbrev = "", color = "darkgray", shortname = "Ulster Independence",},
["Ulster Liberal Party"] = {abbrev = "ULib", color = "#DAA520", shortname = "Ulster Liberal",},
["Ulster Popular Unionist Party"] = {abbrev = "UPUP", color = "#ffdead", shortname = "",},
["Ulster Progressive Unionist Association"] = {abbrev = "", color = "#e0afaf", shortname = "Progressive Unionist",},
["Ulster Unionist Labour Association"] = {abbrev = "", color = "#9999FF", shortname = "Labour Unionist",},
["Ulster Unionist Party"] = {abbrev = "UUP", color = "#48A5EE", shortname = "Ulster Unionist",},
["Ulster's Independent Voice"] = {abbrev = "", color = "darkorange", shortname = "Independent Voice",},
["Ultra-Tory"] = {abbrev = "", color = "#333352", shortname = "",},
["Umbrella for Democratic Change"] = {abbrev = "UDC", color = "#244197", shortname = "",},
["Umbrella for Democratic Change (2014)"] = {abbrev = "UDC", color = "#e97810", shortname = "",},
["Ummah Party"] = {abbrev = "", color = "#000000", shortname = "Ummat",},
["Umoja Party"] = {abbrev = "", color = "#000045", shortname = "Umoja",},
["Un Kòrsou Hustu"] = {abbrev = "", color = "#3F00FF", shortname = "",},
["Unaffiliated politician"] = {abbrev = "", color = "EEEEEE", shortname = "Unaffiliated",},
["Unang Sigaw ng Nueva Ecija"] = {abbrev = "", color = "#000084", shortname = "Unang Sigaw",},
["Unbought Tenants Association"] = {abbrev = "", color = "#bb00bb", shortname = "Unbought Tenants",},
["Unconditional Spanish Party"] = {abbrev = "", color = "#325688", shortname = "",},
["Unconditional Union Party"] = {abbrev = "", color = "#FFAABB", shortname = "Unconditional Union",},
["Unconditional Unionist Party"] = {abbrev = "", color = "#FFAABB", shortname = "",},
["Unendorsed Labour candidates, 1931"] = {abbrev = "", color = "#D03030", shortname = "Other unendorsed Labour",},
["Unid@s Se Puede"] = {abbrev = "", color = "#5A134B", shortname = "",},
["Unidá"] = {abbrev = "", color = "#08B610", shortname = "",},
["Unidad Popular"] = {abbrev = "", color = "#DC0C0C", shortname = "",},
["Unidas Podemos por Andalucía"] = {abbrev = "", color = "#37773E", shortname = "",},
["Unidas Podemos"] = {abbrev = "", color = "#7B4977", shortname = "",},
["Unidas por Llangreu"] = {abbrev = "", color = "#7CB742", shortname = "",},
["Unidas Sí Se Puede Santa Coloma de Gramenet"] = {abbrev = "", color = "#583F81", shortname = "",},
["Unidos Móstoles"] = {abbrev = "", color = "#DC196F", shortname = "",},
["Unidos"] = {abbrev = "", color = "#333399", shortname = "",},
["Unidos (political party)"] = {abbrev = "", color = "#E32132", shortname = "",},
["Unification Party (South Korea)"] = {abbrev = "UP", color = "#008080", shortname = "Unification",},
["Unification National Party"] = {abbrev = "UNP", color = "#22B14D", shortname = "Unification National",},
["Unified – Alternative for Patriots"] = {abbrev = "JAP", color = "#FFBFF7", shortname = "",},
["Unified Armenians Party"] = {abbrev = "", color = "blue", shortname = "",},
["Unified Communist Party of Georgia"] = {abbrev = "SEKP", color = "red", shortname = "",},
["Unified Communist Party of Spain"] = {abbrev = "", color = "#D20B12", shortname = "",},
["Unified Lumumbist Party"] = {abbrev = "", color = "#b22222", shortname = "",},
["Unified Progressive Party"] = {abbrev = "", color = "#663399", shortname = "Unified Progressive",},
["Unified Resilient St. Maarten Movement"] = {abbrev = "URSM", color = "#00576d", shortname = "",},
["Unified Socialist Party (Burkina Faso)"] = {abbrev = "", color = "red", shortname = "",},
["Unified Socialist Party (France)"] = {abbrev = "", color = "#e7471e", shortname = "Unified Socialist",},
["Unified Socialist Party (Italy)"] = {abbrev = "", color = "#E52F63", shortname = "Unified Socialist",},
["Unified Socialist Party (Morocco)"] = {abbrev = "", color = "#03377A", shortname = "",},
["Unified Socialist Party of Catalonia"] = {abbrev = "PSUC", color = "#00A58F", shortname = "",},
["Unified Socialist Party of Mexico"] = {abbrev = "PSUM", color = "red", shortname = "",},
["Unió Calvianera"] = {abbrev = "", color = "#215E02", shortname = "",},
["Unió Campanera"] = {abbrev = "", color = "#197E36", shortname = "",},
["Unió Mollera Pollencina"] = {abbrev = "", color = "#10A9B7", shortname = "",},
["Unió Pollencina Independent"] = {abbrev = "", color = "#41B7FD", shortname = "",},
["Union 55+"] = {abbrev = "U55+", color = "#C373B1", shortname = "",},
["Union for a Better Future of BiH"] = {abbrev = "SBB", color = "#213381", shortname = "",},
["Union for a Popular Movement"] = {abbrev = "UMP", color = "#0051AE", shortname = "",},
["Union for Almería"] = {abbrev = "", color = "#F4787C", shortname = "",},
["Union for Cambre"] = {abbrev = "", color = "#007B6B", shortname = "",},
["Union for Capdepera"] = {abbrev = "", color = "#528646", shortname = "",},
["Union for Central African Renewal"] = {abbrev = "", color = "#013157", shortname = "",},
["Union for Change Party"] = {abbrev = "", color = "#FFFF78", shortname = "",},
["Union for Change"] = {abbrev = "", color = "#006600", shortname = "",},
["Union for Córdoba"] = {abbrev = "", color = "#19bc9d", shortname = "",},
["Union for Democracy and Freedom"] = {abbrev = "UDL", color = "", shortname = "",},
["Union for Democracy and Peace in Ivory Coast"] = {abbrev = "UDPCI", color = "#01a0e2", shortname = "",},
["Union for Democracy and Progress"] = {abbrev = "UDP", color = "#0FAF05", shortname = "",},
["Union for Democracy and Social Integration"] = {abbrev = "UDIS", color = "#ECDA30", shortname = "",},
["Union for Democracy and Social Progress (Democratic Republic of the Congo)"] = {abbrev = "UDPS", color = "#CF1020", shortname = "",},
["Union for Democracy and the Republic (Niger)"] = {abbrev = "", color = "#D80000", shortname = "",},
["Union for Development"] = {abbrev = "UPD", color = "#FF4500", shortname = "",},
["Union for Economic Defence"] = {abbrev = "UDE", color = "#53002C", shortname = "",},
["Union for Elda Progress"] = {abbrev = "", color = "#207524", shortname = "",},
["Union for Europe"] = {abbrev = "UFE", color = "#4F6BA2", shortname = "",},
["Union for Europe of the Nations"] = {abbrev = "UEN", color = "#4F6BA2", shortname = "",},
["Union for France"] = {abbrev = "UPF", color = "", shortname = "",},
["Union for France (2022)"] = {abbrev = "UPF", color = "#0087CD", shortname = "",},
["Union for French Democracy"] = {abbrev = "UDF", color = "#00CCCC", shortname = "",},
["Union for Homeland"] = {abbrev = "UFH", color = "#1E4D2B", shortname = "",},
["Union for Hope"] = {abbrev = "", color = "#FF4500", shortname = "",},
["Union for Ivory Coast"] = {abbrev = "UPCI", color = "#ff8080", shortname = "",},
["Union for Leganés"] = {abbrev = "", color = "#528263", shortname = "",},
["Union for Liberty"] = {abbrev = "", color = "#73288B", shortname = "",},
["Union for National Progress"] = {abbrev = "UPRONA", color = "#FF0000", shortname = "",},
["Union for National Salvation"] = {abbrev = "USN", color = "#EE5C29", shortname = "",},
["Union for National Self-Determination"] = {abbrev = "UNSD", color = "black", shortname = "",},
["Union for Ordes"] = {abbrev = "", color = "#006B33", shortname = "",},
["Union for Peace and Development Party"] = {abbrev = "UPD", color = "#008000", shortname = "",},
["Union for Peru"] = {abbrev = "UPP", color = "#D8242A", shortname = "",},
["Union for Peace and Progress–Kilusang Bagong Lipunan"] = {abbrev = "UPP–KBL", color = "#FE0000", shortname = "",},
["Union for Progress and Development"] = {abbrev = "UPD", color = "#FF5A36", shortname = "",},
["Union for Progress and Reform"] = {abbrev = "", color = "#008800", shortname = "",},
["Union for Progress and Renewal (Guinea)"] = {abbrev = "", color = "#0070C0", shortname = "",},
["Union for Promoting Progress"] = {abbrev = "UNIPRO", color = "#183B7D", shortname = "",},
["Union for Rebirth / Sankarist Party"] = {abbrev = "UNIR/PS", color = "#DE144A", shortname = "",},
["Union for Renewal and Democracy"] = {abbrev = "URD", color = "#ff0000", shortname = "",},
["Union for the Congolese Nation"] = {abbrev = "", color = "#ef1e26", shortname = "",},
["Union for the Development of the Comoros"] = {abbrev = "UPDC", color = "#4B638C", shortname = "",},
["Union for the Homeland"] = {abbrev = "UP", color = "#00BEFF", shortname = "",},
["Union for the Homeland and the People"] = {abbrev = "EPAL", color = "#2200ff", shortname = "",},
["Union for the New Republic (Gabon)"] = {abbrev = "UPNR", color = "#1b429e", shortname = "",},
["Union for the New Republic"] = {abbrev = "UNR", color = "#0000C8", shortname = "",},
["Union for the Presidential Majority (Djibouti)"] = {abbrev = "UMP", color = "#5FB989", shortname = "",},
["Union for the Progress of Cantabria"] = {abbrev = "UPCA", color = "#00B0A0", shortname = "",},
["Union for the Progress of Guinea"] = {abbrev = "UPG", color = "#FFA500", shortname = "",},
["Union for the Republic (Mauritania)"] = {abbrev = "UPR", color = "#327adc", shortname = "",},
["Union for the Republic (Togo)"] = {abbrev = "UNIR", color = "#38a8e6", shortname = "",},
["Union for the Republic and Democracy"] = {abbrev = "URD", color = "#14B53A", shortname = "",},
["Union for Trentino"] = {abbrev = "", color = "#89CFF0", shortname = "",},
["Union for Victory Coalition"] = {abbrev = "BF", color = "#1F40DD", shortname = "",},
["Union Karen League"] = {abbrev = "", color = "#F7CF15", shortname = "",},
["Union Labor Party"] = {abbrev = "", color = "#6633CC", shortname = "Union Labor",},
["Union Makes the Nation"] = {abbrev = "", color = "#DA6201", shortname = "",},
["Union Monégasque"] = {abbrev = "UM", color = "#DD0000", shortname = "",},
["Union Movement"] = {abbrev = "", color = "#2F4F4F", shortname = "",},
["Union nationale"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Union of Armenians of Romania"] = {abbrev = "RHM", color = "black", shortname = "",},
["Union of Centrists"] = {abbrev = "EK", color = "#FF7F50", shortname = "",},
["Union of Chiefs and Peoples of the North"] = {abbrev = "", color = "#6495ED", shortname = "",},
["Union of Christian Families"] = {abbrev = "ZChR", color = "#0087BD", shortname = "",},
["Union of Citizens of Badalona"] = {abbrev = "", color = "#8AA8D5", shortname = "",},
["Union of Citizens of Georgia"] = {abbrev = "SMK", color = "#231577", shortname = "",},
["Union of Communist Parties – Communist Party of the Soviet Union"] = {abbrev = "", color = "#DE0300", shortname = "",},
["Union of Communists in Bulgaria"] = {abbrev = "", color = "red", shortname = "",},
["Union of Communists of Slovakia"] = {abbrev = "ZKS", color = "red", shortname = "",},
["Union of Croats of Romania"] = {abbrev = "ZHR", color = "#004B80", shortname = "",},
["Union of Democratic and Social Forces"] = {abbrev = "UFDS", color = "", shortname = "",},
["Union of Democratic Forces (Bulgaria)"] = {abbrev = "SDS", color = "#0A459F", shortname = "",},
["Union of Democratic Forces (Mauritania)"] = {abbrev = "UFD-EN", color = "black", shortname = "",},
["Union of Democratic Forces of Guinea"] = {abbrev = "UFDG", color = "#406626", shortname = "",},
["Union of Democrats and Ecologists"] = {abbrev = "", color = "#088A43", shortname = "",},
["Union of Democrats and Independents"] = {abbrev = "UDI", color = "#35A2EF", shortname = "",},
["Union of Democrats for Citizenship and Development"] = {abbrev = "", color = "black", shortname = "",},
["Union of Democrats for Europe"] = {abbrev = "UDEUR", color = "#FF7F00", shortname = "",},
["Union of Democrats for the Republic"] = {abbrev = "UDR", color = "#0000C8", shortname = "",},
["Union of Development"] = {abbrev = "UPD", color = "yellow", shortname = "",},
["Union of European Democrats"] = {abbrev = "", color = "#FFD403", shortname = "",},
["Union of European Federalists"] = {abbrev = "", color = "#007B3A", shortname = "",},
["Union of Everyone"] = {abbrev = "", color = "#95DC5B", shortname = "",},
["Union of Forces for Change"] = {abbrev = "UFC", color = "#FFCC00", shortname = "",},
["Union des Francophones"] = {abbrev = "UF", color = "#00a0af", shortname = "",},
["Union of Free Democrats"] = {abbrev = "", color = "blue", shortname = "",},
["Union of Georgian Traditionalists"] = {abbrev = "UGT", color = "#740144", shortname = "",},
["Union of Greens and Farmers"] = {abbrev = "ZZS", color = "#02723A", shortname = "",},
["Union of Greens of Russia"] = {abbrev = "", color = "#0B8413", shortname = "",},
["Union of Humanist Democrats-Yuki"] = {abbrev = "UDH-YUKI", color = "#36b4ff", shortname = "",},
["Union of Independent Citizens"] = {abbrev = "", color = "#119246", shortname = "",},
["Union of Independent Nigeriens"] = {abbrev = "", color = "#C0C0C0", shortname = "",},
["Union of Independent Viguese"] = {abbrev = "", color = "#AD0100", shortname = "",},
["Union of Independents of Artà"] = {abbrev = "", color = "#68A2B6", shortname = "",},
["Union of Independents of Sant Cugat"] = {abbrev = "", color = "#FFF004", shortname = "",},
["Union of Kazakhstan's Youth"] = {abbrev = "", color = "#D28095", shortname = "Union of Youth",},
["Union of Latin American Parties"] = {abbrev = "", color = "#137BC1", shortname = "",},
["Union of Liberals and Leftists"] = {abbrev = "", color = "#3FFF00", shortname = "Liberals & Leftists",},
["Union of Mobutuist Democrats"] = {abbrev = "", color = "#3AB500", shortname = "",},
["Union of Moderate Parties"] = {abbrev = "UMP", color = "#02A0E9", shortname = "",},
["Union of Myanmar Federation of National Politics"] = {abbrev = "UMFNP", color = "#FFFFFF", shortname = "",},
["Union of Nigerien Independents and Sympathisers"] = {abbrev = "", color = "blue", shortname = "",},
["Union of October 17"] = {abbrev = "", color = "#00529C", shortname = "Octobrist",},
["Union of Patriotic Forces and Militaries of the Reserve Defense"] = {abbrev = "", color = "darkgreen", shortname = "",},
["Union of People's Parties"] = {abbrev = "", color = "#007FFF", shortname = "",},
["Union of Persecutees of the Nazi Regime"] = {abbrev = "", color = "#e3001a", shortname = "",},
["Union of Poles of Romania"] = {abbrev = "", color = "#D4213D", shortname = "Dom Polski",},
["Union of Pro Patria and Res Publica"] = {abbrev = "", color = "#00AEEF", shortname = "Pro Patria and Res Publica",},
["Union of Progressive Political Forces"] = {abbrev = "SPPS", color = "#67C4CE", shortname = "",},
["Union of Puerto Rico"] = {abbrev = "", color = "#FFBBFF", shortname = "Union",},
["Union of Radicals, Centrists, Independents and Democrats"] = {abbrev = "", color = "#E2725B", shortname = "",},
["Union of Reform Forces of Yugoslavia"] = {abbrev = "SRSJ", color = "lightcoral", shortname = "",},
["Union of Republican Forces"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Union of Right Forces"] = {abbrev = "SPS", color = "#1042A5", shortname = "",},
["Union of Right-Wing Parties"] = {abbrev = "", color = "#8CC74B", shortname = "",},
["Union of Serbs of Romania"] = {abbrev = "USR", color = "#7D2124", shortname = "",},
["Union of Social Democrats of Bosnia and Herzegovina"] = {abbrev = "", color = "red", shortname = "",},
["Union of Socialist Movements"] = {abbrev = "UMS", color = "#3F3991", shortname = "",},
["Union of Talavera and Region"] = {abbrev = "", color = "#F38512", shortname = "",},
["Union of the Catalan Left"] = {abbrev = "", color = "#86A837", shortname = "",},
["Union of the Centre (1993)"] = {abbrev = "UdC", color = "#659EC7", shortname = "",},
["Union of the Centre (2002)"] = {abbrev = "UDC", color = "#87CEFA", shortname = "",},
["Union of the Centre and Christian Democracy of Catalonia"] = {abbrev = "", color = "#F8471B", shortname = "",},
["Union of the Centre of Catalonia"] = {abbrev = "", color = "#03317E", shortname = "",},
["Union of the Centrist Center"] = {abbrev = "", color = "#B22222", shortname = "",},
["Union of the Democratic Centre (Argentina)"] = {abbrev = "UCEDE", color = "#6495ED", shortname = "Union of the Democratic Centre",},
["Union of the Democratic Centre (Greece)"] = {abbrev = "EDIK", color = "#FF7F50", shortname = "Union of the Democratic Centre",},
["Union of the Democratic Centre (Spain)"] = {abbrev = "UCD", color = "#197E36", shortname = "",},
["Union of the Democratic Forces"] = {abbrev = "", color = "#DE3163", shortname = "",},
["Union of the Forces of Change (Guinea)"] = {abbrev = "", color = "#8DA15A", shortname = "",},
["Union of the Forces of Progress"] = {abbrev = "UFP", color = "#FF7F00", shortname = "",},
["Union of the Gabonese People"] = {abbrev = "UPG", color = "blue", shortname = "",},
["Union of the Left (France)"] = {abbrev = "", color = "#FFD1DC", shortname = "Union of the Left",},
["Union of the National Right"] = {abbrev = "", color = "#4A07C8", shortname = "",},
["Union of the Peoples of Cameroon"] = {abbrev = "UPC", color = "#E50101", shortname = "",},
["Union of the Peoples of Murcia"] = {abbrev = "", color = "#0D4E8E", shortname = "",},
["Union of the Right and Centre"] = {abbrev = "UDC", color = "#71BBDE", shortname = "",},
["Union of the Salamancan People"] = {abbrev = "", color = "#00009F", shortname = "",},
["Union of the Ukrainians of Romania"] = {abbrev = "SUR", color = "#0057b7", shortname = "",},
["Union of the Workers of Slovakia"] = {abbrev = "ZRS", color = "#8B0000", shortname = "",},
["Union Party (Faroe Islands)"] = {abbrev = "", color = "#006CB4", shortname = "Union",},
["Union Party (Lebanon)"] = {abbrev = "", color = "#8B8589", shortname = "Union Party",},
["Union Party (US)"] = {abbrev = "", color = "#7F3300", shortname = "Union",},
["Union Party for the People"] = {abbrev = "", color = "#FF8C00", shortname = "Party of the U",},
["Unión por San Luis"] = {abbrev = "", color = "#00ADEE", shortname = "",},
["Unión Portuense"] = {abbrev = "", color = "#6DAB3C", shortname = "",},
["Union Progressive Party (Illinois)"] = {abbrev = "", color = "#7F3300", shortname = "Union Progressive",},
["Union Solidarity and Development Party"] = {abbrev = "USDP", color = "#006B31", shortname = "",},
["Union, Progress and Democracy"] = {abbrev = "UPyD", color = "#E9008C", shortname = "",},
["Unionist Democratic Union"] = {abbrev = "UDU", color = "Maroon", shortname = "",},
["Unionist Party (Guatemala)"] = {abbrev = "", color = "#273284", shortname = "Unionist",},
["Unionist Party (Punjab)"] = {abbrev = "", color = "#0000FF", shortname = "Unionist",},
["Unionist Party (Scotland)"] = {abbrev = "", color = "#5555FF", shortname = "Unionist",},
["Unionist Party (South Africa)"] = {abbrev = "", color = "#9ACD32", shortname = "Unionist",},
["Unionist Party (UK)"] = {abbrev = "", color = "#0087DC", shortname = "Unionist",},
["Unionist Party (US)"] = {abbrev = "", color = "#FFAADD", shortname = "Unionist",},
["Unionist Party of Northern Ireland"] = {abbrev = "", color = "#ffa07a", shortname = "Unionist Party NI",},
["Unique Gorani Party"] = {abbrev = "JGP", color = "#FFCF40", shortname = "",},
["UNIR Constitutional Nationalist Party"] = {abbrev = "PNC–UNIR", color = "#004298", shortname = "UNIR Party",},
["Unir Movement"] = {abbrev = "", color = "#D60B51", shortname = "",},
["UNITA"] = {abbrev = "", color = "#006600", shortname = "",},
["Unitarian Candidacy of Workers"] = {abbrev = "", color = "#117D25", shortname = "",},
["Unitarian Socialist Party"] = {abbrev = "", color = "#8B1C62", shortname = "Unitarian Socialists",},
["Unitary Candidacy of Estella"] = {abbrev = "", color = "#C56E8B", shortname = "",},
["Unitary Democratic Coalition (2022)"] = {abbrev = "CDU", color = "#84AD15", shortname = "",},
["Unitary Democratic Coalition"] = {abbrev = "CDU", color = "#FF0000", shortname = "",},
["Unitary National Liberation Front"] = {abbrev = "JNOF", color = "#DD0000", shortname = "",},
["Unitary Party"] = {abbrev = "", color = "#ADD8E6", shortname = "",},
["Unitary Party for the Construction of Mauritania"] = {abbrev = "PUCM", color = "#F7941D", shortname = "",},
["Unitary Socialist Party (Italy, 1922)"] = {abbrev = "", color = "#E35A5A", shortname = "Unitary Socialist Party",},
["Unitary Socialist Party–Socialist Agreement"] = {abbrev = "PSU–IS", color = "#DB341E", shortname = "",},
["Unitat pel Canvi Sabadell"] = {abbrev = "", color = "#5E305B", shortname = "",},
["Unite por la Libertad y la Dignidad"] = {abbrev = "UNITE", color = "#6bc1e4", shortname = "",},
["Unite Principality"] = {abbrev = "SMP", color = "#011A5D", shortname = "",},
["United (Canarian electoral alliance)"] = {abbrev = "", color = "#26348C", shortname = "",},
["United Abkhazia"] = {abbrev = "", color = "#C92D25", shortname = "",},
["United African National Council"] = {abbrev = "UANC", color = "#808000", shortname = "",},
["United Algeciran Youth"] = {abbrev = "", color = "#34C4F9", shortname = "",},
["United Alliance Sabah"] = {abbrev = "", color = "#0AD9EF", shortname = "",},
["United and Alternative Left"] = {abbrev = "EUiA", color = "#D21145", shortname = "",},
["United and Republican Left"] = {abbrev = "", color = "#D63231", shortname = "",},
["United Ants"] = {abbrev = "", color = "#000000", shortname = "",},
["United Arab List (1977)"] = {abbrev = "", color = "#C61318", shortname = "United Arab List",},
["United Arab List"] = {abbrev = "", color = "#15793D", shortname = "Ra'am",},
["United Armenia Party (Armenia)"] = {abbrev = "", color = "#F7A921", shortname = "",},
["United Australia Party"] = {abbrev = "", color = "#00008B", shortname = "United Australia",},
["United Australia Party (2013)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia",},
["United Australia Party (Australian Capital Territory)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (New South Wales)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (Northern Territory)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (Queensland)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (South Australia)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (Tasmania)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (Victoria)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (Western Australia)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Bahamian Party"] = {abbrev = "", color = "#02006c", shortname = "",},
["United Bangsamoro Justice Party"] = {abbrev = "UBJP", color = "#026701", shortname = "",},
["United Bermuda Party"] = {abbrev = "UBP", color = "#3366cc", shortname = "",},
["United Black Association for Development"] = {abbrev = "UBAD", color = "#000000", shortname = "",},
["United Bumiputera Heritage Party"] = {abbrev = "", color = "#F0E98B", shortname = "",},
["United Can Picafort"] = {abbrev = "", color = "#567297", shortname = "",},
["United Canarian People"] = {abbrev = "", color = "#F73431", shortname = "",},
["United Cantabrian Left Group"] = {abbrev = "", color = "#E71839", shortname = "",},
["United Centre (Chile)"] = {abbrev = "", color = "#037E3B", shortname = "",},
["United Centre"] = {abbrev = "", color = "#FFE200", shortname = "",},
["United Ceuta"] = {abbrev = "", color = "#4A4542", shortname = "",},
["United Christian Democratic Party"] = {abbrev = "", color = "#78a22c", shortname = "",},
["United Christian Democrats"] = {abbrev = "CDU", color = "lightblue", shortname = "",},
["United Christian Party (Hungary)"] = {abbrev = "", color = "#006857", shortname = "United Christian",},
["United Citizen Party"] = {abbrev = "", color = "#04B486", shortname = "",},
["United Citizens"] = {abbrev = "", color = "#B8BFFE", shortname = "",},
["United Citizens Party"] = {abbrev = "", color = "#778899", shortname = "United Citizens",},
["United Civic Alliance Party"] = {abbrev = "", color = "#253F9E", shortname = "",},
["United Civic Party"] = {abbrev = "AGP", color = "#EA1C1C", shortname = "",},
["United Civil Front"] = {abbrev = "OGF", color = "#134EA2", shortname = "",},
["United Coalition"] = {abbrev = "", color = "#1863DC", shortname = "",},
["United Communist League of Bangladesh"] = {abbrev = "UCL", color = "#EC435A", shortname = "",},
["United Communist Party of Armenia"] = {abbrev = "HMKK", color = "red", shortname = "",},
["United Communist Party of India"] = {abbrev = "UCPI", color = "red", shortname = "",},
["United Congress (South Africa)"] = {abbrev = "", color = "#50C878", shortname = "",},
["United Conservative Party (Chile)"] = {abbrev = "", color = "#0000FF", shortname = "",},
["United Conservative Party"] = {abbrev = "", color = "#0000FF", shortname = "",},
["United Country Party (Australia)"] = {abbrev = "UCP", color = "#006644", shortname = "United Country",},
["United Cyprus Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["United Democrat Party"] = {abbrev = "", color = "black", shortname = "United Democrat",},
["United Democratic Alliance (Kenya)"] = {abbrev = "UDA", color = "#F4CB23", shortname = "",},
["United Democratic Alliance (Nagaland)"] = {abbrev = "UDA", color = "#800000", shortname = "",},
["United Democratic Alliance (Zambia)"] = {abbrev = "UDA", color = "yellow", shortname = "",},
["United Democratic Centre (El Salvador)"] = {abbrev = "CDU", color = "#FFFF00", shortname = "",},
["United Democratic Electoral Commission"] = {abbrev = "CEUD", color = "red", shortname = "",},
["United Democratic Forces"] = {abbrev = "ODS", color = "#0C4BAC", shortname = "",},
["United Democratic Forces of Belarus"] = {abbrev = "ADSB", color = "#FF0000", shortname = "",},
["United Democratic Forum Party"] = {abbrev = "UDF", color = "#FFF100", shortname = "",},
["United Democratic Front (Arunachal Pradesh)"] = {abbrev = "", color = "#800000", shortname = "",},
["United Democratic Front (Botswana)"] = {abbrev = "UDF", color = "Orange", shortname = "",},
["United Democratic Front (India)"] = {abbrev = "UDF", color = "skyblue", shortname = "",},
["United Democratic Front (Kerala)"] = {abbrev = "UDF", color = "#0078FF", shortname = "",},
["United Democratic Front (Malawi)"] = {abbrev = "UDF", color = "#FFFF00", shortname = "",},
["United Democratic Front (Nagaland)"] = {abbrev = "", color = "#800000", shortname = "",},
["United Democratic Front (Namibia)"] = {abbrev = "UDF", color = "#314BB2", shortname = "",},
["United Democratic Front (Thailand)"] = {abbrev = "", color = "#CFECEC", shortname = "United Democratic",},
["United Democratic Front"] = {abbrev = "UDF", color = "#add8e6", shortname = "",},
["United Democratic Left"] = {abbrev = "EDA", color = "lightblue", shortname = "",},
["United Democratic Movement"] = {abbrev = "UDM", color = "#FFB300", shortname = "",},
["United Democratic Movement (Kenya)"] = {abbrev = "UDM", color = "#F6FC4F", shortname = "",},
["United Democratic Party (Belize)"] = {abbrev = "UDP", color = "#CE1126", shortname = "",},
["United Democratic Party (Kenya)"] = {abbrev = "UDP", color = "#A42D31", shortname = "",},
["United Democratic Party (Malaysia)"] = {abbrev = "UDP", color = "#FF0000", shortname = "",},
["United Democratic Party (Meghalaya)"] = {abbrev = "UDP", color = "#FE0002", shortname = "",},
["United Democratic Party (Solomon Islands)"] = {abbrev = "UDP", color = "#F0E68C", shortname = "United Democratic",},
["United Democratic Party (South Korea, 1995)"] = {abbrev = "UDP", color = "red", shortname = "United Democratic",},
["United Democratic Party (South Korea, 2008)"] = {abbrev = "UDP", color = "#419639", shortname = "United Democratic",},
["United Democratic Party (Tanzania)"] = {abbrev = "UDP", color = "#437806", shortname = "",},
["United Democratic Party (The Gambia)"] = {abbrev = "UDP", color = "#FEE119", shortname = "",},
["United Democratic Sabah People's Power Party"] = {abbrev = "SETIA", color = "", shortname = "",},
["United Democratic Serbia"] = {abbrev = "", color = "#FDB515", shortname = "",},
["United Democrats (Sint Maarten)"] = {abbrev = "UD", color = "#3BB54C", shortname = "",},
["United Democrats of Hong Kong"] = {abbrev = "UDHK", color = "#136C56", shortname = "United Democrats",},
["United Democrats"] = {abbrev = "EDI", color = "#FFD700", shortname = "",},
["United Development Party"] = {abbrev = "PPP", color = "#00A100", shortname = "",},
["United Ecuadorian"] = {abbrev = "", color = "#382983", shortname = "",},
["United Ethiopian Democratic Forces"] = {abbrev = "", color = "#04A507", shortname = "",},
["United Extremadura"] = {abbrev = "EU", color = "#085500", shortname = "",},
["United Federal Party"] = {abbrev = "", color = "#0087DC", shortname = "United Party",},
["United for a New Alternative"] = {abbrev = "", color = "#3C3C3C", shortname = "",},
["United for Change"] = {abbrev = "", color = "#000000", shortname = "",},
["United for Chiclana"] = {abbrev = "", color = "#9E1831", shortname = "",},
["United for Gran Canaria"] = {abbrev = "UxGC", color = "#26348C", shortname = "",},
["United for Human Rights"] = {abbrev = "", color = "#F79CD0", shortname = "",},
["United for Justice"] = {abbrev = "UZP", color = "#749C75", shortname = "",},
["United for Lanzarote"] = {abbrev = "", color = "#0196BB", shortname = "",},
["United for Latvia"] = {abbrev = "", color = "#C7057F", shortname = "",},
["United for Macedonia"] = {abbrev = "", color = "#F7C317", shortname = "",},
["United for Paracuellos"] = {abbrev = "", color = "#4B8642", shortname = "",},
["United for the Future (Spain)"] = {abbrev = "", color = "#6E0374", shortname = "",},
["United for the Victory of Serbia"] = {abbrev = "UZPS", color = "#2578CC", shortname = "",},
["United for Valencia"] = {abbrev = "", color = "#084D84", shortname = "",},
["United Free Citizens"] = {abbrev = "", color = "#B11C05", shortname = "",},
["United Front (Ceylon)"] = {abbrev = "", color = "#0000FF", shortname = "",},
["United Front (PRC)"] = {abbrev = "", color = "#BC0101", shortname = "United Front",},
["United Front (Trinidad and Tobago)"] = {abbrev = "", color = "#faf333", shortname = "",},
["United Front for the Service of the People"] = {abbrev = "UFSP", color = "#000000", shortname = "",},
["United Front of Nagaland"] = {abbrev = "UDF", color = "#40FF40", shortname = "",},
["United Front Party (Ghana)"] = {abbrev = "", color = "black", shortname = "",},
["United Future Party"] = {abbrev = "", color = "#EF426F", shortname = "United Future",},
["United Future"] = {abbrev = "", color = "#501557", shortname = "",},
["United Galicia"] = {abbrev = "", color = "#93E4FF", shortname = "",},
["United Gipuzkoa"] = {abbrev = "", color = "#4A4961", shortname = "",},
["United Goans Democratic Party"] = {abbrev = "UGDP", color = "#5bb30e", shortname = "",},
["United Goans Party"] = {abbrev = "", color = "#CA8642", shortname = "",},
["United Gold Coast Convention"] = {abbrev = "UGCC", color = "#008000", shortname = "",},
["United Guadeloupe, Socialism and Realities"] = {abbrev = "GUSR", color = "#FD3F92", shortname = "",},
["United Guadeloupe, Solidary and Responsible"] = {abbrev = "", color = "#263E7E", shortname = "",},
["United Hearts Movement"] = {abbrev = "", color = "#0B72C6", shortname = "",},
["United Homeland Party"] = {abbrev = "", color = "#203763", shortname = "",},
["United in Europe"] = {abbrev = "UiE", color = "#000080", shortname = "",},
["United in Hope"] = {abbrev = "BBY", color = "#7A4D30", shortname = "",},
["United Independent Democratic Front"] = {abbrev = "FDUI", color = "darkred", shortname = "",},
["United Independent Front"] = {abbrev = "", color = "#000000", shortname = "",},
["United Independent Movement"] = {abbrev = "", color = "silver", shortname = "",},
["United Independent Party"] = {abbrev = "", color = "#11426D", shortname = "United Independent",},
["United Independents (Chile)"] = {abbrev = "", color = "#274470", shortname = "United Independents",},
["United Independents"] = {abbrev = "", color = "#9966CC", shortname = "",},
["United Irish League"] = {abbrev = "UIL", color = "#90EE90", shortname = "United Irish League",},
["United Kingdom First Party"] = {abbrev = "", color = "#00009C", shortname = "UK First",},
["United Kyrgyzstan"] = {abbrev = "BK", color = "#DF2D13", shortname = "Butun Kyrgyzstan",},
["United Korea Party (1962)"] = {abbrev = "UK", color = "#312F2A", shortname = "United Korea",},
["United La Coruña"] = {abbrev = "", color = "#4B4A46", shortname = "",},
["United Labour Front"] = {abbrev = "ULF", color = "#aaa9ad", shortname = "",},
["United Labour Party (Armenia)"] = {abbrev = "", color = "#2A5E41", shortname = "",},
["United Labour Party (New Zealand)"] = {abbrev = "", color = "#FF4040", shortname = "United Labour",},
["United Labour Party (Northern Ireland)"] = {abbrev = "", color = "#ff0000", shortname = "United Labour",},
["United Labour Party (Papua New Guinea)"] = {abbrev = "ULP", color = "#F79122", shortname = "",},
["United Left (Bolivia)"] = {abbrev = "IU", color = "#FFE44A", shortname = "",},
["United Left (Ireland)"] = {abbrev = "UL", color = "#FF5555", shortname = "United Left",},
["United Left (Peru)"] = {abbrev = "", color = "#800000", shortname = "United Left",},
["United Left (Poland)"] = {abbrev = "", color = "#EC1C24", shortname = "",},
["United Left (San Marino)"] = {abbrev = "SU", color = "#BE1824", shortname = "",},
["United Left (Slovenia)"] = {abbrev = "ZL", color = "#ff3732", shortname = "",},
["United Left (Spain)"] = {abbrev = "IU", color = "#732021", shortname = "",},
["United Left Alliance"] = {abbrev = "", color = "#FF3300", shortname = "",},
["United Left of the Valencian Country (1978)"] = {abbrev = "", color = "#E34234", shortname = "",},
["United Left–Greens"] = {abbrev = "EB–B", color = "#D46459", shortname = "",},
["United Left–Valencian People's Union"] = {abbrev = "", color = "#FF787F", shortname = "",},
["United Left/The Greens–Assembly for Andalusia"] = {abbrev = "IULV–CA", color = "#009150", shortname = "",},
["United Liberal Democrats"] = {abbrev = "", color = "#009035", shortname = "United Liberal Democrats",},
["United Liberal Party (Chile)"] = {abbrev = "", color = "gold", shortname = "United Liberal",},
["United Liberal Party (Zambia)"] = {abbrev = "", color = "yellow", shortname = "",},
["United Linares Independent Citizens"] = {abbrev = "", color = "#8D2E23", shortname = "",},
["United List (Latvia)"] = {abbrev = "AS", color = "#FFAC01", shortname = "",},
["United Malays National Organisation"] = {abbrev = "UMNO", color = "#C00000", shortname = "",},
["United Montenegro"] = {abbrev = "UCG", color = "#2598D4", shortname = "",},
["United Motherland"] = {abbrev = "", color = "#E31E24", shortname = "United Motherland",},
["United National Congress"] = {abbrev = "UNC", color = "#FCCC08", shortname = "",},
["United National Federal Party"] = {abbrev = "", color = "#FFFF33", shortname = "",},
["United National Front (Afghanistan)"] = {abbrev = "", color = "black", shortname = "United National Front",},
["United National Front (Singapore)"] = {abbrev = "UNF", color = "", shortname = "",},
["United National Front (Sri Lanka)"] = {abbrev = "UNF", color = "#008000", shortname = "United National Front",},
["United National Front for Good Governance"] = {abbrev = "UNFGG", color = "#1CAE05", shortname = "",},
["United National Independence Party"] = {abbrev = "UNIP", color = "#177618", shortname = "",},
["United National Initiative (Armenia)"] = {abbrev = "", color = "#202C56", shortname = "",},
["United National Loktantrik Party"] = {abbrev = "UNLP", color = "#9A2EFE", shortname = "",},
["United National Movement (Georgia)"] = {abbrev = "UNM", color = "#BC0000", shortname = "",},
["United National Movement (Saint Kitts-Nevis-Anguilla)"] = {abbrev = "", color = "#4197d1", shortname = "",},
["United National Party"] = {abbrev = "UNP", color = "#1CAE05", shortname = "",},
["United National Progressive Alliance"] = {abbrev = "TF", color = "red", shortname = "",},
["United National Workers' Party"] = {abbrev = "PUNT", color = "#989898", shortname = "",},
["United Nationalist Alliance"] = {abbrev = "UNA", color = "#FE4D00", shortname = "",},
["United Nationalist Democratic Organization"] = {abbrev = "UNIDO", color = "#FFFF00", shortname = "",},
["United Nationalist Movement"] = {abbrev = "ENEK", color = "black", shortname = "",},
["United Neighbors"] = {abbrev = "", color = "#2A7F9E", shortname = "",},
["United New Zealand"] = {abbrev = "", color = "#663377", shortname = "United NZ",},
["United for Hungary"] = {abbrev = "", color = "#4CB5A2", shortname = "",},
["United Opposition (Philippines)"] = {abbrev = "UNO", color = "#0000FF", shortname = "",},
["United Opposition of Serbia"] = {abbrev = "", color = "#1982C3", shortname = "",},
["United Ossetia"] = {abbrev = "", color = "#3498DB", shortname = "",},
["United Parties"] = {abbrev = "", color = "#800080", shortname = "",},
["United Party (Gambia)"] = {abbrev = "", color = "black", shortname = "",},
["United Party (Ghana)"] = {abbrev = "", color = "#008000", shortname = "",},
["United Party (Indonesia)"] = {abbrev = "PP", color = "#00923F", shortname = "",},
["United Party (New Zealand)"] = {abbrev = "", color = "#BBFFFF", shortname = "United",},
["United Party (Papua New Guinea)"] = {abbrev = "", color = "#D25A52", shortname = "United Party",},
["United Party (South Africa)"] = {abbrev = "", color = "#318CE7", shortname = "United",},
["United Party (Western Australia)"] = {abbrev = "", color = "#6495ED", shortname = "United",},
["United Party for Development and Democracy"] = {abbrev = "PUDD", color = "#FFD700", shortname = "",},
["United Party for National Development"] = {abbrev = "UPND", color = "#D23438", shortname = "",},
["United Party of Independent Alliance"] = {abbrev = "UPIA", color = "#B72024", shortname = "",},
["United Party of Retirees and Pensioners"] = {abbrev = "PURP", color = "#1CB878", shortname = "",},
["United Pasok Momogun Organisation"] = {abbrev = "UPMO", color = "blue", shortname = "",},
["United Pasok Nunukragang National Organisation"] = {abbrev = "PASOK", color = "indigo", shortname = "",},
["United Pasokmomogun Kadazan Organisation"] = {abbrev = "UPKO", color = "#ABCDFF", shortname = "",},
["United Pasokmomogun Kadazandusun Murut Organisation"] = {abbrev = "", color = "#ABCDFF", shortname = "",},
["United Pasokmomogun Kadazandusun Organisation"] = {abbrev = "", color = "#00008B", shortname = "",},
["United Patriots"] = {abbrev = "OP", color = "#009B75", shortname = "",},
["United Peasant Party"] = {abbrev = "USS", color = "#50C878", shortname = "",},
["United People (Chile)"] = {abbrev = "", color = "#E4040F", shortname = "",},
["United People (Costa Rica)"] = {abbrev = "PU", color = "#AD0430", shortname = "",},
["United People Alliance"] = {abbrev = "APU", color = "#EB3D43", shortname = "",},
["United People for Social Renovation"] = {abbrev = "", color = "#8B4513", shortname = "",},
["United People's Coalition"] = {abbrev = "", color = "#00A86B", shortname = "",},
["United People's Freedom Alliance"] = {abbrev = "UPFA", color = "#1609F7", shortname = "",},
["United People's Front"] = {abbrev = "FPU", color = "#CAB24F", shortname = "",},
["United People's Front of Nepal"] = {abbrev = "", color = "darkred", shortname = "",},
["United People's Movement (Colombia)"] = {abbrev = "", color = "#483674", shortname = "",},
["United People's Movement (Namibia)"] = {abbrev = "UPM", color = "#00A064", shortname = "",},
["United People's Party (Bulgaria)"] = {abbrev = "", color = "#0060AA", shortname = "",},
["United People's Party (Liberia)"] = {abbrev = "UPP", color = "#ff0000", shortname = "",},
["United People's Party (Poland)"] = {abbrev = "ZSL", color = "#05764E", shortname = "",},
["United People's Party (Singapore)"] = {abbrev = "UPP", color = "#0055FE", shortname = "",},
["United People's Party (Sint Maarten)"] = {abbrev = "", color = "#94D60A", shortname = "",},
["United People's Party (South Korea)"] = {abbrev = "", color = "#229875", shortname = "",},
["United People's Party (UK)"] = {abbrev = "", color = "#339900", shortname = "United People's Party",},
["United People's Party (Zimbabwe)"] = {abbrev = "UPP", color = "#40E0D0", shortname = "",},
["United People's Party Liberal"] = {abbrev = "UPPL", color = "#FAED09", shortname = "",},
["United People's Party"] = {abbrev = "", color = "#A3B847", shortname = "",},
["United People's Progressive Party"] = {abbrev = "ONPP", color = "#B87333", shortname = "",},
["United People"] = {abbrev = "", color = "#0066ff", shortname = "",},
["United Peoples Party (Fiji)"] = {abbrev = "UPP", color = "#32CD32", shortname = "",},
["United Peoples' Democratic Party"] = {abbrev = "UDUB", color = "#008000", shortname = "",},
["United Peoples' Party (Bangladesh)"] = {abbrev = "UPP", color = "#00DACA", shortname = "",},
["United Poland"] = {abbrev = "", color = "#19224e", shortname = "",},
["United Pontevedra"] = {abbrev = "", color = "#0099C6", shortname = "",},
["United Popular Front (Iraq)"] = {abbrev = "UPF", color = "yellow", shortname = "",},
["United Popular Front"] = {abbrev = "EPAM", color = "#17479D", shortname = "",},
["United Progressive Alliance (Kenya)"] = {abbrev = "UPA", color = "#EC2328", shortname = "",},
["United Progressive Alliance (Sri Lanka)"] = {abbrev = "", color = "#FF8C00", shortname = "",},
["United Progressive Alliance"] = {abbrev = "UPA", color = "#00BFFF", shortname = "",},
["United Progressive Kinabalu Organisation"] = {abbrev = "UPKO", color = "#ABCDFF", shortname = "",},
["United Progressive Party (Antigua and Barbuda)"] = {abbrev = "UPP", color = "#010F71", shortname = "",},
["United Progressive Party (Barbados)"] = {abbrev = "UPP", color = "#F59324", shortname = "",},
["United Progressive Party (Ghana)"] = {abbrev = "", color = "blue", shortname = "",},
["United Progressive Party (Nigeria)"] = {abbrev = "", color = "#05643a", shortname = "",},
["United Progressive Party (Saint Vincent and the Grenadines)"] = {abbrev = "", color = "#0083FF", shortname = "",},
["United Reform Action"] = {abbrev = "URA", color = "#00cc55", shortname = "",},
["United Regional Front"] = {abbrev = "", color = "#EC2125", shortname = "",},
["United Regions of Serbia"] = {abbrev = "URS", color = "#3BB9FF", shortname = "",},
["United Religious Front"] = {abbrev = "", color = "#172d81", shortname = "",},
["United Republic"] = {abbrev = "RS", color = "#687CD5", shortname = "",},
["United Republican Party (Guyana)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["United Republican Party (Kenya)"] = {abbrev = "URP", color = "#FFD32C", shortname = "",},
["United Republicans"] = {abbrev = "", color = "#651F7A", shortname = "",},
["United Resources Party"] = {abbrev = "URP", color = "#F0E91A", shortname = "",},
["United Revolutionary Nationalist Movement"] = {abbrev = "MNRU", color = "#EB23BC", shortname = "",},
["United Rhodesia Party"] = {abbrev = "", color = "#0087DC", shortname = "United",},
["United Right (Poland)"] = {abbrev = "ZP", color = "#263778", shortname = "",},
["United Right Alliance"] = {abbrev = "ADU", color = "#02275E", shortname = "",},
["United Right Party"] = {abbrev = "", color = "#1B49DD", shortname = "",},
["United Roma Party of Kosovo"] = {abbrev = "", color = "#009933", shortname = "",},
["United Romania Party"] = {abbrev = "", color = "#213C93", shortname = "",},
["United Rotenians"] = {abbrev = "", color = "#00572E", shortname = "",},
["United Russia"] = {abbrev = "", color = "#2E4EA4", shortname = "",},
["United Sabah Alliance"] = {abbrev = "", color = "#1A1A1A", shortname = "",},
["United Sabah Assembly Party"] = {abbrev = "PUSAKA", color = "", shortname = "",},
["United Sabah National Organisation"] = {abbrev = "USNO", color = "#008000", shortname = "",},
["United Sabah National Organisation (New)"] = {abbrev = "USNO (Baru)", color = "#678F43", shortname = "",},
["United Sabah Party"] = {abbrev = "PBS", color = "#ADD8E6", shortname = "",},
["United Sarawak Party"] = {abbrev = "", color = "#FBFF94", shortname = "",},
["United Serbia"] = {abbrev = "JS", color = "#800000", shortname = "",},
["United Serbia (coalition)"] = {abbrev = "UZPS", color = "#2578CC", shortname = "",},
["United Seychelles"] = {abbrev = "", color = "#FF0D13", shortname = "",},
["United Social Democratic Party"] = {abbrev = "", color = "green", shortname = "",},
["United Socialist Alliance"] = {abbrev = "", color = "#FF0000", shortname = "",},
["United Socialist Party (Bolivia)"] = {abbrev = "", color = "#FF4500", shortname = "",},
["United Socialist Party (Sri Lanka)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["United Socialist Party (UK)"] = {abbrev = "", color = "#E32636", shortname = "United Socialist",},
["United Socialist Party of Venezuela"] = {abbrev = "PSUV", color = "#F0001C", shortname = "",},
["United Socialist Workers' Party"] = {abbrev = "PSTU", color = "#C4122D", shortname = "",},
["United Somali Congress"] = {abbrev = "USC", color = "#39944A", shortname = "",},
["United Srpska"] = {abbrev = "US", color = "#00008B", shortname = "",},
["United St. Maarten Party"] = {abbrev = "USP", color = "#71b7ff", shortname = "",},
["United States Pirate Party"] ={abbrev = "USPP", color = "#9258B0", shortname = "Pirate Party",},
["United Taxpayers Party"] = {abbrev = "", color = "#228B22", shortname = "United Taxpayers",},
["United Thai Nation Party"] = {abbrev = "UTN", color = "#273082", shortname = "United Thai Nation",},
["United Thai People's Party"] = {abbrev = "UTPP", color = "#FF0800", shortname = "",},
["United to Advance"] = {abbrev = "", color = "#F46E6E", shortname = "",},
["United to Renew"] = {abbrev = "", color = "#0E8543", shortname = "",},
["United Torah Judaism"] = {abbrev = "UTJ", color = "#003366", shortname = "",},
["United Trade Unions of Serbia Sloga"] = {abbrev = "Sloga", color = "#940F0F", shortname = "",},
["United Traditional Bumiputera Party"] = {abbrev = "", color = "#E30007", shortname = "",},
["United Transformation Movement"] = {abbrev = "UTM", color = "#D7222B", shortname = "",},
["United Tres Cantos"] = {abbrev = "", color = "#D8C018", shortname = "",},
["United Ulster Unionist Party"] = {abbrev = "UUUP", color = "#ff8c00", shortname = "",},
["United Unionist Coalition"] = {abbrev = "", color = "#888888", shortname = "",},
["United Utah Party"] = {abbrev = "", color = "#80151F", shortname = "United Utah",},
["United Valencia"] = {abbrev = "", color = "#01ADD4", shortname = "",},
["United We Can"] = {abbrev = "UP", color = "#800080", shortname = "",},
["United with Arona"] = {abbrev = "", color = "#C2116B", shortname = "",},
["United Women Front"] = {abbrev = "UWF", color = "#E1F5A9", shortname = "",},
["United Workers Party (Saint Lucia)"] = {abbrev = "UWP", color = "#FFC90E", shortname = "",},
["United Workers' Party (Dominica)"] = {abbrev = "UWP", color = "#0F52BA", shortname = "",},
["United Zamora"] = {abbrev = "", color = "#A5A6BD", shortname = "",},
["United–Reform Coalition"] = {abbrev = "", color = "#5EDDBF", shortname = "United/Reform",},
["Uniting Australia Party"] = {abbrev = "", color = "#00B2B2", shortname = "",},
["Unity (Hungary)"] = {abbrev = "", color = "#C71585", shortname = "Unity",},
["Unity (Kyrgyz political party)"] = {abbrev = "", color = "#0083BA", shortname = "Birimdik",},
["Unity (Latvia)"] = {abbrev = "", color = "#85B821", shortname = "Unity",},
["Unity (Northern Ireland)"] = {abbrev = "", color = "olive", shortname = "Unity",},
["Unity (Russian political party)"] = {abbrev = "", color = "#227FCF", shortname = "Unity",},
["Unity (Swedish political party)"] = {abbrev = "", color = "#088332", shortname = "Unity",},
["Unity (Uzbekistan)"] = {abbrev = "", color = "#3385D9", shortname = "",},
["Unity and Democracy Party of Kachin State"] = {abbrev = "", color = "#118D35", shortname = "",},
["Unity and Democracy Party"] = {abbrev = "", color = "#FBF0DC", shortname = "",},
["Unity and Liberty Party"] = {abbrev = "PUL", color = "#861F80", shortname = "",},
["Unity and Peace Party"] = {abbrev = "UPP", color = "#FFFFFF", shortname = "",},
["Unity and Progress Party"] = {abbrev = "PUP", color = "#45D35D", shortname = "",},
["Unity Centre of Communist Revolutionaries of India (Marxist-Leninist) (D.V. Rao)"] = {abbrev = "UCCRI(M-L)", color = "red", shortname = "",},
["Unity Coalition"] = {abbrev = "CU", color = "#2C93FB", shortname = "",},
["Unity Council of Islamic Revolutionary Forces"] = {abbrev = "", color = "#7996E2", shortname = "Unity Council",},
["Unity Fiji Party"] = {abbrev = "", color = "#20B2AA", shortname = "",},
["Unity for Algeciras"] = {abbrev = "", color = "#0474B6", shortname = "",},
["Unity for Alguazas"] = {abbrev = "", color = "#E47747", shortname = "",},
["Unity for Change"] = {abbrev = "", color = "#3BA926", shortname = "",},
["Unity for Chile"] = {abbrev = "", color = "#F25C5D", shortname = "",},
["Unity for Human Rights Party"] = {abbrev = "PBDNJ", color = "#1D70B8", shortname = "",},
["Unity for La Línea"] = {abbrev = "", color = "#3F3BC6", shortname = "",},
["Unity for Narón"] = {abbrev = "", color = "#149511", shortname = "",},
["Unity for Peace and Socialism"] = {abbrev = "", color = "red", shortname = "",},
["Unity for the Future of Macau"] = {abbrev = "UFM", color = "blue", shortname = "",},
["Unity for the Isles"] = {abbrev = "", color = "#EEC657", shortname = "",},
["Unity Labour Party"] = {abbrev = "", color = "#e2231a", shortname = "Unity Labour",},
["Unity Movement"] = {abbrev = "", color = "#2699E4", shortname = "",},
["Unity of Aran"] = {abbrev = "", color = "#EC2923", shortname = "",},
["Unity of Oleksandr Omelchenko"] = {abbrev = "", color = "#249751", shortname = "",},
["Unity of San Hui"] = {abbrev = "", color = "#EE8487", shortname = "",},
["Unity of the People (South Ossetia)"] = {abbrev = "", color = "#C0392B", shortname = "Unity of the People",},
["Unity of the People (Trinidad and Tobago)"] = {abbrev = "UTP", color = "#8743e3", shortname = "",},
["Unity of the People"] = {abbrev = "", color = "#DB0000", shortname = "",},
["Unity Party (Australia)"] = {abbrev = "", color = "#CD5700", shortname = "Unity",},
["Unity Party (Azerbaijan)"] = {abbrev = "", color = "#B48B1F", shortname = "Unity",},
["Unity Party (China)"] = {abbrev = "", color = "#DE2119", shortname = "Unity",},
["Unity Party (Hungary)"] = {abbrev = "", color = "#FFDB52", shortname = "Unity",},
["Unity Party (Hungary, 2009)"] = {abbrev = "ÖP", color = "#80BB3D", shortname = "",},
["Unity Party (Japan)"] = {abbrev = "", color = "#0542A0", shortname = "",},
["Unity Party (Liberia)"] = {abbrev = "UP", color = "#026536", shortname = "",},
["Unity Party (South Ossetia)"] = {abbrev = "", color = "#1C408A", shortname = "Unity Party",},
["Unity Party (Turkey)"] = {abbrev = "TBP", color = "#A91101", shortname = "",},
["Unity Party of America"] = {abbrev = "", color = "#ADD8E6", shortname = "Unity",},
["Unity Party of Kenya"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Unity Party of Nigeria"] = {abbrev = "UPN", color = "#D82628", shortname = "",},
["Unrepresented Peoples Party"] = {abbrev = "UPP", color = "#283048", shortname = "",},
["Up-Country People's Front"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Uplands Party"] = {abbrev = "", color = "#FFFFFF", shortname = "Uplands",},
["Upper Aragon in Common"] = {abbrev = "", color = "#B222EB", shortname = "",},
["Uri Party"] = {abbrev = "", color = "#FFD700", shortname = "Uri",},
["Urquijists"] = {abbrev = "", color = "#3AA8C1", shortname = "Urquijist",},
["Uruguay Assembly"] = {abbrev = "", color = "#24397C", shortname = "",},
["Urza.cz"] = {abbrev = "", color = "#F2E500", shortname = "",},
["US Liberty Party"] = {abbrev = "", color = "#ca0008", shortname = "",},
["Us Moderates"] = {abbrev = "", color = "#2149a7", shortname = "",},
["Us of the Centre"] = {abbrev = "", color = "#0576BD", shortname = "",},
["Us with Italy"] = {abbrev = "", color = "#236186", shortname = "",},
["Us with Salvini"] = {abbrev = "", color = "#0F52BA", shortname = "",},
["USR PLUS"] = {abbrev = "", color = "#00A6FF", shortname = "",},
["Utkal Congress"] = {abbrev = "", color = "#FCEE23", shortname = "",},
["Utreran Party"] = {abbrev = "", color = "#F7DE21", shortname = "",},
["Uttama Prajaakeeya Party"] = {abbrev = "UPP", color = "#E3889D", shortname = "",},
["Uttar Pradesh Revolutionary Socialist Party"] = {abbrev = "", color = "red", shortname = "",},
["Uttar Pradesh United Democratic Front"] = {abbrev = "UPUDF", color = "#58ACFA", shortname = "",},
["Uttarakhand Kranti Dal"] = {abbrev = "UKD", color = "#336666", shortname = "",},
["Uttarakhand Pragatisheel Party"] = {abbrev = "UPP", color = "", shortname = "",},
["Uttarakhand Raksha Morcha"] = {abbrev = "URM", color = "#d60100", shortname = "",},
["UW"] = {abbrev = "", color = "blue", shortname = "",},
["Uzbekistan Liberal Democratic Party"] = {abbrev = "OʻzLiDeP", color = "#009EE3", shortname = "",},
["Uzbekistan National Revival Democratic Party"] = {abbrev = "", color = "#005AA0", shortname = "Milliy Tiklanish",},
["Uzhaippali Makkal Katchi"] = {abbrev = "UMK", color = "yellowgreen", shortname = "",},
["Uzhavar Uzhaippalar Katchi"] = {abbrev = "UUK", color = "green", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
1ae79761f9feeeb46058b60a721e94c6b7916dbc
Module:Political party/M
828
1492
3047
2024-03-09T16:10:52Z
Wikipedia>Number 57
0
+
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["Macau Business Int"] = "Macau Union of Employers Interests",
["Macau Business Interest Union"] = "Macau Union of Employers Interests",
["Macau professional Interest Union"] = "Macau Union of Professional Interests",
["Madhya Pradesh Congress Committee"] = "Indian National Congress",
["Madrilenian Socialist Federation"] = "Spanish Socialist Workers' Party",
["Magdalo para sa Pilipino"] = "Magdalo Party-List",
["Maghrebin Liberal Party"] = "Maghrebi Republican Party",
["Majorité pour l'autre Europe"] = "Movement for France",
["Makabayang Koalisyon ng Mamamayan"] = "Makabayan",
["Makkal Manadu Katchi"] = "Tamizhaga Murpokku Makkal Katchi",
["Malaysia United People's Party"] = "Malaysian United People's Party",
["Malaysian Workers Party"] = "National Trust Party (Malaysia)",
["Mana Motuhake (political party)"] = "Mana Motuhake",
["Mana Party (New Zealand)"] = "Mana Movement",
["Manipur People's Party"] = "Manipur Peoples Party",
["Maori Party"] = "Te Pāti Māori",
["Māori Party"] = "Te Pāti Māori",
["Marek Hilšer"] = "Marek Hilšer to Senate",
["Marijuana Party (United States)"] = "Marijuana Party (US)",
["Marxist-Leninist Party of Germany"] = "Marxist–Leninist Party of Germany",
["Maryland Democratic Party"] = "Democratic Party (United States)",
["Maryland Green Party"] = "Green Party (US)",
["Maryland Republican Party"] = "Republican Party (United States)",
["Massachusetts Democratic Party"] = "Democratic Party (United States)",
["Maurist Conservatives"] = "Maurist Party",
["Meghalaya Democratic Alliance"] = "Meghalaya Democratic Alliance (2018)",
["MEMO"] = "Solution Movement",
["MFG – Austria People – Freedom – Fundamental Rights"] = "MFG Austria – People Freedom Fundamental Rights",
["Mouvement Militant Mauricien"] = "Mauritian Militant Movement",
["Mauritian Social Democrat Party"] = "Parti Mauricien Social-Démocrate",
["Mexican Laborist Party"] = "Laborist Party (Mexico)",
["Michigan Democratic Party"] = "Democratic Party (United States)",
["Michigan Republican Party"] = "Republican Party (United States)",
["Milan Bandić 365 - The Party of Labour and Solidarity"] = "Bandić Milan 365 – Labour and Solidarity Party",
["Mouvement Socialiste Militant"] = "Militant Socialist Movement",
["Military Rule"] = "Military rule",
["Military"] = "Military rule",
["Mineiro Republican Party"] = "Minas Republican Party",
["Minjoo Party of Korea"] = "Democratic Party of Korea",
["Minnesota Democratic Party"] = "Democratic Party (United States)",
["Minnesota Democratic-Farmer-Labor Party"] = "Minnesota Democratic–Farmer–Labor Party",
["Minnesota Progressive Party"] = "Progressive Party (US)",
["Miscellaneous far left"] = "Far-left",
["Miscellaneous far right"] = "Far-right",
["Miscellaneous Left"] = "Miscellaneous left",
["Miscellaneous Right"] = "Miscellaneous right",
["Missouri Democratic Party"] = "Democratic Party (United States)",
["Missouri Republican Party"] = "Republican Party (United States)",
["MMA"] = "Muttahida Majlis-e-Amal",
["MN"] = "German Minority Electoral Committee",
["Mochrena"] = "Christian Movement for a New Haiti",
["Moderate (Estonia)"] = "Social Democratic Party (Estonia)",
["Moderate Party (Rhode Island)"] = "Moderate Party of Rhode Island",
["Moderate People's Party"] = "Social Democratic Party (Estonia)",
["Moderates (Estonia)"] = "Social Democratic Party (Estonia)",
["Modern"] = "Modern (political party)",
["Mongolian People's Revolutionary Party (old)"] = "Mongolian People's Party",
["Mongolian People's Revolutionary Party"] = "Mongolian People's Party",
["Mongolian Traditionally United Party"] = "Mongolian Traditional United Party",
["Montana Democratic Party"] = "Democratic Party (United States)",
["Montana Republican Party"] = "Republican Party (United States)",
["Montana Libertarian Party"] = "Libertarian Party (US)",
["Moramo (political coalition)"] = "We Must (Serbia)",
["Morena"] = "Morena (political party)",
["Morley Borough Independent"] = "Morley Borough Independents",
["Most-Híd"] = "Most–Híd",
["Motherland (Latvia)"] = "New Harmony (Latvia)",
["Motherland People's Party"] = "Sinhalaye Mahasammatha Bhoomiputra Pakshaya",
["Mouvement Réformateur"] = "Reformist Movement",
["Mouvement Rodriguais"] = "Rodrigues Movement",
["Movement for a People's Party"] = "People's Party (US, 2017)",
["Movement for Autonomies"] = "Movement for Autonomy",
["Movement for Change"] = "Gorran Movement",
["Movement for Democratic Change - Tsvangirai"] = "Movement for Democratic Change – Tsvangirai",
["Movement for Democratic Change (pre-2005)"] = "Movement for Democratic Change (1999–2005)",
["Movement for Democratic Change-Tsvangirai"] = "Movement for Democratic Change – Tsvangirai",
["Movement for Justice"] = "Pakistan Tehreek-e-Insaf",
["Movement for Liberty - European Georgia"] = "European Georgia — Movement for Liberty",
["Movement for Multiparty Democracy"] = "Movement for Multi-Party Democracy",
["Movement for the Development of Mayotte"] = "Miscellaneous right",
["Movement for the Future"] = "Movement for the Future of Curaçao",
["Movement for the Liberation of São Tomé and Príncipe/Social Democratic Party"] = "Movement for the Liberation of São Tomé and Príncipe – Social Democratic Party",
["Movement of Citizens"] = "Citizen and Republican Movement",
["Movement of Democratic Socialists (Greece)"] = "Movement of Democratic Socialists",
["Movement of Ecologists - Citizens' Cooperation"] = "Movement of Ecologists – Citizens' Cooperation",
["Movement of Ecologists — Citizens' Cooperation"] = "Movement of Ecologists – Citizens' Cooperation", -- em dash
["Movement of Radicals of the Left"] = "Radical Party of the Left",
["Movementu 21"] = "Movement 21 (Bonaire)",
["Murcian Socialist Federation"] = "Spanish Socialist Workers' Party",
["Muslim League (Opposition)"] = "All-India Muslim League",
["Muslim National Unity Alliance"] = "National Unity Alliance",
["Muttahida Qaumi Movement-Pakistan"] = "Muttahida Qaumi Movement – Pakistan",
["Muttahida Qaumi Movement–Pakistan"] = "Muttahida Qaumi Movement – Pakistan", -- dash difference
}
local full = {
["M10 (political party)"] = {abbrev = "", color = "#232575", shortname = "",},
["Macao Civic Power"] = {abbrev = "", color = "#FF007F", shortname = "Cívico",},
["Macau Union of Employers Interests"] = {abbrev = "", color = "#EDC2FD", shortname = "",},
["Macau Union of Medical Professional Interests"] = {abbrev = "", color = "#2CADC7", shortname = "",},
["Macau Union of Professional Interests"] = {abbrev = "", color = "#FBCBC7", shortname = "",},
["Macau United Citizens Association"] = {abbrev = "ACUM", color = "#DC143C", shortname = "",},
["Macau-Guangdong Union"] = {abbrev = "UGM", color = "#ED6C10", shortname = "",},
["Macedonian Alliance for European Integration"] = {abbrev = "", color = "red", shortname = "",},
["Machrouu Tounes"] = {abbrev = "", color = "#000000", shortname = "",},
["Madem G15"] = {abbrev = "", color = "#01A35A", shortname = "",},
["Madheshi Jana Adhikar Forum, Nepal"] = {abbrev = "MJF-N", color = "orangered", shortname = "",},
["Madheshi Jana Adhikar Forum, Nepal (Loktantrik)"] = {abbrev = "MJAF(L)", color = "lightgreen", shortname = "",},
["Madrid En Pie"] = {abbrev = "", color = "#86073A", shortname = "",},
["Madrilenian Independent Regional Party"] = {abbrev = "", color = "#FA641B", shortname = "",},
["Maendeleo Chap Chap Party"] = {abbrev = "MCC", color = "#632F91", shortname = "",},
["Maendeleo Democratic Party"] = {abbrev = "MDP", color = "#03F601", shortname = "",},
["Magdalo Party-List"] = {abbrev = "", color = "#DC143C", shortname = "Magdalo",},
["Maghrebi Republican Party"] = {abbrev = "", color = "#2B5D29", shortname = "",},
["Magtymguly Youth Organisation of Turkmenistan"] = {abbrev = "TMÃ G", color = "#367A00", shortname = "",},
["Magyar Party (Romania)"] = {abbrev = "PM", color = "#2e502d", shortname = "",},
["Maha Vikas Aghadi"] = {abbrev = "MVA", color = "#1C89B7", shortname = "",},
["Mahachon Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Mahagathbandhan (Bihar)"] = {abbrev = "MGB", color = "#1E6914", shortname = "",},
["Mahagathbandhan (Jharkhand)"] = {abbrev = "MGB", color = "#1E6914", shortname = "",},
["Mahagujarat Janta Party"] = {abbrev = "MJP", color = "#FFFFF5", shortname = "",},
["Mahajana Eksath Peramuna (1956)"] = {abbrev = "MEP", color = "#0000FF", shortname = "Mahajana Eksath Peramuna",},
["Mahajana Eksath Peramuna"] = {abbrev = "MEP", color = "#FF0000", shortname = "",},
["Mahajana Socialist Party"] = {abbrev = "", color = "blue", shortname = "",},
["Mahajot (Assam)"] = {abbrev = "UOF", color = "#52FFCC", shortname = "",},
["Mahan Dal"] = {abbrev = "MD", color = "#330066", shortname = "",},
["Maharashtra Ekikaran Samiti"] = {abbrev = "MES", color = "#FF9933", shortname = "",},
["Maharashtra Navnirman Sena"] = {abbrev = "MNS", color = "#5F2301", shortname = "",},
["Maharashtra Parivartan Sena (T)"] = {abbrev = "", color = "#FF9933", shortname = "",},
["Maharashtra Rajiv Congress"] = {abbrev = "", color = "#9966CC", shortname = "",},
["Maharashtra Swabhiman Paksha"] = {abbrev = "MSHP", color = "#FFA500", shortname = "",},
["Maharashtrawadi Gomantak Party"] = {abbrev = "MGP", color = "#AF7050", shortname = "",},
["Maharlika People's Party"] = {abbrev = "MPP", color = "#000040", shortname = "",},
["Máis Galiza"] = {abbrev = "", color = "#2F9A26", shortname = "",},
["Majadahonda Centrists"] = {abbrev = "", color = "#146F4C", shortname = "",},
["Majd Movement"] = {abbrev = "", color = "#00529F", shortname = "",},
["Majdoor Kisan Union Party"] = {abbrev = "MKUP", color = "#81BEF7", shortname = "",},
["Majlis Bachao Tahreek"] = {abbrev = "", color = "#9900CC", shortname = "",},
["Majlis Wahdat-e-Muslimeen"] = {abbrev = "MWM", color = "#0B9A51", shortname = "",},
["Majorcan Union"] = {abbrev = "UM", color = "#333583", shortname = "",},
["Majorera Assembly"] = {abbrev = "AM", color = "#284BAF", shortname = "",},
["Majorero Progressive Party"] = {abbrev = "", color = "#3C6C06", shortname = "",},
["Makabayan"] = {abbrev = "", color = "#29176E", shortname = "",},
["Makatizens United Party"] = {abbrev = "MKTZNU", color = "#1F51FF", shortname = "",},
["Make Politicians History"] = {abbrev = "", color = "#FFC0CB", shortname = "",},
["Maki (historical political party)"] = {abbrev = "", color = "#FF524D", shortname = "Maki",},
["Maki (political party)"] = {abbrev = "", color = "#cb1a1d", shortname = "Maki",},
["Makkal Needhi Maiam"] = {abbrev = "MNM", color = "#900C3F", shortname = "",},
["Makkal Sevai Katchi"] = {abbrev = "", color = "#006060", shortname = "",},
["Makkal Tamil Desam Katchi"] = {abbrev = "MTD", color = "#006060", shortname = "",},
["Málaga Ahora"] = {abbrev = "", color = "#3EA9A7", shortname = "",},
["Málaga for Yes"] = {abbrev = "", color = "#0087BF", shortname = "",},
["Malagasy Revolutionary Party"] = {abbrev = "AREMA", color = "#BB0102", shortname = "",},
["Malawi Congress Party"] = {abbrev = "MCP", color = "#FF0000", shortname = "",},
["Malayan Chinese Association"] = {abbrev = "MCA", color = "#EFCC00", shortname = "",},
["Malayan Party"] = {abbrev = "", color = "black", shortname = "",},
["Malayan Peoples' Socialist Front"] = {abbrev = "", color = "#C00000", shortname = "Socialist Front",},
["Malayang Kilusan ng Mamamayang Zambaleño"] = {abbrev = "", color = "#3344FF", shortname = "MAKIMAZA",},
["Malaysia Makkal Sakti Party"] = {abbrev = "MMSP", color = "orange", shortname = "",},
["Malaysia National Alliance Party"] = {abbrev = "", color = "#CD2122", shortname = "",},
["Malaysian Chinese Association"] = {abbrev = "MCA", color = "#102a7e", shortname = "",},
["Malaysian Democratic Party"] = {abbrev = "MDP", color = "#0000FF", shortname = "",},
["Malaysian Indian Congress"] = {abbrev = "MIC", color = "#00A988", shortname = "",},
["Malaysian Indian Muslim Congress"] = {abbrev = "", color = "#FFCC00", shortname = "",},
["Malaysian Indian United Party"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Malaysian Islamic Party"] = {abbrev = "", color = "#009000", shortname = "",},
["Malaysian Nationalist Party"] = {abbrev = "NASMA", color = "", shortname = "",},
["Malaysian Social Justice Party"] = {abbrev = "PEKEMAS", color = "#C00000", shortname = "",},
["Malaysian United Democratic Alliance"] = {abbrev = "MUDA", color = "#000000", shortname = "",},
["Malaysian United Indigenous Party"] = {abbrev = "", color = "#E62020", shortname = "",},
["Malaysian United Party"] = {abbrev = "", color = "#F617D4", shortname = "",},
["Malaysian United People's Party"] = {abbrev = "MUPP", color = "#F2D8D8", shortname = "",},
["Maldives Development Alliance"] = {abbrev = "MDA", color = "#DB5702", shortname = "",},
["Maldivian Democratic Party"] = {abbrev = "MDP", color = "#ffcc33", shortname = "",},
["Maldon and District Independent Democratic Alliance"] = {abbrev = "MDIDA", color = "MediumOrchid", shortname = "",},
["Maldon District Independent Group"] = {abbrev = "MDIG", color = "#985FF0", shortname = "Maldon Independents",},
["Malian Union for the African Democratic Rally"] = {abbrev = "", color = "#000000", shortname = "",},
["Malta Workers Party"] = {abbrev = "", color = "#B87333", shortname = "Workers",},
["Maltese Political Union"] = {abbrev = "", color = "#00AD06", shortname = "",},
["Malvern Hills Independents"] = {abbrev = "", color = "pink", shortname = "MH Independents",},
["Mana Māori Movement"] = {abbrev = "", color = "#964B00", shortname = "Mana Māori",},
["Mana Motuhake"] = {abbrev = "", color = "#C32148", shortname = "",},
["Mana Movement"] = {abbrev = "", color = "#770808", shortname = "Mana",},
["Mana Party"] = {abbrev = "", color = "#7C0808", shortname = "",},
["Mana Wahine Te Ira Tangata"] = {abbrev = "", color = "#964B00", shortname = "Mana Wahine",},
["Manav Kalyan Sangh Dal"] = {abbrev = "MKSD", color = "#333300", shortname = "",},
["Manav Samaj Party"] = {abbrev = "MSP", color = "#F2F2F2", shortname = "",},
["Manchegan Regionalist Party"] = {abbrev = "", color = "#DC143C", shortname = "",},
["Manipur Hills Union"] = {abbrev = "", color = "#400080", shortname = "",},
["Manipur Peoples Party"] = {abbrev = "MPP", color = "#99CC99", shortname = "",},
["Manipur State Congress Party"] = {abbrev = "MSCP", color = "#99CC99", shortname = "",},
["Manithaneya Makkal Katchi"] = {abbrev = "MNMK", color = "lime", shortname = "",},
["Manko Taxawu Sénégal"] = {abbrev = "MTS", color = "#FF8040", shortname = "",},
["Mansfield Independent Forum"] = {abbrev = "MIF", color = "#DDDDDD", shortname = "Mansfield Independent",},
["Mantra Bhakta Party"] = {abbrev = "MBP", color = "#FAAC58", shortname = "",},
["Manx Labour Party"] = {abbrev = "", color = "#DC241f", shortname = "Manx Labour",},
["Mapai"] = {abbrev = "", color = "#AD0101", shortname = "",},
["Mapam"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Marada Movement"] = {abbrev = "", color = "#02CB00", shortname = "",},
["Maraland Democratic Front"] = {abbrev = "", color = "#FF8822", shortname = "",},
["March 14 Alliance"] = {abbrev = "M14th", color = "#d61a21", shortname = "M14th",},
["March 26 Movement"] = {abbrev = "", color = "#E34234", shortname = "",},
["March 8 Alliance"] = {abbrev = "44263", color = "#FF6000", shortname = "",},
["Marcus Garvey People's Political Party"] = {abbrev = "MGPPP", color = "black", shortname = "",},
["Marea Ártabra"] = {abbrev = "", color = "#009AA5", shortname = "",},
["Marea Atlántica"] = {abbrev = "", color = "#009FE3", shortname = "",},
["Marea de Ferrol"] = {abbrev = "", color = "#4EA602", shortname = "",},
["Marea de Vigo"] = {abbrev = "", color = "#C53374", shortname = "",},
["Marea Galeguista"] = {abbrev = "", color = "#205C78", shortname = "",},
["Marea Pontevedra"] = {abbrev = "", color = "#0085BE", shortname = "",},
["Marematlou Freedom Party"] = {abbrev = "MFP", color = "#1bb5a4", shortname = "",},
["Marek Hilšer to Senate"] = {abbrev = "MHS", color = "#87CEFA", shortname = "",},
["Marijuana Party (US)"] = {abbrev = "", color = "#50C878", shortname = "Marijuana",},
["Marijuana Party"] = {abbrev = "", color = "#50C878", shortname = "",},
["Marijuana Reform Party"] = {abbrev = "", color = "#50C878", shortname = "Marijuana Reform",},
["Martinican Communist Party"] = {abbrev = "", color = "#DD0000", shortname = "",},
["Martinican Democratic Rally"] = {abbrev = "RDM", color = "#FFD1DC", shortname = "",},
["Martinican Independence Movement"] = {abbrev = "MIM", color = "#d53736", shortname = "",},
["Martinican Progressive Party"] = {abbrev = "PPM", color = "#ef4836", shortname = "",},
["Martinican Regionalist Party"] = {abbrev = "", color = "#FFCC33", shortname = "",},
["Martists"] = {abbrev = "", color = "#5BAF50", shortname = "Martist",},
["Marumalarchi Dravida Munnetra Kazhagam"] = {abbrev = "MDMK", color = "#FC0000", shortname = "",},
["Marxist Co-ordination Committee"] = {abbrev = "MCC", color = "#c24e4e", shortname = "",},
["Marxist Co-Ordination"] = {abbrev = "", color = "#B22222", shortname = "",},
["Marxist Communist Party of India (S.S. Srivastava)"] = {abbrev = "MCPI(S)", color = "#990099", shortname = "",},
["Marxist Communist Party of India (United)"] = {abbrev = "", color = "red", shortname = "",},
["Marxist Forward Bloc"] = {abbrev = "MFB", color = "red", shortname = "",},
["Marxist Party of Armenia"] = {abbrev = "", color = "red", shortname = "",},
["Marxist–Leninist Communist Party of Greece"] = {abbrev = "M-L KKE", color = "#D71920", shortname = "",},
["Marxist–Leninist Communist Party of Venezuela"] = {abbrev = "", color = "Red", shortname = "",},
["Marxist–Leninist Party of Austria"] = {abbrev = "MLPÖ", color = "red", shortname = "",},
["Marxist–Leninist Party of Germany"] = {abbrev = "MLPD", color = "#FF0000", shortname = "",},
["Marxist–Leninist Popular Action Movement"] = {abbrev = "", color = "red", shortname = "",},
["Más Andalucía"] = {abbrev = "", color = "#445A1A", shortname = "",},
["Más Costa Tropical"] = {abbrev = "", color = "#095B2D", shortname = "",},
["Más Eivissa"] = {abbrev = "", color = "#D60014", shortname = "",},
["Más Granada"] = {abbrev = "", color = "#9D3B23", shortname = "",},
["Más Madrid"] = {abbrev = "", color = "#45BB89", shortname = "",},
["Más País"] = {abbrev = "", color = "#0FDEC4", shortname = "",},
["Más para Entre Ríos"] = {abbrev = "", color = "#A31212", shortname = "",},
["Más Ponferrada"] = {abbrev = "", color = "#B55B8B", shortname = "",},
["MAS Region"] = {abbrev = "", color = "crimson", shortname = "",},
["Mass Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Massachusetts Republican Party"] = {abbrev = "", color = "#ff3300", shortname = "Republican",},
["Masyumi Party"] = {abbrev = "", color = "#000000", shortname = "Masyumi",},
["Matubhum Party"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Mauri Pacific"] = {abbrev = "", color = "#003153", shortname = "",},
["Maurin Kiribati Party"] = {abbrev = "MKP", color = "#48D1CC", shortname = "",},
["Maurist Party"] = {abbrev = "", color = "#0063B6", shortname = "Maurist",},
["Maurists–Ciervists"] = {abbrev = "", color = "#1959AA", shortname = "",},
["Mauritian Militant Movement"] = {abbrev = "MMM", color = "#800080", shortname = "",},
["Mauritanian Party for Renewal"] = {abbrev = "PMR", color = "#6DC2F9", shortname = "",},
["Mauritanian Party of Union and Change"] = {abbrev = "HATEM", color = "#4BB9F2", shortname = "",},
["Mauritanian People's Party"] = {abbrev = "", color = "#006233", shortname = "",},
["Mauritanian Popular Front"] = {abbrev = "", color = "#FDD003", shortname = "",},
["Mauritanian Regroupment Party"] = {abbrev = "", color = "#009F6B", shortname = "",},
["Mauritian Militant Socialist Movement"] = {abbrev = "", color = "red", shortname = "",},
["Mauritian Party of Xavier-Luc Duval"] = {abbrev = "", color = "#0000CD", shortname = "",},
["Mauritian Solidarity Front"] = {abbrev = "", color = "green", shortname = "",},
["Mavambo/Kusile/Dawn"] = {abbrev = "", color = "yellow", shortname = "",},
["Mayor 4 Stoke"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Mayors and Independents"] = {abbrev = "STAN", color = "#CD0F69", shortname = "",},
["Mayors for the Liberec Region"] = {abbrev = "SLK", color = "#804e96", shortname = "",},
["Mazingira Green Party of Kenya"] = {abbrev = "", color = "#009926", shortname = "",},
["McGillicuddy Serious Party"] = {abbrev = "", color = "#FFC0CB", shortname = "McGillicuddy Serious",},
["Mebyon Kernow"] = {abbrev = "", color = "#d5c229", shortname = "",},
["Medrek"] = {abbrev = "", color = "#503335", shortname = "",},
["Meeting Point"] = {abbrev = "", color = "#04770a", shortname = "",},
["Meghalaya Democratic Alliance (2018)"] = {abbrev = "MDA", color = "#006081", shortname = "",},
["Meimad"] = {abbrev = "", color = "#3BABA3", shortname = "",},
["Mejor Vargas Lleras"] = {abbrev = "", color = "#2E3191", shortname = "",},
["Mekenchil"] = {abbrev = "", color = "#1F4B99", shortname = "",},
["Mekenim Kyrgyzstan"] = {abbrev = "", color = "#FFCF06", shortname = "",},
["Melanesian Alliance Party"] = {abbrev = "MAP", color = "#C78919", shortname = "",},
["Melanesian Liberal Party"] = {abbrev = "MLP", color = "#326D93", shortname = "",},
["Melanesian Progressive Party"] = {abbrev = "MPP", color = "#DE3938", shortname = "Melanesian Progressive",},
["Melanesian Progressive Union"] = {abbrev = "UPM", color = "#CC3300", shortname = "",},
["Melillan People's Union"] = {abbrev = "", color = "#0A1555", shortname = "",},
["MELS Movement of Botswana"] = {abbrev = "MELS", color = "red", shortname = "",},
["Memel Agricultural Party"] = {abbrev = "MLP", color = "lightgreen", shortname = "",},
["Menorcan Independent Candidacy"] = {abbrev = "", color = "#B0B0B0", shortname = "",},
["Menorcan Party"] = {abbrev = "", color = "#00D1D1", shortname = "",},
["Menorcan Union"] = {abbrev = "", color = "#10308D", shortname = "",},
["Mensch Im Mittelpunkt"] = {abbrev = "MIM", color = "#9B2A58", shortname = "",},
["Menschliche Welt"] = {abbrev = "", color = "#ee6600", shortname = "",},
["Menshevik"] = {abbrev = "", color = "#ED1B34", shortname = "",},
["MeRA25"] = {abbrev = "", color = "#EF3F24", shortname = "",},
["Merab Kostava Society"] = {abbrev = "", color = "#751133", shortname = "",},
["Mercian Nationalist Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Meretz"] = {abbrev = "", color = "#40AE49", shortname = "",},
["Meretz (2022)"] = {abbrev = "", color = "#23E164", shortname = "",},
["Meri (political party)"] = {abbrev = "", color = "#FF3A3A", shortname = "Meri",},
["Mérida Participa"] = {abbrev = "", color = "#5D225A", shortname = "",},
["Merindades of Castile Initiative"] = {abbrev = "", color = "#335DA3", shortname = "",},
["Merit and Society Movement"] = {abbrev = "", color = "#00B4C8", shortname = "",},
["Merton Park Ward Residents Association"] = {abbrev = "", color = "#9f0fc8", shortname = "Merton Park Residents",},
["Més Compromís"] = {abbrev = "", color = "#DA5C31", shortname = "",},
["Més Esquerra"] = {abbrev = "", color = "#DACE5D", shortname = "",},
["Més Gandia"] = {abbrev = "", color = "#D6502B", shortname = "",},
["Més per Mallorca"] = {abbrev = "Més", color = "#D8DE40", shortname = "",},
["Més per Menorca"] = {abbrev = "MpM", color = "#BCD500", shortname = "",},
["Més–Compromís"] = {abbrev = "", color = "#FF6600", shortname = "",},
["Metapolitical Unitary Movement"] = {abbrev = "", color = "#FC0FC0", shortname = "",},
["Mexborough First"] = {abbrev = "", color = "#000000", shortname = "",},
["Mexican Communist Party"] = {abbrev = "PCM", color = "Red", shortname = "",},
["Mexican Democratic Party"] = {abbrev = "PDM", color = "#CC0000", shortname = "",},
["Mexican Liberal Party"] = {abbrev = "", color = "#CE1126", shortname = "",},
["Mexican Liberal Party (2003)"] = {abbrev = "PLM", color = "#d48a49", shortname = "",},
["MFG Austria – People Freedom Fundamental Rights"] = {abbrev = "MFG", color = "#4E4E4E", shortname = "",},
["MGR Anna Dravida Munnetra Kazhagam"] = {abbrev = "MADMK", color = "maroon", shortname = "",},
["MGR Thonderkal Katchi"] = {abbrev = "", color = "slategray", shortname = "MGR Thonderkal",},
["Mi Pais (political party)"] = {abbrev = "", color = "#00A5DD", shortname = "",},
["Middle Class Party"] = {abbrev = "", color = "#FFFF66", shortname = "",},
["Middle Class Party (Belgium)"] = {abbrev = "", color = "#0000A0", shortname = "Middle Class",},
["Middle Class Union"] = {abbrev = "", color = "#70147A", shortname = "",},
["Middle European Class"] = {abbrev = "", color = "#2E239D", shortname = "",},
["Middleton Independents Party"] = {abbrev = "", color = "#ffcc00", shortname = "Middleton Ind."},
["Middlewich First"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Midroad-Populist Party"] = {abbrev = "", color = "#CCFFCC", shortname = "Midroad-Populist",},
["MIGATO"] = {abbrev = "", color = "#1DA1F2", shortname = "",},
["Mighty Fatherland"] = {abbrev = "", color = "black", shortname = "",},
["Mijas Neighborhood Movement"] = {abbrev = "", color = "#5AD181", shortname = "",},
["Militant (Trotskyist group)"] = {abbrev = "", color = "#ED1941", shortname = "Militant Labour",},
["Militant Elvis Anti-Tesco Popular Front"] = {abbrev = "", color = "#FF00FF", shortname = "",},
["Militant Labour"] = {abbrev = "", color = "#ED1941", shortname = "",},
["Militant Left (Ireland)"] = {abbrev = "", color = "#DC241F", shortname = "Militant Left",},
["Militant Socialist Movement"] = {abbrev = "MSM", color = "#FF8C00", shortname = "",},
["Military (Brazil)"] = {abbrev = "", color = "#808000", shortname = "Military",},
["Military (Italy)"] = {abbrev = "", color = "#C3B091", shortname = "",},
["Military (Japan)"] = {abbrev = "", color = "#808080", shortname = "",},
["Military of Guinea-Bissau"] = {abbrev = "FARP", color = "#C3B091", shortname = "",},
["Military of São Tomé and Príncipe"] = {abbrev = "", color = "#C3B091", shortname = "",},
["Military rule"] = {abbrev = "", color = "#C3B091", shortname = "Military",},
["Millat Party"] = {abbrev = "MP", color = "red", shortname = "",},
["Millennium Democratic Party"] = {abbrev = "", color = "#00AA7B", shortname = "Millennium Democratic",},
["Mindanao Alliance"] = {abbrev = "", color = "#008000", shortname = "",},
["Mindoro Bago Sarili"] = {abbrev = "MBS", color = "#F09042", shortname = "",},
["Ministerialist"] = {abbrev = "", color = "darkblue", shortname = "",},
["Minjoo Party (2014)"] = {abbrev = "", color = "#FFCA08", shortname = "",},
["Minjung Party"] = {abbrev = "", color = "#f26522", shortname = "Minjung",},
["Minkuotang"] = {abbrev = "", color = "#FCC800", shortname = "",},
["Minnesota Democratic–Farmer–Labor Party"] = {abbrev = "", color = "#0055AA", shortname = "Democratic (DFL)",},
["Minnesota Farmer–Labor Party"] = {abbrev = "", color = "#66FF99", shortname = "Farmer–Labor",},
["Minnesota Open Progressive Party"] = {abbrev = "", color = "#CCFF33", shortname = "",},
["Minnesota Pirate Party"] = {abbrev = "", color = "#572b85", shortname = "",},
["Minor Sea Independent Party"] = {abbrev = "", color = "#808040", shortname = "",},
["Minorities' Party"] = {abbrev = "", color = "#000000", shortname = "",},
["Minority Front"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Minority Party (Denmark)"] = {abbrev = "", color = "#FF0800", shortname = "",},
["Minsaeng Party"] = {abbrev = "", color = "#00A85F", shortname = "Minsaeng",},
["Mintō (liberal parties)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Mirae Party"] = {abbrev = "", color = "#2E3192", shortname = "Mirae",},
["Mișcarea Politică Unirea"] = {abbrev = "", color = "#8CD7F6", shortname = "",},
["Miscellaneous centre"] = {abbrev = "DVC", color = "#fcdaa8", shortname = "",},
["Miscellaneous"] = {abbrev = "DIV", color = "#CECECE", shortname = "",},
["Miscellaneous Green"] = {abbrev = "ECO", color = "#8FBC8F", shortname = "",},
["Miscellaneous left"] = {abbrev = "DVG", color = "#FFC0C0", shortname = "",},
["Miscellaneous right"] = {abbrev = "DVD", color = "#ADC1FD", shortname = "",},
["Mission Party"] = {abbrev = "", color = "#17C307", shortname = "Mission",},
["Mississippi Democratic Party"] = {abbrev = "", color = "#3333FF", shortname = "Democratic",},
["Mississippi Freedom Democratic Party"] = {abbrev = "", color = "#3333FF", shortname = "Mississippi Freedom Democratic",},
["Mississippi Republican Party"] = {abbrev = "", color = "#E81B23", shortname = "Republican",},
["Mixed Group"] = {abbrev = "GM", color = "#C0C0C0", shortname = "",},
["Mizo National Front"] = {abbrev = "MNF", color = "#2E5694", shortname = "",},
["Mizo Union"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Mizoram People's Conference"] = {abbrev = "MPC", color = "#FD7793", shortname = "",},
["Mizrachi (political party)"] = {abbrev = "", color = "#37658C", shortname = "Mizrachi",},
["Moderate (London)"] = {abbrev = "", color = "#0087DC", shortname = "Moderate",},
["Moderate Coalition for Åland"] = {abbrev = "", color = "#0095DA", shortname = "Moderate Coalition",},
["Moderate Liberal Party"] = {abbrev = "", color = "#BAE666", shortname = "Moderate Liberal",},
["Moderate Opposition"] = {abbrev = "", color = "#b070ad", shortname = "Moderate",},
["Moderate Party (Brazil)"] = {abbrev = "", color = "#E9FFDB", shortname = "Moderate",},
["Moderate Party (Illinois)"] = {abbrev = "", color = "#66023C", shortname = "Moderate",},
["Moderate Party (Italy)"] = {abbrev = "", color = "#1E87B2", shortname = "",},
["Moderate Party (Spain)"] = {abbrev = "", color = "#1060AF", shortname = "Moderate",},
["Moderate Party of Rhode Island"] = {abbrev = "", color = "#9CCECF", shortname = "Moderate",},
["Moderate Party"] = {abbrev = "M", color = "#019CDB", shortname = "Moderate",},
["Moderate Republicans (France, 1848–1870)"] = {abbrev = "", color = "#FF7F50", shortname = "Republican",},
["Moderate Venstre (Denmark)"] = {abbrev = "", color = "#3333A2", shortname = "Moderate Venstre",},
["Moderates (Denmark)"] = {abbrev = "", color = "#B48CD2", shortname = "Moderates",},
["Moderates (Italy)"] = {abbrev = "", color = "#008ECE", shortname = "Moderates",},
["Moderates (Scotland)"] = {abbrev = "", color = "#5555FF", shortname = "Moderates",},
["Moderates of Åland"] = {abbrev = "", color = "#72cced", shortname = "Moderates",},
["Moderation and Development Party"] = {abbrev = "MDP", color = "#B666D2", shortname = "",},
["Modern (political party)"] = {abbrev = ".N", color = "#005CA9", shortname = "",},
["Modern Centre Party"] = {abbrev = "", color = "#000099", shortname = "",},
["Modern Christian-Democratic Union"] = {abbrev = "MKD", color = "#FF9E23", shortname = "",},
["Modern Egypt Party"] = {abbrev = "", color = "#EB264D", shortname = "",},
["Modern Equality Party"] = {abbrev = "", color = "#eee8aa", shortname = "",},
["Modern Hungary Movement"] = {abbrev = "MoMa", color = "#007DC0", shortname = "",},
["Modern Left"] = {abbrev = "LGM", color = "#A83578", shortname = "",},
["Modern People's Party"] = {abbrev = "MPP", color = "#FFFFFF", shortname = "",},
["Modern Revolutionary Party"] = {abbrev = "", color = "#00416A", shortname = "",},
["Modern Whig Party"] = {abbrev = "", color = "#FF7F00", shortname = "Modern Whig",},
["Modrí, Most – Híd"] = {abbrev = "", color = "#002E74", shortname = "",},
["Moked"] = {abbrev = "", color = "#DC241F", shortname = "",},
["Moledet"] = {abbrev = "", color = "#000080", shortname = "",},
["Momentum (organisation)"] = {abbrev = "", color = "#CC0000", shortname = "Labour (Momentum)",},
["Momentum Movement"] = {abbrev = "", color = "#8E6FCE", shortname = "Momentum",},
["Mon National Party"] = {abbrev = "MNP", color = "#ED2124", shortname = "",},
["Mon Unity Party"] = {abbrev = "MUP", color = "#C13830", shortname = "",},
["Monarchiens"] = {abbrev = "", color = "#1C39BB", shortname = "",},
["Monarchist Action League"] = {abbrev = "", color = "#266F91", shortname = "",},
["Monarchist Cause"] = {abbrev = "CM", color = "#014A94", shortname = "",},
["Monarchist Coalition (Spain)"] = {abbrev = "", color = "#003E70", shortname = "",},
["Monarchist Democratic Party"] = {abbrev = "", color = "#4FA937", shortname = "Democratic",},
["Monarchist National Party"] = {abbrev = "", color = "#4B61D1", shortname = "",},
["Monarchy of Cambodia"] = {abbrev = "", color = "#FFDF00", shortname = "",},
["Monegasque National Union"] = {abbrev = "UNM", color = "#D21116", shortname = "",},
["Monetary Reform Party"] = {abbrev = "MRP", color = "#777777", shortname = "Monetary Reform",},
["Money Reform Party"] = {abbrev = "", color = "#997A8D", shortname = "Money Reform",},
["Mongol National Organisation"] = {abbrev = "", color = "#008080", shortname = "",},
["Mongolian Democratic Party (1990)"] = {abbrev = "", color = "#074da9", shortname = "Democratic",},
["Mongolian Green Party"] = {abbrev = "", color = "green", shortname = "Green",},
["Mongolian National Progress Party"] = {abbrev = "", color = "#006994", shortname = "",},
["Mongolian People's Party"] = {abbrev = "MPP", color = "#ED1B34", shortname = "",},
["Mongolian People's Revolutionary Party (2010)"] = {abbrev = "MPRP", color = "#FE001A", shortname = "",},
["Mongolian Republican Party"] = {abbrev = "", color = "#800080", shortname = "Republican",},
["Mongolian Social Democratic Party"] = {abbrev = "MSDP", color = "#1C5CAC", shortname = "",},
["Mongolian Traditional United Party"] = {abbrev = "", color = "#085CB6", shortname = "",},
["Monise Laafai"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Monitor Action Group"] = {abbrev = "", color = "blue", shortname = "",},
["Monster Raving Loony William Hill Party"] = {abbrev = "", color = "hotpink", shortname = "Monster Raving Loony",},
["Montenegrin Federalist Party"] = {abbrev = "", color = "darkgreen", shortname = "",},
["Montenegrin Party"] = {abbrev = "CP", color = "#E31E25", shortname = "",},
["Montserrat Labour Party"] = {abbrev = "", color = "red", shortname = "",},
["Moovendar Munnetra Kazhagam"] = {abbrev = "", color = "Pink", shortname = "",},
["Moral Vanguard of the Fatherland"] = {abbrev = "VMP", color = "yellow", shortname = "",},
["Morality, Initiative and Patriotism"] = {abbrev = "MIP", color = "#009168", shortname = "",},
["Moravané"] = {abbrev = "", color = "#FFE101", shortname = "",},
["Moravian Democratic Party"] = {abbrev = "MDS", color = "#00ffff", shortname = "",},
["Moravian Land Movement"] = {abbrev = "", color = "#FFDF10", shortname = "",},
["More Europe"] = {abbrev = "", color = "gold", shortname = "",},
["More for Telde"] = {abbrev = "", color = "#08669A", shortname = "",},
["More Galicia"] = {abbrev = "", color = "#0191C6", shortname = "",},
["More Than One Citizen Platform of Guadalajara"] = {abbrev = "", color = "#99CF16", shortname = "",},
["Morecambe Bay Independents"] = {abbrev = "MBI", color = "#000000", shortname = "MB Independent",},
["Morena (political party)"] = {abbrev = "", color = "#C0311A", shortname = "MORENA",},
["Morley Borough Independents"] = {abbrev = "", color = "#006600", shortname = "",},
["Moroccan Communist Party"] = {abbrev = "", color = "red", shortname = "Communist",},
["Moroccan Liberal Party"] = {abbrev = "", color = "#C58E34", shortname = "",},
["Moroccan Union for Democracy"] = {abbrev = "", color = "#CD1237", shortname = "",},
["Moroccan Workers' Union"] = {abbrev = "", color = "#0160B2", shortname = "",},
["Most–Híd"] = {abbrev = "", color = "#F58120", shortname = "Most-Híd",},
["Mostolenian Socialism"] = {abbrev = "", color = "#962016", shortname = "",},
["Motherland Defenders Party"] = {abbrev = "PZV", color = "#E30B5C", shortname = "",},
["Motherland Party (Azerbaijan)"] = {abbrev = "", color = "#022F56", shortname = "Motherland",},
["Motherland Party (Mongolia)"] = {abbrev = "", color = "yellow", shortname = "Motherland",},
["Motherland Party (Turkey)"] = {abbrev = "AP", color = "#FFD300", shortname = "",},
["Motril Dice"] = {abbrev = "", color = "#21A199", shortname = "",},
["Mountain Party"] = {abbrev = "", color = "#004b24", shortname = "Mountain",},
["Mouvement Action Socialiste"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Mouvement Authentique Mauricien"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Mouvement des Citoyens pour le Changement"] = {abbrev = "", color = "#0897A7", shortname = "",},
["Mouvement Franciste"] = {abbrev = "", color = "darkblue", shortname = "",},
["Mouvement Libérateur"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Mouvement Mauricien Sociale Démocrate"] = {abbrev = "", color = "#00BFFF", shortname = "",},
["Mouvement National Congolais"] = {abbrev = "", color = "#0047AB", shortname = "",},
["Move Forward Party"] = {abbrev = "", color = "#FF7F2A", shortname = "Move Forward",},
["Movem Reus"] = {abbrev = "", color = "#71B223", shortname = "",},
["Movement 21"] = {abbrev = "D21", color = "#824D99", shortname = "",},
["Movement 21 (Bonaire)"] = {abbrev = "M21", color = "#FF808B", shortname = "",},
["Movement 88"] = {abbrev = "", color = "#AA0088", shortname = "",},
["Movement Against Illegal Immigration"] = {abbrev = "DPNI", color = "#A2070F", shortname = "",},
["Movement for a Democratic Slovakia"] = {abbrev = "HZDS", color = "#00CCFF", shortname = "",},
["Movement for a Europe of Liberties and Democracy"] = {abbrev = "MELD", color = "#007A89", shortname = "",},
["Movement for a Europe of Nations and Freedom"] = {abbrev = "", color = "#26428B", shortname = "",},
["Movement for a Responsible, Sustainable and Entrepreneurial Venezuela"] = {abbrev = "MOVERSE", color = "#64A704", shortname = "",},
["Movement for an Equal Public Model"] = {abbrev = "", color = "#2a4b98", shortname = "",},
["Movement for Autonomous Democracy–Party for Moravia and Silesia"] = {abbrev = "HSD–SMS", color = "#FF9999", shortname = "",},
["Movement for Autonomy"] = {abbrev = "", color = "#00CCCC", shortname = "",},
["Movement for Benalmádena"] = {abbrev = "", color = "#18A6B1", shortname = "",},
["Movement for Change (Greece)"] = {abbrev = "KINAL", color = "#179045", shortname = "",},
["Movement for Change and Prosperity"] = {abbrev = "MCAP", color = "#FFFF01", shortname = "",},
["Movement for Changes"] = {abbrev = "PzP", color = "#0D70B1", shortname = "",},
["Movement for Constitutional Freedoms"] = {abbrev = "MLS", color = "#FFFF00", shortname = "",},
["Movement for Democracy (Cape Verde)"] = {abbrev = "MpD", color = "#01C700", shortname = "",},
["Movement for Democracy (Slovakia)"] = {abbrev = "HZD", color = "#79B6D7", shortname = "",},
["Movement for Democracy and Development (Central African Republic)"] = {abbrev = "", color = "#191970", shortname = "",},
["Movement for Democracy and Growth"] = {abbrev = "MDG", color = "#003F1D", shortname = "",},
["Movement for Democracy and Progress (Comoros)"] = {abbrev = "MDP", color = "", shortname = "",},
["Movement for Democracy and Progress (Niger)"] = {abbrev = "MDP-Alkawali", color = "green", shortname = "",},
["Movement for Democracy and Reconstruction"] = {abbrev = "MDR", color = "#71A1D1", shortname = "",},
["Movement for Democratic Change – Mutambara"] = {abbrev = "MDC-M", color = "#FF7F00", shortname = "",},
["Movement for Democratic Change – Ncube"] = {abbrev = "MDC–N", color = "#1EDD1E", shortname = "",},
["Movement for Democratic Change – Tsvangirai"] = {abbrev = "MDC–T", color = "#DC241f", shortname = "",},
["Movement for Democratic Change (1999–2005)"] = {abbrev = "MDC", color = "#DC241f", shortname = "",},
["Movement for Democratic Change (prior to 2005)"] = {abbrev = "MDC", color = "#DC241f", shortname = "",},
["Movement for Democratic Change Alliance"] = {abbrev = "", color = "#ed1c24", shortname = "",},
["Movement for Democratic Change"] = {abbrev = "", color = "#DC241f", shortname = "",},
["Movement for Democratic Renewal and Development"] = {abbrev = "", color = "#333399", shortname = "",},
["Movement for Dignity and Citizenship"] = {abbrev = "MDyC", color = "#2D2D2D", shortname = "",},
["Movement for Dignity and Independence"] = {abbrev = "", color = "#FFEF00", shortname = "",},
["Movement for Economic Change"] = {abbrev = "MEC", color = "#1F4398", shortname = "",},
["Movement for Economic Empowerment"] = {abbrev = "MOVEE", color = "", shortname = "",},
["Movement for European Reform"] = {abbrev = "MER", color = "#30455e", shortname = "",},
["Movement for France"] = {abbrev = "MPF", color = "#8040C0", shortname = "",},
["Movement for Grassroots Democracy"] = {abbrev = "MGD", color = "#FFFDD0", shortname = "",},
["Movement for Humanist Socialism"] = {abbrev = "", color = "#FFEA3F", shortname = "",},
["Movement for Multi-Party Democracy"] = {abbrev = "MMD", color = "#0064FF", shortname = "",},
["Movement for National Development (Trinidad and Tobago)"] = {abbrev = "MND", color = "#2A60AA", shortname = "",},
["Movement for National Development"] = {abbrev = "", color = "#2D276C", shortname = "",},
["Movement for National Reform"] = {abbrev = "MRN", color = "#C1CC6F", shortname = "",},
["Movement for People's Unity–Republicans"] = {abbrev = "", color = "#DA251C", shortname = "",},
["Movement for Piedmontese Regional Autonomy"] = {abbrev = "MARP", color = "#6578DC", shortname = "",},
["Movement for Prague 11"] = {abbrev = "HPP11", color = "#FECC00", shortname = "",},
["Movement for Progressive Change"] = {abbrev = "", color = "#008000", shortname = "",},
["Movement for Reconstruction of Poland"] = {abbrev = "ROP", color = "#BD0934", shortname = "",},
["Movement for Reversal"] = {abbrev = "PZP", color = "#F7801D", shortname = "",},
["Movement for Rights and Freedoms"] = {abbrev = "DPS", color = "#0066B7", shortname = "",},
["Movement for Social Democracy"] = {abbrev = "EDEK", color = "#164f46", shortname = "",},
["Movement for Social Justice"] = {abbrev = "MSJ", color = "#27AAE1", shortname = "",},
["Movement for Socialism (Bolivia)"] = {abbrev = "MAS-IPSP", color = "#143A83", shortname = "",},
["Movement for Socialism (Venezuela)"] = {abbrev = "", color = "DarkOrange", shortname = "Movement for Socialism",},
["Movement for Sovereignty"] = {abbrev = "", color = "#1B63AB", shortname = "",},
["Movement for the Defence of the Republic"] = {abbrev = "MDR", color = "#BEE4E5", shortname = "",},
["Movement for the Future of Curaçao"] = {abbrev = "MFK", color = "#01A7FF", shortname = "",},
["Movement for the Independence of Sicily"] = {abbrev = "MIS", color = "#FFEB3B", shortname = "",},
["Movement for the Liberation of Peoples"] = {abbrev = "MLP", color = "#EC0408", shortname = "",},
["Movement for the Liberation of São Tomé and Príncipe – Social Democratic Party"] = {abbrev = "MLSTP–PSD", color = "#00AD06", shortname = "",},
["Movement for the Liberation of the Central African People"] = {abbrev = "MLPC", color = "#15A247", shortname = "",},
["Movement for the Liberation of the Congo"] = {abbrev = "MLC", color = "blue", shortname = "",},
["Movement for the Progress of Madagascar"] = {abbrev = "", color = "red", shortname = "",},
["Movement for the Renewal of Social Zionism"] = {abbrev = "", color = "#1C2969", shortname = "",},
["Movement for the Restoration of the Kingdom of Serbia"] = {abbrev = "POKS", color = "#4169E1", shortname = "",},
["Movement for the Social Evolution of Black Africa"] = {abbrev = "MESAN", color = "black", shortname = "",},
["Movement for the Unity of the Canarian People"] = {abbrev = "", color = "#60B16B", shortname = "",},
["Movement for Tolerance and Progress"] = {abbrev = "", color = "red", shortname = "",},
["Movement for Unification"] = {abbrev = "LB", color = "black", shortname = "",},
["Movement For!"] = {abbrev = "", color = "#FFF200", shortname = "",},
["Movement in Support of the Army"] = {abbrev = "DPA", color = "#7C273A", shortname = "",},
["Movement Now"] = {abbrev = "Liik", color = "#ae2375", shortname = "",},
["Movement of Action in Solidarity"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Movement of Centrist Republicans"] = {abbrev = "", color = "#133366", shortname = "",},
["Movement of Democratic Action"] = {abbrev = "PDA", color = "#8fbc8f", shortname = "",},
["Movement of Democratic Integration"] = {abbrev = "", color = "#FF9000", shortname = "",},
["Movement of Democratic Socialists"] = {abbrev = "", color = "#E70C21", shortname = "",},
["Movement of Ecologists – Citizens' Cooperation"] = {abbrev = "KOSP", color = "#0A9748", shortname = "",},
["Movement of Free Citizens (Algeria)"] = {abbrev = "MCL", color = "", shortname = "",},
["Movement of Free Citizens (Serbia)"] = {abbrev = "PSG", color = "#63C3D0", shortname = "",},
["Movement of Growth Objectors"] = {abbrev = "", color = "#BB0000", shortname = "",},
["Movement of Independent Citizens of São Tomé and Príncipe"] = {abbrev = "", color = "black", shortname = "",},
["Movement of Independents for the Harmonious Development of Municipalities and Cities"] = {abbrev = "HNHRM", color = "pink", shortname = "",},
["Movement of Militant Muslims"] = {abbrev = "MMM", color = "#FFE4E1", shortname = "",},
["Movement of National Solidarity"] = {abbrev = "MSN", color = "lightgreen", shortname = "",},
["Movement of National Understanding"] = {abbrev = "MEN", color = "#006b00", shortname = "",},
["Movement of New Forces"] = {abbrev = "RNS", color = "#0068ae", shortname = "",},
["Movement of Popular Participation"] = {abbrev = "", color = "#E34234", shortname = "",},
["Movement of Progressives"] = {abbrev = "MDP", color = "#9C005E", shortname = "",},
["Movement of Socialist Democrats"] = {abbrev = "", color = "SeaGreen", shortname = "",},
["Movement of Socialist Left"] = {abbrev = "MES", color = "Red", shortname = "",},
["Movement of Socialists"] = {abbrev = "PS", color = "#E62020", shortname = "",},
["Movement of Society for Peace"] = {abbrev = "MSP", color = "#009900", shortname = "",},
["Movement of the First"] = {abbrev = "", color = "#FD4F4A", shortname = "",},
["Movement of Unity"] = {abbrev = "MU", color = "#90BF43", shortname = "",},
["Movement Party (France)"] = {abbrev = "", color = "#FB607F", shortname = "",},
["Movement to Defend the Pancasila"] = {abbrev = "GPPS", color = "#FFA500", shortname = "",},
["Movement We Are Venezuela"] = {abbrev = "", color = "#621E7B", shortname = "",},
["Movemento pola Base"] = {abbrev = "", color = "#1B9EE4", shortname = "",},
["Movementu Kousa Promé"] = {abbrev = "", color = "#C24483", shortname = "",},
["Movementu Progresivo"] = {abbrev = "", color = "#D4306B", shortname = "",},
["MOVER (political party)"] = {abbrev = "", color = "#438b44", shortname = "MOVER",},
["Mover Parla"] = {abbrev = "", color = "#9BBB59", shortname = "",},
["Moviment Patrijotti Maltin"] = {abbrev = "", color = "#FF4000", shortname = "",},
["Movimiento al Socialismo (Argentina)"] = {abbrev = "MAS", color = "#FE3A3B", shortname = "Movement for Socialism",},
["Movimiento Construye"] = {abbrev = "", color = "#000080", shortname = "Construye",},
["Movimiento Nacional"] = {abbrev = "", color = "#708090", shortname = "National Movement",},
["Movimiento Unión Soberanista"] = {abbrev = "", color = "#66CCCC", shortname = "",},
["Movimiento Victoria Ciudadana"] = {abbrev = "MVC", color = "#E0A230", shortname = "Citizens' Victory",},
["MPLA"] = {abbrev = "", color = "#CE0921", shortname = "",},
["Mudiraj Rashtriya Samithi"] = {abbrev = "", color = "#996666", shortname = "",},
["Muhajir Qaumi Movement (Haqiqi)"] = {abbrev = "MQM-H", color = "red", shortname = "",},
["Muintir na hÉireann"] = {abbrev = "", color = "#8032CC", shortname = "",},
["Mukt Bharat"] = {abbrev = "", color = "#00FF33", shortname = "",},
["Municipal Assemblies of Fuerteventura"] = {abbrev = "", color = "#0806AF", shortname = "",},
["Municipal Independent Platform of Villalbilla"] = {abbrev = "", color = "#FBED06", shortname = "",},
["Municipal Reform Party"] = {abbrev = "", color = "#0087DC", shortname = "Municipal Reform",},
["Municipal Unity 9"] = {abbrev = "", color = "#FF5F00", shortname = "",},
["Municipalists for Change"] = {abbrev = "", color = "#73969B", shortname = "",},
["Murba Party"] = {abbrev = "", color = "#ffe5e5", shortname = "Murba",},
["Murcian Regionalist Party"] = {abbrev = "", color = "#CE9A00", shortname = "",},
["Mureran Democratic Convergence"] = {abbrev = "", color = "#033780", shortname = "",},
["Musavat"] = {abbrev = "", color = "#3BB9FF", shortname = "",},
["Muslim Bosniak Organisation"] = {abbrev = "", color = "green", shortname = "",},
["Muslim Brotherhood in Egypt"] = {abbrev = "", color = "#009900", shortname = "",},
["Muslim Brotherhood of Syria"] = {abbrev = "", color = "#009900", shortname = "",},
["Muslim Brotherhood"] = {abbrev = "", color = "#009900", shortname = "",},
["Muslim Committee of Action"] = {abbrev = "", color = "green", shortname = "",},
["Muslim League (Qayyum)"] = {abbrev = "", color = "green", shortname = "",},
["Muslim League (Pakistan)"] = {abbrev = "ML", color = "#006600", shortname = "",},
["Muslim League Kerala State Committee"] = {abbrev = "MUL", color = "green", shortname = "",},
["Muslim League"] = {abbrev = "", color = "#00CCCC", shortname = "",},
["Muslim People's Party of Malaysia"] = {abbrev = "HAMIM", color = "", shortname = "",},
["Muslim People's Republican Party"] = {abbrev = "MPRP", color = "#A7E3A3", shortname = "",},
["Muslim Union Party"] = {abbrev = "MUP", color = "#32CD32", shortname = "",},
["Mustaqbil Pakistan"] = {abbrev = "", color = "blue", shortname = "",},
["Mutahida Deeni Mahaz"] = {abbrev = "MDM", color = "#FFFFFF", shortname = "",},
["Muttahida Majlis-e-Amal"] = {abbrev = "MMA", color = "#004000", shortname = "",},
["Muttahida Qabail Party"] = {abbrev = "MQP", color = "#40E0D0", shortname = "",},
["Muttahida Qaumi Movement – London"] = {abbrev = "MQM", color = "#C80000", shortname = "",},
["Muttahida Qaumi Movement – Pakistan"] = {abbrev = "MQM-P", color = "#be1212", shortname = "",},
["Muttahida Qaumi Movement"] = {abbrev = "MQM", color = "#C80000", shortname = "",},
["Muttahidoon"] = {abbrev = "", color = "#0D4E76", shortname = "",},
["Muungano Party"] = {abbrev = "MP", color = "#254306", shortname = "",},
["My Family"] = {abbrev = "MF", color = "#00ec03", shortname = "",},
["My Homeland Kyrgyzstan"] = {abbrev = "", color = "", shortname = "Mekenim Kyrgyzstan",},
["My Step Alliance"] = {abbrev = "", color = "#ED1A24", shortname = "",},
["My Vote Counts!"] = {abbrev = "", color = "#CD5C5C", shortname = "",},
["Myanmar Farmers Development Party"] = {abbrev = "", color = "#F01A26", shortname = "",},
["Myanmar National Congress"] = {abbrev = "MNC", color = "#ED1E24", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
f544bd8095c9a65a55c45cc4b284e9450b023809
Template:Infobox election/shortname
10
1462
2987
2024-03-09T16:19:43Z
Wikipedia>Number 57
0
+
wikitext
text/x-wiki
{{#if:{{{name|}}}
|{{#ifeq:{{{link}}}|no
|{{{name}}}
|{{#ifeq:{{delink|{{{name}}}|wikilinks=target}}|{{{name}}}
|{{#switch:{{{name}}}
| Independent | Independents = [[Independent politician|{{{name}}}]]
| Miscellaneous = [[Independent politician|DIV]]
| Other | Others = Others
| Other parties and independents = Others & [[Independent politician|IND]]
| Regionalists = [[Regionalism (politics)|Regionalists]]
| Vacant = [[Casual vacancy|Vacant]]
| [[{{{name}}}|{{#invoke:Political party|fetch|{{{name}}}|shortname}}]]
}}
|{{{name}}}
}}
}}
}}<noinclude>
{{documentation}}</noinclude>
ebb0c7dca12cb2af24ba29e1f0643d447ba109ad
Module:Political party/R
828
1468
2999
2024-03-09T20:34:49Z
Wikipedia>Number 57
0
+
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["Radical and Radical-Socialist Party"] = "Radical Party (France)",
["Radical Democracy Party (Chile)"] = "Radical Democracy (Chile)",
["Radical List"] = "Liberal League (Luxembourg)",
["Radical Party (Italy, 1877)"] = "Italian Radical Party",
["Radical Party (UK)"] = "Radicals (UK)",
["Radical Party (Ukraine)"] = "Radical Party of Oleh Liashko",
["Radical Party (Chile)"] = "Radical Party of Chile",
["Radical Party of Oleh Lyashko"] = "Radical Party of Oleh Liashko",
["Rainbow Group (1984-1989)"] = "Rainbow Group (1984–1989)",
["Rainbow Group"] = "Greens–European Free Alliance",
["Rally Wallonia France"] = "Rassemblement Wallonie France",
["Rassemblement bleu Marine"] = "National Rally",
["Resurgence Party"] = "Rastakhiz Party",
["Ratepayers Association"] = "Ratepayers' Association",
["Ratepayers Associations"] = "Ratepayers' Association",
["Razem"] = "Left Together",
["Reason of the Polish Left"] = "Reason Party (Poland)",
["Readjuster Party (United States)"] = "Readjuster Party",
["Red-Green Alliance (Denmark)"] = "Red–Green Alliance (Denmark)",
["Referendum Party (UK)"] = "Referendum Party",
["Reform and Development Misruna Party"] = "Reform and Development Party (Egypt)",
["Reform Party (Iceland, 2016)"] = "Reform Party (Iceland)",
["Reform Party (United States)"] = "Reform Party (US)",
["Reform Party of New York State"] = "Reform Party (New York State)",
["Reform Party of the United States of America"] = "Reform Party (US)",
["Reform Party"] = "Reform Party (Southern Rhodesia)",
["Reform"] = "Estonian Reform Party",
["Reformed Political Party - Reformatory Political Federation - Reformed Political League"] = "Reformed Political Party – Reformatory Political Federation – Reformed Political League",
["Regionalist"] = "Regionalism (politics)",
["Regionalists"] = "Regionalism (politics)",
["Regionalists and separatists"] = "Regionalism (politics)",
["Regionalist Aragonese Party"] = "Aragonese Party",
["Régions et Peuples Solidaires"] = "Regionalism (politics)",
["Renaissance Party"] = "Ennahda Movement",
["Renew Britain"] = "Renew Party",
["Renewal (Transnistria)"] = "Obnovlenie",
["Renua Ireland"] = "Renua",
["Re-Organized Movement of the Party of the Proletariat"] = "Portuguese Workers' Communist Party",
["REPUBLIC (Slovakia)"] = "Republic (Slovakia)",
["Republic Arise"] = "Debout la République",
["Republic Party"] = "Party of the Republic",
["Republican Coalition (Spain, 1891)"] = "Republican Fusion",
["Republican Coalition (Spain, 1996)"] = "Alliance for the Republic (Spain)",
["Republican Left of Catalonia-Sovereigntists"] = "Republican Left of Catalonia",
["Republican Left of Catalonia–Catalonia Yes"] = "Republican Left of Catalonia",
["Republican Left of Catalonia–Sovereigntists"] = "Republican Left of Catalonia", -- dash difference
["Republican Left of the Valencian Country"] = "Republican Left of Catalonia",
["Republican Moderate Party of Alaska"] = "Republican Moderate Party (Alaska)",
["Republican Party (Chile)"] = "Republican Party (Chile, 2019)",
["Republican Party (Faroe Islands)"] = "Republic (Faroe Islands)",
["Republican Party (Poland)"] = "The Republicans (Poland)",
["Republican Party (US)"] = "Republican Party (United States)",
["Republican Party (Alabama)"] = "Republican Party (United States)",
["Republican Party (Alaska)"] = "Republican Party (United States)",
["Republican Party (Arizona)"] = "Republican Party (United States)",
["Republican Party (Arkansas)"] = "Republican Party (United States)",
["Republican Party (California)"] = "Republican Party (United States)",
["Republican Party (Colorado)"] = "Republican Party (United States)",
["Republican Party (Connecticut)"] = "Republican Party (United States)",
["Republican Party (Delaware)"] = "Republican Party (United States)",
["Republican Party (Georgia, US)"] = "Republican Party (United States)",
["Republican Party (Guam)"] = "Republican Party (United States)",
["Republican Party (Hawaii)"] = "Republican Party (United States)",
["Republican Party (Idaho)"] = "Republican Party (United States)",
["Republican Party (Illinois)"] = "Republican Party (United States)",
["Republican Party (Iowa)"] = "Republican Party (United States)",
["Republican Party (Maryland)"] = "Republican Party (United States)",
["Republican Party (Massachusetts)"] = "Republican Party (United States)",
["Republican Party (Michigan)"] = "Republican Party (United States)",
["Republican Party (Minnesota)"] = "Republican Party (United States)",
["Republican Party (Missouri)"] = "Republican Party (United States)",
["Republican Party (Nevada)"] = "Republican Party (United States)",
["Republican Party (New Mexico)"] = "Republican Party (United States)",
["Republican Party (New York)"] = "Republican Party (United States)",
["Republican Party (North Dakota)"] = "Republican Party (United States)",
["Republican Party (Northern Mariana Islands)"] = "Republican Party (United States)",
["Republican Party (Pennsylvania)"] = "Republican Party (United States)",
["Republican Party (Rhode Island)"] = "Republican Party (United States)",
["Republican Party (Utah)"] = "Republican Party (United States)",
["Republican Party (Vermont)"] = "Republican Party (United States)",
["Republican Party (Virginia)"] = "Republican Party (United States)",
["Republican Party (Washington State)"] = "Republican Party (United States)",
["Republican Party (Washington)"] = "Republican Party (United States)",
["Republican Party (West Virginia)"] = "Republican Party (United States)",
["Republican Party of Alaska"] = "Republican Party (United States)",
["Republican Party of Arkansas"] = "Republican Party (United States)",
["Republican Party of Florida"] = "Republican Party (United States)",
["Republican Party of Georgia"] = "Republican Party (United States)",
["Republican Party of India (A)"] = "Republican Party of India (Athawale)",
["Republican Party of India (Athvale)"] = "Republican Party of India (Athawale)",
["Republican Party of Iowa"] = "Republican Party (United States)",
["Republican Party of Kentucky"] = "Republican Party (United States)",
["Republican Party of Louisiana"] = "Republican Party (United States)",
["Republican Party of Minnesota"] = "Republican Party (United States)",
["Republican Party of New Mexico"] = "Republican Party (United States)",
["Republican Party of São Paulo"] = "Paulista Republican Party",
["Republican Party of Texas"] = "Republican Party (United States)",
["Republican Party of Virginia"] = "Republican Party (United States)",
["Republican Party of Wisconsin"] = "Republican Party (United States)",
["Republican People's Party (Turkey)"] = "Republican People's Party",
["Republican Pole"] = "Citizen and Republican Movement",
["Republican Popular Unity"] = "Communist Party of Spain (Marxist–Leninist) (historical)",
["Republican Statehood Party"] = "Partido Estadista Republicano",
["Republican Union (Spain, 1886)"] = "Republican Fusion",
["Republican Union (Spain, 1893)"] = "Republican Fusion",
["Republican, Radical and Radical-Socialist Party (historical)"] = "Radical Party (France)",
["Republican, Radical and Radical-Socialist Party"] = "Radical Party (France)",
["Reconquête (political party)"] = "Reconquête",
["Respect - The Unity Coalition"] = "Respect Party",
["Respect – The Unity Coalition"] = "Respect Party",
["RESPECT The Unity Coalition"] = "Respect Party",
["Respublika Party of Kyrgyzstan"] = "Respublika (political party)",
["Restoration Political Party - New Wind"] = "Ishin Seito Shimpu",
["Reunited National Party"] = "Herenigde Nasionale Party",
["Revival (Moldova)"] = "Revival Party (Moldova)",
["Revolution Continues"] = "The Revolution Continues Alliance",
["Revolutionary Committee of the Kuomintang"] = "Revolutionary Committee of the Chinese Kuomintang",
["Revolutionary Communist Party (Furedi)"] = "Revolutionary Communist Party (UK, 1978)",
["Revolutionary Front for an Independent East Timor"] = "Fretilin",
["Revolutionary Nationalist Movement-Alliance"] = "Revolutionary Nationalist Movement",
["Revolutionary Nationalist Movement–Alliance"] = "Revolutionary Nationalist Movement", -- dash difference
["Revolutionary Nationalist Movement – Vanguard"] = "9 April Revolutionary Vanguard",
["Revolutionary Communist League (Luxembourg)"] = "Revolutionary Socialist Party (Luxembourg)",
["Revolutionary Workers Party (United States)"] = "Revolutionary Workers Party (US)",
["Rhode Island Democratic Party"] = "Democratic Party (United States)",
["Rhode Island Republican Party"] = "Republican Party (United States)",
["Right Cause (political party)"] = "Right Cause",
["Right to Life Party (US)"] = "New York State Right to Life Party",
["Right to Life Party (New York)"] = "New York State Right to Life Party",
["Rightist Party"] = "Moderate Party",
["Rightist Socialist Party of Japan"] = "Right Socialist Party of Japan",
["Rikken Seiyukai"] = "Rikken Seiyūkai",
["Rikken Minseito"] = "Constitutional Democratic Party (Japan)",
["Rikken Minseitō"] = "Constitutional Democratic Party (Japan)",
["Ring of Independents"] = "Alliance of Independents",
["Riojan Party (1990–2012)"] = "Riojan Party",
["RISE - Scotland's Left Alliance"] = "RISE – Scotland's Left Alliance",
["Rivers State People's Democratic Party"] = "Rivers State Peoples Democratic Party",
["Rodina"] = "Rodina (political party)",
["Romandy Citizens' Movement"] = "Geneva Citizens' Movement",
["Romanian National Party (Moldova)"] = "New Historical Option",
["Romanian Socialist Party (present day)"] = "Romanian Socialist Party (2003)",
["RSP Against Racism and Fascism"] = "Revolutionary Socialist Party (Luxembourg)",
["Rule of Law (Armenia)"] = "Orinats Yerkir",
["Runnymede Independent Residents Group"] = "Runnymede Independent Residents' Group",
["Runnymede Residents Association"] = "Runnymede Independent Residents' Group",
}
local full = {
["Radcliffe First"] = {abbrev = "", color = "#F86204", shortname = "",},
["Radical Cause"] = {abbrev = "LCR", color = "#1E90FF", shortname = "",},
["Radical Change"] = {abbrev = "", color = "#FB656F", shortname = "",},
["Radical Civic Union"] = {abbrev = "UCR", color = "#E10019", shortname = "",},
["Radical Democracy (Chile)"] = {abbrev = "", color = "#00E2C8", shortname = "",},
["Radical Democratic Party (Bulgaria)"] = {abbrev = "", color = "#1C4482", shortname = "",},
["Radical Democratic Party (Spain)"] = {abbrev = "", color = "#DD6284", shortname = "Radical",},
["Radical Doctrinaire Party"] = {abbrev = "", color = "lightseagreen", shortname = "",},
["Radical League"] = {abbrev = "RL", color = "#FFFF00", shortname = "",},
["Radical Left (Luxembourg)"] = {abbrev = "", color = "#800080", shortname = "",},
["Radical Left Front"] = {abbrev = "MERA", color = "indianred", shortname = "",},
["Radical Left Party (Chile)"] = {abbrev = "", color = "yellow", shortname = "",},
["Radical Liberal Party (Luxembourg)"] = {abbrev = "", color = "#F4EE00", shortname = "",},
["Radical Liberal Party (Paraguay)"] = {abbrev = "", color = "#808080", shortname = "Radical Liberal",},
["Radical Movement"] = {abbrev = "MR", color = "#E0B0FF", shortname = "",},
["Radical Party of Chile"] = {abbrev = "", color = "#CD5C5C", shortname = "Radical",},
["Radical Party of Chile (2018)"] = {abbrev = "", color = "#CD5C5C", shortname = "Radical",},
["Radical Party (Belgium)"] = {abbrev = "", color = "#800080", shortname = "Radical",},
["Radical Party (France)"] = {abbrev = "PRV", color = "#E0B0FF", shortname = "",},
["Radical Party (Italy)"] = {abbrev = "PR", color = "#FFD700", shortname = "Radical Party",},
["Radical Party (Luxembourg)"] = {abbrev = "", color = "#F3C400", shortname = "",},
["Radical Party of Oleh Liashko"] = {abbrev = "RPOL", color = "#D64541", shortname = "",},
["Radical Party of Republika Srpska"] = {abbrev = "", color = "Darkblue", shortname = "RS RS",},
["Radical Party of the Left"] = {abbrev = "PRG", color = "#F0C200", shortname = "",},
["Radical Peasant Party"] = {abbrev = "CSR", color = "#33452D", shortname = "",},
["Radical People's Party (Finland)"] = {abbrev = "", color = "Red", shortname = "",},
["Radical People's Party (Norway)"] = {abbrev = "", color = "#59A421", shortname = "Radical People's",},
["Radical Republican Party"] = {abbrev = "PRR", color = "#A871A8", shortname = "",},
["Radical Socialist Catalan Left"] = {abbrev = "", color = "#AF2A88", shortname = "",},
["Radical Socialist Party (Luxembourg)"] = {abbrev = "", color = "#F3C400", shortname = "",},
["Radical Socialist Republican Party"] = {abbrev = "PRRS", color = "#9A0DBC", shortname = "",},
["Radical Union (Cuba)"] = {abbrev = "", color = "#FA8072", shortname = "",},
["Radicals (UK)"] = {abbrev = "", color = "#FF3333", shortname = "Radical",},
["Rafi (political party)"] = {abbrev = "", color = "#1935D0", shortname = "Rafi",},
["Rafidain List"] = {abbrev = "", color = "#5f21a9", shortname = "",},
["Rah-e-Haq Party"] = {abbrev = "RHP", color = "#A9A9A9", shortname = "",},
["Rahanweyn Resistance Army"] = {abbrev = "RRA", color = "#DC143C", shortname = "",},
["Raijor Dal"] = {abbrev = "RD", color = "#FEE502", shortname = "",},
["Rainbow (Greece)"] = {abbrev = "", color = "#E2725B", shortname = "Rainbow",},
["Rainbow (Iceland)"] = {abbrev = "", color = "#CC0000", shortname = "Rainbow",},
["Rainbow (Netherlands)"] = {abbrev = "", color = "#76EE00", shortname = "Rainbow",},
["Rainbow Greens (Italy)"] = {abbrev = "", color = "#4B6F44", shortname = "Rainbow Greens",},
["Rainbow Group (1984–1989)"] = {abbrev = "RBW", color = "#ADFF2F", shortname = "",},
["Rainbow Group (1989–1994)"] = {abbrev = "RBW", color = "#ADFF2F", shortname = "",},
["Rainbow Party (Zambia)"] = {abbrev = "", color = "#E3001B", shortname = "",},
["Rainham & Wennington Independent Residents Group"] = {abbrev = "", color = "#dddddd", shortname = "",},
["RAIZ"] = {abbrev = "", color = "#2d3e4e", shortname = "",},
["Raise Extremadura"] = {abbrev = "", color = "#169744", shortname = "",},
["Rajasthan Vikas Party"] = {abbrev = "RJVP", color = "#FF3366", shortname = "",},
["Rajyadhikara Party"] = {abbrev = "", color = "#DDD", shortname = "",},
["Rak Santi Party"] = {abbrev = "", color = "green", shortname = "Rak Santi",},
["Rak Thailand Party"] = {abbrev = "", color = "#0000FF", shortname = "Rak Thailand",},
["Rakhine Nationalities Development Party"] = {abbrev = "RNDP", color = "#EB1D27", shortname = "",},
["Ralliement citoyen pour la patrie"] = {abbrev = "", color = "#7FFFD4", shortname = "",},
["Rally & Issues"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Rally for an Alternative of Harmonious and Integrated Development"] = {abbrev = "RADHI", color = "#A31124", shortname = "",},
["Rally for Caledonia"] = {abbrev = "RPC", color = "#1270C2", shortname = "",},
["Rally for Congolese Democracy"] = {abbrev = "", color = "green", shortname = "",},
["Rally for Culture and Democracy"] = {abbrev = "RCD", color = "#264989", shortname = "",},
["Rally for Democracy and Progress (Namibia)"] = {abbrev = "RDP", color = "#166B37", shortname = "",},
["Rally for Democracy and Progress (Niger)"] = {abbrev = "", color = "#FBD127", shortname = "RDP-Jama'a",},
["Rally for Democracy and Renewal"] = {abbrev = "RDR", color = "", shortname = "",},
["Rally for Democracy and Social Progress"] = {abbrev = "RDPS", color = "#00B100", shortname = "",},
["Rally for Democracy and Unity"] = {abbrev = "RDU", color = "#4D92F1", shortname = "",},
["Rally for France"] = {abbrev = "RPF", color = "#003399", shortname = "",},
["Rally for Hope for Algeria"] = {abbrev = "TAJ", color = "#8C71FA", shortname = "",},
["Rally for Mali"] = {abbrev = "RPM", color = "#FCD116", shortname = "",},
["Rally for the Independence of France"] = {abbrev = "", color = "#003399", shortname = "",},
["Rally for the Monegasque Family"] = {abbrev = "", color = "#AB7141", shortname = "",},
["Rally for the Republic – Republican Party of Czechoslovakia"] = {abbrev = "SPR–RSČ", color = "#3E3E3E", shortname = "",},
["Rally for the Republic"] = {abbrev = "RPR", color = "#08206F", shortname = "",},
["Rally of Congolese Ecologists – The Greens"] = {abbrev = "", color = "green", shortname = "",},
["Rally of Democratic Forces"] = {abbrev = "RFD", color = "#000000", shortname = "",},
["Rally of Democrats, Progressive and Independent"] = {abbrev = "RDPI", color = "#08A1E3", shortname = "",},
["Rally of Houphouëtists for Democracy and Peace"] = {abbrev = "RHDP", color = "#FF7900", shortname = "",},
["Rally of Progressive National Democrats"] = {abbrev = "RPND", color = "#008000", shortname = "",},
["Rally of Republican Lefts"] = {abbrev = "RGR", color = "#FFBF00", shortname = "",},
["Rally of the Ecologists of Burkina"] = {abbrev = "", color = "green", shortname = "",},
["Rally of the Ecologists of Senegal"] = {abbrev = "", color = "green", shortname = "",},
["Rally of the French People"] = {abbrev = "RPF", color = "#25038E", shortname = "",},
["Rally of the Guinean People"] = {abbrev = "RPG", color = "#FEF200", shortname = "",},
["Rally of the Republicans"] = {abbrev = "RDR", color = "#FF9933", shortname = "",},
["Rally of the Togolese People"] = {abbrev = "RPT", color = "#037338", shortname = "",},
["Rally Responsibility Success"] = {abbrev = "", color = "red", shortname = "",},
["Ramgavar"] = {abbrev = "", color = "#2554C7", shortname = "",},
["RAŚ"] = {abbrev = "", color = "yellow", shortname = "",},
["Rashtra Bhakt Dal"] = {abbrev = "RBD", color = "#F75808", shortname = "",},
["Rashtravadi Bahujan Hitay Party"] = {abbrev = "RBHP", color = "#81F7F3", shortname = "",},
["Rashtravadi Janata Party"] = {abbrev = "RJP", color = "#cdfecd", shortname = "",},
["Rashtrawadi Labour Party"] = {abbrev = "RALP", color = "#BCA9F5", shortname = "",},
["Rashtrawadi Sena"] = {abbrev = "RWS", color = "blue", shortname = "",},
["Rashtriya Aadiwasi Bahujan Party"] = {abbrev = "RABP", color = "#cc0066", shortname = "",},
["Rashtriya Aikta Manch Party"] = {abbrev = "RAM", color = "#81F781", shortname = "",},
["Rashtriya Ali Sena"] = {abbrev = "RAS", color = "#0F6433", shortname = "",},
["Rashtriya Bahujan Congress Party"] = {abbrev = "RBCP", color = "#afeeee", shortname = "",},
["Rashtriya Bahujan Hitay Party"] = {abbrev = "RBHP", color = "#ffb5da", shortname = "",},
["Rashtriya Hith Congress"] = {abbrev = "RHC", color = "#5FB404", shortname = "",},
["Rashtriya Janadhikar Suraksha Party"] = {abbrev = "RJSP", color = "#ffdacc", shortname = "",},
["Rashtriya Janasachetan Party"] = {abbrev = "RJP", color = "orange", shortname = "",},
["Rashtriya Janata Dal"] = {abbrev = "RJD", color = "#056D05", shortname = "",},
["Rashtriya Janata Party"] = {abbrev ="RJP", color = "#FFC0CB" , shortname= "",},
["Rashtriya Janmorcha"] = {abbrev = "", color = "#CA7EE4", shortname = "",},
["Rashtriya Kamgar Party"] = {abbrev = "RKAP", color = "#1E76D5", shortname = "",},
["Rashtriya Kranti Party"] = {abbrev = "RTKP", color = "#B47011", shortname = "",},
["Rashtriya Krantikari Janata Party"] = {abbrev = "RKJP", color = "#a8e4bc", shortname = "",},
["Rashtriya Krantikari Samajwadi Party"] = {abbrev = "RKSP", color = "#8A0886", shortname = "",},
["Rashtriya Lok Dal"] = {abbrev = "RLD", color = "#006400", shortname = "",},
["Rashtriya Lok Janshakti Party"] = {abbrev = "RLJP", color = "#39833C", shortname = "",},
["Rashtriya Lok Samata Party"] = {abbrev = "RLSP", color = "#999966", shortname = "",},
["Rashtriya Lok Samta Party"] = {abbrev = "RLSP", color = "#999966", shortname = "",},
["Rashtriya Loktantrik Party"] = {abbrev = "RLP", color = "#FFD42A", shortname = "",},
["Rashtriya Manav Samman Party"] = {abbrev = "RMSP", color = "#BDDC9D", shortname = "",},
["Rashtriya Matrabhoomi Party"] = {abbrev = "RMP", color = "#CA8610", shortname = "",},
["Rashtriya Mazdoor Ekta Party"] = {abbrev = "RMEP", color = "#5E610B", shortname = "",},
["Rashtriya Muslim Mujhahid Party"] = {abbrev = "RMMP", color = "#1F9E1D", shortname = "",},
["Rashtriya Parivartan Dal"] = {abbrev = "RPD", color = "#66FFCC", shortname = "",},
["Rashtriya Raksha Dal"] = {abbrev = "RRD", color = "#F79F81", shortname = "",},
["Rashtriya Samaj Paksha"] = {abbrev = "RSPS", color = "yellow", shortname = "",},
["Rashtriya Samajwadi Party (United)"] = {abbrev = "RSP(U)", color = "#A9F5F2", shortname = "",},
["Rashtriya Samanta Dal"] = {abbrev = "RSMD", color = "#D0FA58", shortname = "",},
["Rashtriya Samata Party (Secular)"] = {abbrev = "RSP(S)", color = "Brown", shortname = "",},
["Rashtriya Sawarn Shakti Party"] = {abbrev = "RSSHP", color = "#647E81", shortname = "",},
["Rashtriya Secular Majlis Party"] = {abbrev = "", color = "Green", shortname = "",},
["Rashtriya Swabhimaan Party"] = {abbrev = "RSBP", color = "#F5D0A9", shortname = "",},
["Rashtriya Swabhiman Party"] = {abbrev = "RSBP", color = "#2c2c8a", shortname = "",},
["Rashtriya Ulama Council"] = {abbrev = "RUC", color = "#ACFA58", shortname = "",},
["Rashtriya Unnatisheel Dal"] = {abbrev = "RUD", color = "#26B062", shortname = "",},
["Rashtriya Vikas Party"] = {abbrev = "RVP", color = "#D0A9F5", shortname = "",},
["Rassemblement Wallonie France"] = {abbrev = "", color = "blue", shortname = "",},
["Rastakhiz Party"] = {abbrev = "", color = "Blue", shortname = "",},
["Rastriya Janamorcha"] = {abbrev = "", color = "firebrick", shortname = "",},
["Rastriya Janamukti Party"] = {abbrev = "", color = "DodgerBlue", shortname = "Janamukti",},
["Rastriya Janata Dal Nepal"] = {abbrev = "", color = "#E6DBCF", shortname = "RJD Nepal",},
["Rastriya Janata Party Nepal"] = {abbrev = "RJPN", color = "#FFb300", shortname = "",},
["Rastriya Janshakti Party"] = {abbrev = "", color = "khaki", shortname = "Janashakti",},
["Rastriya Prajatantra Party (Chand)"] = {abbrev = "", color = "yellow", shortname = "RPP (Chand)",},
["Rastriya Prajatantra Party (Samyukta)"] = {abbrev = "", color = "#4682B4", shortname = "",},
["Rastriya Prajatantra Party Nepal"] = {abbrev = "", color = "orange", shortname = "RPP-Nepal",},
["Rastriya Prajatantra Party"] = {abbrev = "RPP", color = "gold", shortname = "",},
["Rastriya Swatantra Party"] = {abbrev = "RSP", color = "#0095DA", shortname = "RSP",},
["Rat Withi Party"] = {abbrev = "", color = "#1C359A", shortname = "",},
["Ratana"] = {abbrev = "", color = "#A52A2A", shortname = "",},
["Ratepayers and Residents Associations"] = {abbrev = "", color = "#dddddd", shortname = "Ratepayers & Residents",},
["Ratepayers' Association"] = {abbrev = "", color = "#dddddd", shortname = "Ratepayers",},
["Ratepayers' and Citizens' Association"] = {abbrev = "", color = "#dddddd", shortname = "Ratepayers & Citizens",},
["Ratz (political party)"] = {abbrev = "", color = "#C80004", shortname = "Ratz",},
["Ravah Party"] = {abbrev = "", color = "#E7EB16", shortname = "",},
["Raving Loony Green Giant Party"] = {abbrev = "", color = "green", shortname = "Raving Loony Green Giant",},
["Rayalaseema Parirakshana Samithi"] = {abbrev = "", color = "red", shortname = "",},
["Rayyithunge Muthagaddim Party"] = {abbrev = "RMP", color = "#CC0000", shortname = "",},
["Raza Unida Party"] = {abbrev = "", color = "#CC853F", shortname = "Raza Unida",},
["Re-open Nominations"] = {abbrev = "RON", color = "Black", shortname = "",},
["React, Include, Recycle"] = {abbrev = "RIR", color = "#00939D", shortname = "",},
["Readjuster Party"] = {abbrev = "", color = "Black", shortname = "Readjuster",},
["Reagrupament"] = {abbrev = "", color = "#841039", shortname = "",},
["Real Alternative Party"] = {abbrev = "PAR", color = "#FECD0B", shortname = "",},
["Real Alternative Party (Botswana)"] = {abbrev = "RAP", color = "#76402b", shortname = "",},
["Real Democracy Movement"] = {abbrev = "", color = "#BFFF00", shortname = "Real Democracy",},
["Real Democracy"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Real Democratic Party"] = {abbrev = "", color = "#0CB14B", shortname = "Real Democratic",},
["Real NZ"] = {abbrev = "", color = "#72bfe8", shortname = "",},
["Real Politics Union"] = {abbrev = "UPR", color = "#151a3a", shortname = "",},
["Realists (political party)"] = {abbrev = "", color = "#013888", shortname = "",},
["Reality Party"] = {abbrev = "", color = "Grey", shortname = "Reality",},
["Realizing Goals"] = {abbrev = "", color = "#0B76C0", shortname = "",},
["Reason Party (Australia)"] = {abbrev = "", color = "#4BB8B3", shortname = "Reason",},
["Reason Party (Poland)"] = {abbrev = "RACJA", color = "#000000", shortname = "Reason Party",},
["Rebel Almería"] = {abbrev = "", color = "#981403", shortname = "",},
["Rebirth Party (Northern Cyprus)"] = {abbrev = "YDP", color = "#00CCFF", shortname = "",},
["Reborn Armenia"] = {abbrev = "", color = "#1E4277", shortname = "",},
["Reclaim Australia: Reduce Immigration"] = {abbrev = "RARI", color = "#734812", shortname = "Reclaim Australia"},
["Reclaim Party"] = {abbrev = "", color = "#C03F31", shortname = "Reclaim",},
["Reconciliation and Liberation Bloc"] = {abbrev = "RLB", color = "black", shortname = "",},
["Reconquête"] = {abbrev = "REC", color = "#170066", shortname = "",},
["Reconstitution Party"] = {abbrev = "", color = "#00FFFF", shortname = "",},
["Recover Madrid"] = {abbrev = "RM", color = "#E9AE12", shortname = "",},
["Recrear"] = {abbrev = "", color = "#35649C", shortname = "",},
["Recreate Greece"] = {abbrev = "DX", color = "#F19914", shortname = "",},
["Recuperar Badajoz"] = {abbrev = "", color = "#6A1E5E", shortname = "",},
["Recuperemos El Ejido"] = {abbrev = "", color = "#01781E", shortname = "",},
["Red Current"] = {abbrev = "", color = "#CE1000", shortname = "",},
["Red Dot United"] = {abbrev = "RDU", color = "#DC6698", shortname = "",},
["Red Electoral Alliance"] = {abbrev = "", color = "#d4001a", shortname = "Red",},
["Red Flag Party"] = {abbrev = "", color = "red", shortname = "",},
["Red Front (UK)"] = {abbrev = "", color = "Red", shortname = "Red Front",},
["Red Lions (political party)"] = {abbrev = "", color = "#DC143C", shortname = "Red Lions",},
["Red Party (Dominican Republic)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Red Party (Norway)"] = {abbrev = "", color = "#EA0000", shortname = "Red",},
["Red-Green Alliance"] = {abbrev = "", color = "#D30B55", shortname = "",},
["Red-Greens (Sweden)"] = {abbrev = "", color = "#F0002D", shortname = "Red-Greens",},
["Red–Green Alliance (Denmark)"] = {abbrev = "", color = "#F7660D", shortname = "Red–Green",},
["Redondela Electors' Group"] = {abbrev = "", color = "#9A2428", shortname = "",},
["Redondela Pode"] = {abbrev = "", color = "#3C0C40", shortname = "",},
["Referendum Party"] = {abbrev = "", color = "#bf475c", shortname = "Referendum",},
["Reform and Development Party (Egypt)"] = {abbrev = "", color = "#C7A317", shortname = "",},
["Reform and Development Party (Morocco)"] = {abbrev = "", color = "#8CB803", shortname = "",},
["Reform Club of Hong Kong"] = {abbrev = "", color = "#D04627", shortname = "Reform",},
["Reform Front Party"] = {abbrev = "", color = "DodgerBlue", shortname = "",},
["Reform Group (Finland)"] = {abbrev = "", color = "#E6E600", shortname = "Reform",},
["Reform Jersey"] = {abbrev = "", color = "#01547C", shortname = "",},
["Reform Party (19th-century Wisconsin)"] = {abbrev = "", color = "#3333FF", shortname = "Reform",},
["Reform Party (Iceland)"] = {abbrev = "", color = "#FF7D14", shortname = "Reform",},
["Reform Party (Latvia)"] = {abbrev = "", color = "#10A5DF", shortname = "Reform",},
["Reform Party (Mauritania)"] = {abbrev = "", color = "#715331", shortname = "El Islah",},
["Reform Party (Minnesota)"] = {abbrev = "", color = "#6A287E", shortname = "Reform",},
["Reform Party (Mississippi)"] = {abbrev = "", color = "#6A287E", shortname = "Reform",},
["Reform Party (New York State)"] = {abbrev = "", color = "#6A287E", shortname = "Reform",},
["Reform Party (New Zealand)"] = {abbrev = "", color = "#00BB00", shortname = "Reform",},
["Reform Party (Philippines)"] = {abbrev = "", color = "#0000CD", shortname = "Reform",},
["Reform Party (Singapore)"] = {abbrev = "RP", color = "#FFC000", shortname = "",},
["Reform Party (Southern Rhodesia)"] = {abbrev = "", color = "#99FF99", shortname = "Reform",},
["Reform Party (US)"] = {abbrev = "RE", color = "#6A287E", shortname = "Reform",},
["Reform Party of Canada"] = {abbrev = "", color = "#3CB371", shortname = "Reform",},
["Reform PH - People's Party"] = {abbrev = "RP", color = "#800000", shortname = "",},
["Reform Progressive Party"] = {abbrev = "PPR", color = "#0000FF", shortname = "",},
["Reform Star Party"] = {abbrev = "PBR", color = "#BCDA00", shortname = "",},
["Reform UK"] = {abbrev = "", color = "#12B6CF", shortname = "",},
["Reformatory Political Federation"] = {abbrev = "RPF", color = "#7FD3E9", shortname = "",},
["Reformed Congress of Lesotho"] = {abbrev = "RCL", color = "#067a3e", shortname = "",},
["Reformed Democratic Party"] = {abbrev = "", color = "#F0E68C", shortname = "",},
["Reformed Political Alliance"] = {abbrev = "", color = "#f7af20", shortname = "",},
["Reformed Political League"] = {abbrev = "GPV", color = "#6CBFD9", shortname = "",},
["Reformed Political Party – Reformatory Political Federation – Reformed Political League"] = {abbrev = "SGP/RPF/GPV", color = "#00a7eb", shortname = "",},
["Reformed Political Party"] = {abbrev = "SGP", color = "#EA5B0B", shortname = "",},
["Reformers (Hungarian political party)"] = {abbrev = "", color = "#D19E33", shortname = "",},
["Reformist Bloc"] = {abbrev = "RB", color = "#2A3A79", shortname = "",},
["Reformist Canarian Centre"] = {abbrev = "", color = "#FDBB4A", shortname = "",},
["Reformist Coalition"] = {abbrev = "", color = "#00B1F0", shortname = "",},
["Reformist Movement"] = {abbrev = "MR", color = "#0047AB", shortname = "",},
["Reformist Movement (2023)"] = {abbrev = "MR", color = "#002EFF", shortname = "",},
["Reformist Party (Dominican Republic)"] = {abbrev = "", color = "#ff0000", shortname = "",},
["Reformist Party (Costa Rica)"] = {abbrev = "", color = "#8B0000", shortname = "Reformist",},
["Reformist Party (Portugal)"] = {abbrev = "", color = "#FB607F", shortname = "",},
["Reformist Party (Serbia)"] = {abbrev = "RS", color = "#FF6600", shortname = "",},
["Reformist Party (Spain)"] = {abbrev = "", color = "#F28500", shortname = "Reformist",},
["Reformist Party ORA"] = {abbrev = "", color = "#29106B", shortname = "",},
["Reformists of Vojvodina"] = {abbrev = "RV", color = "#E46713", shortname = "",},
["Reforms and Freedom"] = {abbrev = "", color = "red", shortname = "",},
["Reforms and Order Party"] = {abbrev = "PRP", color = "#2581CC", shortname = "",},
["Reform the Legal System"] = {abbrev = "RLS", color = "#FF6900", shortname = "Legal System Reform",},
["Regenerator Party"] = {abbrev = "", color = "#0054A5", shortname = "",},
["Regional Citizens' Coalition"] = {abbrev = "", color = "#CE1244", shortname = "",},
["Regional Murcianist Party"] = {abbrev = "", color = "#FAE800", shortname = "",},
["Regional Integration Movement"] = {abbrev = "MIR", color = "#ADEEF7", shortname = "",},
["Regional Unity Party"] = {abbrev = "", color = "#0066FF", shortname = "",},
["Regionalism (politics)"] = {abbrev = "REG", color = "#DDDD00", shortname = "Regionalists",},
["Regionalist (Restoration)"] = {abbrev = "", color = "#B4E0CA", shortname = "",},
["Regionalist Action Party of Chile"] = {abbrev = "", color = "#FDFA2F", shortname = "",},
["Regionalist Alicantine Party"] = {abbrev = "", color = "#095387", shortname = "",},
["Regionalist Call for Andalusia"] = {abbrev = "", color = "#08B618", shortname = "",},
["Regionalist Democracy of Castile and León"] = {abbrev = "", color = "#5DA923", shortname = "",},
["Regionalist Independent Party"] = {abbrev = "", color = "purple", shortname = "",},
["Regionalist League of Catalonia"] = {abbrev = "LRC", color = "#D5AD0F", shortname = "",},
["Regionalist League of the Balearic Islands"] = {abbrev = "", color = "#834098", shortname = "",},
["Regionalist Local Party"] = {abbrev = "", color = "#82CF05", shortname = "",},
["Regionalist Party for Eastern Andalusia"] = {abbrev = "", color = "#A6004D", shortname = "",},
["Regionalist Party of Cantabria"] = {abbrev = "PRC", color = "#C2CE0C", shortname = "",},
["Regionalist Party of Castilla-La Mancha"] = {abbrev = "", color = "#DC143C", shortname = "",},
["Regionalist Party of Castilla–La Mancha"] = {abbrev = "", color = "#DC143C", shortname = "",},
["Regionalist Party of El Bierzo"] = {abbrev = "", color = "#005DA1", shortname = "",},
["Regionalist Party of Guadalajara"] = {abbrev = "", color = "#7310AD", shortname = "",},
["Regionalist Party of Independents"] = {abbrev = "", color = "green", shortname = "",},
["Regionalist Party of the Independents"] = {abbrev = "", color = "#00FF00", shortname = "Regionalist",},
["Regionalist Party of the Leonese Country"] = {abbrev = "", color = "#D20062", shortname = "",},
["Regionalist Union of Castile and León"] = {abbrev = "", color = "#1E4D79", shortname = "",},
["Regionalist Unitary Party"] = {abbrev = "", color = "#882222", shortname = "",},
["Regionalist Unity of Castile and León"] = {abbrev = "", color = "#FE0000", shortname = "",},
["Regionalist Unity"] = {abbrev = "", color = "#C9286B", shortname = "",},
["Reich Party for Civil Rights and Deflation"] = {abbrev = "", color = "#0075EB", shortname = "",},
["Reich Party of the German Middle Class"] = {abbrev = "WP", color = "#CCAA7A", shortname = "",},
["Reigate and Banstead Residents Association"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Reinicia Sant Antoni"] = {abbrev = "", color = "#570D9E", shortname = "",},
["Reiwa Shinsengumi"] = {abbrev = "", color = "#ED008C", shortname = "Reiwa",},
["Rejoin EU"] = {abbrev = "", color = "#003399", shortname = "",},
["Religious Torah Front"] = {abbrev = "", color = "#000", shortname = "",},
["Religious Zionist Party"] = {abbrev = "", color = "#214785", shortname = "Religious Zionist",},
["Reload Bulgaria"] = {abbrev = "", color = "black", shortname = "",},
["Renaissance (French political party)"] = {abbrev = "RE", color = "#03215A", shortname = "",},
["Renaissance (Italian political party)"] = {abbrev = "", color = "#56A5EC", shortname = "Renaissance",},
["Renaissance and Union of Europe Party"] = {abbrev = "", color = "#000000", shortname = "",},
["Renaissance group"] = {abbrev = "RE", color = "#0089BF", shortname = "",},
["RENAMO"] = {abbrev = "", color = "#113077", shortname = "",},
["Renew Europe"] = {abbrev = "RE", color = "gold", shortname = "",},
["Renew Party"] = {abbrev = "", color = "#16C0D7", shortname = "Renew",},
["Renewal Bloc"] = {abbrev = "RB", color = "#092f56", shortname = "Renewal Bloc",},
["Renewal (Greece)"] = {abbrev = "", color = "#FAFF5F", shortname = "",},
["Renewal (political party)"] = {abbrev = "", color = "#2B4F32", shortname = "",},
["Renewal Crusade"] = {abbrev = "", color = "SkyBlue", shortname = "",},
["Renewal Front"] = {abbrev = "FR", color = "#0E3C61", shortname = "",},
["Renewal Liberal Centre"] = {abbrev = "", color = "#BD782D", shortname = "",},
["Renewal Party of Ibiza and Formentera"] = {abbrev = "", color = "#354B84", shortname = "",},
["Renewal–Nationalist Brotherhood"] = {abbrev = "", color = "#3EA3D2", shortname = "",},
["Renewed African Socialist Movement"] = {abbrev = "MSAR", color = "#EE403F", shortname = "",},
["Renewed Caledonian Union"] = {abbrev = "UC-R", color = "green", shortname = "",},
["Renewed Democratic Liberty"] = {abbrev = "LIDER", color = "#E20A17", shortname = "",},
["Renewed United Democratic Centre"] = {abbrev = "", color = "#009191", shortname = "",},
["Renewing Romania's European Project"] = {abbrev = "REPER", color = "#c40075", shortname = "",},
["Renewing Communist Ecological Left"] = {abbrev = "", color = "#FF4900", shortname = "",},
["Renmen Ayiti"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Renovating Action Party"] = {abbrev = "PAR", color = "#FDF38E", shortname = "",},
["Renovator Labour Party"] = {abbrev = "", color = "#E7393D", shortname = "",},
["Rent Is Too Damn High Party"] = {abbrev = "", color = "#703642", shortname = "Rent Is Too Damn High",},
["Renua"] = {abbrev = "Ren", color = "#FFA500", shortname = "Renua",},
["Repeal Association"] = {abbrev = "", color = "#DDFFDD", shortname = "Irish Repeal",},
["Repons Peyizan"] = {abbrev = "", color = "#009A17", shortname = "",},
["Republic (Faroe Islands)"] = {abbrev = "", color = "#BED630", shortname = "Republic",},
["Republic (Latvia)"] = {abbrev = "", color = "#075895", shortname = "",},
["Republic (Slovakia)"] = {abbrev = "", color = "#e30512", shortname = "Republic",},
["Republic (Transnistria)"] = {abbrev = "", color = "#990000", shortname = "Republic",},
["Republic National Independent Party"] = {abbrev = "RNIP", color = "#30347B", shortname = "",},
["Republic of Fiji Military Forces"] = {abbrev = "RFMF", color = "#C3B091", shortname = "",},
["Republican (Ireland, 1923)"] = {abbrev = "Rep", color = "#008800", shortname = "Republican",},
["Republican (Ireland)"] = {abbrev = "", color = "#66BB66", shortname = "",},
["Republican Action (Spain)"] = {abbrev = "AR", color = "#FF7028", shortname = "",},
["Republican Alternative (Spain)"] = {abbrev = "", color = "#75246C", shortname = "",},
["Republican Alternative Party (Azerbaijan)"] = {abbrev = "", color = "#EF3340", shortname = "",},
["Republican and Socialist Front"] = {abbrev = "FRS", color = "#FF2E3F", shortname = "",},
["Republican and Socialist Left (2018)"] = {abbrev = "", color = "#D23150", shortname = "",},
["Republican and Socialist Left"] = {abbrev = "", color = "#D53150", shortname = "",},
["Republican Bicentennial Vanguard"] = {abbrev = "", color = "#BE4736", shortname = "",},
["Republican Bloc"] = {abbrev = "BR", color = "", shortname = "",},
["Republican Candidacy"] = {abbrev = "", color = "#6C3E89", shortname = "",},
["Republican Catalan Action"] = {abbrev = "", color = "#E2A554", shortname = "",},
["Republican Clubs"] = {abbrev = "", color = "#EE0000", shortname = "",},
["Republican Coalition (Spain, 1901)"] = {abbrev = "CR", color = "#7A1B6A", shortname = "",},
["Republican Coalition (Spain, 1914)"] = {abbrev = "", color = "#864891", shortname = "",},
["Republican Constitutional Union"] = {abbrev = "UCR", color = "#A352A3", shortname = "",},
["Republican Democratic Movement"] = {abbrev = "", color = "#808080", shortname = "",},
["Republican Democratic Union"] = {abbrev = "UDR", color = "#0000BB", shortname = "",},
["Republican Equality Front"] = {abbrev = "FER", color = "#B9E16F", shortname = "",},
["Republican Fascist Party"] = {abbrev = "", color = "#000000", shortname = "",},
["Republican Federation (Spain)"] = {abbrev = "", color = "#804AB5", shortname = "",},
["Republican Federation"] = {abbrev = "", color = "#005ACA", shortname = "",},
["Republican Force"] = {abbrev = "", color = "#0070B8", shortname = "",},
["Republican Front (Catalonia)"] = {abbrev = "", color = "#EB2071", shortname = "",},
["Republican Front for Unity and Democracy"] = {abbrev = "FRUD", color = "#3080B7", shortname = "",},
["Republican Fusion"] = {abbrev = "", color = "#711A5B", shortname = "Republican",},
["Republican Group of Coslada"] = {abbrev = "", color = "#82177F", shortname = "",},
["Republican Labour Party"] = {abbrev = "RepLab", color = "#85de59", shortname = "Republican Labour",},
["Republican Left (Spain, 1977)"] = {abbrev = "", color = "#B5047B", shortname = "",},
["Republican Left (Spain)"] = {abbrev = "IR", color = "#E25822", shortname = "",},
["Republican Left of Catalonia"] = {abbrev = "ERC", color = "#FFB232", shortname = "",},
["Republican Liberal Party (Panama)"] = {abbrev = "PLR", color = "pink", shortname = "",},
["Republican Liberal Party (Portugal)"] = {abbrev = "PLR", color = "#FFD700", shortname = "",},
["Republican Moderate Party (Alaska)"] = {abbrev = "", color = "#DD4444", shortname = "Republican Moderate",},
["Republican Movement (Mauritius)"] = {abbrev = "", color = "red", shortname = "",},
["Republican Movement (Switzerland)"] = {abbrev = "", color = "#61380B", shortname = "Republican",},
["Republican Nation Party"] = {abbrev = "CMP", color = "#C83737", shortname = "",},
["Republican Nationalist Centre"] = {abbrev = "", color = "#CC9933", shortname = "",},
["Republican Nationalist Federal Union"] = {abbrev = "", color = "#993366", shortname = "Nationalist Federal",},
["Republican Nationalist Party of Ourense"] = {abbrev = "", color = "#4040C0", shortname = "",},
["Republican Network for Unity"] = {abbrev = "", color = "#004400", shortname = "Republican Network",},
["Republican Party (Belarus)"] = {abbrev = "", color = "#811F20", shortname = "Republican",},
["Republican Party (Bolivia)"] = {abbrev = "", color = "#3CB371", shortname = "",},
["Republican Party (Bosnia and Herzegovina)"] = {abbrev = "", color = "Lightblue", shortname = "",},
["Republican Party (Brazil)"] = {abbrev = "PR", color = "#009F3C", shortname = "",},
["Republican Party (Cambodia)"] = {abbrev = "", color = "#0000FF", shortname = "Republican",},
["Republican Party (Chile, 2019)"] = {abbrev = "", color = "#22446D", shortname = "",},
["Republican Party (China)"] = {abbrev = "", color = "#FFC500", shortname = "Republican",},
["Republican Party (Costa Rica)"] = {abbrev = "", color = "#0018A8", shortname = "Republican",},
["Republican Party (East Timor)"] = {abbrev = "", color = "#24A236", shortname = "",},
["Republican Party (France)"] = {abbrev = "", color = "#00CCCC", shortname = "",},
["Republican Party (Guatemala)"] = {abbrev = "PR", color = "#243467", shortname = "Republican Party",},
["Republican Party (Hungary)"] = {abbrev = "KP", color = "#0067A5", shortname = "",},
["Republican Party (Liberia)"] = {abbrev = "", color = "#FF0000", shortname = "Republican",},
["Republican Party (Maldives)"] = {abbrev = "", color = "#DC0A0A", shortname = "",},
["Republican Party (Namibia)"] = {abbrev = "RP", color = "#FFF100", shortname = "",},
["Republican Party (Pakistan)"] = {abbrev = "", color = "#6495ED", shortname = "Republican Party",},
["Republican Party (Panama)"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Republican Party (Philippines)"] = {abbrev = "", color = "#191970", shortname = "Republican",},
["Republican Party (Serbia)"] = {abbrev = "", color = "#c2121d", shortname = "",},
["Republican Party (Spain)"] = {abbrev = "", color = "#D69652", shortname = "",},
["Republican Party (Spain, 1913)"] = {abbrev = "", color = "#A83E90", shortname = "",},
["Republican Party (Tunisia)"] = {abbrev = "", color = "#CF171F", shortname = "",},
["Republican Party (United States)"] = {abbrev = "R", color = "#E81B23", shortname = "Republican",},
["Republican Party for Democracy and Renewal"] = {abbrev = "PRDS", color = "#981c24", shortname = "",},
["Republican Party for Independence and Development"] = {abbrev = "PRID", color = "#f8d568", shortname = "",},
["Republican Party of Afghanistan"] = {abbrev = "", color = "skyblue", shortname = "",},
["Republican Party of Agricultural and Smallholder People"] = {abbrev = "", color = "#008000", shortname = "",},
["Republican Party of Albania"] = {abbrev = "PR", color = "#20267A", shortname = "",},
["Republican Party of Armenia"] = {abbrev = "", color = "#D2691E", shortname = "Republican",},
["Republican Party of Dahomey"] = {abbrev = "", color = "#F38C22", shortname = "",},
["Republican Party of Farmers and Peasants"] = {abbrev = "RSZML", color = "#008000", shortname = "",},
["Republican Party of Havana"] = {abbrev = "", color = "#CD5C5C", shortname = "Republican",},
["Republican Party of India (Athawale)"] = {abbrev = "RPI(A)", color = "#000080", shortname = "",},
["Republican Party of India (Gavai)"] = {abbrev = "RPI(G)", color = "#6633EE", shortname = "",},
["Republican Party of India (Khobragade)"] = {abbrev = "RPI(K)", color = "darkblue", shortname = "",},
["Republican Party of India Ektavadi"] = {abbrev = "RPIE", color = "#BFFF00", shortname = "",},
["Republican Party of India"] = {abbrev = "RPI", color = "#000066", shortname = "",},
["Republican Party of Labour and Justice"] = {abbrev = "RPTS", color = "#DE7673", shortname = "",},
["Republican Party of Liberty"] = {abbrev = "PRL", color = "#4CA2E7", shortname = "",},
["Republican Party of Minas Gerais"] = {abbrev = "PRM", color = "#ED1C24", shortname = "",},
["Republican Party of Paraná"] = {abbrev = "", color = "#768000", shortname = "PR Paraná",},
["Republican Party of Puerto Rico"] = {abbrev = "", color = "#E81B23", shortname = "Republican",},
["Republican Party of Russia"] = {abbrev = "RPR", color = "#FE4801", shortname = "",},
["Republican Party of Russia – People's Freedom Party"] = {abbrev = "RPR–PARNAS", color = "#8A1739", shortname = "",},
["Republican Party of the Social Order"] = {abbrev = "PROS", color = "#F68F22", shortname = "",},
["Republican Patriotic Rally"] = {abbrev = "RPR", color = "", shortname = "",},
["Republican People's Party (Egypt)"] = {abbrev = "RPP", color = "#B7800B", shortname = "Republican People's",},
["Republican People's Party"] = {abbrev = "CHP", color = "#ED1C24", shortname = "",},
["Republican Peronism"] = {abbrev = "", color = "#007FFF", shortname = "",},
["Republican Platform"] = {abbrev = "", color = "#0066FF", shortname = "",},
["Republican Progressive Democratic Front"] = {abbrev = "FDPR", color = "#EE2C21", shortname = "",},
["Republican Proposal"] = {abbrev = "PRO", color = "#ffd700", shortname = "",},
["Republican Reliance Party"] = {abbrev = "CGP", color = "#FF4500", shortname = "",},
["Republican Sinn Féin"] = {abbrev = "RSF", color = "#008800", shortname = "Republican Sinn Féin",},
["Republican Social Movement"] = {abbrev = "", color = "#313439", shortname = "",},
["Republican Socialist Unity Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Republican Turkish Party"] = {abbrev = "CTP", color = "#008000", shortname = "",},
["Republican Union (France)"] = {abbrev = "", color = "#C0504D", shortname = "",},
["Republican Union (Portugal)"] = {abbrev = "PUR", color = "#A52A2A", shortname = "Republican Union",},
["Republican Union (Puerto Rico)"] = {abbrev = "", color = " ", shortname = "Republican Union",},
["Republican Union (Spain, 1934)"] = {abbrev = "", color = "#672F6C", shortname = "",},
["Republican Union (Guatemala)"] = {abbrev = "UR", color = "#2c3592", shortname = "Republican Union",},
["Republican Union Party (Colombia)"] = {abbrev = "", color = "#FBCEB1", shortname = "",},
["Republican Union Party (Ecuador)"] = {abbrev = "PUR", color = "#D0FF14", shortname = "",},
["Republican Union Party (Spain)"] = {abbrev = "PUR", color = "#931585", shortname = "",},
["Republican Union Party"] = {abbrev = "", color = "#ADD8E6", shortname = "",},
["Republican Unity Party"] = {abbrev = "", color = "#D0FF14", shortname = "",},
["Republican Villagers Nation Party"] = {abbrev = "CKMP", color = "#C83737", shortname = "",},
["Republican-Socialist Party"] = {abbrev = "PRS", color = "#DE3163", shortname = "",},
["Republican–Socialist Conjunction"] = {abbrev = "", color = "#C11956", shortname = "Republican–Socialist",},
["Republican, Ecologist and Social Alliance"] = {abbrev = "ARES", color = "#4169E1", shortname = "",},
["Republican/Hold"] = {abbrev = "", color = "#FFF1EE", shortname = "",},
["Republicans (Brazil)"] = {abbrev = "", color = "#0070C5", shortname = "Republicanos",},
["Republicans for Bulgaria"] = {abbrev = "RzB", color = "#2B4A99", shortname = "",},
["Republicans"] = {abbrev = "", color = "#AB0EA7", shortname = "",},
["Res Publica Party"] = {abbrev = "", color = "#04427C", shortname = "Res Publica",},
["Residents Action Movement"] = {abbrev = "RAM", color = "#467CFA", shortname = "",},
["Residents Association of London"] = {abbrev = "", color = "teal", shortname = "Residents",},
["Residents Association"] = {abbrev = "", color = "#d3d3d3", shortname = "Residents",},
["Residents Associations of Epsom and Ewell"] = {abbrev = "", color = "pink", shortname = "Residents Association",},
["Residents for Guildford and Villages"] = {abbrev = "R4GV", color = "#CA1F7B", shortname = "",},
["Residents for Uttlesford"] = {abbrev = "R4U", color = "#00a88f", shortname = "",},
["Residents' Association of Barnet"] = {abbrev = "", color = "#669966", shortname = "Residents' Association",},
["Residents' Association of London"] = {abbrev = "", color = "gray", shortname = "",},
["Residents' association"] = {abbrev = "RA", color = "#666666", shortname = "",},
["RESIST (electoral list)"] = {abbrev = "", color = "#00A94F", shortname = "",},
["Resistance Front of Islamic Iran"] = {abbrev = "RFII", color = "#23aba1", shortname = "",},
["Resistance of Guinea-Bissau-Bafatá Movement"] = {abbrev = "", color = "#0A86F8", shortname = "",},
["Resistance Party (France)"] = {abbrev = "", color = "#0072BB", shortname = "",},
["Résistons!"] = {abbrev = "", color = "#034EA1", shortname = "",},
["Resni.ca"] = {abbrev = "", color = "#7C5199", shortname = "",},
["Résoatao Party"] = {abbrev = "", color = "#154FE6", shortname = "",},
["Respect (Haiti)"] = {abbrev = "", color = "#0000FF", shortname = "Respect",},
["Respect Party"] = {abbrev = "", color = "#46801c", shortname = "Respect",},
["Respeto"] = {abbrev = "", color = "#8E1919", shortname = "",},
["Responsibility – Social Democratic Alliance of Political Parties"] = {abbrev = "", color = "#ADD8E6", shortname = "",},
["Responsible Future (Iceland)"] = {abbrev = "", color = "#322757", shortname = "",},
["Responsible Government Association"] = {abbrev = "", color = "#FF7F00", shortname = "",},
["Respublica (Kazakh political party)"] = {abbrev = "", color = "#4A78EC", shortname = "Respublica",},
["Respublika (political party)"] = {abbrev = "", color = "#20959E", shortname = "Respublika",},
["Respublika–Ata Zhurt"] = {abbrev = "", color = "#FFCF06", shortname = "",},
["Restart Coalition"] = {abbrev = "", color = "#e00f20", shortname = "Restart",},
["Restoration of Ukraine"] = {abbrev = "", color = "#FFDD00", shortname = "Restoration",},
["Restore and Build Kenya"] = {abbrev = "", color = "#0000ff", shortname = "",},
["Restore Democracy Sack Dan Andrews Party"] = {abbrev = "RDSD", color = "#C72C32", shortname = "Restore Democracy",},
["Restore Scotland"] = {abbrev = "", color = "#006EB6", shortname = "",},
["Restore the Family for Children's Sake"] = {abbrev = "", color = "Goldenrod", shortname = "",},
["RETE Movement"] = {abbrev = "RETE", color = "#275956", shortname = "",},
["Retirees Party for the Future"] = {abbrev = "", color = "#59A35A", shortname = "",},
["RETO Movement"] = {abbrev = "RETO", color = "#012F71", shortname = "",},
["Reunification Democratic Party"] = {abbrev = "RDP", color = "#E60026", shortname = "Reunification Democratic",},
["Reunification Movement for Change"] = {abbrev = "RMC", color = "#F16A26", shortname = "",},
["Reus Independent Coordinator"] = {abbrev = "", color = "#A71F21", shortname = "",},
["Revenue Tariff Party (Tasmania)"] = {abbrev = "", color = "#FFDB58", shortname = "Revenue Tariff",},
["Revival (Bulgarian political party)"] = {abbrev = "", color = "#C09F62", shortname = "Revival",},
["Revival (Ukraine)"] = {abbrev = "", color = "#90BEDC", shortname = "Revival",},
["Revival Party"] = {abbrev = "", color = "Crimson", shortname = "",},
["Revival Party (Moldova)"] = {abbrev = "Revival", color = "#FF0000", shortname = "",},
["Revolutionary Action Party"] = {abbrev = "PAR", color = "#4682b4", shortname = "",},
["Revolutionary Anticapitalist Left"] = {abbrev = "", color = "#B41E17", shortname = "",},
["Revolutionary Civic Union"] = {abbrev = "UCR", color = "#6B8E23", shortname = "",},
["Revolutionary Agrarian Movement of the Bolivian Peasantry"] = {abbrev = "MARC", color = "#D29D7D", shortname = "",},
["Revolutionary Committee of the Chinese Kuomintang"] = {abbrev = "RCCK", color = "#1b65af", shortname = "",},
["Revolutionary Communist League (France)"] = {abbrev = "LCR", color = "#C41E3A", shortname = "",},
["Revolutionary Communist League (Spain)"] = {abbrev = "", color = "#DF0101", shortname = "",},
["Revolutionary Communist Movement of Greece"] = {abbrev = "EKKE", color = "red", shortname = "",},
["Revolutionary Communist Party (Argentina)"] = {abbrev = "PCR", color = "#E00000", shortname = "Revolutionary Communist Party",},
["Revolutionary Communist Party (Spain)"] = {abbrev = "", color = "#DF0101", shortname = "Revolutionary Communist Party",},
["Revolutionary Communist Party (UK, 1978)"] = {abbrev = "", color = "#880000", shortname = "Revolutionary Communist",},
["Revolutionary Communist Party of Britain (Marxist-Leninist)"] = {abbrev = "", color = "red", shortname = "",},
["Revolutionary Communist Party of Britain (Marxist–Leninist)"] = {abbrev = "RCP (GB) (ML)", color = "#660000", shortname = "",},
["Revolutionary Communist Party of India"] = {abbrev = "RCPI", color = "Red", shortname = "",},
["Revolutionary Communist Party, USA"] = {abbrev = "", color = "#C80815", shortname = "",},
["Revolutionary Democratic Coalition"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Revolutionary Democratic Party of India"] = {abbrev = "RDP(I)", color = "#F78181", shortname = "",},
["Revolutionary Febrerista Party"] = {abbrev = "PRF", color = "#01a755", shortname = "",},
["Revolutionary Goans Party"] = {abbrev = "RGP", color = "#E3C773", shortname = "",},
["Revolutionary Left Front (Bolivia)"] = {abbrev = "", color = "red", shortname = "",},
["Revolutionary Left Front"] = {abbrev = "", color = "#0500BE", shortname = "",},
["Revolutionary Left Movement (Bolivia)"] = {abbrev = "", color = "#FF8000", shortname = "",},
["Revolutionary Left Movement (Venezuela)"] = {abbrev = "", color = "red", shortname = "",},
["Revolutionary Left Party"] = {abbrev = "", color = "darkred", shortname = "",},
["Revolutionary Liberation Movement Túpac Katari"] = {abbrev = "MRTKL", color = "#A57DAD", shortname = "",},
["Revolutionary Marxist Party of India"] = {abbrev = "RMPI", color = "red", shortname = "",},
["Revolutionary Middle Class"] = {abbrev = "", color = "Black", shortname = "",},
["Revolutionary Nationalist Movement"] = {abbrev = "MNR", color = "#F19CBB", shortname = "",},
["Revolutionary Organization"] = {abbrev = "RO", color = "#ee1c25", shortname = "",},
["Revolutionary Party (Guatemala)"] = {abbrev = "", color = "#964B00", shortname = "",},
["Revolutionary Party of Democratic Unification"] = {abbrev = "PRUD", color = "#FAAFBE", shortname = "",},
["Revolutionary Party of the Nationalist Left"] = {abbrev = "", color = "#D62222", shortname = "",},
["Revolutionary People's Liberation Party/Front"] = {abbrev = "DHKP-C", color = "#D40000", shortname = "",},
["Revolutionary Social Democratic Party"] = {abbrev = "", color = "#200040", shortname = "",},
["Revolutionary Socialist Party (Bolshevik)"] = {abbrev = "RSP(B)", color = "#FF0000", shortname = "",},
["Revolutionary Socialist Party (India)"] = {abbrev = "RSP", color = "#FF4A4A", shortname = "",},
["Revolutionary Socialist Party (Leninist)"] = {abbrev = "RSP(L)", color = "#FF0000", shortname = "",},
["Revolutionary Socialist Party (Luxembourg)"] = {abbrev = "", color = "#960018", shortname = "",},
["Revolutionary Socialist Party (Netherlands)"] = {abbrev = "", color = "#990000", shortname = "",},
["Revolutionary Socialist Party (Peru)"] = {abbrev = "", color = "Red", shortname = "",},
["Revolutionary Socialist Party (Portugal)"] = {abbrev = "PSR", color = "#780000", shortname = "",},
["Revolutionary Socialist Party of Kerala (Bolshevik)"] = {abbrev = "", color = "red", shortname = "",},
["Revolutionary Socialist Workers' Party (Turkey)"] = {abbrev = "DSİP", color = "#000000", shortname = "",},
["Revolutionary Socialists (Egypt)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Revolutionary Union (Peru)"] = {abbrev = "", color = "black", shortname = "",},
["Revolutionary United Front"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Revolutionary Workers Party (Chile)"] = {abbrev = "", color = "#BE0411", shortname = "",},
["Revolutionary Workers Party (US)"] = {abbrev = "", color = "#aa0000", shortname = "Revolutionary Workers",},
["Revolutionary Workers Party of Bangladesh"] = {abbrev = "BRWP", color = "#E38B9F", shortname = "",},
["Revolutionary Workers' Party (Bolivia)"] = {abbrev = "", color = "#8B0000", shortname = "",},
["Revolutionary Workers' Party (Russia)"] = {abbrev = "", color = "#DE0403", shortname = "",},
["Revolutionary Workers' Party (Spain)"] = {abbrev = "", color = "#B22222", shortname = "",},
["Revolutionary Workers' Party (Uruguay)"] = {abbrev = "POR", color = "#fff44f", shortname = "",},
["Revolution for Prosperity"] = {abbrev = "RFP", color = "#411144", shortname = "",},
["Rewmi"] = {abbrev = "", color = "#E68F3F", shortname = "",},
["Rex Patrick Team"] = {abbrev = "", color = "#16b7cd", shortname = "",},
["Rexist Party"] = {abbrev = "", color = "#D31212", shortname = "Rexist",},
["Rezistans ek Alternativ"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Rhinoceros Party"] = {abbrev = "", color = "#D8BFD8", shortname = "Rhinoceros",},
["Rhodesia Labour Party"] = {abbrev = "", color = "#DC241f", shortname = "Labour",},
["Rhodesia Party"] = {abbrev = "", color = "#FF7F00", shortname = "",},
["Rhodesian Action Party"] = {abbrev = "RAP", color = "#ffd700", shortname = "",},
["Rhodesian Front"] = {abbrev = "RF", color = "#C247C2", shortname = "",},
["Rhodesian Party"] = {abbrev = "", color = "Orange", shortname = "",},
["Rhuddlan Debt Protest Campaign"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Right Alliance (Belarus)"] = {abbrev = "", color = "#959492", shortname = "",},
["Right Bloc"] = {abbrev = "PB", color = "#8DB600", shortname = "",},
["Right Cause"] = {abbrev = "", color = "#F0BD48", shortname = "",},
["Right-Green People's Party"] = {abbrev = "", color = "#008000", shortname = "",},
["Right Person Electorate Coalition"] = {abbrev = "RPEC", color = "#6D3290", shortname = "",},
["Right Romania Alliance"] = {abbrev = "ARD", color = "#318CE7", shortname = "",},
["Right Sector"] = {abbrev = "", color = "#110C17", shortname = "",},
["Right to Change"] = {abbrev = "RTOC", color = "#EE4035", shortname = "Right to Change",},
["Right Wing of the Republic"] = {abbrev = "", color = "#BE282D", shortname = "",},
["Right-wing independent"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Righteous Party"] = {abbrev = "", color = "#901380", shortname = "",},
["Rightist Opposition"] = {abbrev = "", color = "#7C1F3C", shortname = "Right Opposition",},
["Right Socialist Party of Japan"] = {abbrev = "", color = "#EE5807", shortname = "Right Socialist",},
["Right to Recall Party"] = {abbrev = "RRP", color = "#FFFF00", shortname = "",},
["Rights and Equality Party"] = {abbrev = "HEPAR", color = "#000000", shortname = "",},
["Rights and Freedoms Party (Turkey)"] = {abbrev = "", color = "#FFDB4D", shortname = "",},
["Rights and Freedoms Party"] = {abbrev = "HAK-PAR", color = "#E6E600", shortname = "",},
["Rights and Justice Party"] = {abbrev = "HAP", color = "#996633", shortname = "",},
["Rights and Liberties Party"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Rights Party"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Rikken Doshikai"] = {abbrev = "", color = "#DA7B8B", shortname = "",},
["Rikken Kaishintō"] = {abbrev = "", color = "#cd5c5c", shortname = "",},
["Rikken Kakushintō"] = {abbrev = "", color = "#00AE9D", shortname = "",},
["Rikken Kokumintō"] = {abbrev = "", color = "#A090E0", shortname = "",},
["Rikken Seiyūkai"] = {abbrev = "", color = "#2E980F", shortname = "",},
["Rikken Yōseikai"] = {abbrev = "", color = "#B0313F", shortname = "",},
["Rio-grandense Republican Party"] = {abbrev = "PRR", color = "#DE2910", shortname = "",},
["Rinnovu"] = {abbrev = "", color = "#500F0B", shortname = "",},
["Riojan Party"] = {abbrev = "PR+", color = "#00AA42", shortname = "",},
["Rionegrin Provincial Party"] = {abbrev = "", color = "#EB3721", shortname = "",},
["RISE – Scotland's Left Alliance"] = {abbrev = "RISE", color = "#f15723", shortname = "",},
["RISE (Ireland)"] = {abbrev = "", color = "#ED161F", shortname = "RISE",},
["Rise Party"] = {abbrev = "", color = "#2E127D", shortname = "",},
["Rise Up Australia Party"] = {abbrev = "RUA", color = "#0080FF", shortname = "Rise Up",},
["Rising Sun Party"] = {abbrev = "RIS", color = "#FFB040", shortname = "",},
["Ritō (government supporters)"] = {abbrev = "", color = "#009933", shortname = "",},
["Rivas Puede"] = {abbrev = "", color = "#812868", shortname = "",},
["Rivers State Peoples Democratic Party"] = {abbrev = "PDP", color = "#FF0000", shortname = "",},
["Robbie the Pict (Independent)"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Rochford District Residents"] = {abbrev = "", color = "#930000", shortname = "Rochford Resident",},
["Rock 'n' Roll Loony Party"] = {abbrev = "", color = "#c71585", shortname = "Rock 'n' Roll Loony",},
["Rock The Vote NZ"] = {abbrev = "", color = "#012268", shortname = "",},
["Rockingham Whigs"] = {abbrev = "", color = "#F0DC82", shortname = "",},
["Rodina (political party)"] = {abbrev = "", color = "#E61B23", shortname = "Rodina",},
["Rodney First"] = {abbrev = "", color = "#009999", shortname = "",},
["Rodrigues Movement"] = {abbrev = "", color = "#21FF21", shortname = "",},
["Rodrigues People's Organisation"] = {abbrev = "OPR", color = "#8B664B", shortname = "",},
["Roma Civic Initiative"] = {abbrev = "ROI", color = "brown", shortname = "",},
["Roma Party"] = {abbrev = "RP", color = "#016830", shortname = "",},
["Roma Union of Serbia"] = {abbrev = "URS", color = "#A3C5EA", shortname = "",},
["Roman Catholic Party of the Netherlands"] = {abbrev = "RKPN", color = "#0033BB", shortname = "",},
["Roman Catholic People's Party"] = {abbrev = "RKVP", color = "#7F7F99", shortname = "",},
["Roman Catholic State Party"] = {abbrev = "RKSP", color = "#003319", shortname = "",},
["Romanian Communist Party"] = {abbrev = "PCR", color = "#CC0000", shortname = "",},
["Romanian Democratic Convention"] = {abbrev = "CDR", color = "#004A92", shortname = "",},
["Romanian ethnic minority parties"] = {abbrev = "", color = "#000000", shortname = "Minority parties",},
["Romanian National Party"] = {abbrev = "PNR", color = "#5087B2", shortname = "",},
["Romanian National Unity Party"] = {abbrev = "PUNR", color = "#1BB0E8", shortname = "",},
["Romanian Nationhood Party"] = {abbrev = "NR", color = "#F7D117", shortname = "",},
["Romanian People's Party"] = {abbrev = "VNS", color = "#FFFF00", shortname = "",},
["Romanian Popular Party"] = {abbrev = "PPR", color = "#FFFF00", shortname = "",},
["Romanian Social Democratic Party (1927–1948)"] = {abbrev = "PSD", color = "#D40000", shortname = "",},
["Romanian Social Democratic Party (1990–2001)"] = {abbrev = "", color = "pink", shortname = "PSDR (Social)",},
["Romanian Social Party"] = {abbrev = "", color = "#ff0000", shortname = "",},
["Romanian Socialist Democratic Party"] = {abbrev = "", color = "#ED2128", shortname = "PSDR (Socialist)",},
["Romanian Socialist Party (1992–2015)"] = {abbrev = "PSR", color = "#CC0000", shortname = "",},
["Romanian Socialist Party (2003)"] = {abbrev = "", color = "#E30615", shortname = "",},
["Romanian Sovereigntist Bloc"] = {abbrev = "BSR", color = "#2A50A1", shortname = "",},
["Romantic Mutual Support Party"] = {abbrev = "", color = "#FFC0CB", shortname = "",},
["Ronda Green Space"] = {abbrev = "", color = "#52886E", shortname = "",},
["Ronda Sí Se Puede"] = {abbrev = "", color = "#63376A", shortname = "",},
["Rondeños por Ronda"] = {abbrev = "", color = "#7F7F7F", shortname = "",},
["Roos Party"] = {abbrev = "", color = "#FFD700", shortname = "Roos",},
["Roots in Macau"] = {abbrev = "", color = "#33FF00", shortname = "",},
["Roots Party of Kenya"] = {abbrev = "", color = "#EC3237", shortname = "",},
["Roque Aguayro"] = {abbrev = "", color = "#D93224", shortname = "",},
["Roque de Gando"] = {abbrev = "", color = "#FFF200", shortname = "",},
["Rose in the Fist"] = {abbrev = "", color = "gold", shortname = "",},
["ROSSEM"] = {abbrev = "", color = "#B7007D", shortname = "",},
["Rother Association of Independent Councillors"] = {abbrev = "RAOIC", color = "#BD8E00", shortname = "",},
["Round Table—Free Georgia"] = {abbrev = "", color = "#BA2B27", shortname = "Round Table",},
["Roundhead"] = {abbrev = "", color = "white", shortname = "",},
["Roundtable (Hong Kong)"] = {abbrev = "", color = "#509ccd", shortname = "Roundtable",},
["Royalist"] = {abbrev = "", color = "#66023C", shortname = "",},
["Royal Italy"] = {abbrev = "IR", color = "#0C0066", shortname = "",},
["RPR-UDF"] = {abbrev = "", color = "#0066CC", shortname = "",},
["Ruam Jai Thai Party"] = {abbrev = "", color = "#F07F07", shortname = "",},
["Ruiz-Mateos Group"] = {abbrev = "", color = "#28365D", shortname = "Ruiz-Mateos",},
["Rukhaniyat Party"] = {abbrev = "", color = "green", shortname = "Rukhaniyat",},
["Ruktam Party"] = {abbrev = "", color = "#799C44", shortname = "Ruktam",},
["Runnymede Independent Residents' Group"] = {abbrev = "RIRG", color = "#264404", shortname = "",},
["Rural Development Party"] = {abbrev = "RDP", color = "", shortname = "",},
["Rural Development Party (Vanuatu)"] = {abbrev = "RDP", color = "#000000", shortname = "Rural Development",},
["Rural Independents Group"] = {abbrev = "", color = "#CCFFCC", shortname = "",},
["Rural Nationalist Bloc"] = {abbrev = "", color = "#048043", shortname = "",},
["Rural Party"] = {abbrev = "", color = "#808000", shortname = "",},
["Rural Party (Iceland)"] = {abbrev = "", color = "purple", shortname = "",},
["Rurality Movement"] = {abbrev = "LMR", color = "#0049A1", shortname = "",},
["Rushcliffe Independents"] = {abbrev = "RI", color = "pink", shortname = "Rushcliffe Ind."},
["Russellite Unionist"] = {abbrev = "", color = "orange", shortname = "",},
["Russia of the Future"] = {abbrev = "", color = "#44B4E3", shortname = "",},
["Russian All-National Union"] = {abbrev = "RONS", color = "#322E2E", shortname = "",},
["Russian All-People's Union"] = {abbrev = "ROS", color = "#FF9C00", shortname = "",},
["Russian Communist Workers Party"] = {abbrev = "", color = "#D50000", shortname = "",},
["Russian Communist Workers' Party of the Communist Party of the Soviet Union"] = {abbrev = "", color = "#A9231B", shortname = "",},
["Russian Democratic Reform Movement"] = {abbrev = "RDDR", color = "#E9E26E", shortname = "",},
["Russian Ecological Party \"The Greens\""] = {abbrev = "", color = "#00953B", shortname = "The Greens",},
["Russian Labour Front"] = {abbrev = "RTF", color = "#34499A", shortname = "",},
["Russian National Party"] = {abbrev = "RNP", color = "blue", shortname = "",},
["Russian Opposition Coordination Council"] = {abbrev = "KSO", color = "#737587", shortname = "",},
["Russian Party (Serbia)"] = {abbrev = "RS", color = "#0D3B66", shortname = "",},
["Russian Party in Estonia"] = {abbrev = "", color = "#2b677f", shortname = "",},
["Russian Party of Freedom and Justice"] = {abbrev = "RPSS", color = "#AC0907", shortname = "",},
["Russian Party of Life"] = {abbrev = "RPL", color = "#D82828", shortname = "",},
["Russian Party of Pensioners for Social Justice"] = {abbrev = "RPPSJ", color = "#C52030", shortname = "",},
["Russian Party of Social Democracy"] = {abbrev = "", color = "#D51F76", shortname = "",},
["Russian Party"] = {abbrev = "", color = "#3CB371", shortname = "",},
["Russian People's Democratic Union"] = {abbrev = "", color = "#D00032", shortname = "",},
["Russian Social Democratic Labour Party"] = {abbrev = "RSDLP", color = "#D40000", shortname = "",},
["Russian Social Democratic Labour Party (Mensheviks)"] = {abbrev = "", color = "#ED1B34", shortname = "Mensheviks",},
["Russian Socialist Movement"] = {abbrev = "", color = "#D62B24", shortname = "",},
["Russian Socialist Party"] = {abbrev = "", color = "#020266", shortname = "",},
["Ruthenian Peasants Party"] = {abbrev = "PKP", color = "#36454F", shortname = "",},
["Russian Bloc (party)"] = {abbrev = "", color = "#0A347C", shortname = "",},
["Russian Unity"] = {abbrev = "", color = "#054C9F", shortname = "",},
["Russophiles for the Revival of the Fatherland"] = {abbrev = "", color = "#3EB149", shortname = "",},
["Rwandan Patriotic Front"] = {abbrev = "RPF", color = "#0087DC", shortname = "",},
["Rwandan Socialist Party"] = {abbrev = "", color = "#FFC0CB", shortname = "",},
["Ryokufūkai (1947–1960)"] = {abbrev = "", color = "#9ACBAB", shortname = "Ryokufūkai",},
}
return {
full = full,
alternate = alternate,
}
fd474360fdb6e088eda2ff6c02fa02da083cdc9d
Module:Transclusion count/data/I
828
1503
3069
2024-03-10T05:13:15Z
Wikipedia>Ahechtbot
0
[[Wikipedia:BOT|Bot]]: Updated page.
Scribunto
text/plain
return {
["IAST"] = 6700,
["IBDB_name"] = 9200,
["ICD10"] = 4900,
["ICD9"] = 4400,
["ICS"] = 3000,
["IDN"] = 3500,
["IMDb_episode"] = 10000,
["IMDb_episodes"] = 2800,
["IMDb_name"] = 156000,
["IMDb_title"] = 194000,
["IMO_Number"] = 4100,
["IMSLP"] = 8400,
["INA"] = 2200,
["IND"] = 7700,
["INR"] = 6700,
["INRConvert"] = 5900,
["INRConvert/CurrentRate"] = 5800,
["INRConvert/USD"] = 5800,
["INRConvert/out"] = 5800,
["IOBDB_name"] = 2000,
["IP"] = 2700,
["IPA"] = 145000,
["IPA-de"] = 8300,
["IPA-es"] = 7900,
["IPA-fr"] = 44000,
["IPA-it"] = 5900,
["IPA-nl"] = 3900,
["IPA-pl"] = 4100,
["IPA-pt"] = 3300,
["IPA-sl"] = 6900,
["IPA-th"] = 3000,
["IPA_audio_link"] = 3600,
["IPA_link"] = 3800,
["IPAc-cmn"] = 2400,
["IPAc-en"] = 49000,
["IPAc-pl"] = 51000,
["IPC_athlete"] = 3300,
["IPSummary"] = 78000,
["IP_summary"] = 79000,
["IPtalk"] = 18000,
["IPuser"] = 7100,
["IPvandal"] = 2700,
["IRC"] = 7200,
["IRI"] = 2300,
["IRL"] = 5500,
["IRN"] = 3700,
["ISBN"] = 464000,
["ISBN?"] = 2200,
["ISBNT"] = 40000,
["ISBN_missing"] = 2700,
["ISFDB_name"] = 4100,
["ISFDB_title"] = 4600,
["ISL"] = 2200,
["ISO_15924/script-example-character"] = 2800,
["ISO_15924/wp-article"] = 2800,
["ISO_15924/wp-article/format"] = 2800,
["ISO_15924/wp-article/label"] = 2800,
["ISO_3166_code"] = 503000,
["ISO_3166_name"] = 16000,
["ISO_639_name"] = 8300,
["ISP"] = 4600,
["ISR"] = 4900,
["ISSN"] = 12000,
["ISSN_link"] = 31000,
["ISTAT"] = 8100,
["ISU_figure_skater"] = 2500,
["ITA"] = 18000,
["ITF"] = 6300,
["ITF_profile"] = 9100,
["ITIS"] = 4500,
["ITN_talk"] = 11000,
["ITN_talk/date"] = 11000,
["IUCN_banner"] = 15000,
["I_sup"] = 4800,
["Ice_hockey"] = 5500,
["Ice_hockey_stats"] = 19000,
["Icehockeystats"] = 12000,
["Icon"] = 588000,
["If"] = 283000,
["If_all"] = 6600,
["If_between"] = 3800,
["If_both"] = 133000,
["If_empty"] = 3760000,
["If_first_display_both"] = 73000,
["If_in_page"] = 12000,
["If_last_display_both"] = 31000,
["If_preview"] = 59000,
["If_then_show"] = 310000,
["Ifempty"] = 4000,
["Ifeq"] = 17000,
["Iferror_then_show"] = 3300,
["Ifexist_not_redirect"] = 1340000,
["Ifnotempty"] = 15000,
["Ifnumber"] = 39000,
["Ifsubst"] = 467000,
["Ih"] = 7600,
["Ill"] = 130000,
["Illm"] = 6500,
["Image_frame"] = 5100,
["Image_label"] = 4500,
["Image_label_begin"] = 3900,
["Image_label_end"] = 3800,
["Image_label_small"] = 2600,
["Image_needed"] = 4900,
["Image_other"] = 271000,
["Image_requested"] = 169000,
["Image_requested/Category_helper"] = 161000,
["Imbox"] = 925000,
["Imdb_name"] = 5300,
["Imdb_title"] = 3300,
["Import_style"] = 12000,
["Import_style/inputbox.css"] = 11000,
["Importance"] = 15000,
["Importance/colour"] = 30000,
["Importance_mask"] = 10600000,
["Improve_categories"] = 7800,
["Improve_documentation"] = 2800,
["In_class"] = 5600,
["In_lang"] = 362000,
["In_progress"] = 3300,
["In_string"] = 80000,
["In_title"] = 20000,
["Inactive_userpage_blanked"] = 4900,
["Include-USGov"] = 26000,
["Incomplete_list"] = 23000,
["Inconclusive"] = 2100,
["Increase"] = 46000,
["Incumbent_pope"] = 4300,
["Indent"] = 4700,
["IndexFungorum"] = 2200,
["Indian_English"] = 4400,
["Indian_Rupee"] = 11000,
["Indian_railway_code"] = 3200,
["Inflation"] = 21000,
["Inflation-fn"] = 5500,
["Inflation-year"] = 4600,
["Inflation/IN/startyear"] = 5800,
["Inflation/UK"] = 4500,
["Inflation/UK/dataset"] = 4500,
["Inflation/UK/startyear"] = 4500,
["Inflation/US"] = 13000,
["Inflation/US-GDP"] = 2500,
["Inflation/US-GDP/dataset"] = 2500,
["Inflation/US-GDP/startyear"] = 2500,
["Inflation/US/dataset"] = 13000,
["Inflation/US/startyear"] = 13000,
["Inflation/fn"] = 6400,
["Inflation/year"] = 27000,
["Info"] = 7100,
["Infobox"] = 3260000,
["Infobox/Columns"] = 2500,
["Infobox/mobileviewfix.css"] = 148000,
["Infobox3cols"] = 17000,
["Infobox_AFL_biography"] = 14000,
["Infobox_Aircraft_Begin"] = 5200,
["Infobox_Aircraft_Type"] = 4600,
["Infobox_Athletics_Championships"] = 2800,
["Infobox_Australian_place"] = 15000,
["Infobox_CFL_biography"] = 2100,
["Infobox_COA_wide"] = 3300,
["Infobox_Canada_electoral_district"] = 2500,
["Infobox_Canadian_Football_League_biography"] = 5700,
["Infobox_Canadian_Football_League_biography/position"] = 5600,
["Infobox_Chinese"] = 21000,
["Infobox_Chinese/Chinese"] = 2800,
["Infobox_Chinese/Footer"] = 8400,
["Infobox_Chinese/Header"] = 8400,
["Infobox_Chinese/Korean"] = 17000,
["Infobox_Christian_leader"] = 18000,
["Infobox_French_commune"] = 38000,
["Infobox_GAA_player"] = 2600,
["Infobox_Gaelic_games_player"] = 5100,
["Infobox_German_location"] = 13000,
["Infobox_German_place"] = 14000,
["Infobox_Grand_Prix_race_report"] = 2000,
["Infobox_Greece_place"] = 2900,
["Infobox_Greek_Dimos"] = 2800,
["Infobox_Hindu_temple"] = 2600,
["Infobox_Indian_constituency"] = 5200,
["Infobox_Indian_constituency/defaultdata"] = 5200,
["Infobox_Italian_comune"] = 8100,
["Infobox_Korean_name"] = 15000,
["Infobox_Korean_name/categories"] = 15000,
["Infobox_NASCAR_race_report"] = 2300,
["Infobox_NCAA_team_season"] = 17000,
["Infobox_NFL_biography"] = 29000,
["Infobox_NFL_player"] = 7500,
["Infobox_NFL_team_season"] = 3900,
["Infobox_NRHP"] = 73000,
["Infobox_NRHP/conv"] = 18000,
["Infobox_NRHP/locmapin2region"] = 66000,
["Infobox_Officeholder"] = 4500,
["Infobox_Olympic_event"] = 7400,
["Infobox_Olympic_event/games_text"] = 7400,
["Infobox_Pan_American_Games_event"] = 2300,
["Infobox_Paralympic_event"] = 2600,
["Infobox_Paralympic_event/games_text"] = 2600,
["Infobox_Politician"] = 2000,
["Infobox_Romanian_subdivision"] = 3200,
["Infobox_Russian_district"] = 2000,
["Infobox_Russian_inhabited_locality"] = 4500,
["Infobox_SCOTUS_case"] = 3700,
["Infobox_Site_of_Special_Scientific_Interest"] = 2000,
["Infobox_Swiss_town"] = 2800,
["Infobox_Switzerland_municipality"] = 2900,
["Infobox_Turkey_place"] = 19000,
["Infobox_U.S._county"] = 3000,
["Infobox_U.S._county/district"] = 3000,
["Infobox_UK_constituency"] = 2100,
["Infobox_UK_constituency/year"] = 2100,
["Infobox_UK_legislation"] = 3800,
["Infobox_UK_place"] = 26000,
["Infobox_UK_place/NoDialCode"] = 8100,
["Infobox_UK_place/NoPostCode"] = 3300,
["Infobox_UK_place/area"] = 2600,
["Infobox_UK_place/dens"] = 2200,
["Infobox_UK_place/dist"] = 2800,
["Infobox_UK_place/local"] = 26000,
["Infobox_UK_place/styles.css"] = 26000,
["Infobox_UN_resolution"] = 2300,
["Infobox_US_Supreme_Court_case"] = 3900,
["Infobox_US_Supreme_Court_case/courts"] = 3900,
["Infobox_Wikipedia_user"] = 10000,
["Infobox_YouTube_personality"] = 2900,
["Infobox_YouTube_personality/styles.css"] = 2900,
["Infobox_academic"] = 15000,
["Infobox_aircraft_begin"] = 14000,
["Infobox_aircraft_occurrence"] = 2400,
["Infobox_aircraft_type"] = 13000,
["Infobox_airline"] = 4600,
["Infobox_airport"] = 15000,
["Infobox_airport/datatable"] = 15000,
["Infobox_album"] = 163000,
["Infobox_album/color"] = 194000,
["Infobox_album/link"] = 163000,
["Infobox_anatomy"] = 4500,
["Infobox_ancient_site"] = 5600,
["Infobox_animanga/Footer"] = 7000,
["Infobox_animanga/Header"] = 7000,
["Infobox_animanga/Print"] = 5700,
["Infobox_animanga/Video"] = 4800,
["Infobox_architect"] = 3800,
["Infobox_artist"] = 29000,
["Infobox_artist_discography"] = 6000,
["Infobox_artwork"] = 12000,
["Infobox_athlete"] = 2800,
["Infobox_automobile"] = 8500,
["Infobox_award"] = 13000,
["Infobox_badminton_player"] = 3200,
["Infobox_baseball_biography"] = 28000,
["Infobox_baseball_biography/style"] = 28000,
["Infobox_baseball_biography/styles.css"] = 28000,
["Infobox_baseball_team_season"] = 3300,
["Infobox_baseball_team_season/leagueseason"] = 3300,
["Infobox_baseball_team_season/season"] = 3300,
["Infobox_baseball_team_season/styles.css"] = 3300,
["Infobox_basketball_biography"] = 21000,
["Infobox_basketball_biography/style"] = 21000,
["Infobox_basketball_club"] = 3100,
["Infobox_basketball_club/styles.css"] = 3100,
["Infobox_beauty_pageant"] = 2400,
["Infobox_bilateral_relations"] = 4500,
["Infobox_body_of_water"] = 18000,
["Infobox_book"] = 53000,
["Infobox_boxer"] = 5800,
["Infobox_bridge"] = 6100,
["Infobox_building"] = 28000,
["Infobox_character"] = 7600,
["Infobox_chess_biography"] = 4100,
["Infobox_chess_player"] = 3300,
["Infobox_church"] = 15000,
["Infobox_church/denomination"] = 15000,
["Infobox_church/font_color"] = 15000,
["Infobox_civil_conflict"] = 2500,
["Infobox_civilian_attack"] = 5800,
["Infobox_college_coach"] = 12000,
["Infobox_college_football_game"] = 2100,
["Infobox_college_football_player"] = 2300,
["Infobox_college_sports_team_season"] = 41000,
["Infobox_college_sports_team_season/link"] = 41000,
["Infobox_college_sports_team_season/name"] = 41000,
["Infobox_college_sports_team_season/succession"] = 41000,
["Infobox_college_sports_team_season/team"] = 41000,
["Infobox_comic_book_title"] = 3100,
["Infobox_comics_character"] = 3600,
["Infobox_comics_creator"] = 3500,
["Infobox_comics_creator/styles.css"] = 3500,
["Infobox_company"] = 84000,
["Infobox_computing_device"] = 2400,
["Infobox_concert"] = 3400,
["Infobox_constituency"] = 5700,
["Infobox_country"] = 6600,
["Infobox_country/formernext"] = 6200,
["Infobox_country/imagetable"] = 5400,
["Infobox_country/multirow"] = 8500,
["Infobox_country/status_text"] = 2800,
["Infobox_country/styles.css"] = 6600,
["Infobox_country_at_games"] = 15000,
["Infobox_country_at_games/core"] = 15000,
["Infobox_country_at_games/see_also"] = 12000,
["Infobox_court_case"] = 4800,
["Infobox_court_case/images"] = 2600,
["Infobox_cricket_tournament"] = 2400,
["Infobox_cricketer"] = 32000,
["Infobox_cricketer/career"] = 32000,
["Infobox_cricketer/national_side"] = 7600,
["Infobox_criminal"] = 6600,
["Infobox_curler"] = 2600,
["Infobox_cycling_race_report"] = 4600,
["Infobox_cyclist"] = 16000,
["Infobox_dam"] = 5700,
["Infobox_deity"] = 2100,
["Infobox_deity/color"] = 2000,
["Infobox_designation_list"] = 20000,
["Infobox_designation_list/entry"] = 18000,
["Infobox_dim"] = 7000,
["Infobox_dim/core"] = 7000,
["Infobox_diocese"] = 3900,
["Infobox_drug"] = 10000,
["Infobox_drug/chemical_formula"] = 10000,
["Infobox_drug/data_page_link"] = 10000,
["Infobox_drug/formatATC"] = 10000,
["Infobox_drug/formatCASnumber"] = 10000,
["Infobox_drug/formatChEBI"] = 10000,
["Infobox_drug/formatChEMBL"] = 10000,
["Infobox_drug/formatChemDBNIAID"] = 10000,
["Infobox_drug/formatChemSpider"] = 10000,
["Infobox_drug/formatCompTox"] = 10000,
["Infobox_drug/formatDrugBank"] = 10000,
["Infobox_drug/formatIUPHARBPS"] = 10000,
["Infobox_drug/formatJmol"] = 10000,
["Infobox_drug/formatKEGG"] = 10000,
["Infobox_drug/formatPDBligand"] = 9600,
["Infobox_drug/formatPubChemCID"] = 10000,
["Infobox_drug/formatPubChemSID"] = 10000,
["Infobox_drug/formatUNII"] = 10000,
["Infobox_drug/legal_status"] = 11000,
["Infobox_drug/licence"] = 10000,
["Infobox_drug/maintenance_categories"] = 10000,
["Infobox_drug/non-ref-space"] = 4500,
["Infobox_drug/pregnancy_category"] = 10000,
["Infobox_drug/title"] = 10000,
["Infobox_election"] = 31000,
["Infobox_election/row"] = 31000,
["Infobox_election/shortname"] = 29000,
["Infobox_enzyme"] = 5100,
["Infobox_ethnic_group"] = 7400,
["Infobox_event"] = 5800,
["Infobox_family"] = 2200,
["Infobox_figure_skater"] = 4200,
["Infobox_film"] = 159000,
["Infobox_film/short_description"] = 155000,
["Infobox_film_awards"] = 2700,
["Infobox_film_awards/link"] = 2700,
["Infobox_film_awards/style"] = 2700,
["Infobox_food"] = 7000,
["Infobox_football_biography"] = 209000,
["Infobox_football_club"] = 28000,
["Infobox_football_club_season"] = 21000,
["Infobox_football_league"] = 2600,
["Infobox_football_league_season"] = 20000,
["Infobox_football_match"] = 6000,
["Infobox_football_tournament_season"] = 8100,
["Infobox_former_subdivision"] = 3500,
["Infobox_former_subdivision/styles.css"] = 3500,
["Infobox_galaxy"] = 2100,
["Infobox_game"] = 2600,
["Infobox_game_score"] = 3600,
["Infobox_gene"] = 13000,
["Infobox_given_name"] = 4100,
["Infobox_golfer"] = 4500,
["Infobox_golfer/highest_ranking"] = 4500,
["Infobox_government_agency"] = 11000,
["Infobox_government_cabinet"] = 2800,
["Infobox_gridiron_football_person"] = 2300,
["Infobox_gridiron_football_person/position"] = 5600,
["Infobox_gymnast"] = 3600,
["Infobox_handball_biography"] = 5000,
["Infobox_historic_site"] = 12000,
["Infobox_horseraces"] = 2600,
["Infobox_hospital"] = 6400,
["Infobox_hospital/care_system"] = 6400,
["Infobox_hospital/lists"] = 6400,
["Infobox_ice_hockey_biography"] = 20000,
["Infobox_ice_hockey_player"] = 19000,
["Infobox_ice_hockey_team"] = 3100,
["Infobox_ice_hockey_team_season"] = 2000,
["Infobox_international_football_competition"] = 5900,
["Infobox_islands"] = 9000,
["Infobox_islands/area"] = 9400,
["Infobox_islands/density"] = 9400,
["Infobox_islands/length"] = 9000,
["Infobox_islands/styles.css"] = 9000,
["Infobox_journal"] = 9800,
["Infobox_journal/Abbreviation_search"] = 9600,
["Infobox_journal/Bluebook_check"] = 9500,
["Infobox_journal/Former_check"] = 9500,
["Infobox_journal/ISO_4_check"] = 9500,
["Infobox_journal/ISSN-eISSN"] = 9500,
["Infobox_journal/Indexing_search"] = 9600,
["Infobox_journal/MathSciNet_check"] = 9500,
["Infobox_journal/NLM_check"] = 9500,
["Infobox_journal/frequency"] = 8700,
["Infobox_lake"] = 4200,
["Infobox_language"] = 9600,
["Infobox_language/family-color"] = 11000,
["Infobox_language/genetic"] = 6600,
["Infobox_language/linguistlist"] = 9600,
["Infobox_language/ref"] = 7100,
["Infobox_law_enforcement_agency"] = 2000,
["Infobox_legislation"] = 2000,
["Infobox_legislature"] = 3800,
["Infobox_library"] = 2200,
["Infobox_lighthouse"] = 2600,
["Infobox_lighthouse/light"] = 2600,
["Infobox_locomotive"] = 5000,
["Infobox_magazine"] = 7700,
["Infobox_manner_of_address"] = 3400,
["Infobox_mapframe"] = 83000,
["Infobox_martial_artist"] = 5700,
["Infobox_martial_artist/record"] = 5700,
["Infobox_medal_templates"] = 426000,
["Infobox_medical_condition"] = 10000,
["Infobox_medical_condition_(new)"] = 8100,
["Infobox_medical_details"] = 2100,
["Infobox_medical_person"] = 2000,
["Infobox_military_conflict"] = 23000,
["Infobox_military_installation"] = 9900,
["Infobox_military_person"] = 46000,
["Infobox_military_unit"] = 26000,
["Infobox_mine"] = 2200,
["Infobox_model"] = 2300,
["Infobox_monument"] = 2100,
["Infobox_mountain"] = 28000,
["Infobox_multi-sport_competition_event"] = 2400,
["Infobox_museum"] = 11000,
["Infobox_musical_artist"] = 123000,
["Infobox_musical_artist/color"] = 123000,
["Infobox_musical_artist/hCard_class"] = 319000,
["Infobox_musical_composition"] = 3000,
["Infobox_name"] = 7600,
["Infobox_name_module"] = 7400,
["Infobox_newspaper"] = 9900,
["Infobox_nobility"] = 2300,
["Infobox_noble"] = 7400,
["Infobox_officeholder"] = 228000,
["Infobox_officeholder/office"] = 234000,
["Infobox_official_post"] = 8300,
["Infobox_organization"] = 37000,
["Infobox_pageant_titleholder"] = 3000,
["Infobox_park"] = 7700,
["Infobox_person"] = 492000,
["Infobox_person/Wikidata"] = 4600,
["Infobox_person/height"] = 104000,
["Infobox_person/length"] = 7100,
["Infobox_person/weight"] = 67000,
["Infobox_philosopher"] = 3500,
["Infobox_planet"] = 4700,
["Infobox_play"] = 4100,
["Infobox_political_party"] = 14000,
["Infobox_power_station"] = 3100,
["Infobox_prepared_food"] = 3000,
["Infobox_professional_wrestler"] = 4300,
["Infobox_professional_wrestling_event"] = 2800,
["Infobox_protected_area"] = 14000,
["Infobox_protein_family"] = 2100,
["Infobox_publisher"] = 2400,
["Infobox_racehorse"] = 5600,
["Infobox_racing_driver"] = 4300,
["Infobox_racing_driver_series_section"] = 2300,
["Infobox_radio_show"] = 2100,
["Infobox_radio_station"] = 22000,
["Infobox_rail"] = 3000,
["Infobox_rail_line"] = 7400,
["Infobox_rail_service"] = 3000,
["Infobox_rail_service/doc"] = 3000,
["Infobox_reality_competition_season"] = 3700,
["Infobox_record_label"] = 4000,
["Infobox_recurring_event"] = 6600,
["Infobox_religious_biography"] = 5500,
["Infobox_religious_building"] = 13000,
["Infobox_religious_building/color"] = 18000,
["Infobox_restaurant"] = 3200,
["Infobox_river"] = 30000,
["Infobox_river/calcunit"] = 30000,
["Infobox_river/discharge"] = 30000,
["Infobox_river/row-style"] = 30000,
["Infobox_river/source"] = 30000,
["Infobox_road"] = 24000,
["Infobox_road/meta/mask/category"] = 24000,
["Infobox_road/meta/mask/country"] = 24000,
["Infobox_road/styles.css"] = 25000,
["Infobox_road_small"] = 2300,
["Infobox_rockunit"] = 6400,
["Infobox_royalty"] = 22000,
["Infobox_royalty/short_description"] = 12000,
["Infobox_rugby_biography"] = 16000,
["Infobox_rugby_biography/correct_date"] = 16000,
["Infobox_rugby_biography/depcheck"] = 16000,
["Infobox_rugby_league_biography"] = 10000,
["Infobox_rugby_league_biography/PLAYER"] = 9900,
["Infobox_rugby_team"] = 2600,
["Infobox_sailboat_specifications"] = 2300,
["Infobox_saint"] = 5100,
["Infobox_school"] = 38000,
["Infobox_school/short_description"] = 38000,
["Infobox_school_district"] = 5700,
["Infobox_school_district/styles.css"] = 5700,
["Infobox_scientist"] = 49000,
["Infobox_service_record"] = 2600,
["Infobox_settlement"] = 564000,
["Infobox_settlement/areadisp"] = 241000,
["Infobox_settlement/columns"] = 96000,
["Infobox_settlement/columns/styles.css"] = 96000,
["Infobox_settlement/densdisp"] = 440000,
["Infobox_settlement/impus"] = 83000,
["Infobox_settlement/lengthdisp"] = 170000,
["Infobox_settlement/link"] = 96000,
["Infobox_settlement/metric"] = 213000,
["Infobox_settlement/pref"] = 296000,
["Infobox_settlement/styles.css"] = 564000,
["Infobox_ship_begin"] = 41000,
["Infobox_ship_career"] = 37000,
["Infobox_ship_characteristics"] = 41000,
["Infobox_ship_class_overview"] = 4100,
["Infobox_ship_image"] = 40000,
["Infobox_shopping_mall"] = 3500,
["Infobox_short_story"] = 2400,
["Infobox_skier"] = 2600,
["Infobox_soap_character"] = 2900,
["Infobox_software"] = 14000,
["Infobox_software/simple"] = 14000,
["Infobox_song"] = 77000,
["Infobox_song/color"] = 77000,
["Infobox_song/link"] = 77000,
["Infobox_spaceflight"] = 3600,
["Infobox_spaceflight/styles.css"] = 3600,
["Infobox_sport_event"] = 2200,
["Infobox_sports_competition_event"] = 18000,
["Infobox_sports_competition_event/medalrow"] = 12000,
["Infobox_sports_league"] = 5100,
["Infobox_sports_season"] = 5600,
["Infobox_sports_team"] = 2300,
["Infobox_sportsperson"] = 109000,
["Infobox_stadium"] = 3200,
["Infobox_station"] = 55000,
["Infobox_station/doc"] = 55000,
["Infobox_station/services"] = 55000,
["Infobox_station/styles.css"] = 55000,
["Infobox_street"] = 3500,
["Infobox_swimmer"] = 9800,
["Infobox_television"] = 58000,
["Infobox_television/Short_description"] = 55000,
["Infobox_television_channel"] = 6300,
["Infobox_television_episode"] = 12000,
["Infobox_television_episode/styles.css"] = 12000,
["Infobox_television_season"] = 9700,
["Infobox_television_station"] = 3500,
["Infobox_tennis_biography"] = 10000,
["Infobox_tennis_event"] = 2700,
["Infobox_tennis_tournament_event"] = 19000,
["Infobox_tennis_tournament_year"] = 9400,
["Infobox_tennis_tournament_year/color"] = 29000,
["Infobox_tennis_tournament_year/footer"] = 29000,
["Infobox_tournament_season"] = 11000,
["Infobox_train"] = 2300,
["Infobox_university"] = 26000,
["Infobox_user"] = 2700,
["Infobox_venue"] = 18000,
["Infobox_video_game"] = 28000,
["Infobox_video_game/styles.css"] = 28000,
["Infobox_volleyball_biography"] = 5500,
["Infobox_weapon"] = 7400,
["Infobox_weather_event"] = 2100,
["Infobox_weather_event/Effects"] = 2100,
["Infobox_weather_event/Footer"] = 2100,
["Infobox_weather_event/History"] = 2000,
["Infobox_weather_event/meteorology"] = 2000,
["Infobox_weather_event/styles.css"] = 2100,
["Infobox_website"] = 7700,
["Infobox_writer"] = 40000,
["Information"] = 98000,
["Information/styles.css"] = 98000,
["Inline"] = 2100,
["Inline_block"] = 4800,
["Inprogress"] = 2500,
["Input_link"] = 32000,
["Instagram"] = 12000,
["Interlanguage_link"] = 169000,
["Interlanguage_link_multi"] = 17000,
["Internet_Archive_author"] = 19000,
["Internet_Archive_film"] = 2600,
["Intitle"] = 13000,
["Iptalk"] = 17000,
["IranCensus2006"] = 45000,
["IranNCSGN"] = 3200,
["Iran_Census_2006"] = 45000,
["Irc"] = 2100,
["Irish_place_name"] = 2700,
["IsIPAddress"] = 37000,
["IsValidPageName"] = 2700,
["Is_MLB_league"] = 3200,
["Is_NPB_league"] = 3300,
["Is_country_in_Central_America"] = 13000,
["Is_country_in_the_Caribbean"] = 14000,
["Is_interwiki_link"] = 6000,
["Is_italic_taxon"] = 508000,
["Is_redirect"] = 28000,
["Isbn"] = 8200,
["Isfdb_name"] = 3400,
["Isfdb_title"] = 4300,
["Isnumeric"] = 145000,
["Iso2continent"] = 37000,
["Iso2country"] = 24000,
["Iso2country/article"] = 23000,
["Iso2country/data"] = 24000,
["Iso2nationality"] = 207000,
["Issubst"] = 71000,
["Isu_name"] = 2200,
["Italic_dab2"] = 5300,
["Italic_title"] = 271000,
["Italic_title_prefixed"] = 8700,
["Italics_colon"] = 3900,
["Italictitle"] = 3800,
["Ivm"] = 5700,
["Ivm/styles.css"] = 5700,
["Ivmbox"] = 125000,
["Ivory_messagebox"] = 148000,
["Module:I18n/complex_date"] = 68000,
["Module:IP"] = 133000,
["Module:IPA"] = 145000,
["Module:IPA/data"] = 131000,
["Module:IPA/styles.css"] = 116000,
["Module:IPA_symbol"] = 5200,
["Module:IPA_symbol/data"] = 5200,
["Module:IPAc-en"] = 49000,
["Module:IPAc-en/data"] = 49000,
["Module:IPAc-en/phonemes"] = 49000,
["Module:IPAc-en/pronunciation"] = 49000,
["Module:IPAddress"] = 189000,
["Module:ISO_3166"] = 1030000,
["Module:ISO_3166/data/AT"] = 2500,
["Module:ISO_3166/data/BA"] = 3400,
["Module:ISO_3166/data/CA"] = 2600,
["Module:ISO_3166/data/CN"] = 2200,
["Module:ISO_3166/data/DE"] = 15000,
["Module:ISO_3166/data/ES"] = 3600,
["Module:ISO_3166/data/FR"] = 38000,
["Module:ISO_3166/data/GB"] = 6400,
["Module:ISO_3166/data/GR"] = 3100,
["Module:ISO_3166/data/IN"] = 29000,
["Module:ISO_3166/data/IR"] = 9800,
["Module:ISO_3166/data/National"] = 1030000,
["Module:ISO_3166/data/PL"] = 7500,
["Module:ISO_3166/data/RS"] = 3200,
["Module:ISO_3166/data/RU"] = 25000,
["Module:ISO_3166/data/US"] = 85000,
["Module:ISO_639_name"] = 20000,
["Module:ISOdate"] = 68000,
["Module:Icon"] = 593000,
["Module:Icon/data"] = 593000,
["Module:If_any_equal"] = 2800,
["Module:If_empty"] = 3760000,
["Module:If_in_page"] = 12000,
["Module:If_preview"] = 303000,
["Module:If_preview/configuration"] = 303000,
["Module:If_preview/styles.css"] = 303000,
["Module:Import_style"] = 12000,
["Module:In_lang"] = 363000,
["Module:Indent"] = 4700,
["Module:Infobox"] = 4180000,
["Module:Infobox/dates"] = 70000,
["Module:Infobox/styles.css"] = 4450000,
["Module:Infobox3cols"] = 301000,
["Module:InfoboxImage"] = 4510000,
["Module:Infobox_body_of_water_tracking"] = 18000,
["Module:Infobox_cyclist_tracking"] = 16000,
["Module:Infobox_gene"] = 13000,
["Module:Infobox_mapframe"] = 422000,
["Module:Infobox_military_conflict"] = 23000,
["Module:Infobox_military_conflict/styles.css"] = 23000,
["Module:Infobox_multi-lingual_name"] = 21000,
["Module:Infobox_multi-lingual_name/data"] = 21000,
["Module:Infobox_power_station"] = 3100,
["Module:Infobox_road"] = 26000,
["Module:Infobox_road/browselinks"] = 25000,
["Module:Infobox_road/errors"] = 24000,
["Module:Infobox_road/length"] = 25000,
["Module:Infobox_road/locations"] = 24000,
["Module:Infobox_road/map"] = 25000,
["Module:Infobox_road/route"] = 26000,
["Module:Infobox_road/sections"] = 24000,
["Module:Infobox_television"] = 58000,
["Module:Infobox_television_disambiguation_check"] = 65000,
["Module:Infobox_television_episode"] = 12000,
["Module:Infobox_television_season_disambiguation_check"] = 9200,
["Module:Infobox_television_season_name"] = 9700,
["Module:Internet_Archive"] = 19000,
["Module:IrelandByCountyCatNav"] = 3400,
["Module:Is_article"] = 2000,
["Module:Is_infobox_in_lead"] = 380000,
["Module:Is_instance"] = 329000,
["Module:Italic_title"] = 1130000,
["Module:Italic_title2"] = 5300,
}
0199a97163562d13c0b1efae3a972ff61ab41c10
Module:String2
828
1529
3130
2024-03-10T18:46:48Z
Wikipedia>Trappist the monk
0
better;
Scribunto
text/plain
require ('strict');
local p = {}
p.trim = function(frame)
return mw.text.trim(frame.args[1] or "")
end
p.sentence = function (frame)
-- {{lc:}} is strip-marker safe, string.lower is not.
frame.args[1] = frame:callParserFunction('lc', frame.args[1])
return p.ucfirst(frame)
end
p.ucfirst = function (frame )
local s = frame.args[1];
if not s or '' == s or s:match ('^%s+$') then -- when <s> is nil, empty, or only whitespace
return s; -- abandon because nothing to do
end
s = mw.text.trim( frame.args[1] or "" )
local s1 = ""
local prefix_patterns_t = { -- sequence of prefix patterns
'^\127[^\127]*UNIQ%-%-%a+%-%x+%-QINU[^\127]*\127', -- stripmarker
'^([%*;:#]+)', -- various list markup
'^(\'\'\'*)', -- bold / italic markup
'^(%b<>)', -- html-like tags because some templates render these
'^(&%a+;)', -- html character entities because some templates render these
'^(&#%d+;)', -- html numeric (decimal) entities because some templates render these
'^(&#x%x+;)', -- html numeric (hexadecimal) entities because some templates render these
'^(%s+)', -- any whitespace characters
'^([%(%)%-%+%?%.%%!~!@%$%^&_={}/`,‘’„“”ʻ|\"\'\\]+)', -- miscellaneous punctuation
}
local prefixes_t = {}; -- list, bold/italic, and html-like markup, & whitespace saved here
local function prefix_strip (s) -- local function to strip prefixes from <s>
for _, pattern in ipairs (prefix_patterns_t) do -- spin through <prefix_patterns_t>
if s:match (pattern) then -- when there is a match
local prefix = s:match (pattern); -- get a copy of the matched prefix
table.insert (prefixes_t, prefix); -- save it
s = s:sub (prefix:len() + 1); -- remove the prefix from <s>
return s, true; -- return <s> without prefix and flag; force restart at top of sequence because misc punct removal can break stripmarker
end
end
return s; -- no prefix found; return <s> with nil flag
end
local prefix_removed; -- flag; boolean true as long as prefix_strip() finds and removes a prefix
repeat -- one by one remove list, bold/italic, html-like markup, whitespace, etc from start of <s>
s, prefix_removed = prefix_strip (s);
until (not prefix_removed); -- until <prefix_removed> is nil
s1 = table.concat (prefixes_t); -- recreate the prefix string for later reattachment
local first_text = mw.ustring.match (s, '^%[%[[^%]]+%]%]'); -- extract wikilink at start of string if present; TODO: this can be string.match()?
local upcased;
if first_text then
if first_text:match ('^%[%[[^|]+|[^%]]+%]%]') then -- if <first_text> is a piped link
upcased = mw.ustring.match (s, '^%[%[[^|]+|%W*(%w)'); -- get first letter character
upcased = mw.ustring.upper (upcased); -- upcase first letter character
s = mw.ustring.gsub (s, '^(%[%[[^|]+|%W*)%w', '%1' .. upcased); -- replace
else -- here when <first_text> is a wikilink but not a piped link
upcased = mw.ustring.match (s, '^%[%[%W*%w'); -- get '[[' and first letter
upcased = mw.ustring.upper (upcased); -- upcase first letter character
s = mw.ustring.gsub (s, '^%[%[%W*%w', upcased); -- replace; no capture needed here
end
elseif s:match ('^%[%S+%s+[^%]]+%]') then -- if <s> is a ext link of some sort; must have label text
upcased = mw.ustring.match (s, '^%[%S+%s+%W*(%w)'); -- get first letter character
upcased = mw.ustring.upper (upcased); -- upcase first letter character
s = mw.ustring.gsub (s, '^(%[%S+%s+%W*)%w', '%1' .. upcased); -- replace
elseif s:match ('^%[%S+%s*%]') then -- if <s> is a ext link without label text; nothing to do
return s1 .. s; -- reattach prefix string (if present) and done
else -- <s> is not a wikilink or ext link; assume plain text
upcased = mw.ustring.match (s, '^%W*%w'); -- get the first letter character
upcased = mw.ustring.upper (upcased); -- upcase first letter character
s = mw.ustring.gsub (s, '^%W*%w', upcased); -- replace; no capture needed here
end
return s1 .. s; -- reattach prefix string (if present) and done
end
p.title = function (frame )
-- http://grammar.yourdictionary.com/capitalization/rules-for-capitalization-in-titles.html
-- recommended by The U.S. Government Printing Office Style Manual:
-- "Capitalize all words in titles of publications and documents,
-- except a, an, the, at, by, for, in, of, on, to, up, and, as, but, or, and nor."
local alwayslower = {['a'] = 1, ['an'] = 1, ['the'] = 1,
['and'] = 1, ['but'] = 1, ['or'] = 1, ['for'] = 1,
['nor'] = 1, ['on'] = 1, ['in'] = 1, ['at'] = 1, ['to'] = 1,
['from'] = 1, ['by'] = 1, ['of'] = 1, ['up'] = 1 }
local res = ''
local s = mw.text.trim( frame.args[1] or "" )
local words = mw.text.split( s, " ")
for i, s in ipairs(words) do
-- {{lc:}} is strip-marker safe, string.lower is not.
s = frame:callParserFunction('lc', s)
if i == 1 or alwayslower[s] ~= 1 then
s = mw.getContentLanguage():ucfirst(s)
end
words[i] = s
end
return table.concat(words, " ")
end
-- findlast finds the last item in a list
-- the first unnamed parameter is the list
-- the second, optional unnamed parameter is the list separator (default = comma space)
-- returns the whole list if separator not found
p.findlast = function(frame)
local s = mw.text.trim( frame.args[1] or "" )
local sep = frame.args[2] or ""
if sep == "" then sep = ", " end
local pattern = ".*" .. sep .. "(.*)"
local a, b, last = s:find(pattern)
if a then
return last
else
return s
end
end
-- stripZeros finds the first number and strips leading zeros (apart from units)
-- e.g "0940" -> "940"; "Year: 0023" -> "Year: 23"; "00.12" -> "0.12"
p.stripZeros = function(frame)
local s = mw.text.trim(frame.args[1] or "")
local n = tonumber( string.match( s, "%d+" ) ) or ""
s = string.gsub( s, "%d+", n, 1 )
return s
end
-- nowiki ensures that a string of text is treated by the MediaWiki software as just a string
-- it takes an unnamed parameter and trims whitespace, then removes any wikicode
p.nowiki = function(frame)
local str = mw.text.trim(frame.args[1] or "")
return mw.text.nowiki(str)
end
-- split splits text at boundaries specified by separator
-- and returns the chunk for the index idx (starting at 1)
-- #invoke:String2 |split |text |separator |index |true/false
-- #invoke:String2 |split |txt=text |sep=separator |idx=index |plain=true/false
-- if plain is false/no/0 then separator is treated as a Lua pattern - defaults to plain=true
p.split = function(frame)
local args = frame.args
if not(args[1] or args.txt) then args = frame:getParent().args end
local txt = args[1] or args.txt or ""
if txt == "" then return nil end
local sep = (args[2] or args.sep or ""):gsub('"', '')
local idx = tonumber(args[3] or args.idx) or 1
local plain = (args[4] or args.plain or "true"):sub(1,1)
plain = (plain ~= "f" and plain ~= "n" and plain ~= "0")
local splittbl = mw.text.split( txt, sep, plain )
if idx < 0 then idx = #splittbl + idx + 1 end
return splittbl[idx]
end
-- val2percent scans through a string, passed as either the first unnamed parameter or |txt=
-- it converts each number it finds into a percentage and returns the resultant string.
p.val2percent = function(frame)
local args = frame.args
if not(args[1] or args.txt) then args = frame:getParent().args end
local txt = mw.text.trim(args[1] or args.txt or "")
if txt == "" then return nil end
local function v2p (x)
x = (tonumber(x) or 0) * 100
if x == math.floor(x) then x = math.floor(x) end
return x .. "%"
end
txt = txt:gsub("%d[%d%.]*", v2p) -- store just the string
return txt
end
-- one2a scans through a string, passed as either the first unnamed parameter or |txt=
-- it converts each occurrence of 'one ' into either 'a ' or 'an ' and returns the resultant string.
p.one2a = function(frame)
local args = frame.args
if not(args[1] or args.txt) then args = frame:getParent().args end
local txt = mw.text.trim(args[1] or args.txt or "")
if txt == "" then return nil end
txt = txt:gsub(" one ", " a "):gsub("^one", "a"):gsub("One ", "A "):gsub("a ([aeiou])", "an %1"):gsub("A ([aeiou])", "An %1")
return txt
end
-- findpagetext returns the position of a piece of text in a page
-- First positional parameter or |text is the search text
-- Optional parameter |title is the page title, defaults to current page
-- Optional parameter |plain is either true for plain search (default) or false for Lua pattern search
-- Optional parameter |nomatch is the return value when no match is found; default is nil
p._findpagetext = function(args)
-- process parameters
local nomatch = args.nomatch or ""
if nomatch == "" then nomatch = nil end
--
local text = mw.text.trim(args[1] or args.text or "")
if text == "" then return nil end
--
local title = args.title or ""
local titleobj
if title == "" then
titleobj = mw.title.getCurrentTitle()
else
titleobj = mw.title.new(title)
end
--
local plain = args.plain or ""
if plain:sub(1, 1) == "f" then plain = false else plain = true end
-- get the page content and look for 'text' - return position or nomatch
local content = titleobj and titleobj:getContent()
return content and mw.ustring.find(content, text, 1, plain) or nomatch
end
p.findpagetext = function(frame)
local args = frame.args
local pargs = frame:getParent().args
for k, v in pairs(pargs) do
args[k] = v
end
if not (args[1] or args.text) then return nil end
-- just the first value
return (p._findpagetext(args))
end
-- returns the decoded url. Inverse of parser function {{urlencode:val|TYPE}}
-- Type is:
-- QUERY decodes + to space (default)
-- PATH does no extra decoding
-- WIKI decodes _ to space
p._urldecode = function(url, type)
url = url or ""
type = (type == "PATH" or type == "WIKI") and type
return mw.uri.decode( url, type )
end
-- {{#invoke:String2|urldecode|url=url|type=type}}
p.urldecode = function(frame)
return mw.uri.decode( frame.args.url, frame.args.type )
end
-- what follows was merged from Module:StringFunc
-- helper functions
p._GetParameters = require('Module:GetParameters')
-- Argument list helper function, as per Module:String
p._getParameters = p._GetParameters.getParameters
-- Escape Pattern helper function so that all characters are treated as plain text, as per Module:String
function p._escapePattern( pattern_str )
return mw.ustring.gsub( pattern_str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1" )
end
-- Helper Function to interpret boolean strings, as per Module:String
p._getBoolean = p._GetParameters.getBoolean
--[[
Strip
This function Strips characters from string
Usage:
{{#invoke:String2|strip|source_string|characters_to_strip|plain_flag}}
Parameters
source: The string to strip
chars: The pattern or list of characters to strip from string, replaced with ''
plain: A flag indicating that the chars should be understood as plain text. defaults to true.
Leading and trailing whitespace is also automatically stripped from the string.
]]
function p.strip( frame )
local new_args = p._getParameters( frame.args, {'source', 'chars', 'plain'} )
local source_str = new_args['source'] or ''
local chars = new_args['chars'] or '' or 'characters'
source_str = mw.text.trim(source_str)
if source_str == '' or chars == '' then
return source_str
end
local l_plain = p._getBoolean( new_args['plain'] or true )
if l_plain then
chars = p._escapePattern( chars )
end
local result
result = mw.ustring.gsub(source_str, "["..chars.."]", '')
return result
end
--[[
Match any
Returns the index of the first given pattern to match the input. Patterns must be consecutively numbered.
Returns the empty string if nothing matches for use in {{#if:}}
Usage:
{{#invoke:String2|matchAll|source=123 abc|456|abc}} returns '2'.
Parameters:
source: the string to search
plain: A flag indicating that the patterns should be understood as plain text. defaults to true.
1, 2, 3, ...: the patterns to search for
]]
function p.matchAny(frame)
local source_str = frame.args['source'] or error('The source parameter is mandatory.')
local l_plain = p._getBoolean( frame.args['plain'] or true )
for i = 1, math.huge do
local pattern = frame.args[i]
if not pattern then return '' end
if mw.ustring.find(source_str, pattern, 1, l_plain) then
return tostring(i)
end
end
end
--[[--------------------------< H Y P H E N _ T O _ D A S H >--------------------------------------------------
Converts a hyphen to a dash under certain conditions. The hyphen must separate
like items; unlike items are returned unmodified. These forms are modified:
letter - letter (A - B)
digit - digit (4-5)
digit separator digit - digit separator digit (4.1-4.5 or 4-1-4-5)
letterdigit - letterdigit (A1-A5) (an optional separator between letter and
digit is supported – a.1-a.5 or a-1-a-5)
digitletter - digitletter (5a - 5d) (an optional separator between letter and
digit is supported – 5.a-5.d or 5-a-5-d)
any other forms are returned unmodified.
str may be a comma- or semicolon-separated list
]]
function p.hyphen_to_dash( str, spacing )
if (str == nil or str == '') then
return str
end
local accept
str = mw.text.decode(str, true ) -- replace html entities with their characters; semicolon mucks up the text.split
local out = {}
local list = mw.text.split (str, '%s*[,;]%s*') -- split str at comma or semicolon separators if there are any
for _, item in ipairs (list) do -- for each item in the list
item = mw.text.trim(item) -- trim whitespace
item, accept = item:gsub ('^%(%((.+)%)%)$', '%1')
if accept == 0 and mw.ustring.match (item, '^%w*[%.%-]?%w+%s*[%-–—]%s*%w*[%.%-]?%w+$') then -- if a hyphenated range or has endash or emdash separators
if item:match ('^%a+[%.%-]?%d+%s*%-%s*%a+[%.%-]?%d+$') or -- letterdigit hyphen letterdigit (optional separator between letter and digit)
item:match ('^%d+[%.%-]?%a+%s*%-%s*%d+[%.%-]?%a+$') or -- digitletter hyphen digitletter (optional separator between digit and letter)
item:match ('^%d+[%.%-]%d+%s*%-%s*%d+[%.%-]%d+$') or -- digit separator digit hyphen digit separator digit
item:match ('^%d+%s*%-%s*%d+$') or -- digit hyphen digit
item:match ('^%a+%s*%-%s*%a+$') then -- letter hyphen letter
item = item:gsub ('(%w*[%.%-]?%w+)%s*%-%s*(%w*[%.%-]?%w+)', '%1–%2') -- replace hyphen, remove extraneous space characters
else
item = mw.ustring.gsub (item, '%s*[–—]%s*', '–') -- for endash or emdash separated ranges, replace em with en, remove extraneous whitespace
end
end
table.insert (out, item) -- add the (possibly modified) item to the output table
end
local temp_str = table.concat (out, ',' .. spacing) -- concatenate the output table into a comma separated string
temp_str, accept = temp_str:gsub ('^%(%((.+)%)%)$', '%1') -- remove accept-this-as-written markup when it wraps all of concatenated out
if accept ~= 0 then
temp_str = str:gsub ('^%(%((.+)%)%)$', '%1') -- when global markup removed, return original str; do it this way to suppress boolean second return value
end
return temp_str
end
function p.hyphen2dash( frame )
local str = frame.args[1] or ''
local spacing = frame.args[2] or ' ' -- space is part of the standard separator for normal spacing (but in conjunction with templates r/rp/ran we may need a narrower spacing
return p.hyphen_to_dash(str, spacing)
end
-- Similar to [[Module:String#endswith]]
function p.startswith(frame)
return (frame.args[1]:sub(1, frame.args[2]:len()) == frame.args[2]) and 'yes' or ''
end
return p
04ef69ae5227a8cff711cf325658a382056af15a
Module:Political party/C
828
1466
2995
2024-03-10T19:35:25Z
Wikipedia>Number 57
0
+
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["California Democratic Party"] = "Democratic Party (United States)",
["California Progressive Party"] = "Progressive Party (US)",
["California Republican Party"] = "Republican Party (United States)",
["Cambiamo"] = "Cambiamo!",
["Cambodian National Rescue Party"] = "Cambodia National Rescue Party",
["Canarian Nationalist Assembly"] = "Nationalist Canarian Assembly",
["Canarian United Left"] = "United Left (Spain)",
["Cap 21"] = "Cap21",
["Carlist Party"] = "Carlist Party (1970)",
["Carlist Party of Euskal Herria"] = "Carlist Party (1970)",
["Cartel (Luxembourg)"] = "Party of Independents of the East",
["Catalan Democratic Party"] = "Catalan European Democratic Party",
["Catalan Federation of the PSOE"] = "Spanish Socialist Workers' Party",
["Catalan Socialist Federation"] = "Spanish Socialist Workers' Party",
["Catalunya en Comú–Podem"] = "Catalunya en Comú",
["Catholic Centre Party (Portugal)"] = "Portuguese Catholic Centre",
["Catholic Democrats (The National Party)"] = "Catholic Democrats (Ireland)",
["Catholic Democrats"] = "Catholic Democrats (Ireland)",
["CCM"] = "Chama Cha Mapinduzi",
["CD&V"] = "Christen-Democratisch en Vlaams",
["CdH"] = "Humanist Democratic Centre",
["CDS - People's Party"] = "CDS – People's Party",
["CDU"] = "Christian Democratic Union of Germany",
["CDU (2023)"] = "Christian Democratic Union of Germany (2023)",
["Centre Agreement"] = "Centre Alliance",
["Centre Democratic Action of Galicia"] = "Citizens of Galicia Democratic Action",
["Centre démocrate humaniste"] = "Humanist Democratic Centre",
["Centre Independent Aragonese Candidacy"] = "Aragonese Party",
["Centre Party (Israel)"] = "Center Party (Israel)",
["Centre Party"] = "Centre Party (Sweden)",
["Centre Union (Greece)"] = "Centre Union",
["Centre Union – New Forces"] = "Centre Union",
["Centre-left coalition"] = "Centre-left coalition (Italy)",
["Centre-right coalition"] = "Centre-right coalition (Italy)",
["Centre-right Coalition"] = "Centre-right coalition (Italy)",
["Centrist Party (United States)"] = "Centrist Party (US)",
["Centrists of Catalonia"] = "Union of the Democratic Centre (Spain)",
["Ceylon Indian Congress"] = "Ceylon Workers' Congress",
["Chama cha Mapinduzi"] = "Chama Cha Mapinduzi",
["Cambio 90 – New Majority"] = "Cambio 90",
["Chart Thai Pattana Party"] = "Chartthaipattana Party",
["Change UK – The Independent Group"] = "The Independent Group for Change",
["Change UK"] = "The Independent Group for Change",
["Chilean Socialist Party (1987-1990)"] = "Chilean Socialist Party",
["Chilean Socialist Party (1987–1990)"] = "Chilean Socialist Party", -- dash differences
["China Democratic National Construction Association"] = "China National Democratic Construction Association",
["Chinese Youth Party"] = "Young China Party",
["Chrisitan Democracy for the Autonomies"] = "Christian Democracy for the Autonomies",
["Christian and Democratic Union - Czechoslovak People's Party"] = "KDU-ČSL",
["Christian and Democratic Union – Czechoslovak People's Party"] = "KDU-ČSL", -- dash difference
["Christian Democracy"] = "Christian Democracy (Italy)",
["Christian Democrat Party of Chile"] = "Christian Democratic Party (Chile)",
["Christian Democratic and Flemish"] = "Christen-Democratisch en Vlaams",
["Christian Democratic Party (France)"] = "VIA, the Way of the People",
["Christian Democratic Team of the Spanish State"] = "Christian Democracy Federation–Christian Democracy Team",
["Christian Democratic Union (Germany)"] = "Christian Democratic Union of Germany",
["Christian Democratic Union (Germany, 2023)"] = "Christian Democratic Union of Germany (2023)",
["Christian Democratic Unity"] = "Christian Democrats (Sweden)",
["Christian Heritage New Zealand"] = "Christian Heritage Party of New Zealand",
["Christian Liberal Party"] = "Christian Liberty Unification Party",
["Christian Liberty Party"] = "Christian Liberty Unification Party",
["Christian Nationalist Party (US)"] = "Constitution Party (US, 1952)",
["Christian People's Party (Latvia)"] = "Popular Front of Latvia",
["Christian Social Party (Belgium, defunct)"] = "Christian Social Party (Belgium, 1945)",
["Christian Social Party (Wallonia)"] = "Humanist Democratic Centre",
["Christian Social Party"] = "Christian Social Party (Germany)",
["Christian Social Union of Bavaria"] = "Christian Social Union in Bavaria",
["Christian Workers' Union (Finland)"] = "Christian Workers' Union of Finland",
["Christian-Democratic National Peasants' Party (Romania)"] = "Christian Democratic National Peasants' Party",
["ChristianUnion"] = "Christian Union (Netherlands)",
["CIBAC"] = "Citizens' Battle Against Corruption",
["CISTA"] = "Cannabis Is Safer Than Alcohol",
["Citizen Europe"] = "Cap21",
["Citizen’s Coalition for Justice Party (Mongolia)"] = "Citizen's Coalition for Justice Party (Mongolia)",
["Citizens Coalition For Change"] = "Citizens Coalition for Change",
["Citizens of Democratic Centre"] = "Democratic Centre Coalition",
["Citizens Party (United States)"] = "Citizens Party (US)",
["Citizens' Liberation Party"] = "Nagrik Unmukti Party",
["Citizens' Movement (France)"] = "Citizen and Republican Movement",
["Citizens' Movement for Change"] = "Mouvement des Citoyens pour le Changement",
["Citizens' Party (Philippines)"] = "Nationalist Citizens' Party",
["Citizenship, Action, Participation for the 21st Century"] = "Cap21",
["Civic Centre Alliance"] = "Centre Civic Alliance",
["Civic-Liberal Alliance"] = "Civic Liberal Alliance",
["Civil Congress of Ukraine"] = "Slavic Party (Ukraine)",
["Civil Contract"] = "Civil Contract (Armenia)",
["Civil Initiative"] = "Civic Initiative",
["Civil Will-Green Party"] = "Civil Will–Green Party",
["Club 2002"] = "Club 2002 – Party for the Unity and the Republic",
["Coalition for Bulgaria"] = "BSP for Bulgaria",
["Coalition for Democratic Unity"] = "Democratic Unity Roundtable",
["Coalition for Europe (2009)"] = "Coalition for Europe",
["Coalition for Europe (2014)"] = "Coalition for Europe",
["Coalition for Republic – Republican Party of Czechoslovakia"] = "Rally for the Republic – Republican Party of Czechoslovakia",
["Coalition for the Europe of the Peoples"] = "Europe of the Peoples",
["Coalition Liberal"] = "National Liberal Party (UK, 1922)",
["Coalition New Zealand"] = "Vision NZ",
["Coalition of the Radical Left"] = "Syriza",
["Coalition Party and Rural People's Association"] = "Estonian Coalition Party",
["Coalition Unionist"] = "Coalition Conservative",
["Collective Action Party — Civic Congress"] = "Common Action Political Party — Civil Congress",
["Collective Action Party – Civic Congress"] = "Common Action Political Party — Civil Congress",
["Colorado Center Party"] = "Center Party (Colorado)",
["Colorado Democratic Party"] = "Democratic Party (United States)",
["Colorado Republican Party"] = "Republican Party (United States)",
["Colombia Coalition"] = "Citizens' Compromise",
["Common Peoples' Party"] = "Other parties",
["Commonwealth Land Party (United States)"] = "Commonwealth Land Party (US)",
["Commonwealth Liberal"] = "Commonwealth Liberal Party",
["Communist League Marxist–Leninists (the revolutionaries)"] = "Communist Party (Sweden)",
["Communist Movement of Aragon"] = "Communist Movement (Spain)",
["Communist Movement of Asturias"] = "Communist Movement (Spain)",
["Communist Movement of Catalonia"] = "Communist Movement (Spain)",
["Communist Movement of Euskadi"] = "Communist Movement (Spain)",
["Communist Movement of Galicia"] = "Communist Movement (Spain)",
["Communist Movement of the Valencian Country"] = "Communist Movement (Spain)",
["Communist Party (Sweden, 2018)"] = "Party of Labour of Albania",
["Communist Party (United States)"] = "Communist Party (US)",
["Communist Party of Andalusia"] = "Communist Party of Spain",
["Communist Party of Aragon"] = "Communist Party of Spain",
["Communist Party of Armenia (Soviet Union)"] = "Communist Party of the Soviet Union",
["Communist Party of Asturias"] = "Communist Party of Spain",
["Communist Party of Belgium"] = "Workers' Party of Belgium",
["Communist Party of Britain (Marxist-Leninist)"] = "Communist Party of Britain (Marxist–Leninist)",
["Communist Party of Cantabria"] = "Communist Party of Spain",
["Communist Party of Castile and León"] = "Communist Party of Spain",
["Communist Party of Castilla–La Mancha"] = "Communist Party of Spain",
["Communist Party of Ceylon"] = "Communist Party of Sri Lanka",
["Communist Party of China"] = "Chinese Communist Party",
["Communist Party of Estonia"] = "Communist Party of the Soviet Union",
["Communist Party of Extremadura"] = "Communist Party of Spain",
["Communist Party of Finland (1997)"] = "Communist Party of Finland (1994)",
["Communist Party of Galicia (Revolutionary Marxist)"] = "Workers' Party of Spain–Communist Unity",
["Communist Party of Galicia"] = "Communist Party of Spain",
["Communist Party of Germany (Opposition)"] = "Communist Party of Germany",
["Communist Party of Great Britain (Marxist-Leninist)"] = "Communist Party of Great Britain (Marxist–Leninist)",
["Communist Party of India (Marxist-Leninist) (Liberation)"] = "Communist Party of India (Marxist–Leninist) Liberation",
["Communist Party of India (Marxist-Leninist) Liberation"] = "Communist Party of India (Marxist–Leninist) Liberation",
["Communist Party of India (Marxist-Leninist) Red Star"] = "Communist Party of India (Marxist–Leninist) Red Star",
["Communist Party of India (Marxist–Leninist)"] = "Provisional Central Committee, Communist Party of India (Marxist–Leninist)",
["Communist Party of Ireland (Marxist-Leninist)"] = "Communist Party of Ireland (Marxist–Leninist)",
["Communist Party of La Rioja"] = "Communist Party of Spain",
["Communist Party of Madrid"] = "Communist Party of Spain",
["Communist Party of Nepal (Marxist-Leninist) (1998)"] = "Communist Party of Nepal (Marxist–Leninist) (2002)",
["Communist Party of Nepal (Marxist-Leninist) (2002)"] = "Communist Party of Nepal (Marxist–Leninist) (2002)",
["Communist Party of Nepal (Unified Marxist-Leninist)"] = "Communist Party of Nepal (Unified Marxist–Leninist)",
["Communist Party of the Balearic Islands"] = "Communist Party of Spain",
["Communist Party of the Basque Country"] = "Communist Party of Spain",
["Communist Party of the Canaries"] = "Communist Party of Spain",
["Communist Party of the Catalan People"] = "Communist Party of the Peoples of Spain",
["Communist Party of the Galician People"] = "Communist Party of the Peoples of Spain",
["Communist Party of the Portuguese Workers / Reorganizative Movement of the Party of the Proletariat"] = "Portuguese Workers' Communist Party",
["Communist Party of the Region of Murcia"] = "Communist Party of Spain",
["Communist Party of the Valencian Country"] = "Communist Party of Spain",
["Communist Party of Turkey (current)"] = "Communist Party of Turkey (modern)",
["Communist Party of Turkey (today)"] = "Communist Party of Turkey (modern)",
["Communist Party of Yugoslavia"] = "League of Communists of Yugoslavia",
["Communist Workers' Party of Catalonia"] = "Spanish Communist Workers' Party",
["Communists' Unity Board"] = "Workers' Party of Spain–Communist Unity",
["Community of the People"] = "Inuit Ataqatigiit",
["Concert of Parties for Democracy"] = "Concertación",
["Concertación de Partidos por la Democracia"] = "Concertación",
["Confederation for an Independent Poland"] = "Confederation of Independent Poland",
["Connecticut Democratic Party"] = "Democratic Party (United States)",
["Connecticut for Lieberman"] = "Independent (US)",
["Connecticut Republican Party"] = "Republican Party (United States)",
["Connecticut Green Party"] = "Green Party (US)",
["Connecticut Working Families Party"] = "Working Families Party",
["Conservatism"] = "Conservatism sidebar",
["Conservative and National Liberal"] = "National Liberal Party (UK, 1931)",
["Conservative and Unionist"] = "Scottish Conservatives",
["Conservative Party (New York)"] = "Conservative Party (US)",
["Conservative Party (UK)"] = "Conservative and Unionist Party (UK)",
["Conservative Party (United States)"] = "Conservative Party (US)",
["Conservative Party of Canada (historical)"] = "Conservative Party of Canada (1867–1942)",
["Conservative Party (Virginia, 1867)"] = "Conservative Party (US)",
["Conservative Party of Cuba"] = "National Conservative Party (Cuba)",
["Conservative Party of New York State"] = "Conservative Party (US)",
["Conservative Party of New York"] = "Conservative Party (US)",
["Conservative Party of New Zealand"] = "New Conservative Party of New Zealand",
["Conservative Party of Norway"] = "Conservative Party (Norway)",
["Conservative Party of Virginia (1965)"] = "Conservative Party (Virginia, 1965)",
["Conservative Party"] = "Conservative and Unionist Party (UK)",
["Conservatives in Northern Ireland"] = "Northern Ireland Conservatives",
["Constituent Unity"] = "New Social Pact",
["Constitution Party (Oregon)"] = "Constitution Party (US)",
["Constitution Party (United States)"] = "Constitution Party (US)",
["Constitution Party (Utah)"] = "Constitution Party (US)",
["Constitution Party of Minnesota"] = "Constitution Party (US)",
["Constitution Party of Oregon"] = "Constitution Party (US)",
["Constitution Party of Washington"] = "Constitution Party (US)",
["Constitutional Democratic Rally"] = "Democratic Constitutional Rally",
["Constitutional People's Party (Finland)"] = "Constitutional Right Party",
["Constitutional Union Party (United States)"] = "Constitutional Union Party (US)",
["Constructive Ecological Party \"KEDR\""] = "Russian Ecological Party \"The Greens\"",
["Cook Islands Party Tumu"] = "Party Tumu",
["COPEI"] = "Copei",
["Costa Rican Renovation Party"] = "Costa Rican Renewal Party",
["Country Party of Australia – Tasmania"] = "National Party of Australia – Tasmania",
["Country Party"] = "National Party of Australia",
["Country–Liberal Coalition"] = "Country/Liberal Coalition",
["Country"] = "National Party of Australia",
["Country/National coalition"] = "National Party of Australia",
["Country/Nationalist coalition"] = "National Party of Australia",
["Country/QPP coalition"] = "National Party of Australia",
["Country/UAP coalition"] = "National Party of Australia",
["Country/United coalition"] = "National Party of Australia",
["Courage Italy"] = "Coraggio Italia",
["CPI(M)"] = "Communist Party of India (Marxist)",
["CREO Movement"] = "Creating Opportunities",
["Crescent Star Party"] = "Crescent Star Party (Indonesia)",
["Croatian Citizen Party"] = "Croatian Civic Party",
["Croatian Labourists - Labour Party"] = "Croatian Labourists – Labour Party",
["Croatian People's Party - Liberal Democrats"] = "Croatian People's Party – Liberal Democrats",
["Croatian Sustainable Development"] = "Green Alternative - Sustainable Development of Croatia",
["Crossbench"] = "Crossbencher",
["CSSD"] = "Czech Social Democratic Party",
["CSSD (2021)"] = "Czech Social Democratic Party (2021)",
["Cuban Popular Party-National League"] = "Cuban Popular Party",
["Cumann na nGaedhael"] = "Cumann na nGaedheal",
["CumbriaFirst"] = "Putting Cumbria First",
["Cumbria First"] = "Putting Cumbria First",
["CVP"] = "Christen-Democratisch en Vlaams",
}
local full = {
["Caballas Coalition"] = {abbrev = "", color = "#C9601C", shortname = "Caballas",},
["Cabal (political party)"] = {abbrev = "", color = "#1642fd", shortname = "Cabal",},
["Cáceres Eres Tú"] = {abbrev = "", color = "#5A1E5A", shortname = "",},
["Cáceres Viva"] = {abbrev = "", color = "#008B15", shortname = "",},
["Caledonia Together"] = {abbrev = "", color = "#00CCCC", shortname = "",},
["Caledonian Union"] = {abbrev = "", color = "#008000", shortname = "",},
["California National Party"] = {abbrev = "", color = "#FFD700", shortname = "California National",},
["Caló Nationalist Party"] = {abbrev = "", color = "#008284", shortname = "",},
["Cambia Avilés"] = {abbrev = "", color = "#19905A", shortname = "",},
["Cambia Logroño"] = {abbrev = "", color = "#A30052", shortname = "",},
["Cámbialo Municipalistas"] = {abbrev = "", color = "#AD0B5A", shortname = "",},
["Cambiamo!"] = {abbrev = "", color = "#E58321", shortname = "",},
["Cambiando Burlada"] = {abbrev = "", color = "#9F82A1", shortname = "",},
["Cambiar Huesca"] = {abbrev = "", color = "#27933E", shortname = "",},
["Cambiar la Región de Murcia"] = {abbrev = "", color = "#80B620", shortname = "",},
["Cambiemos Murcia"] = {abbrev = "", color = "#C0CD37", shortname = "",},
["Cambiemos Orihuela"] = {abbrev = "", color = "#009A97", shortname = "",},
["Cambiemos Parla"] = {abbrev = "", color = "#BF469A", shortname = "",},
["Cambiemos Villalba"] = {abbrev = "", color = "#B00868", shortname = "",},
["Cambiemos"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Cambio (political party)"] = {abbrev = "", color = "#fbd504", shortname = "Change",},
["Cambio 90"] = {abbrev = "", color = "#D45500", shortname = "",},
["Cambio-Aldaketa"] = {abbrev = "", color = "#A2AA00", shortname = "",},
["Cambodia Indigenous Peoples Democracy Party"] = {abbrev = "", color = "#522315", shortname = "",},
["Cambodia National Rescue Party"] = {abbrev = "CNRP", color = "#0047AB", shortname = "",},
["Cambodian Nationality Party"] = {abbrev = "", color = "#FDEB04", shortname = "",},
["Cambodian People's Party"] = {abbrev = "CPP", color = "#1E90FF", shortname = "",},
["Cambodian Youth Party"] = {abbrev = "CYP", color = "#0045BC", shortname = "",},
["Cambridge Socialists"] = {abbrev = "", color = "red", shortname = "",},
["Camden Charter"] = {abbrev = "", color = "white", shortname = "",},
["Cameroon Democratic Union"] = {abbrev = "UDC", color = "#2B3781", shortname = "",},
["Cameroon People's Democratic Movement"] = {abbrev = "RDPC", color = "#73C2FB", shortname = "",},
["Cameroon Renaissance Movement"] = {abbrev = "MRC", color = "#9BC8E9", shortname = "",},
["Cameroonian National Union"] = {abbrev = "UNC", color = "#00CD12", shortname = "",},
["Cameroonian Union"] = {abbrev = "", color = "#007F00", shortname = "",},
["Caminando Juntos"] = {abbrev = "CJ", color = "#203C90", shortname = "",},
["Camp of National Unity"] = {abbrev = "OZN", color = "#00177C", shortname = "",},
["Campaign for a More Prosperous Britain"] = {abbrev = "", color = "grey", shortname = "More Prosperous Britain",},
["Can Lao Party"] = {abbrev = "", color = "#39944A", shortname = "",},
["Canadian Alliance"] = {abbrev = "", color = "#5F9EA0", shortname = "Alliance",},
["Canarian Assembly"] = {abbrev = "", color = "#C62821", shortname = "",},
["Canarian Centrist Group"] = {abbrev = "", color = "#0D601C", shortname = "",},
["Canarian Coalition–New Canaries"] = {abbrev = "", color = "#BAF73E", shortname = "",},
["Canarian Coalition"] = {abbrev = "CC", color = "#FFD700", shortname = "",},
["Canarian Green Party"] = {abbrev = "", color = "#85C026", shortname = "",},
["Canarian Greens"] = {abbrev = "", color = "#008000", shortname = "",},
["Canarian Independent Groups"] = {abbrev = "AIC", color = "#000088", shortname = "",},
["Canarian Nationalist Alternative"] = {abbrev = "", color = "#AD221B", shortname = "",},
["Canarian Nationalist Convergence"] = {abbrev = "", color = "#65BFE3", shortname = "",},
["Canarian Nationalist Federation"] = {abbrev = "FNC", color = "#823D8F", shortname = "",},
["Canarian Nationalist Party"] = {abbrev = "", color = "#495087", shortname = "",},
["Canarian People's Union"] = {abbrev = "", color = "#BA0033", shortname = "",},
["Canarian Popular Alternative"] = {abbrev = "", color = "#009642", shortname = "",},
["Canarian Social Democratic Centre"] = {abbrev = "", color = "#FF7F02", shortname = "",},
["Canarian Union"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Canaries Decides"] = {abbrev = "", color = "#9B0024", shortname = "",},
["Canaries for Progress"] = {abbrev = "", color = "#3485BD", shortname = "",},
["Candidacy for the Neighbors' Participation in the City Council"] = {abbrev = "", color = "#DEC939", shortname = "",},
["Candidatura de Unidad Popular"] = {abbrev = "", color = "#A0866E", shortname = "",},
["Candlelight Party"] = {abbrev = "", color = "#020878", shortname = "Candlelight",},
["Cangas Left Alternative"] = {abbrev = "", color = "#6F956C", shortname = "",},
["Cannabis Is Safer Than Alcohol"] = {abbrev = "CISTA", color = "#D2B48C", shortname = "",},
["Cannabis Law Reform"] = {abbrev = "", color = "#556B2F", shortname = "",},
["Cannabis Party (Spain)"] = {abbrev = "", color = "#428600", shortname = "",},
["Cannabis Party–Green Light"] = {abbrev = "", color = "#3AAA35", shortname = "",},
["Cantabrian Nationalist Council"] = {abbrev = "", color = "#973D3C", shortname = "",},
["Cantabrian Unity"] = {abbrev = "", color = "#08C853", shortname = "",},
["Cantabristas"] = {abbrev = "", color = "#7D002E", shortname = "",},
["Cantonal Party"] = {abbrev = "", color = "#8F3F42", shortname = "",},
["Canvey Island Independent Party"] = {abbrev = "CIIP", color = "#000000", shortname = "",},
["Canviem entre Tots"] = {abbrev = "", color = "#5B244B", shortname = "",},
["Canviem Mollet"] = {abbrev = "", color = "#631F5E", shortname = "",},
["Cap Ecology"] = {abbrev = "", color = "#509A32", shortname = "",},
["Cap21"] = {abbrev = "", color = "#9db55c", shortname = "",},
["Cape Coloured Congress"] = {abbrev = "", color = "#000000", shortname = "",},
["Cape Party"] = {abbrev = "", color = "#000076", shortname = "",},
["Capitalist Party of South Africa"] = {abbrev = "", color = "#693C97", shortname = "",},
["Capitalist Party"] = {abbrev = "", color = "#4A104A", shortname = "",},
["Caribbean Socialist Party"] = {abbrev = "", color = "#be1918", shortname = "",},
["Caring for Macau"] = {abbrev = "", color = "#1034A6", shortname = "",},
["Carlist Party (1970)"] = {abbrev = "", color = "#FF454F", shortname = "",},
["Carlist Traditionalist Communion"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Carpatho-Russian Labour Party of Small Peasants and Landless"] = {abbrev = "KTPMB", color = "orange", shortname = "",},
["Cartagena Sí Se Puede"] = {abbrev = "", color = "#572458", shortname = "",},
["Cartagenerist Party"] = {abbrev = "", color = "#BE2F33", shortname = "",},
["Cartago Agrarian Force Party"] = {abbrev = "FAC", color = "#87CEEB", shortname = "",},
["Cartago Agrarian Union Party"] = {abbrev = "PUAC", color = "#BA55D3", shortname = "",},
["Cartago Green Party"] = {abbrev = "PVC", color = "green", shortname = "",},
["Carthaginense Citizens' Initiative"] = {abbrev = "", color = "#820004", shortname = "",},
["Cartista"] = {abbrev = "", color = "#002395", shortname = "",},
["CASA–CE"] = {abbrev = "", color = "#52a8ff", shortname = "",},
["CasaPound"] = {abbrev = "", color = "#000000", shortname = "",},
["Cascadia Bioregional Party"] = {abbrev = "", color = "#067DC4", shortname = "",},
["Cassolists"] = {abbrev = "", color = "#2EA5A5", shortname = "",},
["Castelló en Moviment"] = {abbrev = "", color = "#35A299", shortname = "",},
["Castellón Democracy"] = {abbrev = "", color = "#0D9F4E", shortname = "",},
["Castilian Left"] = {abbrev = "", color = "#C5496F", shortname = "",},
["Castilian Party"] = {abbrev = "", color = "#551D79", shortname = "",},
["Castilian Regionalist Party"] = {abbrev = "", color = "#F0DD07", shortname = "",},
["Castilian Unity"] = {abbrev = "", color = "#313494", shortname = "",},
["Castilianist Union"] = {abbrev = "", color = "#DC143C", shortname = "",},
["CastroVerde (political party)"] = {abbrev = "", color = "#06BC58", shortname = "",},
["Casual vacancy"] = {abbrev = "", color = "#FFFFFF", shortname = "Vacant",},
["Catalan Action"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Catalan Agreement of Progress"] = {abbrev = "", color = "#FA8005", shortname = "",},
["Catalan Centre"] = {abbrev = "", color = "#6D1402", shortname = "",},
["Catalan Civil Support"] = {abbrev = "", color = "#A11C26", shortname = "",},
["Catalan Coexistence"] = {abbrev = "", color = "#0E2D87", shortname = "",},
["Catalan European Democratic Party"] = {abbrev = "PDeCAT", color = "#0263AC", shortname = "",},
["Catalan Left"] = {abbrev = "", color = "#D6B800", shortname = "",},
["Catalan Nationalist Republican"] = {abbrev = "", color = "#FACF9A", shortname = "",},
["Catalan Republican Party (1917)"] = {abbrev = "", color = "#B35359", shortname = "",},
["Catalan Republican Party"] = {abbrev = "", color = "#EB5604", shortname = "",},
["Catalan Solidarity (1906)"] = {abbrev = "SC", color = "#FFBC3D", shortname = "",},
["Catalan Solidarity (1980)"] = {abbrev = "", color = "#FFA07A", shortname = "",},
["Catalan Solidarity for Independence"] = {abbrev = "SI", color = "#CA0405", shortname = "",},
["Catalan Sovereigntist Bloc"] = {abbrev = "", color = "#C1001F", shortname = "",},
["Catalonia Among Neighbors"] = {abbrev = "", color = "#914B1E", shortname = "",},
["Catalonia in the Senate"] = {abbrev = "", color = "#FFD74D", shortname = "",},
["Catalonia Yes"] = {abbrev = "", color = "#1E242E", shortname = "",},
["Catalunya en Comú"] = {abbrev = "", color = "#912C45", shortname = "",},
["Catalunya Lliure"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Catalunya Sí que es Pot"] = {abbrev = "", color = "#C4375B", shortname = "CatSíqueesPot",},
["Catamarca People's Movement"] = {abbrev = "", color = "#0052CE", shortname = "",},
["Catarinense Republican Party"] = {abbrev = "PRC", color = "#FA8072", shortname = "",},
["Catholic-National Conservative Party in Bohemia"] = {abbrev = "KNKSČ", color = "#004F50", shortname = "",},
["Catholic Church footer"] = {abbrev = "", color = "#FFD700", shortname = "Catholic",},
["Catholic Democrats (Ireland)"] = {abbrev = "", color = "#8A8AE0", shortname = "Catholic Democrats",},
["Catholic Election Action"] = {abbrev = "WAK", color = "#3F82C6", shortname = "",},
["Catholic League"] = {abbrev = "LC", color = "#2D2D2D", shortname = "",},
["Catholic National Party"] = {abbrev = "KNP", color = "#47B26B", shortname = "",},
["Catholic Party (Belgium)"] = {abbrev = "", color = "#FFD700", shortname = "Catholic",},
["Catholic Party (Indonesia)"] = {abbrev = "", color = "#800000", shortname = "Katolik",},
["Catholic Party (Liverpool)"] = {abbrev = "", color = "#99FF66", shortname = "Catholic",},
["Catholic People's Party (Poland)"] = {abbrev = "SKL", color = "#335B5B", shortname = "",},
["Catholic People's Party"] = {abbrev = "KVP", color = "#004F50", shortname = "",},
["Catholic Union (Spain)"] = {abbrev = "", color = "#1D5D96", shortname = "",},
["Catholic Workers' Party"] = {abbrev = "PCO", color = "#800000", shortname = "",},
["Cavalier"] = {abbrev = "", color = "white", shortname = "",},
["Cayman Democratic Party"] = {abbrev = "CDP", color = "#345284", shortname = "",},
["Cayman Islands People's Party"] = {abbrev = "", color = "#FFC30D", shortname = "",},
["CDS – People's Party"] = {abbrev = "CDS–PP", color = "#0093DD", shortname = "",},
["CDU/CSU"] = {abbrev = "", color = "#151518", shortname = "",},
["CEDA"] = {abbrev = "", color = "#303180", shortname = "",},
["Ceann Comhairle"] = {abbrev = "", color = "#000000", shortname = "",},
["Ceire Cion"] = {abbrev = "", color = "salmon", shortname = "",},
["Célbakísér Civil Szövetség"] = {abbrev = "", color = "#95C241", shortname = "",},
["Center for Islamic Iran Academics"] = {abbrev = "CIIA", color = "#03babe", shortname = "",},
["Center for the Study of Natural Resources"] = {abbrev = "", color = "#17AA5C", shortname = "",},
["Center Party (Israel)"] = {abbrev = "", color = "#1935D0", shortname = "",},
["Center Party (Norway)"] = {abbrev = "", color = "#D63D2D", shortname = "",},
["Center Union-New Forces"] = {abbrev = "EK-ND", color = "#FF7F50", shortname = "",},
["Centered for Tarragona"] = {abbrev = "", color = "#00436E", shortname = "",},
["Centered Progressives Coalition"] = {abbrev = "", color = "#C60079", shortname = "",},
["Centrados"] = {abbrev = "", color = "#D9007F", shortname = "",},
["Central African Democratic Rally"] = {abbrev = "RDC", color = "#FFE339", shortname = "",},
["Central African Democratic Union"] = {abbrev = "UDC", color = "#B1CF70", shortname = "",},
["Central African Republican Party"] = {abbrev = "", color = "#4682B4", shortname = "",},
["Central and Western Democratic Power"] = {abbrev = "CWDP", color = "#d75453", shortname = "",},
["Central and Western District Coalition"] = {abbrev = "", color = "#3FA900", shortname = "",},
["Central Committee of Tallinn Trade Unions"] = {abbrev = "TAK", color = "#FF0000", shortname = "",},
["Central Polish Electoral Committee"] = {abbrev = "LCRK", color = "#F200CB", shortname = "",},
["Centralist Republican Party"] = {abbrev = "", color = "#B82761", shortname = "",},
["Centrats"] = {abbrev = "", color = "#16946F", shortname = "",},
["Centre (Croatian political party)"] = {abbrev = "", color = "#2D7AB0", shortname = "",},
["Centre Alliance (Argentina)"] = {abbrev = "", color = "#0087D1", shortname = "Centre Alliance",},
["Centre Alliance"] = {abbrev = "", color = "#ff6300", shortname = "",},
["Centre and Democracy Forum"] = {abbrev = "", color = "#009E31", shortname = "",},
["Centre Civic Alliance"] = {abbrev = "POC", color = "#FFD054", shortname = "",},
["Centre Democracy and Progress"] = {abbrev = "", color = "#00CCCC", shortname = "",},
["Centre Democrats (Denmark)"] = {abbrev = "", color = "#800080", shortname = "Centre Democrats",},
["Centre Democrats (Netherlands)"] = {abbrev = "CD", color = "#7F663D", shortname = "",},
["Centre for Poland"] = {abbrev = "CdP", color = "#0D3570", shortname = "",},
["Centre Group"] = {abbrev = "", color = "#F47F31", shortname = "",},
["Centre of Arona"] = {abbrev = "", color = "#70B72B", shortname = "",},
["Centre of Social Democrats"] = {abbrev = "", color = "#4B0082", shortname = "",},
["Centre Party '86"] = {abbrev = "", color = "red", shortname = "",},
["Centre Party (Denmark)"] = {abbrev = "", color = "#39944A", shortname = "Centre",},
["Centre Party (Faroe Islands)"] = {abbrev = "", color = "#0A4168", shortname = "Centre",},
["Centre Party (Finland)"] = {abbrev = "Kesk.", color = "#3AAD2E", shortname = "Centre",},
["Centre Party (Germany)"] = {abbrev = "", color = "#000000", shortname = "Centre",},
["Centre Party (Germany, 1945)"] = {abbrev = "", color = "#004C90", shortname = "Centre",},
["Centre Party (Greenland)"] = {abbrev = "", color = "#FFCC00", shortname = "Akulliit",},
["Centre Party (Hungary)"] = {abbrev = "", color = "#FFB900", shortname = "Centre",},
["Centre Party (Iceland)"] = {abbrev = "", color = "#002169", shortname = "Centre",},
["Centre Party (Jersey)"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Centre Party (Latvia)"] = {abbrev = "", color = "#8D2421", shortname = "",},
["Centre Party (Nauru)"] = {abbrev = "", color = "#FFC718", shortname = "",},
["Centre Party (Netherlands)"] = {abbrev = "CP", color = "red", shortname = "",},
["Centre Party (Norway)"] = {abbrev = "", color = "#00843D", shortname = "Centre",},
["Centre Party (Rhodesia)"] = {abbrev = "", color = "#0088ff", shortname = "Centre Party",},
["Centre Party (Sweden)"] = {abbrev = "C", color = "#124838", shortname = "Centre",},
["Centre Party (Sweden, 1873)"] = {abbrev = "", color = "#6BB7EC", shortname = "Centre",},
["Centre Party (Tasmania)"] = {abbrev = "", color = "#3E933E", shortname = "Centre",},
["Centre Party (Turkey)"] = {abbrev = "", color = "#12A19A", shortname = "Centre",},
["Centre Party of Ireland"] = {abbrev = "Cen", color = "#0000A5", shortname = "Centre Party",},
["Centre Republican Party"] = {abbrev = "", color = "#00984B", shortname = "",},
["Centre through Action for Progress"] = {abbrev = "CAP", color = "#0EF70E", shortname = "",},
["Centre Union"] = {abbrev = "ΕΚ", color = "#FCB825", shortname = "",},
["Centre Union for Terrassa"] = {abbrev = "", color = "#C7DB08", shortname = "",},
["Centre Unity"] = {abbrev = "", color = "#881A2D", shortname = "",},
["Centre-left coalition (Italy)"] = {abbrev = "", color = "#EF3E3E", shortname = "Centre-left",},
["Centre-Left of Albacete"] = {abbrev = "", color = "#F4644A", shortname = "",},
["Centre-left politics"] = {abbrev = "", color = "#464646", shortname = "Centre-left",},
["Centre-right coalition (Italy)"] = {abbrev = "", color = "#0A6BE1", shortname = "Centre-right",},
["Centre-right politics"] = {abbrev = "", color = "#ADC1FD", shortname = "Centre-right",},
["Centrem"] = {abbrev = "", color = "#0B5663", shortname = "",},
["Centrism (Italy)"] = {abbrev = "", color = "lightblue", shortname = "Centrismo",},
["Centrist Alliance"] = {abbrev = "AC", color = "#473B84", shortname = "",},
["Centrist Convergence–Democratic and Social Centre"] = {abbrev = "", color = "#FF9900", shortname = "",},
["Centrist Democratic Party (Rwanda)"] = {abbrev = "", color = "#F0E68C", shortname = "",},
["Centrist Democratic Party of the Philippines"] = {abbrev = "CDP", color = "#0067B4", shortname = "",},
["Centrist Party (Spain)"] = {abbrev = "", color = "#08D152", shortname = "",},
["Centrist Party (US)"] = {abbrev = "", color = "#3333FF", shortname = "",},
["Centrist Republican Stable Movement"] = {abbrev = "MECR", color = "purple", shortname = "",},
["Centrist Union group"] = {abbrev = "UC", color = "#0073c3", shortname = "",},
["Centrist Union of Moldova"] = {abbrev = "", color = "#062A78", shortname = "",},
["Centrists for Europe"] = {abbrev = "", color = "#A6DBEC", shortname = "",},
["Centrists of Galicia"] = {abbrev = "", color = "#0EB2D5", shortname = "",},
["Centrists of the Valencian Community"] = {abbrev = "", color = "#39B639", shortname = "",},
["Centrolew"] = {abbrev = "", color = "#BC235B", shortname = "",},
["Centrum"] = {abbrev = "", color = "#5F9F3F", shortname = "",},
["Cerna (political organization)"] = {abbrev = "", color = "#00A3E0", shortname = "",},
["Ceuta Ya!"] = {abbrev = "", color = "#F6CC46", shortname = "",},
["Ceutan Democratic Union"] = {abbrev = "", color = "#AD2916", shortname = "",},
["Ceutan Party"] = {abbrev = "", color = "#2F4378", shortname = "",},
["Ceylon Communist Party (Maoist)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Ceylon Labour Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Ceylon Workers' Congress"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Chadema"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Chadian Action for Unity and Socialism"] = {abbrev = "", color = "red", shortname = "",},
["Chadian Convention for Peace and Development"] = {abbrev = "CTPD", color = "#FFCA03", shortname = "",},
["Chadian Progressive Party"] = {abbrev = "PPT", color = "#2D2A3B", shortname = "",},
["Chadian Social Action"] = {abbrev = "", color = "#F08080", shortname = "",},
["Chaldean Syriac Assyrian Popular Council"] = {abbrev = "", color = "saddlebrown", shortname = "",},
["Chama Cha Kazi"] = {abbrev = "CCK", color = "#3853A4", shortname = "",},
["Chama Cha Kijamii"] = {abbrev = "", color = "navy", shortname = "",},
["Chama Cha Mapinduzi"] = {abbrev = "CCM", color = "#228B22", shortname = "",},
["Chama Cha Mashinani"] = {abbrev = "", color = "#ffff00", shortname = "",},
["Chama cha Ukombozi wa Umma"] = {abbrev = "", color = "red", shortname = "",},
["Chama Cha Uzalendo"] = {abbrev = "", color = "#51B757", shortname = "",},
["Chance (Moldova)"] = {abbrev = "", color = "#FF412C", shortname = "Chance",},
["Chance. Duties. Realization."] = {abbrev = "ȘOR", color = "#4CA355", shortname = "",},
["Change 2011"] = {abbrev = "M11", color = "#01414D", shortname = "",},
["Change It (Spain)"] = {abbrev = "", color = "#739C29", shortname = "",},
["Change Party (Thailand)"] = {abbrev = "", color = "#BD1F2E", shortname = "Change",},
["Chart Pattana Kla Party"] = {abbrev = "", color = "#FF4919", shortname = "Chart Pattana Kla",},
["Chart Pattana Party (2007)"] = {abbrev = "", color = "#F69520", shortname = "",},
["Chart Pattana Party"] = {abbrev = "", color = "#fe980d", shortname = "",},
["Charter Party"] = {abbrev = "", color = "#C0C0C0", shortname = "Charter",},
["Chartism"] = {abbrev = "", color = "#FF3333", shortname = "Chartist",},
["Chartthaipattana Party"] = {abbrev = "", color = "#E20884", shortname = "Chart Thai Pattana",},
["Chase Community Independents Group"] = {abbrev = "", color = "#065E5E", shortname = "Chase Indies",},
["Chat Rung Rueang Party"] = {abbrev = "", color = "#E7B138", shortname = "",},
["Chehabist"] = {abbrev = "", color = "#808080", shortname = "",},
["Chega (political party)"] = {abbrev = "", color = "#222256", shortname = "CHEGA",},
["Cheung Sha Wan Community Establishment Power"] = {abbrev = "CSWCEP", color = "#F48326", shortname = "",},
["Chez Nous (Belgian political party)"] = {abbrev = "", color = "#002D61", shortname = "Chez Nous",},
["Cheung Sha Wan West Front"] = {abbrev = "CSWWF", color = "#53bfa7", shortname = "",},
["Chile Digno"] = {abbrev = "", color = "#EE113A", shortname = "",},
["Chile Podemos Más"] = {abbrev = "", color = "#ffd700", shortname = "",},
["Chile Vamos"] = {abbrev = "", color = "#006BB0", shortname = "",},
["Chilean Renovating Action"] = {abbrev = "", color = "black", shortname = "",},
["Chilean Social Democracy Party"] = {abbrev = "", color = "#FF6347", shortname = "",},
["Chilean Socialist Party"] = {abbrev = "", color = "#ED1624", shortname = "",},
["ChileFirst"] = {abbrev = "", color = "#D1FF00", shortname = "",},
["Chin National League for Democracy"] = {abbrev = "CNLD", color = "#01AEF2", shortname = "",},
["Chin National Party"] = {abbrev = "CNP", color = "#006600", shortname = "",},
["Chin Progressive Party"] = {abbrev = "CPP", color = "#FFFFFF", shortname = "",},
["China Association for Promoting Democracy"] = {abbrev = "CAPD", color = "#FFF500", shortname = "",},
["China Democratic League"] = {abbrev = "CDL", color = "#cb7e1f", shortname = "",},
["China Democratic Socialist Party"] = {abbrev = "CDSP", color = "#008000", shortname = "Democratic Socialist",},
["China National Democratic Construction Association"] = {abbrev = "CNDCA", color = "Orangered", shortname = "",},
["China Youth Service & Recreation Centre"] = {abbrev = "CYSRC", color = "#4ED052", shortname = "",},
["China Zhi Gong Party"] = {abbrev = "CZGP", color = "Red", shortname = "",},
["Chinbak Yeondae"] = {abbrev = "", color = "#0a50a1", shortname = "",},
["Chinese Communist Party"] = {abbrev = "CCP", color = "#DD0000", shortname = "Communist",},
["Chinese Empire Reform Association"] = {abbrev = "CERA", color = "navy", shortname = "",},
["Chinese Peasants' and Workers' Democratic Party"] = {abbrev = "CPWDP", color = "#189df0", shortname = "",},
["Chinese People's Party"] = {abbrev = "", color = "green", shortname = "",},
["Chinese Production Party"] = {abbrev = "", color = "#21358F", shortname = "",},
["Chinese Social Democratic Party"] = {abbrev = "CSDP", color = "#FFD900", shortname = "",},
["Chinese Unification Promotion Party"] = {abbrev = "", color = "#253686", shortname = "",},
["Ching Fat Living Concern Group"] = {abbrev = "CFLCG", color = "#10791D", shortname = "",},
["Chipani cha Pfuko"] = {abbrev = "CCP", color = "#9F622B", shortname = "",},
["Choi Hung Estate Social Service Association"] = {abbrev = "CHESSA", color = "#468CA8", shortname = "",},
["Choice of Russia (electoral bloc)"] = {abbrev = "VR", color = "#29166F", shortname = "",},
["Chondoist Chongu Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Christchurch 2021"] = {abbrev = "", color = "#AB0616", shortname = "",},
["Christchurch Independents"] = {abbrev = "CI", color = "#999999", shortname = "",},
["Christen-Democratisch en Vlaams"] = {abbrev = "CD&V", color = "#FF6200", shortname = "",},
["Christene Volkspartij"] = {abbrev = "CVP", color = "#FFA500", shortname = "",},
["Christian and Democratic Union"] = {abbrev = "KDU", color = "#FFCB03", shortname = "",},
["Christian Centre"] = {abbrev = "", color = "#00BFFF", shortname = "",},
["Christian Centrist Party"] = {abbrev = "", color = "#8032CC", shortname = "Christian Centrist",},
["Christian Citizens"] = {abbrev = "", color = "darkblue", shortname = "",},
["Christian Coalition (New Zealand)"] = {abbrev = "", color = "#878FB8", shortname = "Christian Coalition",},
["Christian Conservative Party (Chile)"] = {abbrev = "", color = "#000080", shortname = "",},
["Christian Conservative Party"] = {abbrev = "", color = "yellow", shortname = "",},
["Christian Conservative Social Union"] = {abbrev = "", color = "#332F83", shortname = "",},
["Christian Democracy (Brazil)"] = {abbrev = "DC", color = "#015F9D", shortname = "",},
["Christian Democracy (Greece)"] = {abbrev = "ChD", color = "#013220", shortname = "",},
["Christian Democracy (Italy, 2002)"] = {abbrev = "DC", color = "#1560BD", shortname = "Christian Democracy",},
["Christian Democracy (Italy)"] = {abbrev = "DC", color = "#87CEFA", shortname = "",},
["Christian Democracy (Poland)"] = {abbrev = "ChD", color = "#5C3FB5", shortname = "",},
["Christian Democracy Federation–Christian Democracy Team"] = {abbrev = "", color = "#E94E1B", shortname = "",},
["Christian Democracy for the Autonomies"] = {abbrev = "", color = "#ADD8E6", shortname = "Christian Democracy",},
["Christian Democrat Party (New Zealand)"] = {abbrev = "", color = "#800080", shortname = "Christian Democrats",},
["Christian Democrat Party (Peru)"] = {abbrev = "", color = "#00008B", shortname = "",},
["Christian Democratic Alliance (Costa Rica)"] = {abbrev = "ADC", color = "#483D8B", shortname = "",},
["Christian Democratic Alliance (Fiji)"] = {abbrev = "VLV", color = "orange", shortname = "",},
["Christian Democratic Alliance (South Africa)"] = {abbrev = "", color = "#300064", shortname = "Christian Democratic Alliance",},
["Christian Democratic Appeal (2021)"] = {abbrev = "", color = "#2CC84D", shortname = "",},
["Christian Democratic Appeal"] = {abbrev = "CDA", color = "#007C5E", shortname = "",},
["Christian Democratic Centre"] = {abbrev = "CCD", color = "#A6DBEC", shortname = "",},
["Christian Democratic Front"] = {abbrev = "", color = "orange", shortname = "",},
["Christian Democratic Movement (2021)"] = {abbrev = "KDH", color = "#173a70", shortname = "",},
["Christian Democratic Movement"] = {abbrev = "KDH", color = "#FFE17D", shortname = "",},
["Christian Democratic Movement (Montenegro)"] = {abbrev = "DP", color = "#0172BB", shortname = "",},
["Christian Democratic National Peasants' Party"] = {abbrev = "PNȚCD", color = "#004A92", shortname = "",},
["Christian Democratic Party (Argentina)"] = {abbrev = "PDC", color = "#00008B", shortname = "Christian Democratic Party",},
["Christian Democratic Party (Australia)"] = {abbrev = "", color = "#7F007F", shortname = "Christian Democrats",},
["Christian Democratic Party (Belgium)"] = {abbrev = "CDP", color = "#FFA500", shortname = "",},
["Christian Democratic Party (Belize)"] = {abbrev = "CDP", color = "#FF7F00", shortname = "",},
["Christian Democratic Party (Bolivia)"] = {abbrev = "PDC", color = "#016167", shortname = "",},
["Christian Democratic Party (Brazil)"] = {abbrev = "PDC", color = "#FF7700", shortname = "",},
["Christian Democratic Party (Chile)"] = {abbrev = "PDC", color = "#0061A7", shortname = "",},
["Christian Democratic Party (Costa Rica)"] = {abbrev = "PDC", color = "#CC1B56", shortname = "",},
["Christian Democratic Party (Democratic Republic of the Congo)"] = {abbrev = "", color = "orange", shortname = "Christian Democratic Party",},
["Christian Democratic Party (East Timor)"] = {abbrev = "", color = "#3F5EBE", shortname = "Christian Democratic Party",},
["Christian Democratic Party (El Salvador)"] = {abbrev = "PDC", color = "#00732E", shortname = "",},
["Christian Democratic Party (Norway)"] = {abbrev = "", color = "#ffd959", shortname = "Christian Democratic",},
["Christian Democratic Party (Papua New Guinea)"] = {abbrev = "CDP", color = "#FF0000", shortname = "Christian Democratic Party",},
["Christian Democratic Party (Paraguay)"] = {abbrev = "", color = "#11a018", shortname = "Christian Democratic Party",},
["Christian Democratic Party (Portugal)"] = {abbrev = "PDC", color = "darkolivegreen", shortname = "",},
["Christian Democratic Party (Samoa)"] = {abbrev = "CDP", color = "#FF00FF", shortname = "Christian Democratic Party",},
["Christian Democratic Party (South Africa)"] = {abbrev = "", color = "#662D91", shortname = "Christian Democratic Party",},
["Christian Democratic Party (Spain)"] = {abbrev = "", color = "#068B1C", shortname = "Christian Democratic Party",},
["Christian Democratic Party of Albania"] = {abbrev = "PKDSH", color = "#0080FF", shortname = "",},
["Christian Democratic Party of Cuba"] = {abbrev = "", color = "#3EB489", shortname = "Christian Democratic Party",},
["Christian Democratic Party of Honduras"] = {abbrev = "CD", color = "#11992B", shortname = "",},
["Christian Democratic Party of Russia"] = {abbrev = "", color = "#9999FF", shortname = "Christian Democratic Party",},
["Christian Democratic Party of Serbia"] = {abbrev = "DHSS", color = "#964B00", shortname = "",},
["Christian Democratic Party of Ukraine"] = {abbrev = "CDPU", color = "#222629", shortname = "",},
["Christian Democratic Party of Uruguay"] = {abbrev = "PDCU", color = "#FFA500", shortname = "",},
["Christian Democratic People's Party (Hungary)"] = {abbrev = "KDNP", color = "#938862", shortname = "",},
["Christian Democratic People's Party of Switzerland"] = {abbrev = "", color = "#EF7D00", shortname = "Christian Democrats",},
["Christian Democratic Union (Bolivia)"] = {abbrev = "CDU", color = "#0047AB", shortname = "",},
["Christian Democratic Union (Dominican Republic)"] = {abbrev = "", color = "#ffd300", shortname = "",},
["Christian Democratic Union (East Germany)"] = {abbrev = "CDU", color = "#237CDB", shortname = "",},
["Christian Democratic Union (Ecuador)"] = {abbrev = "", color = "#008F4C", shortname = "",},
["Christian Democratic Union (Latvia)"] = {abbrev = "", color = "#F3AE12", shortname = "",},
["Christian Democratic Union (Lithuania)"] = {abbrev = "KDS", color = "#5DA782", shortname = "",},
["Christian Democratic Union (Netherlands)"] = {abbrev = "CDU", color = "#E50066", shortname = "",},
["Christian Democratic Union (Ukraine)"] = {abbrev = "CDU", color = "#F39518", shortname = "",},
["Christian Democratic Union of Timor"] = {abbrev = "UDC", color = "#2FAAD6", shortname = "",},
["Christian Democratic Union of Germany"] = {abbrev = "CDU", color = "#151518", shortname = "",},
["Christian Democratic Union of Germany (2023)"] = {abbrev = "CDU", color = "#51B8C2", shortname = "",},
["Christian Democratic Voice"] = {abbrev = "CDV", color = "#24B87A", shortname = "",},
["Christian Democrats (Denmark)"] = {abbrev = "", color = "#53619B", shortname = "Christian Democrats",},
["Christian Democrats (Denmark, 2022)"] = {abbrev = "", color = "#53619B", shortname = "Christian Democrats",},
["Christian Democrats (Finland)"] = {abbrev = "KD", color = "#2B67C9", shortname = "",},
["Christian Democrats (Sweden)"] = {abbrev = "KD", color = "#005EA1", shortname = "Christian Democrats",},
["Christian Economic and Social Party"] = {abbrev = "KGSZP", color = "#006447", shortname = "",},
["Christian Flemish People's Union"] = {abbrev = "CVV", color = "black", shortname = "",},
["Christian Heritage Party of Canada"] = {abbrev = "", color = "#800020", shortname = "Christian Heritage",},
["Christian Heritage Party of New Zealand"] = {abbrev = "", color = "#878FB8", shortname = "Christian Heritage",},
["Christian Historical Party"] = {abbrev = "CHP", color = "#008080", shortname = "",},
["Christian Historical Union"] = {abbrev = "CHU", color = "#006F70", shortname = "",},
["Christian Historical Voters' League"] = {abbrev = "CHK", color = "#008080", shortname = "",},
["Christian Independent Alliance"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Christian Labour Party"] = {abbrev = "PTC", color = "#009966", shortname = "",},
["Christian Liberty Unification Party"] = {abbrev = "", color = "#0095DA", shortname = "",},
["Christian Movement for a New Haiti"] = {abbrev = "", color = "#00923F", shortname = "",},
["Christian National Alliance Party"] = {abbrev = "PANC", color = "saddlebrown", shortname = "",},
["Christian National Party (Chile)"] = {abbrev = "", color = "turquoise", shortname = "",},
["Christian National Party (Hungary)"] = {abbrev = "KNP", color = "#6091ba", shortname = "",},
["Christian National Union for the Reconstruction of Haiti"] = {abbrev = "UNCRH", color = "#FFFF00", shortname = "",},
["Christian National Union Party"] = {abbrev = "KNEP", color = "#43884A", shortname = "",},
["Christian National Union"] = {abbrev = "", color = "#007FFF", shortname = "",},
["Christian Party (Samoa)"] = {abbrev = "SCP", color = "#FFFFDD", shortname = "",},
["Christian Party (UK)"] = {abbrev = "", color = "#9966CC", shortname = "Christian",},
["Christian Party of Austria"] = {abbrev = "", color = "#FAD41B", shortname = "Christian Party",},
["Christian People's Alliance"] = {abbrev = "", color = "#FF00FF", shortname = "",},
["Christian People's Party (Belgium)"] = {abbrev = "CVP", color = "#EEAA00", shortname = "",},
["Christian People's Party (Dominican Republic)"] = {abbrev = "", color = "#ff7900", shortname = "",},
["Christian People's Party (Estonia)"] = {abbrev = "KRE", color = "#000000", shortname = "",},
["Christian People's Party (Faroe Islands)"] = {abbrev = "", color = "#FF6600", shortname = "Christian People's",},
["Christian People's Party (Germany)"] = {abbrev = "CVP", color = "#8DCEE7", shortname = "",},
["Christian People's Party (Peru)"] = {abbrev = "", color = "#14953B", shortname = "",},
["Christian Peoples Alliance"] = {abbrev = "CPA", color = "#813887", shortname = "",},
["Christian Political Movement"] = {abbrev = "", color = "#E8AE0B", shortname = "",},
["Christian Positivist Party (Spain)"] = {abbrev = "", color = "#8B898B", shortname = "",},
["Christian Principles Party"] = {abbrev = "", color = "#8032CC", shortname = "Christian Principles",},
["Christian Social Democratic Party"] = {abbrev = "PSDC", color = "#7797E0", shortname = "",},
["Christian Social Front"] = {abbrev = "", color = "#2A58A6", shortname = "",},
["Christian Social Party (Austria)"] = {abbrev = "CS", color = "#000000", shortname = "",},
["Christian Social Party (Belgium, 1945)"] = {abbrev = "", color = "orange", shortname = "Christian Social",},
["Christian Social Party (Belgium)"] = {abbrev = "", color = "#FFCC99", shortname = "",},
["Christian Social Party (Chile)"] = {abbrev = "", color = "#26348D", shortname = "",},
["Christian Social Party (Ecuador)"] = {abbrev = "PSC", color = "#FFD700", shortname = "",},
["Christian Social Party (German-speaking Community)"] = {abbrev = "CSP", color = "orange", shortname = "",},
["Christian Social Party (Germany)"] = {abbrev = "", color = "#008080", shortname = "",},
["Christian Social Party (Liechtenstein)"] = {abbrev = "", color = "#80FFFF", shortname = "",},
["Christian Social Party (Netherlands)"] = {abbrev = "", color = "#D2691E", shortname = "",},
["Christian Social Party (Switzerland)"] = {abbrev = "", color = "#0F95A7", shortname = "Christian Social",},
["Christian Social Party of Obwalden"] = {abbrev = "", color = "#BF3235", shortname = "CSP Obwalden",},
["Christian Social People's Party"] = {abbrev = "CSV", color = "#FFC300", shortname = "",},
["Christian Social People's Service"] = {abbrev = "", color = "#1DB4E1", shortname = "",},
["Christian Social Rally of Liberty"] = {abbrev = "RSCL", color = "#FF4500", shortname = "",},
["Christian Social Union in Bavaria"] = {abbrev = "CSU", color = "#008AC5", shortname = "",},
["Christian Solidarity Party"] = {abbrev = "", color = "#FFFF99", shortname = "Christian Solidarity",},
["Christian Spanish Party"] = {abbrev = "", color = "#AAAAFF", shortname = "",},
["Christian Union – Reformed Political Party"] = {abbrev = "CU–SGP", color = "#00a7eb", shortname = "",},
["Christian Union (Lithuania)"] = {abbrev = "", color = "#445C64", shortname = "",},
["Christian Union (Netherlands)"] = {abbrev = "CU", color = "#00A7EB", shortname = "",},
["Christian Union (Slovakia)"] = {abbrev = "KÚ", color = "#04B2E8", shortname = "",},
["Christian Union Movement"] = {abbrev = "", color = "#6ca860", shortname = "",},
["Christian Union of National Unity"] = {abbrev = "ChZJN", color = "#2B3F3D", shortname = "",},
["Christian Unity Party"] = {abbrev = "", color = "#143d8d", shortname = "",},
["Christian Workers' Alliance"] = {abbrev = "", color = "#8B0000", shortname = "Christian Workers",},
["Christian Workers' Union of Finland"] = {abbrev = "SKrTL", color = "#FF5050", shortname = "",},
["Christian-Democratic Movement (Georgia)"] = {abbrev = "KDM", color = "#881532", shortname = "",},
["Christian-Democratic People's Party (Moldova)"] = {abbrev = "PPCD", color = "#8D8E56", shortname = "",},
["Christian-National Peasants' and Farmers' Party"] = {abbrev = "CNBL", color = "#7FCEB1", shortname = "",},
["Christian-Social People's Party (Liechtenstein)"] = {abbrev = "CSVP", color = "red", shortname = "",},
["Christians Against Abortion"] = {abbrev = "", color = "#000080", shortname = "",},
["Christians to the World"] = {abbrev = "", color = "#F2EA35", shortname = "",},
["Christlich Soziale Partei (Belgium)"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Chubut Action Party"] = {abbrev = "", color = "#0A1172", shortname = "",},
["Chubut Somos Todos"] = {abbrev = "", color = "#008E6F", shortname = "",},
["Chunta Aragonesista"] = {abbrev = "CHA", color = "#008A21", shortname = "",},
["Chuquisaca We Are All"] = {abbrev = "", color = "#ED8603", shortname = "",},
["Church of the Militant Elvis Party"] = {abbrev = "", color = "#FF00FF", shortname = "Church of the Militant Elvis",},
["Chure Bhawar Rastriya Ekta Party Nepal"] = {abbrev = "", color = "#F0FFF0", shortname = "Churebhawar Rastriya Ekta Party",},
["Cidadania"] = {abbrev = "", color = "#EC008C", shortname = "",},
["Ciervists"] = {abbrev = "", color = "#314F9D", shortname = "",},
["Circle of Liberal Reformers"] = {abbrev = "CLR", color = "#FE492E", shortname = "",},
["Circle of Rhine Party"] = {abbrev = "", color = "#4287f5", shortname = "",},
["Ciskei National Independence Party"] = {abbrev = "CNIP", color = "#0070BB", shortname = "",},
["Citizen Action of Ferrol"] = {abbrev = "", color = "#D9017A", shortname = "",},
["Citizen Alternative of Ponteareas"] = {abbrev = "", color = "#005747", shortname = "",},
["Citizen Alternative of Rubí"] = {abbrev = "", color = "#97C00E", shortname = "",},
["Citizen and Republican Movement"] = {abbrev = "MRC", color = "#DD391F", shortname = "",},
["Citizen Association Jesús Lara"] = {abbrev = "", color = "#F9CC67", shortname = "",},
["Citizen Convergence Movement"] = {abbrev = "", color = "#37960F", shortname = "",},
["Citizen Force"] = {abbrev = "", color = "#F5A23E", shortname = "",},
["Citizen Force (Colombia)"] = {abbrev = "", color = "#FA6709", shortname = "",},
["Citizen Force (Peru)"] = {abbrev = "FC", color = "#E30B5C", shortname = "",},
["Citizen Forum (Spain)"] = {abbrev = "", color = "#1E90FF", shortname = "",},
["Citizen Forum of Cáceres"] = {abbrev = "", color = "#7EBA00", shortname = "",},
["Citizen Forum of Jerez"] = {abbrev = "", color = "#005AD6", shortname = "",},
["Citizen Hope (Spain)"] = {abbrev = "", color = "#F89430", shortname = "",},
["Citizen Initiative for Development"] = {abbrev = "", color = "#102547", shortname = "",},
["Citizen Initiative for Paracuellos"] = {abbrev = "", color = "#94C11F", shortname = "",},
["Citizen Initiative of Puertollano"] = {abbrev = "", color = "#FE6400", shortname = "",},
["Citizen Left"] = {abbrev = "", color = "#BB98C7", shortname = "",},
["Citizen Movement of Soria"] = {abbrev = "", color = "#EC9F42", shortname = "",},
["Citizen Open Platform of Lalín"] = {abbrev = "", color = "#999999", shortname = "",},
["Citizen Option for Macedonia"] = {abbrev = "GROM", color = "#00FFF7", shortname = "",},
["Citizen Option"] = {abbrev = "OC", color = "#FED403", shortname = "",},
["Citizen Party"] = {abbrev = "", color = "#707070", shortname = "Citizen",},
["Citizen Platform for Sabadell"] = {abbrev = "", color = "#CD3037", shortname = "",},
["Citizen Power (political party)"] = {abbrev = "", color = "#412560", shortname = "Citizen Power",},
["Citizen Prosperity"] = {abbrev = "PC", color = "#FFDC2A", shortname = "",},
["Citizen Revolution"] = {abbrev = "RC", color = "#00B0F6", shortname = "",},
["Citizen Revolution Movement"] = {abbrev = "RC", color = "#00AEEF", shortname = "",},
["Citizen Unity"] = {abbrev = "", color = "#CCE35F", shortname = "",},
["Citizen's Coalition for Justice Party (Mongolia)"] = {abbrev = "", color = "#f26022", shortname = "",},
["Citizen's Decision"] = {abbrev = "", color = "#82bb29", shortname = "",},
["Citizen's Unity"] = {abbrev = "", color = "#009CDE", shortname = "",},
["Citizens (Chilean political party)"] = {abbrev = "", color = "#db8f16", shortname = "Citizens",},
["Citizens (Georgia)"] = {abbrev = "", color = "#8BC43F", shortname = "Citizens",},
["Citizens (Spanish political party)"] = {abbrev = "Cs", color = "#EB6109", shortname = "",},
["Citizens & Ratepayers"] = {abbrev = "", color = "#00529F", shortname = "",},
["Citizens Coalition for Change"] = {abbrev = "CCC", color = "#FAE64D", shortname = "",},
["Citizens for Arona"] = {abbrev = "", color = "#77777B", shortname = "",},
["Citizens for Benidorm"] = {abbrev = "", color = "#855794", shortname = "",},
["Citizens for Blank Votes"] = {abbrev = "", color = "#969696", shortname = "",},
["Citizens for Cádiz"] = {abbrev = "", color = "#5E89AA", shortname = "",},
["Citizens for Canarian Change"] = {abbrev = "", color = "#1A3F98", shortname = "",},
["Citizens for Change"] = {abbrev = "", color = "#FF2F00", shortname = "",},
["Citizens for Ciempozuelos"] = {abbrev = "", color = "#2A277E", shortname = "",},
["Citizens for San Fernando"] = {abbrev = "", color = "#000B6F", shortname = "",},
["Citizens for their People"] = {abbrev = "", color = "#046305", shortname = "",},
["Citizens in Rage"] = {abbrev = "", color = "#0000AA", shortname = "",},
["Citizens of Alcalá de Guadaíra"] = {abbrev = "", color = "#23BEDC", shortname = "",},
["Citizens of Burgos"] = {abbrev = "", color = "#CA2D29", shortname = "",},
["Citizens of Democratic Centre–Independent Candidacy"] = {abbrev = "", color = "#F67A32", shortname = "",},
["Citizens of Galicia Democratic Action"] = {abbrev = "", color = "#63A6C6", shortname = "",},
["Citizens of Galicia"] = {abbrev = "", color = "#0BB70B", shortname = "",},
["Citizens of Logroño"] = {abbrev = "", color = "#E88005", shortname = "",},
["Citizens of Lorca"] = {abbrev = "", color = "#0D086E", shortname = "",},
["Citizens of Menorca"] = {abbrev = "", color = "#FA8100", shortname = "",},
["Citizens of Santa Cruz"] = {abbrev = "", color = "#0194E4", shortname = "",},
["Citizens Party (Hong Kong)"] = {abbrev = "", color = "#000000", shortname = "Citizens",},
["Citizens Party (US)"] = {abbrev = "", color = "#00FF90", shortname = "Citizens",},
["Citizens, Inhabitants and People of Marbella"] = {abbrev = "", color = "#FF9D21", shortname = "",},
["Citizens' Action for Málaga"] = {abbrev = "", color = "#A94699", shortname = "",},
["Citizens' Action Party (Costa Rica)"] = {abbrev = "PAC", color = "#FFD700", shortname = "",},
["Citizens' Action Party"] = {abbrev = "", color = "#FFE902", shortname = "",},
["Citizens' Alliance (Cyprus)"] = {abbrev = "SYPOL", color = "#9AB973", shortname = "",},
["Citizens' Assembly for Torrelavega"] = {abbrev = "", color = "#2F6623", shortname = "",},
["Citizens' Battle Against Corruption"] = {abbrev = "CIBAC", color = "#FDCD01", shortname = "",},
["Citizens' Coalition"] = {abbrev = "MED", color = "#506d28", shortname = "",},
["Citizens' Compromise"] = {abbrev = "", color = "#A0BE00", shortname = "",},
["Citizens' Convergence of the South-East"] = {abbrev = "", color = "#0824AD", shortname = "",},
["Citizens' Democratic Renewal Movement"] = {abbrev = "", color = "#6B2484", shortname = "",},
["Citizens' Forces"] = {abbrev = "", color = "#4C4B51", shortname = "",},
["Citizens' Forum Austria"] = {abbrev = "FRITZ", color = "#E43226", shortname = "",},
["Citizens' Initiative (Andorra)"] = {abbrev = "IC", color = "#390037", shortname = "",},
["Citizens' List"] = {abbrev = "", color = "darkgray", shortname = "",},
["Citizens' Movement (Iceland)"] = {abbrev = "", color = "#FF8C00", shortname = "",},
["Citizens' Movement (Mexico)"] = {abbrev = "MC", color = "#FF8C00", shortname = "",},
["Citizens' Movement of Cartagena"] = {abbrev = "", color = "#87305B", shortname = "",},
["Citizens' Party (Finland)"] = {abbrev = "KP", color = "#2354A8", shortname = "Citizens' Party",},
["Citizens' Party (Iceland, 1923)"] = {abbrev = "", color = "#0026FF", shortname = "Citizens'",},
["Citizens' Party (Iceland, 1987)"] = {abbrev = "", color = "#000000", shortname = "Citizens'",},
["Citizens' Party for Revival"] = {abbrev = "", color = "yellow", shortname = "",},
["Citizens' Radio"] = {abbrev = "", color = "#ff7e22", shortname = "",},
["Citizens' Rights Association"] = {abbrev = "ADDC", color = "#FFC0CB", shortname = "",},
["Citizens' Union–Independent Progressives of Canaries"] = {abbrev = "", color = "#181C21", shortname = "",},
["Citizenship and Christian Democracy"] = {abbrev = "PPV/CDC", color = "#000080", shortname = "",},
["City Fusion Party"] = {abbrev = "", color = "#CF9FFF", shortname = "City Fusion",},
["City Independents"] = {abbrev = "", color = "#FFC0CB", shortname = "",},
["City Vision (Auckland political ticket)"] = {abbrev = "", color = "#B3FFB3", shortname = "City Vision",},
["CiU Space"] = {abbrev = "", color = "#2849C8", shortname = "",},
["Ciutadella de Menorca People's Union"] = {abbrev = "", color = "#CA6601", shortname = "",},
["Cives"] = {abbrev = "", color = "#729E2A", shortname = "",},
["Civic 10"] = {abbrev = "", color = "#4BD9FD", shortname = "",},
["Civic Act-up"] = {abbrev = "", color = "#000000", shortname = "",},
["Civic Alliance of Serbia"] = {abbrev = "GSS", color = "orange", shortname = "",},
["Civic and Social Agreement"] = {abbrev = "", color = "#005599", shortname = "",},
["Civic and Social Front of Catamarca"] = {abbrev = "FCSC", color = "#009241", shortname = "",},
["Civic Autonomy Power"] = {abbrev = "CAP", color = "#6CC6CF", shortname = "",},
["Civic Choice"] = {abbrev = "", color = "#1560BD", shortname = "",},
["Civic Coalition (Poland)"] = {abbrev = "KO", color = "#F68F2D", shortname = "",},
["Civic Coalition ARI"] = {abbrev = "CC-ARI", color = "#6fb53e", shortname = "",},
["Civic Coalition"] = {abbrev = "", color = "#008080", shortname = "",},
["Civic Commitment"] = {abbrev = "", color = "#1E889D", shortname = "",},
["Civic Community"] = {abbrev = "", color = "#F26524", shortname = "",},
["Civic Conservative Party (Slovakia)"] = {abbrev = "OKS", color = "#A00000", shortname = "",},
["Civic Conservative Party"] = {abbrev = "", color = "#990000", shortname = "",},
["Civic Democratic Alliance"] = {abbrev = "ODA", color = "#0000FF", shortname = "",},
["Civic Democratic Forum"] = {abbrev = "GDF", color = "#272361", shortname = "",},
["Civic Democratic Party (Bosnia and Herzegovina)"] = {abbrev = "GDS", color = "#ffdf00", shortname = "",},
["Civic Democratic Party (Czech Republic)"] = {abbrev = "ODS", color = "#034EA2", shortname = "",},
["Civic Democratic Party (Hungary)"] = {abbrev = "", color = "#96825A", shortname = "Civic Democratic",},
["Civic Democratic Party (Lithuania)"] = {abbrev = "PDP", color = "#023366", shortname = "",},
["Civic Democratic Union (Slovakia)"] = {abbrev = "", color = "#553D73", shortname = "",},
["Civic Force"] = {abbrev = "", color = "#3183CD", shortname = "",},
["Civic Forum (Central African Republic)"] = {abbrev = "", color = "#008080", shortname = "",},
["Civic Forum"] = {abbrev = "OF", color = "#386bA5", shortname = "",},
["Civic Freedom Party"] = {abbrev = "", color = "yellow", shortname = "Civic Freedom",},
["Civic Front (Córdoba)"] = {abbrev = "", color = "#FF6600", shortname = "",},
["Civic Front for Santiago"] = {abbrev = "", color = "#FF0080", shortname = "",},
["Civic Initiative of Gora"] = {abbrev = "", color = "#82D1F7", shortname = "",},
["Civic Initiative"] = {abbrev = "", color = "#1B3E89", shortname = "",},
["Civic League"] = {abbrev = "", color = "#B8BFFE", shortname = "",},
["Civic Liberal Alliance"] = {abbrev = "", color = "#067CBF", shortname = "",},
["Civic List (Slovenia)"] = {abbrev = "", color = "#0067A5", shortname = "",},
["Civic Movement"] = {abbrev = "OH", color = "#423F83", shortname = "",},
["Civic Party of Kazakhstan"] = {abbrev = "", color = "#2f2f2f", shortname = "",},
["Civic Party of Montenegro"] = {abbrev = "GPCG", color = "#2554C7", shortname = "",},
["Civic Party"] = {abbrev = "", color = "#7F3F98", shortname = "Civic",},
["Civic Passion–Proletariat Political Institute–Hong Kong Resurgence Order"] = {abbrev = "CP/PPI/HKRO", color = "#FBDD07", shortname = "",},
["Civic Passion"] = {abbrev = "", color = "#FBDD07", shortname = "",},
["Civic Platform (Russia)"] = {abbrev = "", color = "#420F77", shortname = "Civic Platform",},
["Civic Platform (Serbia)"] = {abbrev = "GP", color = "#002899", shortname = "",},
["Civic Platform"] = {abbrev = "PO", color = "#F68F2D", shortname = "",},
["Civic Renovation Party"] = {abbrev = "", color = "#183b69", shortname = "",},
["Civic Renewal Party"] = {abbrev = "PRC", color = "dodgerblue", shortname = "",},
["Civic Response"] = {abbrev = "PV", color = "#AE413A", shortname = "",},
["Civic Solidarity of Alicante"] = {abbrev = "", color = "#FFF200", shortname = "",},
["Civic Solidarity Party"] = {abbrev = "", color = "#0F88C9", shortname = "Civic Solidarity",},
["Civic Union (Latvia)"] = {abbrev = "", color = "#9e1b34", shortname = "",},
["Civic Union (Russia)"] = {abbrev = "", color = "#F73239", shortname = "Civic Union",},
["Civic Union (Uruguay)"] = {abbrev = "", color = "white", shortname = "Civic Union",},
["Civic Union"] = {abbrev = "", color = "#AB3C20", shortname = "",},
["Civic United Front"] = {abbrev = "CUF", color = "#0293E2", shortname = "",},
["Civic Unity Party (Azerbaijan)"] = {abbrev = "", color = "#F29923", shortname = "Civic Unity",},
["Civics of Italy"] = {abbrev = "CdI", color = "#5683B3", shortname = "",},
["Civil Alliance (Argentina)"] = {abbrev = "", color = "#F69A69", shortname = "Civil Alliance",},
["Civil Contract (Armenia)"] = {abbrev = "", color = "#5169B1", shortname = "Civil Contract",},
["Civil Democratic Alliance"] = {abbrev = "", color = "orange", shortname = "",},
["Civil Force"] = {abbrev = "", color = "#00a754", shortname = "",},
["Civil Liberties Party"] = {abbrev = "", color = "#0038A5", shortname = "",},
["Civil Movement"] = {abbrev = "CM", color = "#80BB3D", shortname = "",},
["Civil Party (Costa Rica)"] = {abbrev = "", color = "#C61318", shortname = "Civil",},
["Civil Party (Taiwan)"] = {abbrev = "", color = "red", shortname = "",},
["Civil Position"] = {abbrev = "", color = "#FFDD00", shortname = "",},
["Civil Response"] = {abbrev = "", color = "#AE413A", shortname = "",},
["Civil Revolution"] = {abbrev = "", color = "#FF6600", shortname = "",},
["Civil Rights Movement"] = {abbrev = "", color = "#000000", shortname = "",},
["Civil Rights Party (South Korea)"] = {abbrev = "CRP", color = "#4CA459", shortname = "Civil Rights",},
["Civil Rule Party"] = {abbrev = "CRP", color = "#FFD700", shortname = "Civil Rule",},
["Civil Society and Democracy"] = {abbrev = "", color = "#94969C", shortname = "",},
["Civil Watch"] = {abbrev = "", color = "#FF007F", shortname = "",},
["Civil Will–Green Party"] = {abbrev = "", color = "#027E40", shortname = "Civil Will-Green",},
["Civilian Power"] = {abbrev = "GS", color = "#00A650", shortname = "",},
["Civilista Party"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Civiqus"] = {abbrev = "", color = "#047235", shortname = "",},
["Civis (Montenegro)"] = {abbrev = "", color = "#D7D501", shortname = "",},
["Clann Éireann"] = {abbrev = "CÉ", color = "#228B22", shortname = "Clann Éireann",},
["Clann na Poblachta"] = {abbrev = "CnaP", color = "#DDFFDD", shortname = "Clann na Poblachta",},
["Clann na Talmhan"] = {abbrev = "CnaT", color = "#BDB76B", shortname = "Clann na Talmhan",},
["CLARO (political party)"] = {abbrev = "", color = "#314A82", shortname = "",},
["Class Action Reform Movement"] = {abbrev = "", color = "#000000", shortname = "CARM",},
["Class War"] = {abbrev = "", color = "Black", shortname = "",},
["Classical Liberal Party (Sweden)"] = {abbrev = "KLP", color = "#FFDF00", shortname = "",},
["Clause 28 Children's Protection Christian Democrats"] = {abbrev = "", color = "#bc8f8f", shortname = "Clause 28",},
["Clean Chile, Vote Happy"] = {abbrev = "", color = "green", shortname = "",},
["Clichy Club"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Climat Québec"] = {abbrev = "", color = "#0E9D0D", shortname = "",},
["Climate Party"] = {abbrev = "", color = "#36D0B6", shortname = "Climate",},
["Clive Palmer's United Australia Party"] = {abbrev = "UAP", color = "#FFED00", shortname = "",},
["Club 2002 – Party for the Unity and the Republic"] = {abbrev = "Club 2002-PUR", color = "#73160F", shortname = "Club 2002",},
["Club of Committed Non-Party Members"] = {abbrev = "KAN", color = "#10547d", shortname = "",},
["Clydesdale and South Scotland Independent"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Co-operative Party"] = {abbrev = "", color = "#3F1D70", shortname = "",},
["Co-operative Resources Centre"] = {abbrev = "CRC", color = "#DD6A45", shortname = "",},
["Coalició Compromís"] = {abbrev = "Compromís", color = "#EC8953", shortname = "",},
["Coalition (Australia)"] = {abbrev = "", color = "#00557C", shortname = "Coalition",},
["Coalition Avenir Québec"] = {abbrev = "CAQ", color = "#1e90ff", shortname = "",},
["Coalition (Chile)"] = {abbrev = "", color = "blue", shortname = "",},
["Coalition Conservative"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Coalition Council of Islamic Revolution Forces"] = {abbrev = "", color = "#134479", shortname = "Coalition Council",},
["Coalition for a New Socialist Party"] = {abbrev = "", color = "#D82E1E", shortname = "",},
["Coalition for a Solidary Europe"] = {abbrev = "", color = "#00309A", shortname = "",},
["Coalition for Advancement, Reform and Empowerment"] = {abbrev = "CARE", color = "#3CB637", shortname = "",},
["Coalition for Cáceres"] = {abbrev = "", color = "#BE1C2B", shortname = "",},
["Coalition for Cayman"] = {abbrev = "C4C", color = "#0c1c47", shortname = "",},
["Coalition for Change"] = {abbrev = "", color = "Steelblue", shortname = "",},
["Coalition for Change (Sierra Leone)"] = {abbrev = "", color = "#FFAB3D", shortname = "",},
["Coalition for Democratic Change"] = {abbrev = "CDC", color = "#183883", shortname = "",},
["Coalition for El Bierzo"] = {abbrev = "", color = "#68A0D6", shortname = "",},
["Coalition for Europe"] = {abbrev = "", color = "#2D0680", shortname = "",},
["Coalition for Gran Canaria"] = {abbrev = "", color = "#0F47AF", shortname = "",},
["Coalition for Iraqi National Unity"] = {abbrev = "CINU", color = "#004179", shortname = "",},
["Coalition for L'Hospitalet"] = {abbrev = "", color = "#C32C25", shortname = "",},
["Coalition for Melilla"] = {abbrev = "CpM", color = "#298642", shortname = "",},
["Coalition for Peace and Tolerance"] = {abbrev = "KZMT", color = "#5D689C", shortname = "",},
["Coalition for Reform Party"] = {abbrev = "CRP", color = "#3AEB2A", shortname = "",},
["Coalition for Reforms and Democracy"] = {abbrev = "CORD", color = "#F6A438", shortname = "",},
["Coalition for the Balearics"] = {abbrev = "", color = "#692647", shortname = "",},
["Coalition for the Good of All"] = {abbrev = "CBT", color = "#FFCB01", shortname = "",},
["Coalition for Unity and Democracy"] = {abbrev = "", color = "blue", shortname = "",},
["Coalition Labour"] = {abbrev = "", color = "#e0afaf", shortname = "",},
["Coalition Movement"] = {abbrev = "", color = "#00CED1", shortname = "",},
["Coalition National Democratic and Labour Party"] = {abbrev = "", color = "#FFDEAD", shortname = "Coalition National Democratic",},
["Coalition of Democrats (Zimbabwe)"] = {abbrev = "CODE", color = "#ADD8E6", shortname = "",},
["Coalition of Democratic Forces (Kazakhstan)"] = {abbrev = "DKK", color = "#9A6DC0", shortname = "",},
["Coalition of Ethiopian Federalist Forces"] = {abbrev = "", color = "#4398B4", shortname = "",},
["Coalition of Independents"] = {abbrev = "COI", color = "#5ce1e6", shortname = "",},
["Coalition of Islamic Parties"] = {abbrev = "CIP", color = "", shortname = "",},
["Coalition of People's Accord"] = {abbrev = "KNS", color = "#ffe01c", shortname = "",},
["Coalition of Progressive Organizations"] = {abbrev = "", color = "#394184", shortname = "",},
["Coalition of the Left and the Progress"] = {abbrev = "", color = "#FFD000", shortname = "Coalition of the Left (SYN)",},
["Coalition of the Left of Movements and Ecology"] = {abbrev = "", color = "#FFD000", shortname = "Coalition of the Left (SYN)",},
["Coalition of the Pleasant Scent of Servitude"] = {abbrev = "CPSS", color = "blue", shortname = "",},
["Coalition Party (Norway)"] = {abbrev = "", color = "#99EDBD", shortname = "Coalition",},
["Coalition Together"] = {abbrev = "", color = "#1F8C87", shortname = "Together",},
["Coastal Party"] = {abbrev = "", color = "#00ad8e", shortname = "Coastal",},
["Cochinchinese Democratic Party"] = {abbrev = "", color = "#E3FF2A", shortname = "",},
["Code Orange (political party)"] = {abbrev = "", color = "#EF7601", shortname = "Code Orange",},
["Coexistence (political party)"] = {abbrev = "", color = "#32CD32", shortname = "",},
["Colère et espoir"] = {abbrev = "", color = "#BB0000", shortname = "",},
["Collectif Des Inkoruptibles"] = {abbrev = "", color = "#FFBF60", shortname = "",},
["Colombia First"] = {abbrev = "", color = "#800080", shortname = "",},
["Colombia Has a Future"] = {abbrev = "CFT", color = "#32CD32", shortname = "",},
["Colombia Justa Libres"] = {abbrev = "CJL", color = "#C29B61", shortname = "",},
["Colombian Communist Party"] = {abbrev = "", color = "#DA251D", shortname = "",},
["Colombian Community and Communal Political Movement"] = {abbrev = "MCCC", color = "#F5EC49", shortname = "",},
["Colombian Conservative Party"] = {abbrev = "", color = "#1935D0", shortname = "Conservative",},
["Colombian Liberal Party"] = {abbrev = "", color = "#FF3333", shortname = "Liberal",},
["Colorado Center Party"] = {abbrev = "CCP", color = "#501B68", shortname = "Center",},
["Colorado Party (Paraguay)"] = {abbrev = "", color = "#EE1D23", shortname = "Colorado",},
["Colorado Party (Uruguay)"] = {abbrev = "", color = "#BB0000", shortname = "Colorado Party",},
["Colored Republican Party"] = {abbrev = "", color = "#FF5600", shortname = "Colored Republican",},
["Combatant Clergy Association"] = {abbrev = "CCA", color = "#009900", shortname = "",},
["Combatants' Party"] = {abbrev = "PdC", color = "#8B4513", shortname = "",},
["Come Venezuela"] = {abbrev = "VV", color = "#00BFFF", shortname = "",},
["Comité d'Action Musulman"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Comités Jeanne"] = {abbrev = "", color = "#202F55", shortname = "",},
["Commitment for Caspe"] = {abbrev = "", color = "#ED750E", shortname = "",},
["Commitment to Cantabria"] = {abbrev = "", color = "#28734C", shortname = "",},
["Commitment to Europe"] = {abbrev = "", color = "#E7995C", shortname = "",},
["Commitment to Galicia"] = {abbrev = "", color = "#087D42", shortname = "",},
["Commitment to Gran Canaria"] = {abbrev = "", color = "#8AAD53", shortname = "",},
["Commitment to Torrevieja"] = {abbrev = "", color = "#266E87", shortname = "",},
["Commitment with Aragon"] = {abbrev = "", color = "#ECD807", shortname = "",},
["Commitment, Renewal and Order"] = {abbrev = "CREO", color = "#FDAF17", shortname = "",},
["Committed Citizens"] = {abbrev = "CC", color = "#63277F", shortname = "",},
["Committee for a Worker's International (Ireland)"] = {abbrev = "", color = "#DC241F", shortname = "CWI (Ireland)",},
["Committee for Another Policy"] = {abbrev = "", color = "red", shortname = "",},
["Committee for the Defence of the Republic"] = {abbrev = "CDR", color = "#264E4E", shortname = "",},
["Committee of Freedom"] = {abbrev = "CdL", color = "#C71585", shortname = "",},
["Committee of National Unity"] = {abbrev = "", color = "#B93434", shortname = "",},
["Committees for the Defense of the Revolution"] = {abbrev = "CDR", color = "", shortname = "",},
["Common Action Political Party — Civil Congress"] = {abbrev = "PAC–CC", color = "#EF7F1A", shortname = "",},
["Common Alternative Revolutionary Force"] = {abbrev = "FARC", color = "#AF1120", shortname = "",},
["Common Choice"] = {abbrev = "", color = "#ED1B30", shortname = "",},
["Common Course"] = {abbrev = "", color = "#AD3801", shortname = "",},
["Common Force"] = {abbrev = "", color = "#ED5C3E", shortname = "",},
["Common Ground Alliance"] = {abbrev = "", color = "#005B54", shortname = "Common Ground",},
["Common Man's Front"] = {abbrev = "", color = "#00008B", shortname = "",},
["Common Sense (political party)"] = {abbrev = "", color = "#1a6862", shortname = "Common Sense",},
["Common Sense Party (UK)"] = {abbrev = "", color = "#FFFFFF", shortname = "Common Sense",},
["Common Wealth Party"] = {abbrev = "", color = "#ff7f50", shortname = "Common Wealth",},
["Commoner Party of Thailand"] = {abbrev = "", color = "#FF4500", shortname = "",},
["Commoners' Land"] = {abbrev = "TC–PNC", color = "#7A76B4", shortname = "",},
["Commoners' Party (Thailand)"] = {abbrev = "", color = "#000000", shortname = "",},
["Commons (Chilean political party)"] = {abbrev = "", color = "#461D3D", shortname = "",},
["Commons (Colombian political party)"] = {abbrev = "", color = "#AF1120", shortname = "Commons",},
["Commonwealth Labour Party"] = {abbrev = "ComLab", color = "#b22222", shortname = "Commonwealth Labour",},
["Commonwealth Land Party (US)"] = {abbrev = "", color = "#4C915F", shortname = "Commonwealth Land",},
["Commonwealth Liberal Party"] = {abbrev = "", color = "#8CB4D2", shortname = "Commonwealth Liberal",},
["Commonwealth Party (Gibraltar)"] = {abbrev = "", color = "#CE0F25", shortname = "Commonwealth",},
["Communal Democracy Party"] = {abbrev = "TDP", color = "#0D1AAF", shortname = "",},
["Communal Liberation Party"] = {abbrev = "TKP", color = "red", shortname = "",},
["Communal Liberation Party New Forces"] = {abbrev = "TKP-YG", color = "#E3000D", shortname = "",},
["Communist Alternative Party"] = {abbrev = "", color = "maroon", shortname = "",},
["Communist Archio-Marxist Party of Greece"] = {abbrev = "KAKE", color = "red", shortname = "",},
["Communist Collective of Catalonia"] = {abbrev = "", color = "#B82E35", shortname = "",},
["Communist League (New Zealand)"] = {abbrev = "", color = "#dd0048", shortname = "Communist League",},
["Communist League (Sweden)"] = {abbrev = "", color = "red", shortname = "",},
["Communist League (UK, 1988)"] = {abbrev = "", color = "#C71585", shortname = "Communist League",},
["Communist League of Great Britain"] = {abbrev = "", color = "red", shortname = "Communist League",},
["Communist League of Luxemburg"] = {abbrev = "", color = "red", shortname = "",},
["Communist League of West Germany"] = {abbrev = "KBW", color = "red", shortname = "",},
["Communist Marxist Party (John)"] = {abbrev = "", color = "#EE0000", shortname = "",},
["Communist Marxist Party"] = {abbrev = "CMP", color = "#FF0000", shortname = "",},
["Communist Movement (Spain)"] = {abbrev = "", color = "#BF4249", shortname = "",},
["Communist Movement of Turkey"] = {abbrev = "TKH", color = "#990000", shortname = "",},
["Communist Organization of Spain (Red Flag)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Communist Party"] = {abbrev = "", color = "#D50000", shortname = "Communist",},
["Communist Party (Argentina)"] = {abbrev = "PC", color = "#FF0000", shortname = "Communist Party",},
["Communist Party (bolsheviks) of Lithuania and Belorussia"] = {abbrev = "LBSSR", color = "#CC0000", shortname = "",},
["Communist Party (Bolsheviks) of Ukraine"] = {abbrev = "", color = "#DD0000", shortname = "Communist Party",},
["Communist Party (Bosnia and Herzegovina)"] = {abbrev = "", color = "red", shortname = "Communist Party",},
["Communist Party (Denmark)"] = {abbrev = "", color = "#FF0000", shortname = "Communist Party",},
["Communist Party (Italy)"] = {abbrev = "", color = "#F00000", shortname = "Communist Party",},
["Communist Party (Reconstructed)"] = {abbrev = "PC(R)", color = "red", shortname = "",},
["Communist Party (Serbia)"] = {abbrev = "", color = "#C6363C", shortname = "Communist Party",},
["Communist Party (Sweden)"] = {abbrev = "", color = "#D91A12", shortname = "Communist",},
["Communist Party (Turkey, 2014)"] = {abbrev = "", color = "#c00", shortname = "Communist",},
["Communist Party (UK)"] = {abbrev = "", color = "red", shortname = "Communist",},
["Communist Party (US)"] = {abbrev = "CPUSA", color = "#D50000", shortname = "Communist",},
["Communist Party in Denmark"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Communist Party of Albania (1991)"] = {abbrev = "", color = "#E61919", shortname = "",},
["Communist Party of Aragon (1980)"] = {abbrev = "", color = "#C5000F", shortname = "",},
["Communist Party of Argentina (Extraordinary Congress)"] = {abbrev = "", color = "#E0040B", shortname = "",},
["Communist Party of Argentina"] = {abbrev = "", color = "#E22928", shortname = "",},
["Communist Party of Artsakh"] = {abbrev = "", color = "#FF1111", shortname = "",},
["Communist Party of Australia"] = {abbrev = "CPA", color = "#CD2027", shortname = "Communist",},
["Communist Party of Australia (1971)"] = {abbrev = "CPA", color = "#CD2027", shortname = "Communist",},
["Communist Party of Australia (Marxist–Leninist)"] = {abbrev = "CPA", color = "#CD2027", shortname = "Communist",},
["Communist Party of Austria"] = {abbrev = "KPÖ", color = "#AA0000", shortname = "",},
["Communist Party of Bangladesh (Marxist–Leninist) (Barua)"] = {abbrev = "CPB (M-L)", color = "#FB6F76", shortname = "",},
["Communist Party of Bangladesh"] = {abbrev = "CPB", color = "#E91621", shortname = "",},
["Communist Party of Belarus"] = {abbrev = "CPB", color = "#D30400", shortname = "",},
["Communist Party of Belgium (1989)"] = {abbrev = "", color = "red", shortname = "Communist",},
["Communist Party of Benin"] = {abbrev = "", color = "#B22222", shortname = "",},
["Communist Party of Bohemia and Moravia"] = {abbrev = "KSČM", color = "#FF0000", shortname = "",},
["Communist Party of Bolivia (Marxist–Leninist)"] = {abbrev = "", color = "#C9021A", shortname = "",},
["Communist Party of Bolivia"] = {abbrev = "", color = "red", shortname = "",},
["Communist Party of Brazil"] = {abbrev = "PCdoB", color = "#820000", shortname = "",},
["Communist Party of Britain (Marxist–Leninist)"] = {abbrev = "", color = "#EE1F23", shortname = "Communist (ML)",},
["Communist Party of Britain"] = {abbrev = "", color = "#F93822", shortname = "Communist",},
["Communist Party of Bulgaria"] = {abbrev = "CPB", color = "#B20406", shortname = "",},
["Communist Party of Byelorussia"] = {abbrev = "CPB", color = "#DC143C", shortname = "",},
["Communist Party of Canada (Marxist–Leninist)"] = {abbrev = "", color = "#F5191A", shortname = "Marxist–Leninist",},
["Communist Party of Canada"] = {abbrev = "", color = "#FF6347", shortname = "Communist",},
["Communist Party of Chile"] = {abbrev = "", color = "#B22222", shortname = "Communist",},
["Communist Party of Cuba"] = {abbrev = "PCC", color = "#CE2029", shortname = "",},
["Communist Party of Czechoslovakia"] = {abbrev = "KSČ", color = "#DC241F", shortname = "",},
["Communist Party of Denmark"] = {abbrev = "", color = "#A52A2A", shortname = "Communists",},
["Communist Party of Denmark/Marxist–Leninists"] = {abbrev = "DKP/ML", color = "red", shortname = "",},
["Communist Party of Ecuador"] = {abbrev = "", color = "#da251d", shortname = "",},
["Communist Party of England (Marxist-Leninist)"] = {abbrev = "", color = "#660000", shortname = "Marxist-Leninist (England)",},
["Communist Party of Finland (1994)"] = {abbrev = "SKP", color = "#8B0000", shortname = "Communist Party of Finland",},
["Communist Party of Finland"] = {abbrev = "", color = "#DA2301", shortname = "Communist Party",},
["Communist Party of Georgia (Soviet Union)"] = {abbrev = "SKP", color = "#CD0000", shortname = "",},
["Communist Party of Georgia"] = {abbrev = "", color = "red", shortname = "",},
["Communist Party of Germany (1990)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Communist Party of Germany"] = {abbrev = "KPD", color = "#8B0000", shortname = "",},
["Communist Party of Germany/Marxists–Leninists"] = {abbrev = "KPD/ML", color = "red", shortname = "",},
["Communist Party of Great Britain (Marxist–Leninist)"] = {abbrev = "", color = "#FF0000", shortname = "Communist GB (ML)",},
["Communist Party of Great Britain (Provisional Central Committee)"] = {abbrev = "", color = "red", shortname = "Communist (PCC)",},
["Communist Party of Great Britain"] = {abbrev = "", color = "red", shortname = "Communist",},
["Communist Party of Greece (Interior)"] = {abbrev = "", color = "red", shortname = "KKE Interior",},
["Communist Party of Greece (Marxist–Leninist)"] = {abbrev = "KKE-M-L", color = "#960018", shortname = "",},
["Communist Party of Greece"] = {abbrev = "KKE", color = "#e30301", shortname = "",},
["Communist Party of Iceland"] = {abbrev = "", color = "#FF0000", shortname = "Communist",},
["Communist Party of Iceland (Marxist–Leninist)"] = {abbrev = "", color = "red", shortname = "Communist (M-L)",},
["Communist Party of India (Marxist-Leninist) (Kanu Sanyal)"] = {abbrev = "CPI(M-L)", color = "#FF0000", shortname = "",},
["Communist Party of India (Marxist-Leninist)"] = {abbrev = "CPI(ML)", color = "#FF0000", shortname = "",},
["Communist Party of India (Marxist–Leninist) Liberation"] = {abbrev = "CPI(ML)L", color = "#C41301", shortname = "",},
["Communist Party of India (Marxist–Leninist) Red Star"] = {abbrev = "CPI(ML) Red Star", color = "red", shortname = "",},
["Communist Party of India (Marxist)"] = {abbrev = "CPI(M)", color = "#FF1D15", shortname = "",},
["Communist Party of India"] = {abbrev = "CPI", color = "#e70d21", shortname = "",},
["Communist Party of Indonesia"] = {abbrev = "PKI", color = "#ED3237", shortname = "",},
["Communist Party of Ireland (Marxist–Leninist)"] = {abbrev = "", color = "#660000", shortname = "Marxist–Leninist (Ireland)",},
["Communist Party of Ireland"] = {abbrev = "", color = "#E3170D", shortname = "Communist",},
["Communist Party of Italy"] = {abbrev = "", color = "#C72F35", shortname = "",},
["Communist Party of Kampuchea"] = {abbrev = "", color = "#E61919", shortname = "",},
["Communist Party of Kazakhstan"] = {abbrev = "", color = "#D40000", shortname = "Communist Party",},
["Communist Party of Kenya"] = {abbrev = "", color = "#D40000", shortname = "",},
["Communist Party of Korea"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Communist Party of Kurdistan – Iraq"] = {abbrev = "", color = "#dd0000", shortname = "",},
["Communist Party of Kurdistan (Turkey)"] = {abbrev = "KKP", color = "#DA221C", shortname = "",},
["Communist Party of Kyrgyzstan"] = {abbrev = "", color = "#B22222", shortname = "",},
["Communist Party of Latvia"] = {abbrev = "", color = "#D40000", shortname = "",},
["Communist Party of Lithuania"] = {abbrev = "LKP", color = "#D1020A", shortname = "",},
["Communist Party of Luxembourg"] = {abbrev = "KPL", color = "#CC0000", shortname = "",},
["Communist Party of Macedonia (1992)"] = {abbrev = "KPM", color = "red", shortname = "",},
["Communist Party of Malta"] = {abbrev = "", color = "Red", shortname = "",},
["Communist Party of Mexico (Marxist–Leninist)"] = {abbrev = "", color = "#FE3A22", shortname = "",},
["Communist Party of Moldavia"] = {abbrev = "PCM", color = "#DF0000", shortname = "",},
["Communist Party of National Liberation"] = {abbrev = "", color = "#D00620", shortname = "",},
["Communist Party of Nepal (Maoist) (1994)"] = {abbrev = "", color = "#8B0000", shortname = "CPN (Maoist)",},
["Communist Party of Nepal (Maoist Centre)"] = {abbrev = "CPN (MC)", color = "#8B0000", shortname = "Maoist Centre",},
["Communist Party of Nepal (Marxist–Leninist) (2002)"] = {abbrev = "", color = "indianred", shortname = "",},
["Communist Party of Nepal (Marxist) (1991–2005)"] = {abbrev = "", color = "crimson", shortname = "CPN (Marxist)",},
["Communist Party of Nepal (Unified Marxist–Leninist)"] = {abbrev = "UML", color = "#DC241F", shortname = "CPN (UML)",},
["Communist Party of Nepal (Unified Socialist)"] = {abbrev = "CPN (US)", color = "#f4230c", shortname = "Unified Socialist",},
["Communist Party of Nepal (Unified)"] = {abbrev = "", color = "#ff007f", shortname = "CPN (Unified)",},
["Communist Party of Nepal (United Marxist)"] = {abbrev = "", color = "crimson", shortname = "CPN (United Marxist)",},
["Communist Party of Nepal (United) (1991–2005)"] = {abbrev = "", color = "red", shortname = "",},
["Communist Party of Nepal (United)"] = {abbrev = "", color = "palevioletred", shortname = "CPN (United)",},
["Communist Party of Nepal (Unity Centre)"] = {abbrev = "", color = "Red", shortname = "",},
["Communist party of Nepal (Unity National Campaign)"] = {abbrev = "CPN (UNC)", color = "#FF0000", shortname = "Unity Campaign",},
["Communist Party of New Zealand"] = {abbrev = "", color = "#800000", shortname = "Communist",},
["Communist Party of Nicaragua"] = {abbrev = "", color = "red", shortname = "",},
["Communist Party of Northern Ireland"] = {abbrev = "", color = "red", shortname = "Communist (NI)",},
["Communist Party of Norway"] = {abbrev = "", color = "#990000", shortname = "Communist",},
["Communist Party of Pakistan"] = {abbrev = "CPP", color = "#FF3028", shortname = "",},
["Communist Party of Poland"] = {abbrev = "KPP", color = "#E20001", shortname = "",},
["Communist Party of Portugal (Marxist–Leninist)"] = {abbrev = "PCP(ML)", color = "Red", shortname = "",},
["Communist Party of Réunion"] = {abbrev = "PCR", color = "#DD0000", shortname = "",},
["Communist Party of Revolutionary Marxists"] = {abbrev = "CPRM", color = "#FF0000", shortname = "",},
["Communist Party of Scotland"] = {abbrev = "", color = "red", shortname = "Communist (Scotland)",},
["Communist Party of Slovakia – 91"] = {abbrev = "", color = "red", shortname = "",},
["Communist Party of Slovakia (1939)"] = {abbrev = "KSS", color = "#8B0000", shortname = "",},
["Communist Party of Slovakia"] = {abbrev = "KSS", color = "#e70101", shortname = "",},
["Communist Party of South Ossetia"] = {abbrev = "HIKP", color = "#CA0808", shortname = "",},
["Communist Party of Spain (Marxist–Leninist)"] = {abbrev = "", color = "#DF0020", shortname = "",},
["Communist Party of Spain (Marxist–Leninist) (historical)"] = {abbrev = "", color = "#CD5C5C", shortname = "",},
["Communist Party of Spain"] = {abbrev = "PCE", color = "#971324", shortname = "",},
["Communist Party of Sri Lanka"] = {abbrev = "", color = "#FF0000", shortname = "Communist Party",},
["Communist Party of Sweden (1921-1967)"] = {abbrev = "", color = "#b00000", shortname = "Communist",},
["Communist Party of Sweden (1924)"] = {abbrev = "", color = "#800000", shortname = "Höglund Communist",},
["Communist Party of Sweden (1967)"] = {abbrev = "", color = "red", shortname = "Communist",},
["Communist Party of Sweden (1995)"] = {abbrev = "", color = "#990000", shortname = "Communist - APK",},
["Communist Party of Sweden (Kilbommare)"] = {abbrev = "", color = "#b00000", shortname = "Kilbommare Communist",},
["Communist Party of Switzerland"] = {abbrev = "", color = "#D50000", shortname = "Communist",},
["Communist Party of Tajikistan"] = {abbrev = "", color = "#D91D1D", shortname = "Communist",},
["Communist Party of the Basque Homelands"] = {abbrev = "PCTV/EHAK", color = "#800118", shortname = "",},
["Communist Party of the Donetsk People's Republic"] = {abbrev = "", color = "#CF0A13", shortname = "",},
["Communist Party of the Netherlands"] = {abbrev = "CPN", color = "#BB5555", shortname = "",},
["Communist Party of the Peoples of Spain"] = {abbrev = "", color = "#D1141A", shortname = "",},
["Communist Party of the Philippines"] = {abbrev = "CPP", color = "#FF0000", shortname = "",},
["Communist Party of the Russian Federation"] = {abbrev = "", color = "#CC1111", shortname = "Communist",},
["Communist Party of the Russian Soviet Federative Socialist Republic"] = {abbrev = "", color = "#CD0000", shortname = "",},
["Communist Party of the Soviet Union"] = {abbrev = "CPSU", color = "#D40000", shortname = "",},
["Communist Party of the Workers of Spain"] = {abbrev = "", color = "#CD0711", shortname = "",},
["Communist Party of Turkey (modern)"] = {abbrev = "TKP", color = "#A63931", shortname = "",},
["Communist Party of Ukraine (renewed)"] = {abbrev = "KPU(o)", color = "red", shortname = "",},
["Communist Party of Ukraine (Soviet Union)"] = {abbrev = "CPU", color = "#CD0000", shortname = "",},
["Communist Party of Ukraine"] = {abbrev = "KPU", color = "#B70100", shortname = "",},
["Communist Party of Uruguay"] = {abbrev = "", color = "#123E89", shortname = "",},
["Communist Party of Uzbekistan (1994)"] = {abbrev = "", color = "#CC0000", shortname = "",},
["Communist Party of Venezuela"] = {abbrev = "", color = "#8B0000", shortname = "",},
["Communist Party of Vietnam"] = {abbrev = "", color = "#EA0504", shortname = "Communist Party",},
["Communist Party of Workers and Peasants"] = {abbrev = "KPRS", color = "#f31206", shortname = "Communist Party",},
["Communist Party Opposition (Switzerland)"] = {abbrev = "KPO", color = "#FF0000", shortname = "",},
["Communist Party USA"] = {abbrev = "", color = "#D50000", shortname = "Communist",},
["Communist People's Party of Kazakhstan"] = {abbrev = "QKHP", color = "#D5271E", shortname = "",},
["Communist Refoundation Party"] = {abbrev = "PRC", color = "#A1292F", shortname = "",},
["Communist Unification of Spain"] = {abbrev = "", color = "#EF2808", shortname = "",},
["Communist Vanguard of the Revolutionary Workers' Party"] = {abbrev = "", color = "#aa0000", shortname = "",},
["Communist Workers League (Spain)"] = {abbrev = "", color = "#B1343A", shortname = "",},
["Communist Workers' Party – For Peace and Socialism"] = {abbrev = "KTP", color = "#FF4D00", shortname = "",},
["Communist Workers Party (Denmark)"] = {abbrev = "KAP", color = "#de0000", shortname = "",},
["Communist Workers Party of Turkey"] = {abbrev = "", color = "#CB2027", shortname = "",},
["Communist"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Communistes"] = {abbrev = "", color = "#BB0000", shortname = "",},
["Communists and Allies"] = {abbrev = "COM", color = "#990000", shortname = "",},
["Communists of Catalonia"] = {abbrev = "", color = "#CC082D", shortname = "",},
["Communists of Russia"] = {abbrev = "CPCR", color = "#D71A21", shortname = "",},
["Communities & Residents"] = {abbrev = "", color = "#0066CC", shortname = "",},
["Communities United Party"] = {abbrev = "", color = "Orange", shortname = "Communities United",},
["Community Action Party"] = {abbrev = "", color = "#33FF33", shortname = "Community Action",},
["Community Alliance"] = {abbrev = "", color = "#1E4399", shortname = "",},
["Community Campaign (Hart)"] = {abbrev = "CCH", color = "#8d19ff", shortname = "",},
["Community Democrats of Ireland"] = {abbrev = "CDI", color = "#9FE2BF", shortname = "Community Democrats",},
["Community for Social Justice People's Party"] = {abbrev = "KTI", color = "#1C39BB", shortname = "",},
["Community Group"] = {abbrev = "", color = "#808080", shortname = "",},
["Community Integration Party"] = {abbrev = "", color = "#0869AD", shortname = "",},
["Community March"] = {abbrev = "", color = "#BDDC06", shortname = "",},
["Community Movement"] = {abbrev = "", color = "#800080", shortname = "",},
["Community Municipalist Party"] = {abbrev = "PMC", color = "#000000", shortname = "",},
["Community of the Lipovan Russians in Romania"] = {abbrev = "ORL", color = "#DA7C3E", shortname = "",},
["Community Performance First"] = {abbrev = "", color = "yellowgreen", shortname = "",},
["Community Representatives"] = {abbrev = "", color = "#FF719D", shortname = "Community Representative",},
["Community Sha Tin"] = {abbrev = "", color = "#00B2BD", shortname = "",},
["Comorian Democratic Union"] = {abbrev = "UDC", color = "#008000", shortname = "",},
["Comorian Union for Progress"] = {abbrev = "UCP", color = "#77BC11", shortname = "",},
["Compatriots of South Africa"] = {abbrev = "", color = "#98E03A", shortname = "",},
["Compostela Aberta"] = {abbrev = "", color = "#69C8EC", shortname = "",},
["Compromís amb Formentera"] = {abbrev = "", color = "#0AC5B3", shortname = "",},
["Compromís pel País Valencià"] = {abbrev = "Compromís PV", color = "#F2635B", shortname = "",},
["Compromisu por Asturies"] = {abbrev = "", color = "#7CB900", shortname = "",},
["Comú de Lleida"] = {abbrev = "", color = "#8B001F", shortname = "",},
["Comunes (political party)"] = {abbrev = "", color = "#412560", shortname = "",},
["Concentration of People's Forces"] = {abbrev = "CFP", color = "#000000", shortname = "",},
["Conceptual Party \"Unity\""] = {abbrev = "", color = "#11007D", shortname = "",},
["Concern for the Nation Functional Party"] = {abbrev = "PKPB", color = "#014133", shortname = "",},
["Concern Group for Tseung Kwan O People's Livelihood"] = {abbrev = "CGPLTKO", color = "#E3572B", shortname = "",},
["Concerned Citizens Party"] = {abbrev = "", color = "#A356DE", shortname = "Concerned Citizens",},
["Concerned Citizens' Movement"] = {abbrev = "CCM", color = "#3DADF2", shortname = "",},
["Concert of Parties for Democracy & Juntos Podemos Más"] = {abbrev = "", color = "Orange", shortname = "",},
["Concertación"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Concertación (Paraguay)"] = {abbrev = "", color = "#003399", shortname = "Concertación",},
["Conceyu Abiertu"] = {abbrev = "", color = "#214AFF", shortname = "",},
["Conceyu"] = {abbrev = "", color = "#D9DB4C", shortname = "",},
["Concord (political party)"] = {abbrev = "", color = "#0C6D76", shortname = "Concord",},
["Concordance (Bolivia)"] = {abbrev = "", color = "#4E81BD", shortname = "",},
["Concordancia (Argentina)"] = {abbrev = "", color = "#bfd0da", shortname = "Concordancia",},
["Concordia Association of Manchukuo"] = {abbrev = "", color = "#FFC500", shortname = "",},
["Concretely"] = {abbrev = "", color = "#0053A5", shortname = "",},
["Condado–Paradanta Union"] = {abbrev = "", color = "#008675", shortname = "",},
["Confederation Liberty and Independence"] = {abbrev = "", color = "#122746", shortname = "Confederation",},
["Confederation of Democracy"] = {abbrev = "", color = "#104F7C", shortname = "",},
["Confederation of Feminist Organizations"] = {abbrev = "", color = "#530F66", shortname = "",},
["Confederation of Independent Poland"] = {abbrev = "KPN", color = "#333300", shortname = "",},
["Confederation of the Greens (1987)"] = {abbrev = "", color = "#36A119", shortname = "",},
["Confederation of the Greens"] = {abbrev = "", color = "#74B32A", shortname = "",},
["Confederation of the Polish Crown"] = {abbrev = "", color = "#D4AA00", shortname = "",},
["Congolese Movement for Democracy and Integral Development"] = {abbrev = "", color = "#374CCB", shortname = "",},
["Congolese Party of Labour"] = {abbrev = "PCT", color = "#DC241F", shortname = "",},
["Congress (A)"] = {abbrev = "INC (A)", color = "#30D5C8", shortname = "",},
["Congress (J)"] = {abbrev = "INC(J)", color = "black", shortname = "",},
["Congress (Secular)"] = {abbrev = "Cong(S)", color = "#FF7F7F", shortname = "",},
["Congress for Democracy and Progress"] = {abbrev = "CDP", color = "#E5321C", shortname = "",},
["Congress for Democratic Change"] = {abbrev = "CDC", color = "#183883", shortname = "",},
["Congress for Progressive Change"] = {abbrev = "CPC", color = "lightskyblue", shortname = "",},
["Congress for the Republic (Niger)"] = {abbrev = "", color = "#11580C", shortname = "",},
["Congress for the Republic"] = {abbrev = "CPR", color = "#77B32A", shortname = "",},
["Congress Nationalist Party"] = {abbrev = "CNP", color = "#0099CC", shortname = "",},
["Congress of Democrats"] = {abbrev = "COD", color = "#0040FC", shortname = "",},
["Congress of Russian Communities"] = {abbrev = "KRO", color = "#FCCA19", shortname = "",},
["Congress of the New Right"] = {abbrev = "KNP", color = "#1B3458", shortname = "",},
["Congress of the People (South African political party)"] = {abbrev = "COPE", color = "#FFCA08", shortname = "",},
["Congress of the People (Trinidad and Tobago)"] = {abbrev = "COP", color = "#000000", shortname = "",},
["Congress of Ukrainian Nationalists"] = {abbrev = "KUN", color = "#B30027", shortname = "",},
["Congress Party (Egypt)"] = {abbrev = "", color = "#069255", shortname = "Congress",},
["Congress Party Alliance"] = {abbrev = "", color = "#FCC800", shortname = "",},
["Congress Party for the Independence of Madagascar"] = {abbrev = "AKFM", color = "#B20000", shortname = "",},
["Connect Andalusia"] = {abbrev = "", color = "#FECB00", shortname = "",},
["Conscience of Fatherland"] = {abbrev = "", color = "#B8860B", shortname = "",},
["Conservatism sidebar"] = {abbrev = "", color = "#0000FF", shortname = "Conservative",},
["Conservative (New Zealand)"] = {abbrev = "", color = "#9999CC", shortname = "Conservative",},
["Conservative (Norwegian political party)"] = {abbrev = "", color = "#2E316F", shortname = "Conservative",},
["Conservative (South Korea)"] = {abbrev = "", color = "#E61E2B", shortname = "Conservative",},
["Conservative Alliance-Matanitu Vanua"] = {abbrev = "CAMV", color = "blue", shortname = "",},
["Conservative Alliance of Zimbabwe"] = {abbrev = "CAZ", color = "#800080", shortname = "",},
["Conservative and Liberal Unionist"] = {abbrev = "", color = "#0281aa", shortname = "",},
["Conservative and Unionist Party (UK)"] = {abbrev = "Con", color = "#0087DC", shortname = "Conservative",},
["Conservative Ascension Party"] = {abbrev = "", color = "#0053CF", shortname = "",},
["Conservative bloc (Hong Kong)"] = {abbrev = "", color = "#0D3B68", shortname = "Conservative",},
["Conservative Christian Party – BPF"] = {abbrev = "", color = "#B31B20", shortname = "",},
["Conservative-Democratic Party"] = {abbrev = "PCD", color = "#66CCFF", shortname = "",},
["Conservative Democratic Party (Greece)"] = {abbrev = "KSD", color = "#9F99E5", shortname = "",},
["Conservative Democratic Party of Switzerland"] = {abbrev = "BDP", color = "#FBD918", shortname = "",},
["Conservative Democrats of Slovakia"] = {abbrev = "", color = "#6F0470", shortname = "",},
["Conservative Group"] = {abbrev = "", color = "#006EB7", shortname = "",},
["Conservative Ministerialist"] = {abbrev = "", color = "darkblue", shortname = "Ministerialist",},
["Conservative Movement/Alt-Info"] = {abbrev = "", color = "#4E0A0E", shortname = "Alt-Info",},
["Conservative Party (Bolivia)"] = {abbrev = "", color = "#0F52BA", shortname = "",},
["Conservative Party (Brazil)"] = {abbrev = "", color = "#00913D", shortname = "Conservative",},
["Conservative Party (Bulgaria)"] = {abbrev = "", color = "#00008b", shortname = "",},
["Conservative Party (Chile)"] = {abbrev = "", color = "#1935D0", shortname = "Conservative",},
["Conservative Party (Czech Republic)"] = {abbrev = "", color = "#4b0082", shortname = "KONS",},
["Conservative Party (Ecuador)"] = {abbrev = "PC", color = "#0000FF", shortname = "",},
["Conservative Party (Egypt)"] = {abbrev = "", color = "#B31E46", shortname = "",},
["Conservative Party (Guatemala)"] = {abbrev = "", color = "navy", shortname = "Conservative",},
["Conservative Party (Hong Kong)"] = {abbrev = "", color = "#0A4C90", shortname = "Conservative",},
["Conservative Party (Iceland)"] = {abbrev = "", color = "#87add7", shortname = "Conservative",},
["Conservative Party (Mexico)"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Conservative Party (New Zealand)"] = {abbrev = "", color = "#00AEEF", shortname = "Conservative",},
["Conservative Party (Nicaragua)"] = {abbrev = "", color = "#008000", shortname = "Conservative",},
["Conservative Party (Norway)"] = {abbrev = "", color = "#87add7", shortname = "Conservative",},
["Conservative Party (Panama)"] = {abbrev = "", color = "#095498", shortname = "",},
["Conservative Party (Prussia)"] = {abbrev = "", color = "#0781E5", shortname = "Conservatives",},
["Conservative Party (Romania, 1880–1918)"] = {abbrev = "", color = "#0047AB", shortname = "",},
["Conservative Party (Romania)"] = {abbrev = "", color = "#01357E", shortname = "",},
["Conservative Party (Serbia)"] = {abbrev = "", color = "#60AFFF", shortname = "Conservative",},
["Conservative Party (South Africa)"] = {abbrev = "", color = "#FFD700", shortname = "Conservative",},
["Conservative Party (Spain)"] = {abbrev = "", color = "#1286CB", shortname = "Conservative",},
["Conservative Party (Thailand)"] = {abbrev = "", color = "#FF0800", shortname = "",},
["Conservative Party (Uganda)"] = {abbrev = "", color = "purple", shortname = "",},
["Conservative Party (US)"] = {abbrev = "", color = "#FF8C00", shortname = "Conservative",},
["Conservative Party (Venezuela)"] = {abbrev = "", color = "#ED2939", shortname = "",},
["Conservative Party (Virginia, 1965)"] = {abbrev = "", color = "#FF8C00", shortname = "",},
["Conservative Party (Virginia)"] = {abbrev = "", color = "#FF8C00", shortname = "",},
["Conservative Party of Albania"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Conservative Party of Canada"] = {abbrev = "", color = "#6495ED", shortname = "Conservative",},
["Conservative Party of Canada (1867–1942)"] = {abbrev = "", color = "#9999FF", shortname = "Conservative (historical)",},
["Conservative Party of Norway (2020)"] = {abbrev = "", color = "#0065F1", shortname = "",},
["Conservative Party of Russia"] = {abbrev = "", color = "#1093EC", shortname = "",},
["Conservative People's Party (Argentina)"] = {abbrev = "PCP", color = "#000081", shortname = "Conservative People's Party",},
["Conservative People's Party (Denmark)"] = {abbrev = "", color = "#6B9249", shortname = "Conservatives",},
["Conservative People's Party (Germany)"] = {abbrev = "KVP", color = "#455B95", shortname = "",},
["Conservative People's Party (Poland)"] = {abbrev = "SKL", color = "#4B61D1", shortname = "Conservative People's Party",},
["Conservative People's Party of Estonia"] = {abbrev = "EKRE", color = "#0063AF", shortname = "",},
["Conservative People's Party"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Conservative Republican Party"] = {abbrev = "PRC", color = "#3333FF", shortname = "",},
["Conservative Resident"] = {abbrev = "", color = "#00ADEF", shortname = "",},
["Conservative Trade Unionist"] = {abbrev = "", color = "white", shortname = "",},
["Conservative Union (Spain)"] = {abbrev = "", color = "#27A6E2", shortname = "Silvelist",},
["Conservative"] = {abbrev = "", color = "#318CE7", shortname = "",},
["Conservatives and Reformists (Italy)"] = {abbrev = "", color = "#0054A5", shortname = "",},
["Conservatives of Catalonia"] = {abbrev = "", color = "#2A52BE", shortname = "",},
["Constitution Democracy Republic Party"] = {abbrev = "CDRP", color = "#BB443E", shortname = "",},
["Constitution Party (Egypt)"] = {abbrev = "", color = "#0A72BB", shortname = "Constitution Party",},
["Constitution Party (Estonia)"] = {abbrev = "", color = "#E56509", shortname = "",},
["Constitution Party (US)"] = {abbrev = "C", color = "#A356DE", shortname = "Constitution",},
["Constitution Party (US, 1952)"] = {abbrev = "C", color = "#000000", shortname = "Constitution",},
["Constitutional Action Party"] = {abbrev = "", color = "#9ab27d", shortname = "",},
["Constitutional and Democratic Party (Spain)"] = {abbrev = "", color = "#9999FF", shortname = "",},
["Constitutional and Democratic Popular Movement"] = {abbrev = "", color = "#D0353B", shortname = "",},
["Constitutional Bloc (Bulgaria)"] = {abbrev = "", color = "#0092CB", shortname = "",},
["Constitutional Bloc (Lebanon)"] = {abbrev = "", color = "orange", shortname = "Constitutional Bloc",},
["Constitutional Democratic Party (Italy)"] = {abbrev = "", color = "#6495ed", shortname = "",},
["Constitutional Democratic Party (Japan)"] = {abbrev = "", color = "#3773BE", shortname = "Rikken Minseitō",},
["Constitutional Democratic Party of Japan"] = {abbrev = "CDP", color = "#184589", shortname = "",},
["Constitutional Democratic Party"] = {abbrev = "", color = "#0087DC", shortname = "Cadet",},
["Constitutional Front (Thailand)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Constitutional Movement"] = {abbrev = "", color = "DarkGoldenrod", shortname = "",},
["Constitutional Nationalist Party UNIR"] = {abbrev = "", color = "#2E4371", shortname = "",},
["Constitutional Party (Costa Rica)"] = {abbrev = "", color = "#FF0000", shortname = "Constitutional",},
["Constitutional Party (Malta)"] = {abbrev = "", color = "#C71585", shortname = "",},
["Constitutional Party (Peru)"] = {abbrev = "", color = "#0072BB", shortname = "",},
["Constitutional Party (Spain)"] = {abbrev = "", color = "#58B474", shortname = "Constitutional",},
["Constitutional Party (Vietnam)"] = {abbrev = "", color = "#D99FE8", shortname = "",},
["Constitutional Reform Association of Hong Kong"] = {abbrev = "CRA", color = "#000080", shortname = "",},
["Constitutional Right Party"] = {abbrev = "", color = "darkblue", shortname = "",},
["Constitutional Union (Morocco)"] = {abbrev = "UC", color = "#F29400", shortname = "",},
["Constitutional Union of Cuba"] = {abbrev = "", color = "#537AB0", shortname = "",},
["Constitutional Union Party (Iraq)"] = {abbrev = "CUP", color = "#A52A2A", shortname = "",},
["Constitutional Union Party (US)"] = {abbrev = "CU", color = "#F59100", shortname = "Constitutional Union",},
["Constitutionalist (UK)"] = {abbrev = "", color = "#8C92AC", shortname = "Constitutionalist",},
["Constitutionalist Liberal Party"] = {abbrev = "PLC", color = "#FF2400", shortname = "",},
["Constitutionalist Party of Iran"] = {abbrev = "", color = "#000099", shortname = "",},
["Constitutionalist Party of São Paulo"] = {abbrev = "PCSP", color = "#CC0000", shortname = "",},
["Constitutionalist"] = {abbrev = "", color = "white", shortname = "",},
["ConstitutionUSA Party"] = {abbrev = "", color = "#A356DE", shortname = "",}, -- TODO: is duplicate?
["Consultative Council for Indonesian Citizenship"] = {abbrev = "", color = "#800080", shortname = "Baperki",},
["Contigo (political party)"] = {abbrev = "", color = "#E2007A", shortname = "",},
["Contigo Más"] = {abbrev = "", color = "#DF617D", shortname = "",},
["Contigo Navarra"] = {abbrev = "", color = "#4DAE97", shortname = "Contigo/Zurekin",},
["Contigo Somos Democracia"] = {abbrev = "", color = "#85BE3D", shortname = "",},
["Convention for a Progressive Alternative"] = {abbrev = "CAP", color = "#FF0000", shortname = "",},
["Convention for the Renewal of the Comoros"] = {abbrev = "CRC", color = "#18489C", shortname = "",},
["Convention Muslim League"] = {abbrev = "CML", color = "#00CCCC", shortname = "",},
["Convention of Christian Democrats"] = {abbrev = "", color = "#556627", shortname = "",},
["Convention of Democratic Forces"] = {abbrev = "", color = "green", shortname = "",},
["Convention of Republican Institutions"] = {abbrev = "", color = "#E75480", shortname = "",},
["Convention People's Party"] = {abbrev = "CPP", color = "#C80815", shortname = "",},
["Convergence (Guatemala)"] = {abbrev = "", color = "#3481B9", shortname = "",},
["Convergence (Mexico)"] = {abbrev = "", color = "#F18130", shortname = "Convergence",},
["Convergence and Union"] = {abbrev = "CiU", color = "#18307B", shortname = "",},
["Convergence for Development"] = {abbrev = "CODEM", color = "blue", shortname = "",},
["Convergence for Extremadura"] = {abbrev = "", color = "#0A892E", shortname = "",},
["Convergence for Social Democracy (Equatorial Guinea)"] = {abbrev = "CPDS", color = "red", shortname = "",},
["Convergence for the Development of Mali"] = {abbrev = "", color = "#3BB9FF", shortname = "",},
["Convergence for the Isles"] = {abbrev = "", color = "#02AECA", shortname = "",},
["Convergence for Vigo"] = {abbrev = "", color = "#CE1126", shortname = "",},
["Convergence of Democrats of Navarre"] = {abbrev = "CDN", color = "#9D3E4D", shortname = "",},
["Convergence of Independents of Galicia"] = {abbrev = "", color = "#0062E3", shortname = "",},
["Convergence of Manacor"] = {abbrev = "", color = "#E2C767", shortname = "",},
["Convergence of Melilla"] = {abbrev = "", color = "#F04E98", shortname = "",},
["Convergents"] = {abbrev = "", color = "#172A88", shortname = "",},
["Converxencia XXI"] = {abbrev = "", color = "#FDB812", shortname = "",},
["Cook Islands First Party"] = {abbrev = "", color = "#FFDDFF", shortname = "",},
["Cook Islands National Party"] = {abbrev = "CINP", color = "#0000FF", shortname = "",},
["Cook Islands Party"] = {abbrev = "", color = "#005a00", shortname = "Cook Islands",},
["Cook Islands United Party"] = {abbrev = "", color = "#0000fe", shortname = "Cook Islands United",},
["Cooperation and Brotherhood"] = {abbrev = "", color = "#AF0000", shortname = "",},
["Cooperation Party"] = {abbrev = "", color = "#311179", shortname = "",},
["Cooperative NATCCO Network Party"] = {abbrev = "", color = "#6495ED", shortname = "",},
["Cooperative Power Party"] = {abbrev = "", color = "#038F48", shortname = "",},
["Copei"] = {abbrev = "", color = "#009900", shortname = "",},
["Coraggio Italia"] = {abbrev = "", color = "#E5007D", shortname = "",},
["Córas na Poblachta"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Cordeliers club"] = {abbrev = "", color = "#374d5f", shortname = "",},
["Córdoba Neighbourhood Encounter"] = {abbrev = "", color = "#E76003", shortname = "",},
["Cordobese Union"] = {abbrev = "", color = "#067237", shortname = "",},
["Cork Socialist Party"] = {abbrev = "", color = "#D20000", shortname = "",},
["Cornellà en Comú–Crida per Cornellà"] = {abbrev = "", color = "#783E8B", shortname = "",},
["Cornellà Left Alternative"] = {abbrev = "", color = "#581960", shortname = "",},
["Cornish Nationalist Party"] = {abbrev = "", color = "#000000", shortname = "",},
["Corsaris Democràtics"] = {abbrev = "", color = "#E7D072", shortname = "",},
["Corsica Libera"] = {abbrev = "CL", color = "#CC5500", shortname = "",},
["Corunnan Democracy"] = {abbrev = "", color = "#166CBF", shortname = "",},
["Corunnan Union"] = {abbrev = "", color = "#804B32", shortname = "",},
["Costa del Sol Sí Puede"] = {abbrev = "", color = "#269283", shortname = "",},
["Costa Rica Fair"] = {abbrev = "CRJ", color = "#00A5DB", shortname = "",},
["Costa Rican Concord Party"] = {abbrev = "PCC", color = "#4366F1", shortname = "",},
["Costa Rican People's Party"] = {abbrev = "", color = "Red", shortname = "",},
["Costa Rican Peoples' Front"] = {abbrev = "FPC", color = "#800000", shortname = "",},
["Costa Rican Renewal Party"] = {abbrev = "PRC", color = "#013ca6", shortname = "",},
["Council Muslim League"] = {abbrev = "", color = "#00ffff", shortname = "",},
["Council of Serbian Unity"] = {abbrev = "SSJ", color = "#36454F", shortname = "",},
["Country Alliance (Dominican Republic)"] = {abbrev = "", color = "#00ACA1", shortname = "",},
["Country and Progressive National Party"] = {abbrev = "CPNP", color = "#008B8B", shortname = "",},
["Country Liberal Party"] = {abbrev = "", color = "#f8981d", shortname = "Country Liberal",},
["Country of Living"] = {abbrev = "", color = "#FC283F", shortname = "",},
["Country-Liberal Coalition"] = {abbrev = "", color = "#006644", shortname = "Coalition",},
["Country/Liberal Coalition"] = {abbrev = "", color = "#006644", shortname = "Coalition",},
["Country Party (New Zealand)"] = {abbrev = "", color = "#B9F58B", shortname = "Country Party",},
["Country Party (NSW)"] = {abbrev = "", color = "#006644", shortname = "Country",},
["Country Party (South Australia)"] = {abbrev = "", color = "#006644", shortname = "Country",},
["Country Party (Victoria)"] = {abbrev = "", color = "#006644", shortname = "Country",},
["Country Party (Western Australia)"] = {abbrev = "", color = "#006644", shortname = "Country",},
["Country Party of Australia"] = {abbrev = "", color = "#006644", shortname = "Country",},
["Country Party of Australia (1920)"] = {abbrev = "", color = "#006644", shortname = "Country",},
["Country with Managers"] = {abbrev = "", color = "#EAFF00", shortname = "",},
["Countryside Party (UK)"] = {abbrev = "", color = "olive", shortname = "Countryside",},
["Courage Party"] = {abbrev = "", color = "#CC66FF", shortname = "Courage",},
["Course of Freedom"] = {abbrev = "PE", color = "#9F1897", shortname = "",},
["Covenant Party (Northern Mariana Islands)"] = {abbrev = "", color = "#CCFFCC", shortname = "Covenant",},
["Covenant Society"] = {abbrev = "", color = "#DC143C", shortname = "",},
["Cowry Forces for an Emerging Benin"] = {abbrev = "", color = "#56963F", shortname = "FCBE",},
["CPC"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Crawford Republican"] = {abbrev = "", color = "#5FD35F", shortname = "",},
["Creando Melilla"] = {abbrev = "CREAME", color = "#3182C1", shortname = "",},
["Creating Opportunities"] = {abbrev = "CREO", color = "#1B5DA6", shortname = "",},
["Creative Korea Party"] = {abbrev = "", color = "#B30000", shortname = "Creative Korea",},
["Creemos"] = {abbrev = "", color = "#d02d69", shortname = "",},
["Creemos Colombia"] = {abbrev = "", color = "#e40078", shortname = "",},
["Creo en Huelva"] = {abbrev = "", color = "#18B3B7", shortname = "",},
["Crescent Star Party (Indonesia)"] = {abbrev = "PBB", color = "#005825", shortname = "",},
["Crida per Palma"] = {abbrev = "", color = "#F3CB2D", shortname = "",},
["Cristiannan Uni Reforzando Potencial di Aruba"] = {abbrev = "", color = "purple", shortname = "",},
["Croat People's Union"] = {abbrev = "", color = "blue", shortname = "",},
["Croat-Serb Coalition"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Croatia is Growing"] = {abbrev = "", color = "#e00f20", shortname = "",},
["Croatian Bunjevac-Šokac Party"] = {abbrev = "HBŠS", color = "#AD3201", shortname = "",},
["Croatian Christian Democratic Union of Bosnia and Herzegovina"] = {abbrev = "", color = "blue", shortname = "",},
["Croatian Christian Democratic Union"] = {abbrev = "", color = "cornflowerblue", shortname = "",},
["Croatian Civic Initiative"] = {abbrev = "HGI", color = "#f08080", shortname = "",},
["Croatian Civic Party"] = {abbrev = "HGS", color = "#1F75FE", shortname = "",},
["Croatian Coalition (2010)"] = {abbrev = "", color = "#E61717", shortname = "",},
["Croatian Conservative Party"] = {abbrev = "", color = "#002366", shortname = "",},
["Croatian Demochristian Party"] = {abbrev = "", color = "#1974D2", shortname = "",},
["Croatian Democratic Alliance of Slavonia and Baranja"] = {abbrev = "HDSSB", color = "#990000", shortname = "",},
["Croatian Democratic Peasant Party"] = {abbrev = "", color = "green", shortname = "",},
["Croatian Democratic Union 1990"] = {abbrev = "HDZ 1990", color = "#A3DCFF", shortname = "",},
["Croatian Democratic Union of Bosnia and Herzegovina"] = {abbrev = "HDZ BiH", color = "#0064AA", shortname = "",},
["Croatian Democratic Union"] = {abbrev = "HDZ", color = "#005BAA", shortname = "",},
["Croatian Growth"] = {abbrev = "", color = "#5299E1", shortname = "",},
["Croatian Independent Party"] = {abbrev = "", color = "#5CA8EC", shortname = "",},
["Croatian Labourists – Labour Party"] = {abbrev = "", color = "#F4A460", shortname = "Labour",},
["Croatian Labourists"] = {abbrev = "HL", color = "#F4A460", shortname = "",},
["Croatian Liberation Movement"] = {abbrev = "HOP", color = "#FF0000", shortname = "",},
["Croatian National Shift"] = {abbrev = "HNP", color = "#EB332D", shortname = "",},
["Croatian Party of Pensioners"] = {abbrev = "", color = "#004B88", shortname = "HSU",},
["Croatian Party of Rights 1861"] = {abbrev = "HSP 1861", color = "#000000", shortname = "",},
["Croatian Party of Rights Dr. Ante Starčević"] = {abbrev = "HSP AS", color = "#6082B6", shortname = "",},
["Croatian Party of Rights of Bosnia and Herzegovina"] = {abbrev = "", color = "#000000", shortname = "",},
["Croatian Party of Rights"] = {abbrev = "HSP", color = "#000000", shortname = "",},
["Croatian Peasant Party of Bosnia and Herzegovina"] = {abbrev = "HSS BiH", color = "#3D863D", shortname = "",},
["Croatian Peasant Party"] = {abbrev = "HSS", color = "#02B14B", shortname = "",},
["Croatian People's Party – Liberal Democrats"] = {abbrev = "HNS-LD", color = "#FF931E", shortname = "",},
["Croatian People's Party"] = {abbrev = "HNS", color = "#F4A460", shortname = "",},
["Croatian Popular Party (1919)"] = {abbrev = "", color = "blue", shortname = "",},
["Croatian Pure Party of Rights"] = {abbrev = "HČSP", color = "#000000", shortname = "",},
["Croatian Republican Party"] = {abbrev = "HRS", color = "#004E9C", shortname = "",},
["Croatian Republican Union"] = {abbrev = "", color = "#000000", shortname = "",},
["Croatian Right Bloc"] = {abbrev = "", color = "#000000", shortname = "",},
["Croatian Romani Union \"Kali Sara\""] = {abbrev = "", color = "#FF0000", shortname = "Kali Sara",},
["Croatian Social Democrats"] = {abbrev = "HSD", color = "#FF0000", shortname = "",},
["Croatian Social Liberal Party"] = {abbrev = "HSLS", color = "#FFE01A", shortname = "",},
["Croatian Syrmian Initiative"] = {abbrev = "HSI", color = "#AA8251", shortname = "",},
["Croatian True Revival"] = {abbrev = "HIP", color = "darkblue", shortname = "",},
["Croatian Workers Party"] = {abbrev = "HRS", color = "Blue", shortname = "",},
["Croats Together"] = {abbrev = "HZ", color = "#A3DCFF", shortname = "",},
["Crofters Party"] = {abbrev = "", color = "#ddff55", shortname = "Crofters",},
["Cross-Community Labour Alternative"] = {abbrev = "", color = "#cd5c5c", shortname = "Labour Alternative",},
["Crossbencher"] = {abbrev = "", color = "grey", shortname = "Crossbench",},
["Crusade of Romanianism"] = {abbrev = "CR", color = "#390E0C", shortname = "",},
["Crystal Party"] = {abbrev = "", color = "#88309E", shortname = "Kristall.",},
["Cuban National Party"] = {abbrev = "PNC", color = "#0080FF", shortname = "",},
["Cuban Popular Party"] = {abbrev = "", color = "#C71585", shortname = "",},
["Cuenca Nos Une"] = {abbrev = "", color = "#13A69E", shortname = "",},
["Culleredo Neighborhood Tide"] = {abbrev = "", color = "#00ACEE", shortname = "",},
["Cultural Association of the GDR"] = {abbrev = "", color = "#011993", shortname = "",},
["Cultural Union of Ruthenians of Romania"] = {abbrev = "KTRR", color = "red", shortname = "",},
["Cumann na nGaedheal"] = {abbrev = "CnaG", color = "#87CEFA", shortname = "Cumann na nGaedheal",},
["Cumann Poblachta na hÉireann"] = {abbrev = "", color = "#008800", shortname = "",},
["Cumbernauld Independent Councillors Alliance"] = {abbrev = "CICA", color = "#DDDDDD", shortname = "",},
["Curaçao a New Dutch Municipality"] = {abbrev = "", color = "#FE8A23", shortname = "",},
["Current of Love"] = {abbrev = "", color = "#C49A6C", shortname = "",},
["Cymru Rydd"] = {abbrev = "", color = "#E32636", shortname = "",},
["Cymru Sovereign"] = {abbrev = "", color = "#fbff3c", shortname = "",},
["Cynon Valley Party"] = {abbrev = "", color = "#fac43a", shortname = "",},
["Czech Christian Social Party in the Kingdom of Bohemia"] = {abbrev = "ČKSSKČ", color = "#d6c3a5", shortname = "",},
["Czech National Social Party"] = {abbrev = "ČSNS", color = "#FAC469", shortname = "",},
["Czech National Socialist Party"] = {abbrev = "ČSNS 2005", color = "#C80000", shortname = "",},
["Czech Pirate Party"] = {abbrev = "", color = "#000000", shortname = "Pirates",},
["Czech Realist Party"] = {abbrev = "ČSP", color = "#6495ED", shortname = "",},
["Czech Social Democratic Party"] = {abbrev = "ČSSD", color = "#EC5800", shortname = "",},
["Czech Social Democratic Party (2021)"] = {abbrev = "ČSSD (2021)", color = "#EF331A", shortname = "",},
["Czechoslovak Agrarian and Conservative Party"] = {abbrev = "ČSAK", color = "#004953", shortname = "",},
["Czechoslovak National Democracy"] = {abbrev = "ČsND", color = "#2B347F", shortname = "",},
["Czechoslovak National Socialist Party"] = {abbrev = "ČSNS", color = "#FAC469", shortname = "",},
["Czechoslovak People's Party"] = {abbrev = "ČSL", color = "#FFD700", shortname = "",},
["Czechoslovak Social Democracy"] = {abbrev = "ČSSD", color = "#EC5800", shortname = "",},
["Czechoslovak Traders' Party"] = {abbrev = "ČŽOS", color = "#F27A7A", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
861d3915a3c7f40d1fdccd4c0eef43ee4bf111ae
Main Page
0
1
1
2024-03-10T20:39:53Z
MediaWiki default
1
Welcome to Miraheze!
wikitext
text/x-wiki
__NOTOC__
== Welcome to {{SITENAME}}! ==
This Main Page was created automatically and it seems it hasn't been replaced yet.
=== For the bureaucrat(s) of this wiki ===
Hello, and welcome to your new wiki! Thank you for choosing Miraheze for the hosting of your wiki, we hope you will enjoy our hosting.
You can immediately start working on your wiki or whenever you want.
Need help? No problem! We will help you with your wiki as needed. To start, try checking out these helpful links:
* [[mw:Special:MyLanguage/Help:Contents|MediaWiki guide]] (e.g. navigation, editing, deleting pages, blocking users)
* [[meta:Special:MyLanguage/FAQ|Miraheze FAQ]]
* [[meta:Special:MyLanguage/Request features|Request settings changes on your wiki]]. (Extensions, Skin and Logo/Favicon changes should be done through [[Special:ManageWiki]] on your wiki, see [[meta:Special:MyLanguage/ManageWiki|ManageWiki]] for more information.)
==== I still don't understand X! ====
Well, that's no problem. Even if something isn't explained in the documentation/FAQ, we are still happy to help you. You can find us here:
* [[meta:Special:MyLanguage/Help center|On our own Miraheze wiki]]
* On [[phorge:|Phorge]]
* On [https://miraheze.org/discord Discord]
* On IRC in #miraheze on irc.libera.chat ([irc://irc.libera.chat/%23miraheze direct link]; [https://web.libera.chat/?channel=#miraheze webchat])
=== For visitors of this wiki ===
Hello, the default Main Page of this wiki (this page) has not yet been replaced by the bureaucrat(s) of this wiki. The bureaucrat(s) might still be working on a Main Page, so please check again later!
070d9e6457eab136df99905438a1f57c037772b0
2
1
2024-03-10T21:36:21Z
TheMexicanHistorian
2
Added some introduction text to the main page
wikitext
text/x-wiki
__NOTOC__
== Welcome to {{SITENAME}}! ==
'''Revolution Plowed the Sea (RPTS)''' is an alternate history project that explores a world where Latin America is more stable and developed and all the consequences that brings to the rest of the world.
In this wiki you will be able to find pages detailing the lore of various countries, events and people in this timeline.
11d4d570859d46f1527ff05ae0db99472cd028e4
3
2
2024-03-10T21:39:39Z
TheMexicanHistorian
2
Creating some of the first pages
wikitext
text/x-wiki
__NOTOC__
== Welcome to {{SITENAME}}! ==
'''Revolution Plowed the Sea (RPTS)''' is an alternate history project that explores a world where Latin America is more stable and developed and all the consequences that brings to the rest of the world.
In this wiki you will be able to find pages detailing the lore of various countries, events and people in this timeline.
Pages created so far:
[[Mexico]]
[[Panasia]]
b307e2f05592f45c3886865d1a02758728285c25
Panasia
0
2
4
2024-03-10T21:54:29Z
TheMexicanHistorian
2
Added the lore up to the formation of the union
wikitext
text/x-wiki
The '''United People's Pan-Asian Republics''' (often informally referred to as '''Panasia''') are a country in East Asia.
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the Opium Wars (1839-1860) between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.A.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
534c8e4c52d86bda47c1c9ab250abb354ad2e491
5
4
2024-03-10T22:01:52Z
Martinxo51
5
wikitext
text/x-wiki
'''Panasia''', officially the '''United People's Pan-Asian Republics''', also known as '''Pan-Asia''', is a country in East Asia.
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the Opium Wars (1839-1860) between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.A.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
bf1c5318dc8d3258621c3403b52e3a5cfa567eea
6
5
2024-03-10T22:03:17Z
Martinxo51
5
wikitext
text/x-wiki
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' or '''Pan-Asia''', is a country in East Asia.
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the Opium Wars (1839-1860) between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.A.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
da9c52f0f0c189dd62a7504e986c45c612155eb9
7
6
2024-03-10T22:06:37Z
TheMexicanHistorian
2
grammar
wikitext
text/x-wiki
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' or '''Pan-Asia''', is a country in East Asia.
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the Opium Wars (1839-1860) between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.P.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
3e12383ee07efcddf9a5a4573947b094544fd7f5
12
7
2024-03-11T12:33:11Z
Martinxo51
5
wikitext
text/x-wiki
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' or '''Pan-Asia''', is a country in East Asia.
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the [[1|Opium Wars]] between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.P.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
45e823c3d4ad6f0efed2f35e6aeb5c6f541c3c55
13
12
2024-03-11T12:34:03Z
Martinxo51
5
wikitext
text/x-wiki
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' or '''Pan-Asia''', is a country in East Asia.
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the [https://en.wikipedia.org/wiki/Opium_Wars Opium Wars] between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.P.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
5547f29fbf09685d545f35838813142fcf1aafaf
14
13
2024-03-11T16:44:57Z
TheMexicanHistorian
2
Added a bit more to the initial description
wikitext
text/x-wiki
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' , '''Pan-Asia''' or the '''UPPR''', is a country in East Asia. It is bordered to the north by [[China]] and the [[Far Eastern Republic]]. Panasia is considered one of the world's [[Great Powers]] and is a founding member of the [[Co-Prosperity Sphere]].
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the [https://en.wikipedia.org/wiki/Opium_Wars Opium Wars] between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.P.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
3375e6208b310ec47e58e568d1513d790864fdc1
Mexico
0
3
8
2024-03-10T22:10:46Z
Martinxo51
5
Created page with "'''Mexico''', officially the '''Mexican Federal Republic''' is a country primarily located in North America."
wikitext
text/x-wiki
'''Mexico''', officially the '''Mexican Federal Republic''' is a country primarily located in North America.
b5c58f92ac0e6f93beea949606cc2a5564c901f7
9
8
2024-03-10T22:17:55Z
Martinxo51
5
wikitext
text/x-wiki
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America.
dc11b985b8c1515f99ffc912381809aa2cf4c947
11
9
2024-03-10T23:05:51Z
TheMexicanHistorian
2
Added president cardenas to create his page to test the infobox template
wikitext
text/x-wiki
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America.
[[Lazaro Cardenas]]
a459aad2610b839367544ceb180aee6954c4b4fe
15
11
2024-03-11T16:48:45Z
TheMexicanHistorian
2
Added a bit more to the initial description
wikitext
text/x-wiki
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
[[Lazaro Cardenas]]
c6989b7497ecd2b1302455d5de3d18ea0a1ab27c
16
15
2024-03-11T16:53:16Z
TheMexicanHistorian
2
Experimenting with table for leaders list
wikitext
text/x-wiki
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Party
|-
|1.
|
|
|
|
|
|-
|2.
|
|
|
|
|
|-
|3.
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|-
|
|
|
|
|
|
|}
[[Lazaro Cardenas]]
88bc0e82793acd47a9b206dc40dc0275be31a6d7
20
16
2024-03-11T17:25:20Z
TheMexicanHistorian
2
wikitext
text/x-wiki
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|}
6d4bcd9b1ec2cf64063cabe7f7c678f1bd423125
21
20
2024-03-11T17:29:07Z
TheMexicanHistorian
2
Added a stub to the history section
wikitext
text/x-wiki
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
Hidalgo does his thing, dies, morelos takes over and wins (placeholder)
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|}
8f0e969b707d767bce9dc75cd70c9fac11bb1de0
23
21
2024-03-11T17:44:49Z
ElBortoTexas
10
I have added a wip template and wanted to test it real quick
wikitext
text/x-wiki
{{WIP_warning}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
Hidalgo does his thing, dies, morelos takes over and wins (placeholder)
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|}
97d13a257dd70a75d0fe6ecc73a31704ec4c6271
Template:Infobox Person
10
4
10
2024-03-10T23:04:50Z
TheMexicanHistorian
2
Created page with "{| class="wikitable" ! colspan="2" | {{{subj|Albert Einstein}}} |- ! colspan="2" | [[File:{{{img|Albert_Einstein_Head.jpg}}}|200px]] |- | colspan="2" style="text-align: center" | <small>{{{capt|Albert Einstein picture woohoo}}}</small> |- ! Born | {{{born|14 March 1879}}} |- ! Place of birth | {{{place|Germany}}} |- ! Known for | {{{known|Physics}}} |}"
wikitext
text/x-wiki
{| class="wikitable"
! colspan="2" | {{{subj|Albert Einstein}}}
|-
! colspan="2" | [[File:{{{img|Albert_Einstein_Head.jpg}}}|200px]]
|-
| colspan="2" style="text-align: center" | <small>{{{capt|Albert Einstein picture woohoo}}}</small>
|-
! Born
| {{{born|14 March 1879}}}
|-
! Place of birth
| {{{place|Germany}}}
|-
! Known for
| {{{known|Physics}}}
|}
f0c18e2d50c252da2dac953f68955ef6f5a6f9e0
Module:Documentation/styles.css
828
1483
3029
2024-03-11T03:56:36Z
Wikipedia>Izno
0
adj
sanitized-css
text/css
/* {{pp|small=yes}} */
.documentation,
.documentation-metadata {
border: 1px solid #a2a9b1;
background-color: #ecfcf4;
clear: both;
}
.documentation {
margin: 1em 0 0 0;
padding: 1em;
}
.documentation-metadata {
margin: 0.2em 0; /* same margin left-right as .documentation */
font-style: italic;
padding: 0.4em 1em; /* same padding left-right as .documentation */
}
.documentation-startbox {
padding-bottom: 3px;
border-bottom: 1px solid #aaa;
margin-bottom: 1ex;
}
.documentation-heading {
font-weight: bold;
font-size: 125%;
}
.documentation-clear { /* Don't want things to stick out where they shouldn't. */
clear: both;
}
.documentation-toolbar {
font-style: normal;
font-size: 85%;
}
html.skin-night-mode-clientpref-1 .documentation,
html.skin-night-mode-clientpref-1 .documentation-metadata {
background-color: inherit;
}
@media (prefers-color-scheme: dark) {
html.skin-night-mode-clientpref-2 .documentation,
html.skin-night-mode-clientpref-2 .documentation-metadata {
background-color: inherit;
}
}
92223f6a535f0908f32517eee0e93060e6ba30bd
Template:Documentation/styles.css
10
1510
3083
2024-03-11T03:56:36Z
wikipedia>Izno
0
adj
sanitized-css
text/css
/* {{pp|small=yes}} */
.documentation,
.documentation-metadata {
border: 1px solid #a2a9b1;
background-color: #ecfcf4;
clear: both;
}
.documentation {
margin: 1em 0 0 0;
padding: 1em;
}
.documentation-metadata {
margin: 0.2em 0; /* same margin left-right as .documentation */
font-style: italic;
padding: 0.4em 1em; /* same padding left-right as .documentation */
}
.documentation-startbox {
padding-bottom: 3px;
border-bottom: 1px solid #aaa;
margin-bottom: 1ex;
}
.documentation-heading {
font-weight: bold;
font-size: 125%;
}
.documentation-clear { /* Don't want things to stick out where they shouldn't. */
clear: both;
}
.documentation-toolbar {
font-style: normal;
font-size: 85%;
}
html.skin-night-mode-clientpref-1 .documentation,
html.skin-night-mode-clientpref-1 .documentation-metadata {
background-color: inherit;
}
@media (prefers-color-scheme: dark) {
html.skin-night-mode-clientpref-2 .documentation,
html.skin-night-mode-clientpref-2 .documentation-metadata {
background-color: inherit;
}
}
92223f6a535f0908f32517eee0e93060e6ba30bd
Module:Political party/D
828
1467
2997
2024-03-11T10:40:45Z
Wikipedia>Impru20
0
Undid revision [[Special:Diff/1213147658|1213147658]] by [[Special:Contributions/Gust Justice|Gust Justice]] ([[User talk:Gust Justice|talk]]) Reverted unilateral change. It is customary practice to use a coalition's specific colour (specially considering that past similar coalitions in Portugal also use their specific colours)
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["Direct Democracy New Zealand"] = "Direct Democracy Party of New Zealand",
["DAB"] = "Democratic Alliance for the Betterment and Progress of Hong Kong",
["DABHK"] = "Democratic Alliance for the Betterment and Progress of Hong Kong",
["Delaware Democratic Party"] = "Democratic Party (United States)",
["Demócrata Party"] = "Democrata Party",
["Democratic Agrarian Party of Moldova"] = "Agrarian Party of Moldova",
["Democratic Alliance for the Betterment of Hong Kong"] = "Democratic Alliance for the Betterment and Progress of Hong Kong",
["Democratic and Social Centre – People's Party"] = "CDS – People's Party",
["Democratic and Social Centre – People´s Party"] = "CDS – People's Party", -- acute accent difference
["Democratic Awakening"] = "Democratic Beginning",
["Democratic Center Party of Latvia"] = "Democratic Party \"Saimnieks\"",
["Democratic Centre Union (Greece)"] = "Centre Union",
["Democratic Coalition"] = "Democratic Coalition (Hungary)",
["Democratic Front (France)"] = "Democratic Movement (France)",
["Democratic Front for the Reunification of the Fatherland"] = "Democratic Front for the Reunification of Korea",
["Democratic Front of the Francophones"] = "DéFI",
["Democratic Group"] = "Democratic Party (Luxembourg)",
["Democratic Group (Luxembourg)"] = "Democratic Party (Luxembourg)",
["Democratic Labour Party (UK)"] = "Democratic Labour Party (UK, 1998)",
["Democratic Labour Party"] = "Lincoln Democratic Labour Association",
["Democratic Liberal Party (Italy)"] = "Italian Democratic Liberal Party",
["Democratic Modernist Pole"] = "Ettajdid Movement",
["Democratic National Alliance"] = "Democratic National Alliance (Sri Lanka)",
["Democratic Obedience Party"] = "Democratic Conviction",
["Democratic Party - demokraci.pl"] = "Democratic Party – demokraci.pl",
["Democratic Party (Burma)"] = "Democratic Party (Myanmar)",
["Democratic Party (Japan)"] = "Democratic Party (Japan, 2016)",
["Democratic Party (Slovakia)"] = "Democratic Party (Slovakia, 1989)",
["Democratic Party (Turkey, historical)"] = "Democrat Party (Turkey, 1946–1961)",
["Democratic Party (US)"] = "Democratic Party (United States)",
["Democratic Party (Alabama)"] = "Democratic Party (United States)",
["Democratic Party (Alaska)"] = "Democratic Party (United States)",
["Democratic Party (Arizona)"] = "Democratic Party (United States)",
["Democratic Party (Arkansas)"] = "Democratic Party (United States)",
["Democratic Party (California)"] = "Democratic Party (United States)",
["Democratic Party (Colorado)"] = "Democratic Party (United States)",
["Democratic Party (Connecticut)"] = "Democratic Party (United States)",
["Democratic Party (Delaware)"] = "Democratic Party (United States)",
["Democratic Party (Georgia, US)"] = "Democratic Party (United States)",
["Democratic Party (Guam)"] = "Democratic Party (United States)",
["Democratic Party (Hawaii)"] = "Democratic Party (United States)",
["Democratic Party (Idaho)"] = "Democratic Party (United States)",
["Democratic Party (Illinois)"] = "Democratic Party (United States)",
["Democratic Party (Iowa)"] = "Democratic Party (United States)",
["Democratic Party (Maryland)"] = "Democratic Party (United States)",
["Democratic Party (Massachusetts)"] = "Democratic Party (United States)",
["Democratic Party (Michigan)"] = "Democratic Party (United States)",
["Democratic Party (Minnesota)"] = "Minnesota Democratic–Farmer–Labor Party",
["Democratic Party (Missouri)"] = "Democratic Party (United States)",
["Democratic Party (Nevada)"] = "Democratic Party (United States)",
["Democratic Party (New Mexico)"] = "Democratic Party (United States)",
["Democratic Party (New York)"] = "Democratic Party (United States)",
["Democratic Party (North Dakota)"] = "North Dakota Democratic–Nonpartisan League Party",
["Democratic Party (Northern Mariana Islands)"] = "Democratic Party (United States)",
["Democratic Party (Pennsylvania)"] = "Democratic Party (United States)",
["Democratic Party (Rhode Island)"] = "Democratic Party (United States)",
["Democratic Party (Turkey, current)"] = "Democrat Party (Turkey, current)",
["Democratic Party (Utah)"] = "Democratic Party (United States)",
["Democratic Party (Vermont)"] = "Democratic Party (United States)",
["Democratic Party (Virginia)"] = "Democratic Party (United States)",
["Democratic Party (Washington State)"] = "Democratic Party (United States)",
["Democratic Party (Washington)"] = "Democratic Party (United States)",
["Democratic Party (West Virginia)"] = "Democratic Party (United States)",
["Democratic Party of Arkansas"] = "Democratic Party (United States)",
["Democratic Party of Connecticut"] = "Democratic Party (United States)",
["Democratic Party of Côte d'Ivoire – African Democratic Rally"] = "Democratic Party of Ivory Coast – African Democratic Rally",
["Democratic Party of Georgia"] = "Democratic Party (United States)",
["Democratic Party of Guam"] = "Democratic Party (United States)",
["Democratic Party of Hawaii"] = "Democratic Party (United States)",
["Democratic Party of Illinois"] = "Democratic Party (United States)",
["Democratic Party of Japan (1996)"] = "Democratic Party (Japan, 1996)",
["Democratic Party of Japan"] = "Democratic Party (Japan, 1998)",
["Democratic Party of Minnesota"] = "Democratic Party (United States)",
["Democratic Party of New Mexico"] = "Democratic Party (United States)",
["Democratic Party of Oregon"] = "Democratic Party (United States)",
["Democratic Party of the Virgin Islands"] = "Democratic Party (United States)",
["Democratic Party of Virginia"] = "Democratic Party (United States)",
["Democratic Party of Wisconsin"] = "Democratic Party (United States)",
["Democratic Patriots' Movement"] = "Democratic Patriots' Unified Party",
["Democratic People's Party (Portugal)"] = "Social Democratic Party (Portugal)",
["Democratic People's Liberation Front"] = "People's Liberation Organisation of Tamil Eelam",
["Democratic Popular Party (Spain)"] = "People's Democratic Party (Spain)",
["Democratic Republican Party (Portugal)"] = "National Democratic Alternative (Portugal)",
["Democratic Socialist Party (Nepal)"] = "Loktantrik Samajwadi Party, Nepal",
["Democratic Turnhalle Alliance"] = "Popular Democratic Movement",
["Democratic Union of the Greek Minority"] = "Omonoia (organization)",
["Democratic Union"] = "Democratic Union (Poland)",
["Democratic Unity Coalition"] = "Unitary Democratic Coalition",
["Democratic Workers' Congress"] = "Democratic People's Front",
["Democratic-Farmer-Labor Party (Minnesota)"] = "Minnesota Democratic–Farmer–Labor Party",
["Democratic-NPL Party"] = "North Dakota Democratic–Nonpartisan League Party",
["Democratic-Republican Party (United States)"] = "Democratic-Republican Party",
["Democratic-Republican Party (US)"] = "Democratic-Republican Party",
["Democratic-Republican"] = "Democratic-Republican Party",
["Democratic–Farmer–Labor Party (Minnesota)"] = "Minnesota Democratic–Farmer–Labor Party",
["Democratic–Nonpartisan League Party (North Dakota)"] = "North Dakota Democratic–Nonpartisan League Party",
["Democratic–NPL Party"] = "North Dakota Democratic–Nonpartisan League Party",
["Democratic–Republican Party (United States)"] = "Democratic-Republican Party",
["Democrats (Norway)"] = "Norway Democrats",
["Democrats and Progressives"] = "Article One (political party)",
["Democrats for Social Credit"] = "New Zealand Democratic Party for Social Credit",
["Democrats in Norway"] = "Norway Democrats",
["Demokraatit"] = "Democrats (Greenland)",
["Denk (Dutch political party)"] = "DENK (political party)",
["Denk (political party)"] = "DENK (political party)",
["DENK"] = "DENK (political party)",
["Deutsche Rechtspartei"] = "German Right Party",
["Dignity and Truth Platform Party"] = "Dignity and Truth Platform",
["Direction – Social Democracy"] = "Direction – Slovak Social Democracy",
["Direction (Slovakia)"] = "Direction – Slovak Social Democracy",
["District of Columbia Democratic State Committee"] = "Democratic Party (United States)",
["District of Columbia Republican Party"] = "Republican Party (United States)",
["Dixiecrat Party (United States)"] = "Dixiecrat",
["DMK"] = "Dravida Munnetra Kazhagam",
["Dodd Independent Party"] = "Independent (US)",
["DPHK"] = "Democratic Party (Hong Kong)",
["Dutch Labour Party"] = "Labour Party (Netherlands)",
}
local full = {
["D.C. Statehood Green Party"] = {abbrev = "", color = "#17AA5C", shortname = "DC Statehood Green",},
["D.C. Statehood Party"] = {abbrev = "", color = "#0BDA51", shortname = "DC Statehood",},
["Da'am Workers Party"] = {abbrev = "", color = "#C60408", shortname = "",},
["Dabalorivhuwa Patriotic Front"] = {abbrev = "", color = "#FF8000", shortname = "",},
["Dad, This is for You"] = {abbrev = "ĆOJZT", color = "#000000", shortname = "",},
["Dai Le and Frank Carbone Network"] = {abbrev = "DLFCN", color = "#FF7F7F", shortname = "",},
["Đại Việt National Socialist Party"] = {abbrev = "ĐVQXĐ", color = "#DC143C", shortname = "",},
["Dagga Party"] = {abbrev = "", color = "#009245", shortname = "",},
["Dahomeyan Democratic Movement"] = {abbrev = "", color = "#91ADBC", shortname = "",},
["Dahomeyan Democratic Union"] = {abbrev = "", color = "#5CBB72", shortname = "",},
["Dahomeyan Progressive Union"] = {abbrev = "UPD", color = "#5CBB72", shortname = "",},
["Dainiin Club"] = {abbrev = "", color = "#587dab", shortname = "",},
["Dalit Janajati Party"] = {abbrev = "", color = "blue", shortname = "",},
["Dalit Mazdoor Kisan Party"] = {abbrev = "DMKP", color = "#A5CBFA", shortname = "",},
["Dalit Muslim Vikas Party"] = {abbrev = "DMVP", color = "#293A03", shortname = "",},
["Dalmatian Action"] = {abbrev = "", color = "darkblue", shortname = "",},
["Danish Party"] = {abbrev = "", color = "#CE1126", shortname = "",},
["Danish People's Party"] = {abbrev = "DPP", color = "#FCD03B", shortname = "",},
["Danish Social Liberal Party"] = {abbrev = "", color = "#733280", shortname = "Social Liberals",},
["Danish Unity"] = {abbrev = "", color = "#002366", shortname = "",},
["Dawn – National Coalition"] = {abbrev = "", color = "#004071", shortname = "Dawn",},
["Dawn (Iceland)"] = {abbrev = "", color = "#eab943", shortname = "",},
["Dawn (Russia)"] = {abbrev = "", color = "#FEB684", shortname = "Dawn",},
["Dawn of Direct Democracy"] = {abbrev = "", color = "#66BDFF", shortname = "Dawn",},
["Dawn of Nemunas"] = {abbrev = "NA", color = "#F25D23", shortname = "Dawn",},
["Dayak Unity Party"] = {abbrev = "PPD", color = "#0093dd", shortname = "",},
["Daylight Saving"] = {abbrev = "", color = "#FFFD7A", shortname = "",},
["Daylight Saving Party"] = {abbrev = "", color = "#FFFD7A", shortname = "Daylight Savings",},
["DCIDE"] = {abbrev = "", color = "#3B9F40", shortname = "",},
["De Basis"] = {abbrev = "", color = "#DDDC05", shortname = "Basis",},
["De Nou Reus"] = {abbrev = "", color = "#5CBACC", shortname = "",},
["Death to the System (Spain)"] = {abbrev = "", color = "#0A0A0A", shortname = "",},
["Deák Party"] = {abbrev = "", color = "#AAD8E6", shortname = "",},
["Debout la France"] = {abbrev = "DLF", color = "#0087CD", shortname = "",},
["Debout la République"] = {abbrev = "DLR", color = "#8040C0", shortname = "",},
["Debout Les Belges!"] = {abbrev = "", color = "#CA232B", shortname = "",},
["Decentralist Social Force Party"] = {abbrev = "", color = "#82BC1C", shortname = "",},
["DecideT–EligeT"] = {abbrev = "", color = "#21297C", shortname = "",},
["Decidix"] = {abbrev = "", color = "#DC4868", shortname = "",},
["Decolonization and Social Emancipation Movement"] = {abbrev = "", color = "#AA0000", shortname = "",},
["Defense of the Andalusian People's Interests"] = {abbrev = "", color = "#40903B", shortname = "",},
["DéFI"] = {abbrev = "", color = "#DD0081", shortname = "",},
["Degel HaTorah"] = {abbrev = "", color = "#3E3E3E", shortname = "",},
["Degrowth Party"] = {abbrev = "", color = "#BB0000", shortname = "",},
["Delhi Janata Party"] = {abbrev = "DJP", color = "#CEF6EC", shortname = "",},
["Delhi Poorvanchal Party"] = {abbrev = "DPP", color = "#BCA9F5", shortname = "",},
["Deliberation Tsuen Wan"] = {abbrev = "", color = "#7CBECC", shortname = "Deliberation TW",},
["Demo-Social 12"] = {abbrev = "", color = "#4D955D", shortname = "",},
["Demo-Social 60"] = {abbrev = "", color = "#F58025", shortname = "",},
["Demochristian Party of Albania"] = {abbrev = "PDK", color = "orange", shortname = "",},
["Democracy (Thailand)"] = {abbrev = "", color = "#EE82EE", shortname = "Democracy",},
["Democracy and Catalonia"] = {abbrev = "", color = "#F6BA1B", shortname = "",},
["Democracy and Freedom"] = {abbrev = "DiL", color = "#212765", shortname = "",},
["Democracy and Human Rights Party"] = {abbrev = "", color = "#2E3492", shortname = "",},
["Democracy and Progress Party"] = {abbrev = "", color = "#0069A7", shortname = "",},
["Democracy at Home Party"] = {abbrev = "PPDA", color = "#003399", shortname = "",},
["Democracy First"] = {abbrev = "", color = "#ff8c00", shortname = "",},
["Democracy Groundwork"] = {abbrev = "", color = "#FEED59", shortname = "",},
["Democracy in Europe Movement 2025"] = {abbrev = "DiEM25", color = "#ec5122", shortname = "",},
["Democracy in Motion"] = {abbrev = "DiB", color = "#263d80", shortname = "",},
["Democracy is Freedom – The Daisy"] = {abbrev = "", color = "#3CB371", shortname = "The Daisy",},
["DemocracyNZ"] = {abbrev = "", color = "#30B6C1", shortname = "",},
["Democracy Power Party"] = {abbrev = "", color = "#BC1D2D", shortname = "",},
["Democracy Yes"] = {abbrev = "", color = "#B713C5", shortname = "",},
["Democracy and Development through Unity"] = {abbrev = "DOE", color = "#C8ED69", shortname = "",},
["Democracy, Citizenry and Republic"] = {abbrev = "", color = "#FCDB10", shortname = "",},
["Democrat Party (Chile)"] = {abbrev = "", color = "#E3431F", shortname = "Democrat",},
["Democrat Party (Thailand)"] = {abbrev = "", color = "#00A1F1", shortname = "Democrat",},
["Democrat Party (Turkey, 1946–1961)"] = {abbrev = "DP", color = "#CD42B2", shortname = "",},
["Democrat Party (Turkey, current)"] = {abbrev = "DP", color = "#D360BC", shortname = "",},
["Democrat Party of Iran"] = {abbrev = "", color = "#093", shortname = "Democrat Party",},
["Democrat Social Movement"] = {abbrev = "", color = "#4CBB17", shortname = "",},
["Democrat Turkey Party"] = {abbrev = "DTP", color = "#DA7766", shortname = "",},
["Democrata Party"] = {abbrev = "", color = "#1434A4", shortname = "Democrata",},
["Democratic Accountants"] = {abbrev = "", color = "#47954E", shortname = "",},
["Democratic Action (El Salvador)"] = {abbrev = "AD", color = "#F95400", shortname = "",},
["Democratic Action (Thailand)"] = {abbrev = "", color = "#BA55D3", shortname = "Democratic Action",},
["Democratic Action (Venezuela)"] = {abbrev = "", color = "#C0C0C0", shortname = "Democratic Action",},
["Democratic Action Congress"] = {abbrev = "DAC", color = "#aa00d4", shortname = "",},
["Democratic Action Party (Kenya)"] = {abbrev = "DAP", color = "#313691", shortname = "",},
["Democratic Action Party (Spain)"] = {abbrev = "", color = "#3E4E3E", shortname = "",},
["Democratic Action Party"] = {abbrev = "DAP", color = "#ED1C24", shortname = "",},
["Democratic Agrarian Party of Romania"] = {abbrev = "PDAR", color = "yellow", shortname = "",},
["Democratic Action"] = {abbrev = "", color = "#C0C0C0", shortname = "",},
["Democratic Alignment (Cyprus)"] = {abbrev = "DIPA", color = "#00AEEF", shortname = "",},
["Democratic Alignment (2015)"] = {abbrev = "", color = "#2D902D", shortname = "",},
["Democratic Alliance (Bulgaria)"] = {abbrev = "", color = "gray", shortname = "",},
["Democratic Alliance (France)"] = {abbrev = "AD", color = "#FFBF00", shortname = "",},
["Democratic Alliance (Greece)"] = {abbrev = "", color = "#6D85CB", shortname = "",},
["Democratic Alliance (Italy)"] = {abbrev = "", color = "#228B22", shortname = "",},
["Democratic Alliance (New Zealand)"] = {abbrev = "", color = "#FFE802", shortname = "Democratic Alliance",},
["Democratic Alliance (Philippines)"] = {abbrev = "DA", color = "#DC143C", shortname = "Democratic Alliance",},
["Democratic Alliance (Portugal)"] = {abbrev = "AD", color = "#2A52BE", shortname = "",},
["Democratic Alliance (Portugal, 2024)"] = {abbrev = "AD", color = "#3777BC", shortname = "",},
["Democratic Alliance (South Africa)"] = {abbrev = "DA", color = "#005BA6", shortname = "Democratic Alliance",},
["Democratic Alliance (Ukraine)"] = {abbrev = "DA", color = "#193695", shortname = "",},
["Democratic Alliance (Venezuela)"] = {abbrev = "", color = "#0F52BA", shortname = "",},
["Democratic Alliance for Diversity and Awakening"] = {abbrev = "DAVA", color = "#078E92", shortname = "",},
["Democratic Alliance for Niger"] = {abbrev = "", color = "#337585", shortname = "",},
["Democratic Alliance for the Betterment and Progress of Hong Kong"] = {abbrev = "DAB", color = "#1861AC", shortname = "",},
["Democratic Alliance of Croats in Vojvodina"] = {abbrev = "DSHV", color = "#EE1C25", shortname = "",},
["Democratic Alliance of Hungarians in Romania"] = {abbrev = "UDMR", color = "#296633", shortname = "",},
["Democratic Alliance of Wales"] = {abbrev = "DAW", color = "#CCCCCC", shortname = "",},
["Democratic Alliance Party (Albania)"] = {abbrev = "AD", color = "#1369B2", shortname = "",},
["Democratic Alliance Party (Solomon Islands)"] = {abbrev = "", color = "#68C76D", shortname = "Democratic Alliance",},
["Democratic Alliance Party (Tunisia)"] = {abbrev = "", color = "Salmon", shortname = "",},
["Democratic Alternative '91"] = {abbrev = "DA'91", color = "#FFF212", shortname = "",},
["Democratic Alternative (Chile)"] = {abbrev = "", color = "#9ACD32", shortname = "",},
["Democratic Alternative (Finland)"] = {abbrev = "", color = "#FF4D00", shortname = "",},
["Democratic Alternative (Malta)"] = {abbrev = "", color = "#7AC143", shortname = "",},
["Democratic Alternative (North Macedonia)"] = {abbrev = "DA", color = "#800080", shortname = "",},
["Democratic Alternative (Serbia)"] = {abbrev = "DA", color = "#FA8383", shortname = "",},
["Democratic Alternative Party"] = {abbrev = "", color = "#EF7619", shortname = "",},
["Democratic Angola – Coalition"] = {abbrev = "AD–C", color = "#FF0000", shortname = "AD–Coligação",},
["Democratic and Independent Cape Verdean Union"] = {abbrev = "", color = "#0066ff", shortname = "",},
["Democratic and Popular Union"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Democratic and Progressive Union"] = {abbrev = "UDP/DPU", color = "#DAA520", shortname = "",},
["Democratic and Republican Alliance"] = {abbrev = "ADERE", color = "#1935D0", shortname = "",},
["Democratic and Republican Union"] = {abbrev = "URD", color = "#24445c", shortname = "",},
["Democratic and Social Centre (Spain)"] = {abbrev = "CDS", color = "#049456", shortname = "",},
["Democratic and Social Convention"] = {abbrev = "", color = "#679A6C", shortname = "CDS-Rahama",},
["Democratic and Social Movement (Algeria)"] = {abbrev = "MDS", color = "#006FB6", shortname = "",},
["Democratic and Social Movement (Morocco)"] = {abbrev = "", color = "#9AAD35", shortname = "",},
["Democratic and Social Party of Ceuta"] = {abbrev = "", color = "#29806D", shortname = "",},
["Democratic and Socialist Union of the Resistance"] = {abbrev = "UDSR", color = "#EF5327", shortname = "",},
["Democratic Ashkali Party of Kosovo"] = {abbrev = "", color = "#01B965", shortname = "",},
["Democratic Axe"] = {abbrev = "", color = "#84171C", shortname = "",},
["Democratic Azad Party"] = {abbrev = "DAP", color = "#FEF01E", shortname = "",},
["Democratic Beginning"] = {abbrev = "DA", color = "#000000", shortname = "",},
["Democratic Bloc (Poland)"] = {abbrev = "BD", color = "#F02F2A", shortname = "",},
["Democratic Bloc (Ukraine)"] = {abbrev = "", color = "#0087DC", shortname = "Democratic Bloc",},
["Democratic Bloc"] = {abbrev = "", color = "blue", shortname = "",},
["Democratic Bulgaria"] = {abbrev = "DB", color = "#004A80", shortname = "",},
["Democratic Center (Colombia)"] = {abbrev = "", color = "#1E90FF", shortname = "Democratic Center",},
["Democratic Center (Ecuador)"] = {abbrev = "", color = "#FF4500", shortname = "",},
["Democratic Centre of Macau"] = {abbrev = "CDM", color = "#DD0000", shortname = "Democratic",},
["Democratic Centre (Croatia)"] = {abbrev = "DC", color = "#006bb3", shortname = "",},
["Democratic Centre (France)"] = {abbrev = "CD", color = "#00CCCC", shortname = "",},
["Democratic Centre (Italy, 2013)"] = {abbrev = "", color = "#FF9900", shortname = "",},
["Democratic Centre (Italy)"] = {abbrev = "", color = "#E86055", shortname = "",},
["Democratic Centre (Latvia)"] = {abbrev = "", color = "blue", shortname = "Democratic Centre",},
["Democratic Centre (Serbia)"] = {abbrev = "DC", color = "#FFFF99", shortname = "",},
["Democratic Centre Coalition"] = {abbrev = "", color = "#4CB034", shortname = "",},
["Democratic Change (El Salvador)"] = {abbrev = "CD", color = "#FFFF00", shortname = "",},
["Democratic Change (Panama)"] = {abbrev = "CD", color = "#2A889B", shortname = "",},
["Democratic Change (South Sudan)"] = {abbrev = "", color = "#FB2026", shortname = "",},
["Democratic Choice (Russia, 2010)"] = {abbrev = "DemChoice", color = "#1C3F94", shortname = "",},
["Democratic Choice of Kazakhstan"] = {abbrev = "", color = "#0083cd", shortname = "",},
["Democratic Choice of Russia – United Democrats"] = {abbrev = "DVR–OD", color = "#3A46CE", shortname = "",},
["Democratic Choice of Russia"] = {abbrev = "", color = "#29166F", shortname = "",},
["Democratic Coalition (Hungary)"] = {abbrev = "DK", color = "#0067AA", shortname = "",},
["Democratic Coalition (Spain)"] = {abbrev = "CD", color = "#8E9629", shortname = "",},
["Democratic Coalition for DC Election"] = {abbrev = "", color = "#D38D4F", shortname = "Democratic Coalition",},
["Democratic Committee of Human Rights"] = {abbrev = "DCHR", color = "#691F6C", shortname = "",},
["Democratic Community of Welfare and Freedom"] = {abbrev = "JESZ", color = "#80BB3D", shortname = "",},
["Democratic Confederation of Labour (Morocco)"] = {abbrev = "", color = "#020202", shortname = "",},
["Democratic Congress"] = {abbrev = "DC", color = "#B70002", shortname = "",},
["Democratic Congress Kerala"] = {abbrev = "DCK", color = "#008080", shortname = "",},
["Democratic Consent–Republican Party"] = {abbrev = "ID–PR", color = "#317C41", shortname = "",},
["Democratic Conservative Party"] = {abbrev = "PCD", color = "#0000FF", shortname = "",},
["Democratic Constitutional Rally"] = {abbrev = "RCD", color = "FireBrick", shortname = "",},
["Democratic Convention of African Peoples"] = {abbrev = "", color = "red", shortname = "",},
["Democratic Convention of Moldova"] = {abbrev = "CDM", color = "#0061D4", shortname = "",},
["Democratic Convergence (El Salvador)"] = {abbrev = "CVD", color = "#DC241F", shortname = "",},
["Democratic Convergence of Catalonia"] = {abbrev = "CDC", color = "#232D7B", shortname = "",},
["Democratic Convergence Party (Guinea-Bissau)"] = {abbrev = "", color = "#0099FF", shortname = "",},
["Democratic Convergence Party (São Tomé and Príncipe)"] = {abbrev = "", color = "#1102DE", shortname = "",},
["Democratic Conviction"] = {abbrev = "", color = "#0098D8", shortname = "",},
["Democratic Current"] = {abbrev = "", color = "#FE6500", shortname = "",},
["Democratic Development Forum"] = {abbrev = "FDD", color = "#F0F040", shortname = "",},
["Democratic Development Party"] = {abbrev = "DDP", color = "red", shortname = "",},
["Democratic Electoral Commission"] = {abbrev = "", color = "darkred", shortname = "",},
["Democratic European Force"] = {abbrev = "", color = "#00CCCC", shortname = "",},
["Democratic Farmers' Party of Germany"] = {abbrev = "DBD", color = "#006600", shortname = "",},
["Democratic Fellowship of Vojvodina Hungarians"] = {abbrev = "VMDK", color = "green", shortname = "",},
["Democratic Force (Costa Rica)"] = {abbrev = "PFD", color = "#EB6109", shortname = "",},
["Democratic Force Party"] = {abbrev = "", color = "#CA3634", shortname = "Democratic Force",},
["Democratic Forces of Guiana"] = {abbrev = "", color = "#A71585", shortname = "",},
["Democratic Forum (Spain)"] = {abbrev = "", color = "#1C5530", shortname = "",},
["Democratic Forum for Labour and Liberties"] = {abbrev = "", color = "#660000", shortname = "Ettakatol",},
["Democratic Forum for Modernity"] = {abbrev = "", color = "purple", shortname = "",},
["Democratic Forum of Germans in Romania"] = {abbrev = "", color = "#AA2421", shortname = "",},
["Democratic Front (Bosnia and Herzegovina)"] = {abbrev = "DF", color = "#F16822", shortname = "",},
["Democratic Front (Cyprus)"] = {abbrev = "DIPA", color = "#26ACE2", shortname = "",},
["Democratic Front (Montenegro)"] = {abbrev = "DF", color = "#00008B", shortname = "",},
["Democratic Front (Peru)"] = {abbrev = "FREDEMO", color = "#50a7f7", shortname = "",},
["Democratic Front (Thailand)"] = {abbrev = "", color = "#FE9059", shortname = "Democratic Front",},
["Democratic Front for the Liberation of Palestine"] = {abbrev = "DFLP", color = "#D10A2B", shortname = "",},
["Democratic Front for the Reunification of Korea"] = {abbrev = "FF", color = "#FF3333", shortname = "Fatherland Front",},
["Democratic Front of Albania"] = {abbrev = "", color = "#EF4A2E", shortname = "Democratic Front",},
["Democratic Front Party"] = {abbrev = "", color = "#87CEFA", shortname = "",},
["Democratic Galicianist Party"] = {abbrev = "", color = "#3886AC", shortname = "",},
["Democratic Generation Party"] = {abbrev = "", color = "#A9A5B4", shortname = "",},
["Democratic Green Party of Rwanda"] = {abbrev = "", color = "#00FA9A", shortname = "",},
["Democratic Groundwork"] = {abbrev = "", color = "#FEED59", shortname = "",},
["Democratic Group of Albacete"] = {abbrev = "ADA", color = "#4F836A", shortname = "",},
["Democratic Group of the Centre"] = {abbrev = "GDC", color = "yellow", shortname = "",},
["Democratic Hope"] = {abbrev = "", color = "#DE2118", shortname = "",},
["Democratic Hygiene"] = {abbrev = "", color = "#4F6179", shortname = "",},
["Democratic Independence Party"] = {abbrev = "", color = "#AE872A", shortname = "",},
["Democratic Independent Party"] = {abbrev = "", color = "gold", shortname = "",},
["Democratic Independent Regionalist Party"] = {abbrev = "", color = "#4A1C51", shortname = "",},
["Democratic Indira Congress (Karunakaran)"] = {abbrev = "DIC", color = "darkblue", shortname = "",},
["Democratic Initiative for Benalmádena"] = {abbrev = "", color = "#22305E", shortname = "",},
["Democratic Innovation Party"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Democratic Israel"] = {abbrev = "", color = "#0E0348", shortname = "",},
["Democratic Jewish Union"] = {abbrev = "ŽDS", color = "#7F51C7", shortname = "",},
["Democratic Justice Party"] = {abbrev = "DJP", color = "#004C97", shortname = "Democratic Justice",},
["Democratic Justice Party (1987)"] = {abbrev = "DJP", color = "#0A84E9", shortname = "Democratic Justice",},
["Democratic Korea Party"] = {abbrev = "DKP", color = "#ED2939", shortname = "Democratic Korea",},
["Democratic Labor Party (historical)"] = {abbrev = "DLP", color = "#008080", shortname = "",},
["Democratic Labor Party (South Korea)"] = {abbrev = "DLP", color = "#FF6600", shortname = "Democratic Labor",},
["Democratic Labor Party"] = {abbrev = "", color = "#FF9C00", shortname = "",},
["Democratic Labour Party (Australia)"] = {abbrev = "DLP", color = "#EEAF30", shortname = "",},
["Democratic Labour Party (Barbados)"] = {abbrev = "DLP", color = "#FFD700", shortname = "",},
["Democratic Labour Party (Brazil)"] = {abbrev = "PDT", color = "#DC143C", shortname = "",},
["Democratic Labour Party (New Zealand)"] = {abbrev = "", color = "#FFA500", shortname = "Democratic Labour",},
["Democratic Labour Party (Trinidad and Tobago)"] = {abbrev = "DLP", color = "#e25822", shortname = "",},
["Democratic Labour Party (UK, 1972)"] = {abbrev = "", color = "#FF6600", shortname = "Democratic Labour",},
["Democratic Labour Party (UK, 1998)"] = {abbrev = "", color = "#E32636", shortname = "Democratic Labour",},
["Democratic Labour Party of Lithuania"] = {abbrev = "LDDP", color = "#E75480", shortname = "",},
["Democratic League (Catalonia)"] = {abbrev = "", color = "#002D70", shortname = "",},
["Democratic League in Montenegro"] = {abbrev = "DSCG", color = "cornflowerblue", shortname = "",},
["Democratic League of Dardania"] = {abbrev = "", color = "#005CA7", shortname = "",},
["Democratic League of Kosovo"] = {abbrev = "LDK", color = "#F37476", shortname = "",},
["Democratic League/Movement for the Labour Party"] = {abbrev = "", color = "#E392B6", shortname = "",},
["Democratic Left (Ecuador)"] = {abbrev = "ID", color = "#FFA500", shortname = "",},
["Democratic Left (Greece)"] = {abbrev = "DIMAR", color = "#FF4100", shortname = "",},
["Democratic Left (Ireland)"] = {abbrev = "DL", color = "#C700C7", shortname = "Democratic Left",},
["Democratic Left (Spain)"] = {abbrev = "", color = "#DB0000", shortname = "",},
["Democratic Left (UK)"] = {abbrev = "", color = "#CC0033", shortname = "Democratic Left",},
["Democratic Left Alliance – Labour Union"] = {abbrev = "SLD-UP", color = "#CA2021", shortname = "",},
["Democratic Left Alliance (Poland)"] = {abbrev = "SLD", color = "#E2001A", shortname = "",},
["Democratic Left Association"] = {abbrev = "SLD", color = "#E30A15", shortname = "",},
["Democratic Left Front (Spain)"] = {abbrev = "", color = "#7F517C", shortname = "",},
["Democratic Left Front (Sri Lanka)"] = {abbrev = "", color = "#F90818", shortname = "",},
["Democratic Left Movement (Lebanon)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Democratic Left of Catalonia"] = {abbrev = "", color = "#FFE507", shortname = "",},
["Democratic Left Party (Turkey)"] = {abbrev = "DSP", color = "#02CDFF", shortname = "",},
["Democratic Left Scotland"] = {abbrev = "", color = "#CC0033", shortname = "Democratic Left",},
["Democratic Leftwing Republican Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Democratic Liberal Congress"] = {abbrev = "", color = "#F70000", shortname = "",},
["Democratic Liberal Party (Japan)"] = {abbrev = "DLP", color = "#42A46B", shortname = "Democratic Liberal",},
["Democratic Liberal Party (Romania)"] = {abbrev = "PDL", color = "#FF6633", shortname = "",},
["Democratic Liberal Party (South Korea)"] = {abbrev = "DLP", color = "#003990", shortname = "Democratic Liberal",},
["Democratic List"] = {abbrev = "", color = "#FDFF46", shortname = "",},
["Democratic List for Israeli Arabs"] = {abbrev = "", color = "#AF0000", shortname = "",},
["Democratic List of Nazareth"] = {abbrev = "", color = "#AF0000", shortname = "",},
["Democratic Majority (Spain)"] = {abbrev = "", color = "#0086D6", shortname = "",},
["Democratic Montenegro"] = {abbrev = "DCG", color = "#F5911D", shortname = "",},
["Democratic Movement – United Georgia"] = {abbrev = "", color = "#0067A5", shortname = "",},
["Democratic Movement (France)"] = {abbrev = "", color = "#EF5327", shortname = "MoDem",},
["Democratic Movement (San Marino)"] = {abbrev = "MD", color = "#F80000", shortname = "",},
["Democratic Movement for Change"] = {abbrev = "", color = "#253EFE", shortname = "Dash",},
["Democratic Movement of Mozambique"] = {abbrev = "MDM", color = "#F9B63C", shortname = "",},
["Democratic Movement of Serbia"] = {abbrev = "DEPOS", color = "#1A4A96", shortname = "",},
["Democratic Municipal Action"] = {abbrev = "", color = "#FF610F", shortname = "",},
["Democratic Nasserist Party"] = {abbrev = "", color = "green", shortname = "",},
["Democratic National Alliance (Antigua & Barbuda)"] = {abbrev = "DNA", color = "#EB8123", shortname = "",},
["Democratic National Alliance (Bahamas)"] = {abbrev = "DNA", color = "#419b41", shortname = "",},
["Democratic National Alliance (Sri Lanka)"] = {abbrev = "", color = "#CCCC33", shortname = "Democratic National Alliance",},
["Democratic National Assembly"] = {abbrev = "", color = "#add8e6", shortname = "",},
["Democratic National Association"] = {abbrev = "", color = "#00008B", shortname = "",},
["Democratic National Front Party"] = {abbrev = "", color = "#BA0E00", shortname = "",},
["Democratic National Front"] = {abbrev = "", color = "#EB6F53", shortname = "",},
["Democratic National Initiative"] = {abbrev = "IDN", color = "#FF00D4", shortname = "",},
["Democratic National Party (Cyprus)"] = {abbrev = "DEK", color = "#783B12", shortname = "",},
["Democratic National Rally"] = {abbrev = "RND", color = "#003153", shortname = "",},
["Democratic National Salvation Front"] = {abbrev = "FDSN", color = "#cc3333", shortname = "",},
["Democratic Nationalist Party (Malta, 1959–1966)"] = {abbrev = "PDN", color = "#A02C2C", shortname = "",},
["Democratic Nationalist Party (Romania)"] = {abbrev = "PND", color = "#000000", shortname = "",},
["Democratic Nationalist Party (South Korea)"] = {abbrev = "DNP", color = "#9acd32", shortname = "Democratic Nationalist",},
["Democratic Nationalists"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Democratic Nationhood Party"] = {abbrev = "PDK", color = "#054C30", shortname = "",},
["Democratic Network"] = {abbrev = "", color = "white", shortname = "",},
["Democratic Non-Partisan Alliance"] = {abbrev = "DNPA", color = "#FF0D6C", shortname = "",},
["Democratic New Macau Association"] = {abbrev = "", color = "#008000", shortname = "",},
["Democratic Opposition of Serbia"] = {abbrev = "DOS", color = "#C0C0C0", shortname = "",},
["Democratic Pact for Catalonia"] = {abbrev = "PDC", color = "#FFC400", shortname = "",},
["Democratic Partnership"] = {abbrev = "", color = "khaki", shortname = "",},
["Democratic Party – demokraci.pl"] = {abbrev = "", color = "#FF9900", shortname = "",},
["Democratic Party (1912)"] = {abbrev = "", color = "#008000", shortname = "Democratic",},
["Democratic Party (1943)"] = {abbrev = "", color = "#6482BF", shortname = "",},
["Democratic Party (Argentina)"] = {abbrev = "PD", color = "#192B6B", shortname = "Democratic Party",},
["Democratic Party (Brazil, 1925-1934)"] = {abbrev = "PD", color = "#191198", shortname= "",},
["Democratic Party (Bulgaria)"] = {abbrev = "", color = "gold", shortname = "",},
["Democratic Party (Cambodia)"] = {abbrev = "", color = "#800080", shortname = "Democratic",},
["Democratic Party (Chile)"] = {abbrev = "", color = "#00FF00", shortname = "",},
["Democratic Party (Cook Islands)"] = {abbrev = "", color = "#1E90FF", shortname = "Democratic",},
["Democratic Party (Costa Rica)"] = {abbrev = "", color = "#2136C2", shortname = "Democratic",},
["Democratic Party (Cuba)"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Democratic Party (Curaçao)"] = {abbrev = "", color = "#E41E2A", shortname = "",},
["Democratic Party (Cyprus)"] = {abbrev = "DIKO", color = "#E07C00", shortname = "",},
["Democratic Party (East Timor)"] = {abbrev = "PD", color = "#004080", shortname = "Democratic",},
["Democratic Party (Georgia)"] = {abbrev = "", color = "#8F8FBF", shortname = "",},
["Democratic Party (Hong Kong)"] = {abbrev = "", color = "#5FB04A", shortname = "Democratic",},
["Democratic Party (Hungary)"] = {abbrev = "DEMP", color = "#1560BD", shortname = "",},
["Democratic Party (Indonesia)"] = {abbrev = "", color = "#2643A3", shortname = "Demokrat",},
["Democratic Party (Italy)"] = {abbrev = "", color = "#EF1C27", shortname = "Democratic Party",},
["Democratic Party (Japan, 1947)"] = {abbrev = "", color = "#EC9502", shortname = "Democratic",},
["Democratic Party (Japan, 1954)"] = {abbrev = "", color = "#99AF25", shortname = "Democratic",},
["Democratic Party (Japan, 1996)"] = {abbrev = "", color = "#E60000", shortname = "Democratic",},
["Democratic Party (Japan, 1998)"] = {abbrev = "", color = "#CE2029", shortname = "Democratic",},
["Democratic Party (Japan, 2016)"] = {abbrev = "", color = "#02217b", shortname = "Democratic",},
["Democratic Party (Kenya)"] = {abbrev = "", color = "#336600", shortname = "Democratic",},
["Democratic Party (Laos)"] = {abbrev = "", color = "#FFCD00", shortname = "",},
["Democratic Party (Luxembourg)"] = {abbrev = "DP", color = "#002C4F", shortname = "",},
["Democratic Party (Macedonia)"] = {abbrev = "DP", color = "#3016C8", shortname = "",},
["Democratic Party (Malta)"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Democratic Party (Mendoza)"] = {abbrev = "", color = "#192B6B", shortname = "Democratic Party",},
["Democratic Party (Mongolia)"] = {abbrev = "", color = "#11479E", shortname = "Democratic",},
["Democratic Party (Montenegro)"] = {abbrev = "", color = "#09B2ED", shortname = "",},
["Democratic Party (Myanmar)"] = {abbrev = "DP", color = "#FFB00D", shortname = "",},
["Democratic Party (Nicaragua)"] = {abbrev = "", color = "#800000", shortname = "Democratic",},
["Democratic Party (Northern Cyprus)"] = {abbrev = "DP", color = "#DC241f", shortname = "",},
["Democratic Party (Peru)"] = {abbrev = "", color = "#FF3333", shortname = "",},
["Democratic Party (Philippines)"] = {abbrev = "", color = "#1E90FF", shortname = "Democratic",},
["Democratic Party (Poland)"] = {abbrev = "SD", color = "#6495ED", shortname = "",},
["Democratic Party (Portugal)"] = {abbrev = "PD", color = "#FF69B4", shortname = "Democratic",},
["Democratic Party (Romania)"] = {abbrev = "PD", color = "#FF6633", shortname = "",},
["Democratic Party (Serbia)"] = {abbrev = "DS", color = "#FFE000", shortname = "",},
["Democratic Party (Singapore)"] = {abbrev = "DP", color = "#DD6777", shortname = "",},
["Democratic Party (Sint Eustatius)"] = {abbrev = "DP", color = "#C00000", shortname = "",},
["Democratic Party (SL)"] = {abbrev = "", color = "#800080", shortname = "",},
["Democratic Party (Slovakia, 1944)"] = {abbrev = "DS", color = "#002FA7", shortname = "",},
["Democratic Party (Slovakia, 1989)"] = {abbrev = "DS", color = "#002FA7", shortname = "",},
["Democratic Party (Solomon Islands)"] = {abbrev = "", color = "#FFEB33", shortname = "Democratic Party",},
["Democratic Party (South Africa)"] = {abbrev = "DP", color = "#6699CC", shortname = "",},
["Democratic Party (South Korea, 1955)"] = {abbrev = "DP", color = "#000080", shortname = "Democratic",},
["Democratic Party (South Korea, 1990)"] = {abbrev = "DP", color = "#DA2C43", shortname = "Democratic",},
["Democratic Party (South Korea, 1991)"] = {abbrev = "DP", color = "#D82634", shortname = "Democratic",},
["Democratic Party (South Korea, 1995)"] = {abbrev = "DP", color = "#009D68", shortname = "Democratic",},
["Democratic Party (South Korea, 2005)"] = {abbrev = "DP", color = "#00736D", shortname = "Democratic",},
["Democratic Party (South Korea, 2008)"] = {abbrev = "DP", color = "#019E33", shortname = "Democratic",},
["Democratic Party (South Korea, 2011)"] = {abbrev = "DP", color = "#FAC71A", shortname = "Democratic",},
["Democratic Party (South Korea, May 2013)"] = {abbrev = "DP", color = "#28A54A", shortname = "Democratic",},
["Democratic Party (South Korea, September 2013)"] = {abbrev = "DP", color = "#015DA9", shortname = "Democratic",},
["Democratic Party (Sri Lanka)"] = {abbrev = "", color = "#800080", shortname = "Democratic",},
["Democratic Party (Switzerland)"] = {abbrev = "", color = "#0B3861", shortname = "Democratic",},
["Democratic Party (Tajikistan)"] = {abbrev = "", color = "#0080FF", shortname = "",},
["Democratic Party (Tanzania)"] = {abbrev = "", color = "black", shortname = "",},
["Democratic Party (Turkey, 1970)"] = {abbrev = "DP", color = "#ffa500", shortname = "",},
["Democratic Party (Turkey, 1992)"] = {abbrev = "DP", color = "#341D47", shortname = "",},
["Democratic Party (Uganda)"] = {abbrev = "DP", color = "#0C713A", shortname = "",},
["Democratic Party (UK, 1942)"] = {abbrev = "", color = "lightyellow", shortname = "Democratic",},
["Democratic Party (UK, 1969)"] = {abbrev = "", color = "#ffffff", shortname = "Democratic Party",},
["Democratic Party (United States)"] = {abbrev = "D", color = "#3333FF", shortname = "Democratic",},
["Democratic Party (Yugoslavia)"] = {abbrev = "DS", color = "#FFD300", shortname = "",},
["Democratic Party (Zambia)"] = {abbrev = "", color = "#ff338c", shortname = "",},
["Democratic Party \"Saimnieks\""] = {abbrev = "", color = "#861623", shortname = "",},
["Democratic Party – Democratic and Progressive Italy"] = {abbrev = "", color = "#E30613", shortname = "Democratic Party – IDP",},
["Democratic Party Adilet"] = {abbrev = "", color = "#0085fc", shortname = "",},
["Democratic Party for a British Gibraltar"] = {abbrev = "DPBG", color = "", shortname = "",},
["Democratic Party for Progress – Angolan National Alliance"] = {abbrev = "PDP–ANA", color = "#009900", shortname = "",},
["Democratic Party for the People"] = {abbrev = "DPP", color = "#FFBA00", shortname = "",},
["Democratic Party of Albania"] = {abbrev = "PD", color = "#00529C", shortname = "",},
["Democratic Party of Albanians"] = {abbrev = "PDSh", color = "black", shortname = "",},
["Democratic Party of Armenia"] = {abbrev = "", color = "#EC1B24", shortname = "",},
["Democratic Party of Artsakh"] = {abbrev = "", color = "#0072B9", shortname = "Democratic Party",},
["Democratic Party of Chile (1988)"] = {abbrev = "", color = "#000080", shortname = "",},
["Democratic Party of Equatorial Guinea"] = {abbrev = "PDGE", color = "#3051A3", shortname = "",},
["Democratic Party of Greens"] = {abbrev = "DSZ", color = "#007b33", shortname = "",},
["Democratic Party of Guinea – African Democratic Rally"] = {abbrev = "PDG-RDA", color = "#000000", shortname = "",},
["Democratic Party of India (Ambedkar)"] = {abbrev = "DPIA (A)", color = "", shortname = "",},
["Democratic Party of Iranian Kurdistan"] = {abbrev = "KDPI", color = "#FC0000", shortname = "",},
["Democratic Party of Ivory Coast – African Democratic Rally"] = {abbrev = "PDCI–RDA", color = "#0FAF32", shortname = "",},
["Democratic Party of Kazakhstan"] = {abbrev = "", color = "#01AEF3", shortname = "",},
["Democratic Party of Korea"] = {abbrev = "DPK", color = "#004EA2", shortname = "Democratic",},
["Democratic Party of Kosovo"] = {abbrev = "PDK", color = "#2E96D2", shortname = "",},
["Democratic Party of Labour"] = {abbrev = "PDM", color = "#ED2128", shortname = "",},
["Democratic Party of Lesotho"] = {abbrev = "DPL", color = "#4c196e", shortname = "",},
["Democratic Party of Macedonia"] = {abbrev = "DPM", color = "blue", shortname = "",},
["Democratic Party of Macedonians"] = {abbrev = "DPM", color = "#F7D10C", shortname = "",},
["Democratic Party of Moldova"] = {abbrev = "PDM", color = "#264B9D", shortname = "",},
["Democratic Party of Nauru"] = {abbrev = "", color = "#002B7F", shortname = "",},
["Democratic Party of Pensioners of Slovenia"] = {abbrev = "DeSUS", color = "#8DC63F", shortname = "",},
["Democratic Party of Pensioners"] = {abbrev = "", color = "grey", shortname = "",},
["Democratic Party of Republika Srpska"] = {abbrev = "", color = "blue", shortname = "",},
["Democratic Party of Russia"] = {abbrev = "DPR", color = "#DBB726", shortname = "",},
["Democratic Party of Serbia"] = {abbrev = "DSS", color = "#126180", shortname = "",},
["Democratic Party of Serbs in Macedonia"] = {abbrev = "DPSM", color = "#DE0000", shortname = "",},
["Democratic Party of Slovenia"] = {abbrev = "", color = "#3300B2", shortname = "",},
["Democratic Party of Socialists of Montenegro (2021)"] = {abbrev = "DPS", color = "#524FA1", shortname = "",},
["Democratic Party of Socialists of Montenegro"] = {abbrev = "DPS", color = "#F58634", shortname = "",},
["Democratic Party of the Atlantic"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Democratic Party of the Friendly Islands"] = {abbrev = "DPFI", color = "#C20100", shortname = "",},
["Democratic Party of the Left"] = {abbrev = "PDS", color = "#C72F35", shortname = "",},
["Democratic Party of the New Left"] = {abbrev = "", color = "#FD3C0B", shortname = "",},
["Democratic Party of the Philippines"] = {abbrev = "DPP", color = "#0054A5", shortname = "",},
["Democratic Party of Trinidad and Tobago"] = {abbrev = "DPTT", color = "#2A3A8C", shortname = "",},
["Democratic Party of Turkmenistan"] = {abbrev = "TDP", color = "#1CC858", shortname = "",},
["Democratic Party of Turks"] = {abbrev = "DPTM", color = "red", shortname = "",},
["Democratic Party of Ukraine"] = {abbrev = "DPU", color = "#025BAB", shortname = "",},
["Democratic Party of Vietnam"] = {abbrev = "", color = "#0055A4", shortname = "",},
["Democratic Party of Vojvodina Hungarians"] = {abbrev = "", color = "#5c7b59", shortname = "",},
["Democratic Party of Zagorje"] = {abbrev = "", color = "#70bd5d", shortname = "",},
["Democratic Party Sint Maarten"] = {abbrev = "DP", color = "#e21c1a", shortname = "",},
["Democratic Patriotic Alliance of Kurdistan"] = {abbrev = "DPAK", color = "#CCFF33", shortname = "",},
["Democratic Patriots' Unified Party"] = {abbrev = "", color = "#D80100", shortname = "",},
["Democratic Peace Party"] = {abbrev = "", color = "#8DB7E9", shortname = "",},
["Democratic Peasants' Party–Lupu"] = {abbrev = "", color = "#B7D749", shortname = "PȚD–Lupu",},
["Democratic People (Spain)"] = {abbrev = "DP", color = "#5BB829", shortname = "",},
["Democratic People's Alliance"] = {abbrev = "DNS", color = "#2B0E72", shortname = "",},
["Democratic People's Front"] = {abbrev = "DPF", color = "#FF0000", shortname = "",},
["Democratic People's Movement"] = {abbrev = "DPM", color = "#FF4500", shortname = "",},
["Democratic People's Party (Ghana)"] = {abbrev = "DPP", color = "#FF0000", shortname = "",},
["Democratic People's Party (Montenegro)"] = {abbrev = "DPP", color = "#005DA3", shortname = "",},
["Democratic People's Party (San Marino)"] = {abbrev = "PDP", color = "#0068C1", shortname = "",},
["Democratic People's Party (South Korea)"] = {abbrev = "DPP", color = "#353F9C", shortname = "",},
["Democratic People's Party (Turkey)"] = {abbrev = "DHP", color = "#437CCD", shortname = "",},
["Democratic People's Union"] = {abbrev = "DNZ", color = "#048AEB", shortname = "",},
["Democratic People"] = {abbrev = "DP", color = "#5AC2C5", shortname = "",},
["Democratic Progress Party"] = {abbrev = "DGP", color = "#FF0000", shortname = "",},
["Democratic Progressive Party (Argentina)"] = {abbrev = "PDP", color = "#005C9E", shortname = "Democratic Progressive Party",},
["Democratic Progressive Party (Austria)"] = {abbrev = "DFP", color = "#FFE500", shortname = "",},
["Democratic Progressive Party (Malawi)"] = {abbrev = "DPP", color = "#1E90FF", shortname = "",},
["Democratic Progressive Party (Singapore)"] = {abbrev = "DPP", color = "#FF9900", shortname = "",},
["Democratic Progressive Party (Spain)"] = {abbrev = "", color = "#C92B7D", shortname = "Democratic",},
["Democratic Progressive Party"] = {abbrev = "DPP", color = "#1B9431", shortname = "",},
["Democratic Prosperous Macau Association"] = {abbrev = "", color = "#006400", shortname = "",},
["Democratic Rally of the Comorian People"] = {abbrev = "RDPC", color = "#FFFFFF", shortname = "",},
["Democratic Rally of the Comoros"] = {abbrev = "RDC", color = "#32CD32", shortname = "",},
["Democratic Rally"] = {abbrev = "DISY", color = "#1569C7", shortname = "",},
["Democratic Reform Party (Japan)"] = {abbrev = "", color = "#FF0000", shortname = "Democratic Reform",},
["Democratic Reform"] = {abbrev = "", color = "#2A52BE", shortname = "",},
["Democratic Reform Party of Muslims"] = {abbrev = "DRSM", color = "#74C365", shortname = "",},
["Democratic Reformist Party"] = {abbrev = "", color = "#D13C21", shortname = "",},
["Democratic Reforms Party"] = {abbrev = "", color = "#333399", shortname = "Democratic Reforms",},
["Democratic Regional Union"] = {abbrev = "DPE", color = "darkorange", shortname = "",},
["Democratic Regions Party"] = {abbrev = "DBP", color = "#30A13E", shortname = "",},
["Democratic Renewal (Andorra)"] = {abbrev = "", color = "orange", shortname = "",},
["Democratic Renewal of Macedonia"] = {abbrev = "", color = "#8DC73F", shortname = "",},
["Democratic Renewal Party (Angola)"] = {abbrev = "PRD", color = "#662531", shortname = "",},
["Democratic Renewal Party (Brazil)"] = {abbrev = "PRD", color = "#008000", shortname = "",},
["Democratic Renewal Party (Benin)"] = {abbrev = "PRD", color = "#FFFA00", shortname = "",},
["Democratic Renewal Party (Cape Verde)"] = {abbrev = "", color = "#02569F", shortname = "",},
["Democratic Renewal Party (Portugal)"] = {abbrev = "PRD", color = "#008000", shortname = "",},
["Democratic Renewal"] = {abbrev = "DIANA", color = "#007FFF", shortname = "",},
["Democratic Renewal Party (Costa Rica)"] = {abbrev = "PRD", color = "#2C93FB", shortname = "",},
["Democratic Renovation"] = {abbrev = "", color = "orange", shortname = "",},
["Democratic Republic of Timor-Leste Party"] = {abbrev = "PDRT", color = "#DE5D83", shortname = "",},
["Democratic Republican Party (South Korea)"] = {abbrev = "", color = "#835B38", shortname = "Democratic Republican",},
["Democratic Republican Alliance"] = {abbrev = "ARD", color = "#FFBF00", shortname = "",},
["Democratic Republican Party (South Korea, 1997)"] = {abbrev = "", color = "#0D90D6", shortname = "Democratic Republican",},
["Democratic Republican Union"] = {abbrev = "", color = "#feed01", shortname = "",},
["Democratic Revival"] = {abbrev = "DA", color = "darkblue", shortname = "",},
["Democratic Revolution"] = {abbrev = "", color = "#1D4C4F", shortname = "",},
["Democratic Revolutionary Alliance (Bolivia)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Democratic Revolutionary Front – New Alternative"] = {abbrev = "FDR", color = "#1FA045", shortname = "",},
["Democratic Revolutionary Nationalist Party"] = {abbrev = "", color = "#bb0000", shortname = "",},
["Democratic Revolutionary Party"] = {abbrev = "PRD", color = "#003F87", shortname = "",},
["Democratic Revolutionary Peoples Party"] = {abbrev = "DRPP", color = "#006400", shortname = "",},
["Democratic Rioja"] = {abbrev = "", color = "#FFFF6F", shortname = "",},
["Democratic Senate"] = {abbrev = "", color = "#DB64DB", shortname = "",},
["Democratic Serb Party (Montenegro)"] = {abbrev = "DSS", color = "Darkblue", shortname = "",},
["Democratic Social Christian Party"] = {abbrev = "", color = "#556627", shortname = "",},
["Democratic Social Justice Party"] = {abbrev = "DSJP", color = "#A91B0D", shortname = "",},
["Democratic Social Movement"] = {abbrev = "DIKKI", color = "#FF7F00", shortname = "",},
["Democratic Social Party"] = {abbrev = "PDS", color = "#0067A5", shortname = "",},
["Democratic Social-Revolutionary Party of Cuba"] = {abbrev = "", color = "#D21F1B", shortname = "",},
["Democratic Socialism (Chile)"] = {abbrev = "SD", color = "#B7051F", shortname = "",},
["Democratic Socialist Alliance (Spain)"] = {abbrev = "", color = "#EE3507", shortname = "",},
["Democratic Socialist Alliance"] = {abbrev = "", color = "#CC4E5C", shortname = "",},
["Democratic Socialist Coalition"] = {abbrev = "CSD", color = "#00BFFF", shortname = "",},
["Democratic Socialist Left"] = {abbrev = "", color = "#D2323A", shortname = "",},
["Democratic Socialist Party (Argentina)"] = {abbrev = "PSD", color = "#FF9900", shortname = "Democratic Socialist Party",},
["Democratic Socialist Party (Ireland)"] = {abbrev = "DSP", color = "#FF0099", shortname = "Democratic Socialist",},
["Democratic Socialist Party (Japan)"] = {abbrev = "", color = "#FF4F4F", shortname = "Democratic Socialist",},
["Democratic Socialist Party (Morocco)"] = {abbrev = "", color = "#188410", shortname = "",},
["Democratic Socialist Party (Prabodh Chandra)"] = {abbrev = "DSP(PC)", color = "#FF033E", shortname = "",},
["Democratic Socialist Party (South Korea)"] = {abbrev = "", color = "#FF8000", shortname = "Democratic Socialist",},
["Democratic Socialist Party of Greece"] = {abbrev = "", color = "Yellow", shortname = "",},
["Democratic Socialist Radical Party"] = {abbrev = "", color = "#800080", shortname = "",},
["Democratic Socialist Unionist Party"] = {abbrev = "", color = "red", shortname = "",},
["Democratic Socialists '70"] = {abbrev = "DS'70", color = "#A21756", shortname = "",},
["Democratic Socialists of America"] = {abbrev = "", color = "#EB2128", shortname = "",},
["Democratic Society Alliance"] = {abbrev = "", color = "#74C365", shortname = "",},
["Democratic Society Congress"] = {abbrev = "DTK", color = "#029E4A", shortname = "",},
["Democratic Society Party"] = {abbrev = "DTP", color = "#008000", shortname = "",},
["Democratic swaraj party"] = {abbrev = "DSP", color = "#000000", shortname = "",},
["Democratic Tamil National Alliance"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Democratic Tumu Party"] = {abbrev = "", color = "#C8102E", shortname = "Democratic Tumu",},
["Democratic Turkish Union of Romania"] = {abbrev = "RDTB", color = "#E30A17", shortname = "",},
["Democratic Unification Party (South Korea)"] = {abbrev = "", color = "#c93", shortname = "Democratic Unification",},
["Democratic Unification Party"] = {abbrev = "UD", color = "#FEF100", shortname = "",},
["Democratic Union (Czech Republic)"] = {abbrev = "DEU", color = "#6D051C", shortname = "",},
["Democratic Union (Greece)"] = {abbrev = "DE", color = "#FFC0CB", shortname = "",},
["Democratic Union (Greece, 1956)"] = {abbrev = "DE", color = "#FFA500", shortname = "",},
["Democratic Union (Guatemala)"] = {abbrev = "UD", color = "#4fadea", shortname = "",},
["Democratic Union (Israel)"] = {abbrev = "", color = "#029A3D", shortname = "Democratic Union",},
["Democratic Union (Italy)"] = {abbrev = "", color = "#800080", shortname = "",},
["Democratic Union (Bosnia and Herzegovina)"] = {abbrev = "DEMOS", color = "#ED1C24", shortname = "",},
["Democratic Union (Poland)"] = {abbrev = "UD", color = "#DB812E", shortname = "",},
["Democratic Union Coalition (1996–2000)"] = {abbrev = "", color = "#074DA9", shortname = "Democratic Union",},
["Democratic Union for Integration"] = {abbrev = "BDI", color = "#344b9b", shortname = "",},
["Democratic Union for Revival"] = {abbrev = "DAK", color = "#1F2563", shortname = "",},
["Democratic Union for the Respect of Labour"] = {abbrev = "UDRT/RAD", color = "black", shortname = "",},
["Democratic Union for the Republic"] = {abbrev = "", color = "#FF7F00", shortname = "",},
["Democratic Union Movement"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Democratic Union of Albanians"] = {abbrev = "UDSH", color = "#E65532", shortname = "",},
["Democratic Union of Catalonia"] = {abbrev = "", color = "#0053A1", shortname = "",},
["Democratic Union of Croats"] = {abbrev = "DZH", color = "#E5111D", shortname = "",},
["Democratic Union of Hungarians in Romania"] = {abbrev = "", color = "#15803C", shortname = "",},
["Democratic Union of Hungarians of Croatia"] = {abbrev = "DZMH", color = "#15803C", shortname = "",},
["Democratic Union of Slovakia"] = {abbrev = "DEÚS", color = "#007BA7", shortname = "",},
["Democratic Union of Slovaks and Czechs of Romania"] = {abbrev = "UDSCR", color = "#1136F2", shortname = "",},
["Democratic Union of Taiwan"] = {abbrev = "", color = "#FF9826", shortname = "Democratic Union",},
["Democratic Union of the Malian People"] = {abbrev = "UDPM", color = "#008000", shortname = "",},
["Democratic Union of the Region of Murcia"] = {abbrev = "", color = "#039C06", shortname = "",},
["Democratic Union of the Rwandan People"] = {abbrev = "", color = "#344EA3", shortname = "",},
["Democratic Union of the Vlachs of Macedonia"] = {abbrev = "DSVM", color = "", shortname = "",},
["Democratic Union of Turkish-Muslim Tatars of Romania"] = {abbrev = "RMTTDB", color = "yellow", shortname = "",},
["Democratic Union Party (Romania)"] = {abbrev = "PDU", color = "blue", shortname = "",},
["Democratic Union–Broad Centre"] = {abbrev = "", color = "#F6643D", shortname = "",},
["Democratic Unionist Party (Sudan)"] = {abbrev = "DUP", color = "#00A6EF", shortname = "",},
["Democratic Unionist Party"] = {abbrev = "DUP", color = "#D46A4C", shortname = "",},
["Democratic United National Front"] = {abbrev = "", color = "green", shortname = "",},
["Democratic United Party"] = {abbrev = "", color = "#FFD400", shortname = "Democratic United",},
["Democratic Unity Alliance"] = {abbrev = "", color = "#F8A718", shortname = "",},
["Democratic Unity Roundtable"] = {abbrev = "MUD", color = "#0F52BA", shortname = "",},
["Democratic Way (Spain)"] = {abbrev = "", color = "#FFAE00", shortname = "",},
["Democratic Way Party"] = {abbrev = "", color = "#87a1fe", shortname = "",},
["Democratic Women's League of Germany"] = {abbrev = "", color = "#3d61d6", shortname = "",},
["Democratic-Independent Party (North Dakota)"] = {abbrev = "", color = "#66CCFF", shortname = "",},
["Democratic-People's Party"] = {abbrev = "", color = "#3333FF", shortname = "Democratic-People's",},
["Democratic-Republican (Adams)"] = {abbrev = "", color = "#68C468", shortname = "",},
["Democratic-Republican (Jackson)"] = {abbrev = "", color = "#698DC5", shortname = "",},
["Democratic-Republican (Crawford)"] = {abbrev = "", color = "#FF9955", shortname = "",},
["Democratic-Republican Party (1844)"] = {abbrev = "", color = "#808000", shortname = "",},
["Democratic-Republican Party"] = {abbrev = "", color = "#008000", shortname = "Democratic-Republican",},
["Democratic-Social Movement (Poland)"] = {abbrev = "RDS", color = "#FAAA49", shortname = "",},
["Democratic/Country coalition"] = {abbrev = "", color = "#6495ED", shortname = "",},
["Democratic/Hold"] = {abbrev = "", color = "#EEF6FF", shortname = "",},
["Democrats (Brazil)"] = {abbrev = "DEM", color = "#8CC63E", shortname = "",},
["Democrats (Chile)"] = {abbrev = "", color = "#DA1764", shortname = "",},
["Democrats (Croatia)"] = {abbrev = "", color = "#B00F1F", shortname = "",},
["Democrats (Greece)"] = {abbrev = "", color = "midnightblue", shortname = "Democrats",},
["Democrats (Greenland)"] = {abbrev = "", color = "#152D49", shortname = "Democrats",},
["Democrats (Slovakia)"] = {abbrev = "", color = "#50168E", shortname = "Democrats",},
["Democrats 66"] = {abbrev = "D66", color = "#00CD67", shortname = "",},
["Democrats and Veterans"] = {abbrev = "", color = "#000000", shortname = "",},
["Democrats for a Strong Bulgaria"] = {abbrev = "DSB", color = "#02528A", shortname = "",},
["Democrats for Andorra"] = {abbrev = "DA", color = "#EA7A28", shortname = "",},
["Democrats for Liechtenstein"] = {abbrev = "", color = "#005EA8", shortname = "DpL",},
["Democrats for Responsibility, Solidarity and Tolerance"] = {abbrev = "", color = "#1A70B8", shortname = "",},
["Democrats of Catalonia"] = {abbrev = "DC", color = "#1375CE", shortname = "",},
["Democrats of the Left"] = {abbrev = "DS", color = "#C72F35", shortname = "",},
["DEMOS (Montenegro)"] = {abbrev = "DEMOS", color = "#89CFF0", shortname = "",},
["Demos+"] = {abbrev = "", color = "#F97D19", shortname = "",},
["Demosisto"] = {abbrev = "", color = "#37C8B4", shortname = "",},
["Demosistō"] = {abbrev = "", color = "#37C8B4", shortname = "",},
["DENK (political party)"] = {abbrev = "DENK", color = "#00B7B2", shortname = "",},
["Denmark Democrats"] = {abbrev = "", color = "#1272C2", shortname = "Denmark Democrats",},
["Denok Hiritar"] = {abbrev = "", color = "#FEF900", shortname = "",},
["Der Wandel"] = {abbrev = "", color = "#D32C0B", shortname = "Wandel",},
["Derekh Eretz (political faction)"] = {abbrev = "", color = "#277EE5", shortname = "",},
["Derryn Hinch's Justice Party"] = {abbrev = "", color = "#002F5D", shortname = "Justice",},
["Derwentside Independents"] = {abbrev = "", color = "#9F009F", shortname = "",},
["Derzhava (Russian party)"] = {abbrev = "", color = "#959698", shortname = "",},
["Derzhava (Ukrainian party)"] = {abbrev = "", color = "#FF0000", shortname = "Derzhava",},
["Des de Baix"] = {abbrev = "", color = "#EF7D00", shortname = "",},
["Desh Bhakt Party"] = {abbrev = "DBP", color = "#B404AE", shortname = "",},
["Desire the Right Party"] = {abbrev = "", color = "#0087DC", shortname = "Desire the Right",},
["Desiya Murpokku Dravida Kazhagam"] = {abbrev = "DMDK", color = "#FFEA19", shortname = "",},
["Destiny New Zealand"] = {abbrev = "", color = "#FFFF00", shortname = "Destiny",},
["Destour"] = {abbrev = "", color = "#7F1A03", shortname = "",},
["Destourian Movement"] = {abbrev = "", color = "RebeccaPurple", shortname = "",},
["Deutsche Mitte"] = {abbrev = "DM", color = "#284f8d", shortname = "",},
["Deutsche Reichspartei"] = {abbrev = "", color = "#8B4726", shortname = "",},
["Development and Peace (political party)"] = {abbrev = "", color = "#6A287E", shortname = "Flatto-Sharon",},
["Development Movement"] = {abbrev = "", color = "#8F188F", shortname = "",},
["Development/For!"] = {abbrev = "AP!", color = "#FFEC00", shortname = "",},
["Devizes Guardians"] = {abbrev = "", color = "#9A114F", shortname = "",},
["Dharmacracy Party"] = {abbrev = "DP", color = "#F46A26", shortname = "",},
["Dharmacracy Party (Thailand)"] = {abbrev = "", color = "#C8BCA7", shortname = "Dharmacracy",},
["Dhivehi Rayyithunge Party"] = {abbrev = "DRP", color = "#3F89C0", shortname = "",},
["Diàleg Republicà"] = {abbrev = "", color = "#CD2E33", shortname = "",},
["Dialogue – The Greens' Party"] = {abbrev = "PZ", color = "#39B54A", shortname = "",},
["Dialogue for Hungary"] = {abbrev = "PM", color = "#3CB34D", shortname = "",},
["Dialogue Party"] = {abbrev = "", color = "#D32270", shortname = "",},
["Dibyojyoti Singh Deo"] = {abbrev = "", color = "#DD4561", shortname = "",},
["Die PARTEI"] = {abbrev = "PARTEI", color = "#B5152B", shortname = "",},
["Die Urbane. Eine HipHop Partei"] = {abbrev = "du.", color = "#E66346", shortname = "",},
["DierAnimal"] = {abbrev = "", color = "#148C8B", shortname = "",},
["Different Cantabria"] = {abbrev = "", color = "#96D351", shortname = "",},
["Digital Party"] = {abbrev = "", color = "#F36F21", shortname = "Digital",},
["Dignidad Ahora"] = {abbrev = "", color = "#EC8431", shortname = "",},
["Dignity and Charity"] = {abbrev = "DM", color = "#0BC3AD", shortname = "",},
["Dignity and Truth Platform"] = {abbrev = "PPDA", color = "#409FD9", shortname = "",},
["Dignity Coalition"] = {abbrev = "", color = "#3D7254", shortname = "",},
["Dignity Now!"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Dignity Party (Algeria)"] = {abbrev = "", color = "#008000", shortname = "Dignity",},
["Dignity Party (Egypt)"] = {abbrev = "", color = "#008000", shortname = "",},
["Dignity Party (South Australia)"] = {abbrev = "", color = "#69359C", shortname = "Dignity",},
["Dikwankwetla Party of South Africa"] = {abbrev = "", color = "#4B393B", shortname = "Dikwankwetla Party",},
["Direct Democracy (Peru)"] = {abbrev = "", color = "yellow", shortname = "",},
["Direct Democracy (Poland)"] = {abbrev = "DB", color = "#3AD5C8", shortname = "Direct Democracy",},
["Direct Democracy Ireland"] = {abbrev = "", color = "#87CEFA", shortname = "Direct Democracy",},
["Direct Democracy Party of New Zealand"] = {abbrev = "", color = "#F28317", shortname = "Direct Democracy",},
["Direct Democratic Participation of Galicia"] = {abbrev = "", color = "#4FAECD", shortname = "",},
["Direct Democrats (Sweden)"] = {abbrev = "DD", color = "orange", shortname = "",},
["Direction – Slovak Social Democracy"] = {abbrev = "SMER–SD", color = "#d82222", shortname = "",},
["Dissident Left"] = {abbrev = "", color = "#66CC99", shortname = "Dissident Left",},
["Dixiecrat"] = {abbrev = "", color = "#FF9955", shortname = "",},
["Do not let Belgrade drown"] = {abbrev = "NDB", color = "#276030", shortname = "",},
["Doctrinaires"] = {abbrev = "", color = "#87CEFA", shortname = "",},
["Domani Motus Liberi"] = {abbrev = "DML", color = "#039ADA", shortname = "",},
["Dōmei Seisha"] = {abbrev = "", color = "#825C8C", shortname = "",},
["Dominica Freedom Party"] = {abbrev = "DFP", color = "#008000", shortname = "",},
["Dominica Labour Party"] = {abbrev = "DLP", color = "#F0001C", shortname = "",},
["Dominica United People's Party"] = {abbrev = "", color = "orange", shortname = "",},
["Dominican Communist Party"] = {abbrev = "", color = "#CE2029", shortname = "",},
["Dominican Humanist Party"] = {abbrev = "", color = "#FFEF52", shortname = "",},
["Dominican Liberation Party"] = {abbrev = "PLD", color = "#870B9C", shortname = "",},
["Dominican Party"] = {abbrev = "", color = "#964B00", shortname = "",},
["Dominican Revolutionary Party"] = {abbrev = "PRD", color = "#ADD8E6", shortname = "",},
["Dominicans for Change"] = {abbrev = "", color = "#12e3ff", shortname = "",},
["Dominion Labor Party (Alberta)"] = {abbrev = "", color = "transparent", shortname = "Labor",},
["Dominion Party (South Africa)"] = {abbrev = "", color = "#50C878", shortname = "Dominion",},
["Donegal Progressive Party"] = {abbrev = "", color = "#FF7F00", shortname = "",},
["Donetsk Republic (political party)"] = {abbrev = "", color = "#005087", shortname = "",},
["Doordarshi Party"] = {abbrev = "", color = "#00FF99", shortname = "",},
["Dor (political party)"] = {abbrev = "", color = "#409199", shortname = "",},
["Dōshi Club (1900s)"] = {abbrev = "", color = "#0018ED", shortname = "",},
["Dōshi Seisha"] = {abbrev = "", color = "#4D5269", shortname = "",},
["Dovira"] = {abbrev = "", color = "#1A9DAA", shortname = "Dovira",},
["Downlands Resident Group"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Dr. A. P. J. Abdul Kalam"] = {abbrev = "", color = "#DB7099", shortname = "",},
["Drago Project"] = {abbrev = "", color = "#232323", shortname = "",},
["Drassi"] = {abbrev = "", color = "#f37021", shortname = "",},
["Dravida Munnetra Kazhagam"] = {abbrev = "DMK", color = "#FF0D0D", shortname = "",},
["Druk Chirwang Tshogpa"] = {abbrev = "", color = "#FCB116", shortname = "",},
["Druk Nyamrup Tshogpa"] = {abbrev = "DNT", color = "#F9C6D9", shortname = "",},
["Druk Phuensum Tshogpa"] = {abbrev = "DPT", color = "#E48400", shortname = "",},
["Druk Thuendrel Tshogpa"] = {abbrev = "DTT", color = "#4a85c4", shortname = "",},
["Dublin Trades Council"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Duma Polska"] = {abbrev = "", color = "#E04A4B", shortname = "",},
["Dutch People's Union"] = {abbrev = "", color = "red", shortname = "",},
["Dveri"] = {abbrev = "", color = "#E32636", shortname = "",},
["Dynastic Left"] = {abbrev = "", color = "#5FA082", shortname = "Leftist",},
["Džemijet"] = {abbrev = "", color = "black", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
661e42e233022e79c20486290388a2ecf6f6dda5
Template:Infobox Country
10
5
17
2024-03-11T16:59:40Z
TheMexicanHistorian
2
Created page with "{{Country |common_name= |full_name= |local_name= |lifespan= |flag= . |locator= |established= |motto= |capital= |largest_city= |population= |government_type= |area= |languages= |currency= }}"
wikitext
text/x-wiki
{{Country
|common_name=
|full_name=
|local_name=
|lifespan=
|flag= .
|locator=
|established=
|motto=
|capital=
|largest_city=
|population=
|government_type=
|area=
|languages=
|currency=
}}
22fa1995ae8fdf976c850a3c12c5479ab4216fca
18
17
2024-03-11T17:00:24Z
TheMexicanHistorian
2
TheMexicanHistorian moved page [[Template:Inforbox Country]] to [[Template:Infobox Country]]
wikitext
text/x-wiki
{{Country
|common_name=
|full_name=
|local_name=
|lifespan=
|flag= .
|locator=
|established=
|motto=
|capital=
|largest_city=
|population=
|government_type=
|area=
|languages=
|currency=
}}
22fa1995ae8fdf976c850a3c12c5479ab4216fca
Template:Inforbox Country
10
6
19
2024-03-11T17:00:24Z
TheMexicanHistorian
2
TheMexicanHistorian moved page [[Template:Inforbox Country]] to [[Template:Infobox Country]]
wikitext
text/x-wiki
#REDIRECT [[Template:Infobox Country]]
b3a38b3c9dbd5a299aebd9a7ad7d5e60278afc89
Template:WIP warning
10
7
22
2024-03-11T17:43:31Z
ElBortoTexas
10
Created page with "''Warning: this page's content is a work in progress...''"
wikitext
text/x-wiki
''Warning: this page's content is a work in progress...''
f5f3faaf6063e792a199c954505f1ba4142a5cff
Template:Nation
10
8
24
2024-03-11T17:50:54Z
ElBortoTexas
10
copy of rtl nation wikibox
wikitext
text/x-wiki
{| class ="nation_card" style="float: right; margin: .5em; background-color: #F8F8F8; border: 1px solid #BCC2C4; width: 23em;border-collapse:collapse;" border="0"
!style= color: #1a1a1a; text-align: center; font-size: 25px; padding: 10px;" colspan="2"|{{{common_name|}}}
|-
!style="text-align: center; font-weight: normal;" colspan="2"|{{{full_name|}}}
|-
!style="text-align: center; font-weight: normal; font-style: italic;" colspan="2"|{{{local_name|}}}
|-
!style="text-align: center; font-weight: normal;" colspan="2"|{{{lifespan|}}}{{#if:{{{flag|}}}
|<tr><td style="text-align: center;margin-bottom:3em;padding-bottom:1.5em;" colspan="2">[[File:{{{flag| }}}|145px]]</td></tr> }}{{#if:{{{map|}}}
|<tr><td style="text-align: center;margin-bottom:1em;padding-bottom:1.5em;" colspan="2">
<div class="locatormap">
[[File:{{{map}}}|500px]]Location of {{{common_name}}}</div></td></tr> }}{{#if:{{{motto|}}}
|<tr class="infobox-child"><th style="padding-left: 1em;text-align:left;width:50%;padding: 0.5em 1em 0.5em 1em;">Motto</th><td style="padding: 0.5em 1em 0.5em 1em;">{{{motto}}}</td></tr>}}{{#if:{{{established|}}}
|<tr class="infobox-child"><th style="padding-left: 1em;text-align:left;width:50%;padding: 0.5em 1em 0.5em 1em;">Established</th><td style="padding: 0.5em 1em 0.5em 1em;">{{{established}}}</td></tr>}}{{#if:{{{capital|}}}
|<tr class="infobox-child"><th style="padding-left: 1em;text-align:left;width:50%;padding: 0.5em 1em 0.5em 1em;">Capital</th><td style="padding: 0.5em 1em 0.5em 1em;">{{{capital}}}</td></tr>}}{{#if:{{{largest_city|}}}
|<tr class="infobox-child"><th style="padding-left: 1em;text-align:left;width:50%;padding: 0.5em 1em 0.5em 1em;">Largest City</th><td style="padding: 0.5em 1em 0.5em 1em;">{{{largest_city}}}</td></tr>}}{{#if:{{{population|}}}
|<tr class="infobox-child"><th style="padding-left: 1em;text-align:left;width:50%;padding: 0.5em 1em 0.5em 1em;">Population</th><td style="padding: 0.5em 1em 0.5em 1em;">{{{population}}}</td></tr>}}{{#if:{{{government_type|}}}
|<tr class="infobox-child"><th style="padding-left: 1em;text-align:left;width:50%;padding: 0.5em 1em 0.5em 1em;">Government Type</th><td style="padding: 0.5em 1em 0.5em 1em;">{{{government_type}}}</td></tr>}}{{#if:{{{area|}}}
|<tr class="infobox-child"><th style="padding-left: 1em;text-align:left;width:50%;padding: 0.5em 1em 0.5em 1em;">Area</th><td style="padding: 0.5em 1em 0.5em 1em;">{{{area}}}</td></tr>}}{{#if:{{{languages|}}}
|<tr class="infobox-child"><th style="padding-left: 1em;text-align:left;width:50%;padding: 0.5em 1em 0.5em 1em;">Languages</th><td style="padding: 0.5em 1em 0.5em 1em;">{{{languages}}}</td></tr>}}{{#if:{{{currency|}}}
|<tr class="infobox-child"><th style="padding-left: 1em;text-align:left;width:50%;padding: 0.5em 1em 0.5em 1em;">Currency</th><td style="padding: 0.5em 1em 0.5em 1em;">{{{currency}}}</td></tr>}}
|}<noinclude>
==Example filled out:==
<pre>
{{Nation
|common_name=New Netherland
|full_name=Republic of New Netherland
|local_name=Nieuw-Nederlandt
|lifespan=1621-1796
|flag=Flag of New Netherland.svg
|locator=Locator_NewNetherland.jpg
|established=1621
|motto=Insert motto here (Anthem)
|capital= New Amsterdam
|largest_city= {{unbulleted_list | New Amsterdam | New Amstel}}
|population= 55 Million
|government_type= Republic
|area= 999 000km
|languages= {{unbulleted_list | Amerikaans (Official) | English}}
|currency= {{unbulleted_list | Amerikaanse Guilder (AMG), current | New Netherland Daalder (NND), until 2003}}
}}
</pre>
==Blank==
<pre>
{{Nation
|common_name=
|full_name=
|local_name=
|lifespan=
|flag= .
|locator=
|established=
|motto=
|capital=
|largest_city=
|population=
|government_type=
|area=
|languages=
|currency=
}}
</pre>
==What it looks like==
{{Nation
|common_name=New Netherland
|full_name=Republic of New Netherland
|local_name=Nieuw-Nederlandt
|lifespan=1621-1796
|flag=Flag of New Netherland.svg
|map=Locator_NewNetherland.jpg
|established=1621
|motto=Insert motto here (Anthem)
|capital= New Amsterdam
|largest_city= {{unbulleted_list | New Amsterdam | New Amstel}}
|population= 55 Million
|government_type= Republic
|area= 999 000km
|languages= {{unbulleted_list | Amerikaans (Official) | English}}
|currency= {{unbulleted_list | Amerikaanse Guilder (AMG), current | New Netherland Daalder (NND), until 2003}}
}}
[[Category:Templates]]
</noinclude>
1171c930db6acae3b911db75d89a14c1019080f3
Mexico
0
3
25
23
2024-03-11T17:56:37Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
Hidalgo does his thing, dies, morelos takes over and wins (placeholder)
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
86df16c2c74984415f1f07da7d21f914b49ef40f
2783
25
2024-03-11T18:46:55Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= Republica Federal Mexicana
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1821
|motto= The Homeland is First
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
Hidalgo does his thing, dies, morelos takes over and wins (placeholder)
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
00ce598824d86cc545549cbcd32636b0d4de3ad4
2784
2783
2024-03-11T18:52:31Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= Republica Federal Mexicana
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= The Homeland is First
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
Hidalgo does his thing, dies, morelos takes over and wins (placeholder)
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
32bda3f91dab2117c90de438789a8cb56fa6f98c
2819
2784
2024-03-11T21:01:35Z
TheMexicanHistorian
2
Translated motto
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= Republica Federal Mexicana
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
Hidalgo does his thing, dies, morelos takes over and wins (placeholder)
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
3554e6fbf1b449813a7456cabb0a6f893b6081ea
2820
2819
2024-03-11T21:04:49Z
Martinxo51
5
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= Republica Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
Hidalgo does his thing, dies, morelos takes over and wins (placeholder)
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
edf86d7562c9ef9c3f1a10fb287223ebd217b8a8
2821
2820
2024-03-11T21:05:37Z
Martinxo51
5
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
Hidalgo does his thing, dies, morelos takes over and wins (placeholder)
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
4856ba4bb05ce8847dfc384b361a06bc92c3bb64
2829
2821
2024-03-11T21:21:31Z
TheMexicanHistorian
2
/* The War of Independence */
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
3963970b4654bc04623db274a7071d857f1e63ee
2831
2829
2024-03-11T21:43:07Z
TheMexicanHistorian
2
Detailing lore
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
d9ae534ff463b074dc4fcfd08e8283e7e663c644
Panasia
0
2
2785
14
2024-03-11T19:01:40Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{Nation
|common_name= Panasia
|full_name= United People's Pan-Asian Republics
|local_name=
|lifespan=
|flag=
|locator=
|established= 1921
|motto=
|capital= Osaka, Hanseong and Tai-Pak
|largest_city= Hanseong
|population= N/A (1959)
|government_type= Federal Dominant-Party Parliamentary Socialist Republic
|area=
|languages= Japanese, Korean, Chinese, Ainu and various minor languages.
|currency= Yen
}}
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' , '''Pan-Asia''' or the '''UPPR''', is a country in East Asia. It is bordered to the north by [[China]] and the [[Far Eastern Republic]]. Panasia is considered one of the world's [[Great Powers]] and is a founding member of the [[Co-Prosperity Sphere]].
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the [https://en.wikipedia.org/wiki/Opium_Wars Opium Wars] between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.P.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
9a165eb743a232ad47d240f872a204cadd981188
2810
2785
2024-03-11T20:32:47Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{Nation
|common_name= Panasia
|full_name= United People's Pan-Asian Republics
|local_name=
|lifespan=
|flag= RPTS_Panasian_Flag.png
|locator=
|established= 1921
|motto=
|capital= Osaka, Hanseong and Tai-Pak
|largest_city= Hanseong
|population= N/A (1959)
|government_type= Federal Dominant-Party Parliamentary Socialist Republic
|area=
|languages= Japanese, Korean, Chinese, Ainu and various minor languages.
|currency= Yen
}}
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' , '''Pan-Asia''' or the '''UPPR''', is a country in East Asia. It is bordered to the north by [[China]] and the [[Far Eastern Republic]]. Panasia is considered one of the world's [[Great Powers]] and is a founding member of the [[Co-Prosperity Sphere]].
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the [https://en.wikipedia.org/wiki/Opium_Wars Opium Wars] between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.P.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
fb8bc462581161476b9f07f50d20787cc1651f71
Colombia
0
1393
2786
2024-03-11T19:16:46Z
TheMexicanHistorian
2
Created page with "{{Nation |common_name= Colombia |full_name= Republic of Colombia |local_name= Republica de Colombia |lifespan= |flag= Flag_of_Gran_Colombia.svg |locator= |established= 1817 |motto= Union and Freedom |capital= Bogota |largest_city= Bogota |population= 142,272,856 (1959) |government_type= Federal Presidential Republic |area= |languages= Spanish |currency= Peso }..."
wikitext
text/x-wiki
{{Nation
|common_name= Colombia
|full_name= Republic of Colombia
|local_name= Republica de Colombia
|lifespan=
|flag= Flag_of_Gran_Colombia.svg
|locator=
|established= 1817
|motto= Union and Freedom
|capital= Bogota
|largest_city= Bogota
|population= 142,272,856 (1959)
|government_type= Federal Presidential Republic
|area=
|languages= Spanish
|currency= Peso
}}
Colombia, officially the Republic of Colombia, is a country primarily located in South America. It is bordered to the north by Mexico to the south by Peru and Brazil, to the east by the West Indies Federation and by Haiti to the west in the island of Hispaniola. Colombia is a founding member of the Panama Pact and the Pan-American Union.
ac92ed6835fd89b0ce1e2389716cf9eae4730e12
2787
2786
2024-03-11T19:17:08Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{Nation
|common_name= Colombia
|full_name= Republic of Colombia
|local_name= Republica de Colombia
|lifespan=
|flag= Flag_of_Gran_Colombia.svg
|locator=
|established= 1817
|motto= Union and Freedom
|capital= Bogota
|largest_city= Bogota
|population= N/A (1959)
|government_type= Federal Presidential Republic
|area=
|languages= Spanish
|currency= Peso
}}
Colombia, officially the Republic of Colombia, is a country primarily located in South America. It is bordered to the north by Mexico to the south by Peru and Brazil, to the east by the West Indies Federation and by Haiti to the west in the island of Hispaniola. Colombia is a founding member of the Panama Pact and the Pan-American Union.
564934c07ba50ceab5dfbcf8cba13a07732c6001
2788
2787
2024-03-11T19:18:56Z
TheMexicanHistorian
2
Created page
wikitext
text/x-wiki
{{Nation
|common_name= Colombia
|full_name= Republic of Colombia
|local_name= Republica de Colombia
|lifespan=
|flag= Flag_of_Gran_Colombia.svg
|locator=
|established= 1817
|motto= Union and Freedom
|capital= Bogota
|largest_city= Bogota
|population= N/A (1959)
|government_type= Federal Presidential Republic
|area=
|languages= Spanish
|currency= Peso
}}
'''Colombia''', officially the '''Republic of Colombia''', is a country primarily located in South America. It is bordered to the north by [[Mexico]] to the south by [[Peru]] and [[Brazil]], to the east by the [[West Indies Federation]] and by [[Haiti]] to the west in the island of Hispaniola. Colombia is a founding member of the [[Panama Pact]] and the [[Pan-American Union]].
3cb4fd79b943cd0b5d3e659b6a2d4fac854dce7c
2818
2788
2024-03-11T21:01:15Z
Martinxo51
5
wikitext
text/x-wiki
{{Nation
|common_name= Colombia
|full_name= Republic of Colombia
|local_name= República de Colombia (Spanish)
|lifespan=
|flag= Flag_of_Gran_Colombia.svg
|locator=
|established= 1817
|motto= Union and Freedom
|capital= Bogota
|largest_city= Bogota
|population= N/A (1959)
|government_type= Federal Presidential Republic
|area=
|languages= Spanish
|currency= Peso
}}
'''Colombia''', officially the '''Republic of Colombia''', is a country primarily located in South America. It is bordered to the north by [[Mexico]] to the south by [[Peru]] and [[Brazil]], to the east by the [[West Indies Federation]] and by [[Haiti]] to the west in the island of Hispaniola. Colombia is a founding member of the [[Panama Pact]] and the [[Pan-American Union]].
ba8ab53babefff4d063938b0d7a47390ac499ca9
Main Page
0
1
2789
3
2024-03-11T19:19:26Z
TheMexicanHistorian
2
Added Colombia
wikitext
text/x-wiki
__NOTOC__
== Welcome to {{SITENAME}}! ==
'''Revolution Plowed the Sea (RPTS)''' is an alternate history project that explores a world where Latin America is more stable and developed and all the consequences that brings to the rest of the world.
In this wiki you will be able to find pages detailing the lore of various countries, events and people in this timeline.
Pages created so far:
[[Mexico]]
[[Panasia]]
[[Colombia]]
80dcbca2128405bd4c8f1add5e614e6070269a1e
2790
2789
2024-03-11T19:21:17Z
TheMexicanHistorian
2
Added more countries
wikitext
text/x-wiki
__NOTOC__
== Welcome to {{SITENAME}}! ==
'''Revolution Plowed the Sea (RPTS)''' is an alternate history project that explores a world where Latin America is more stable and developed and all the consequences that brings to the rest of the world.
In this wiki you will be able to find pages detailing the lore of various countries, events and people in this timeline.
Pages created so far:
[[Mexico]]
[[Panasia]]
[[Colombia]]
[[India]]
[[Russia]]
[[Germany]]
[[Ireland]]
f91b13eb92d4273c50c70ca04626df4c066ef6c4
2808
2790
2024-03-11T20:28:53Z
TheMexicanHistorian
2
Added the UK
wikitext
text/x-wiki
__NOTOC__
== Welcome to {{SITENAME}}! ==
'''Revolution Plowed the Sea (RPTS)''' is an alternate history project that explores a world where Latin America is more stable and developed and all the consequences that brings to the rest of the world.
In this wiki you will be able to find pages detailing the lore of various countries, events and people in this timeline.
Pages created so far:
[[Mexico]]
[[Panasia]]
[[Colombia]]
[[India]]
[[Russia]]
[[Germany]]
[[Ireland]]
[[United Kingdom]]
2faa8a016bcf1a6f6500183378a566f73606c346
2815
2808
2024-03-11T20:55:43Z
TheMexicanHistorian
2
Added more countries
wikitext
text/x-wiki
__NOTOC__
== Welcome to {{SITENAME}}! ==
'''Revolution Plowed the Sea (RPTS)''' is an alternate history project that explores a world where Latin America is more stable and developed and all the consequences that brings to the rest of the world.
In this wiki you will be able to find pages detailing the lore of various countries, events and people in this timeline.
Pages created so far:
[[Mexico]]
[[Panasia]]
[[Colombia]]
[[India]]
[[Russia]]
[[Germany]]
[[Ireland]]
[[United Kingdom]]
[[Don Republic]]
a386f7028638e906072f2b913d227d09bf877319
India
0
1394
2791
2024-03-11T19:31:52Z
Dravidian Maggie Smith
8
Created page with "India, officially the Union of India, is a country primarily located in South Asia. It is bordered to the north by Tibet, Nepal and Bhutan, Afganistan to the northwest, to the east by Thailand and to the south by the Indian Ocean."
wikitext
text/x-wiki
India, officially the Union of India, is a country primarily located in South Asia. It is bordered to the north by Tibet, Nepal and Bhutan, Afganistan to the northwest, to the east by Thailand and to the south by the Indian Ocean.
12ee732b889e3294929668e2a091e9dbd15545ac
2792
2791
2024-03-11T19:33:09Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{Nation
|common_name= India
|full_name= Union of India
|local_name=
|lifespan=
|flag=
|locator=
|established= 18xx
|motto=
|capital= Delhi?
|largest_city= Bombay
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= English, Tamil
|currency= Rupee
}}
India, officially the Union of India, is a country primarily located in South Asia. It is bordered to the north by Nepal, Bhutan and Tibet, to the west by Afghanistan and Iran and to the East by China and Thailand. Its overseas territory of Somaliland is bordered by Ethiopia and Italian East Africa. India is sometimes considered one of the world's Great Powers and experts predict it is set to overtake the United Kingdom as the symbolic head of the Commonwealth of Nations.
5024c2c2c3b8b6ca9fb645cfa3e084477beb138c
2793
2792
2024-03-11T19:35:03Z
TheMexicanHistorian
2
Added links
wikitext
text/x-wiki
{{Nation
|common_name= India
|full_name= Union of India
|local_name=
|lifespan=
|flag=
|locator=
|established= 18xx
|motto=
|capital= Delhi?
|largest_city= Bombay
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= English, Tamil
|currency= Rupee
}}
'''India''', officially the '''Union of India''', is a country primarily located in South Asia. It is bordered to the north by [[Nepal]], [[Bhutan]] and [[Tibet]], to the west by [[Afghanistan]] and [[Iran]] and to the east by [[China]] and [[Thailand]]. Its overseas territory of [[Somaliland]] is bordered by [[Ethiopia]] and Italian East Africa. India is sometimes considered one of the world's [[Great Powers]] and experts predict it is set to overtake the United Kingdom as the symbolic head of the [[Commonwealth of Nations]].
9f4725c0b5da8bba0e5f1fdb30d891691c296df5
2794
2793
2024-03-11T19:40:45Z
Dravidian Maggie Smith
8
wikitext
text/x-wiki
{{Nation
|common_name= India
|full_name= Union of India
|local_name=ہندوستان کا اتحاد
|lifespan=
|flag=
|locator=
|established= 1858
|motto="Heaven's Light Our Guide"
|capital= New Delhi
|largest_city= Bombay
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= English, Hindustani, Bengali, Punjabi, Telugu, Tamil, Burmese, Marathi etc
|currency= Indian Rupee
}}
'''India''', officially the '''Union of India''', is a country primarily located in South Asia. It is bordered to the north by [[Nepal]], [[Bhutan]] and [[Tibet]], to the west by [[Afghanistan]] and [[Iran]] and to the east by [[China]] and [[Thailand]]. Aden, a province is bordered by South Arabia, its dependency of [[Somaliland]] is bordered by [[Ethiopia]] and Italian East Africa. India is sometimes considered one of the world's [[Great Powers]] and experts predict it is set to overtake the United Kingdom as the symbolic head of the [[Commonwealth of Nations]].
117cb68d20b304b74a2de22574aafa24e834a3db
2799
2794
2024-03-11T19:54:57Z
Dravidian Maggie Smith
8
wikitext
text/x-wiki
{{Nation
|common_name= India
|full_name= Union of India
|local_name=ہندوستان کا اتحاد
|lifespan=
|flag= Flag_of_the_Union_of_India_(1894).png
|coat_of_arms= Coat_of_arms_of_India_RPTS.png
|locator=
|established= 1858
|motto="Heaven's Light Our Guide"
|capital= New Delhi
|largest_city= Bombay
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= English, Hindustani, Bengali, Punjabi, Telugu, Tamil, Burmese, Marathi etc
|currency= Indian Rupee
}}
'''India''', officially the '''Union of India''', is a country primarily located in South Asia. It is bordered to the north by [[Nepal]], [[Bhutan]] and [[Tibet]], to the west by [[Afghanistan]] and [[Iran]] and to the east by [[China]] and [[Thailand]]. Aden, a province is bordered by South Arabia, its dependency of [[Somaliland]] is bordered by [[Ethiopia]] and Italian East Africa. India is sometimes considered one of the world's [[Great Powers]] and experts predict it is set to overtake the United Kingdom as the symbolic head of the [[Commonwealth of Nations]].
f1dfa8191372dbf4ab7d817d9e5ab12150cd98e7
2804
2799
2024-03-11T20:16:16Z
TheMexicanHistorian
2
Added link to united kingdom
wikitext
text/x-wiki
{{Nation
|common_name= India
|full_name= Union of India
|local_name=ہندوستان کا اتحاد
|lifespan=
|flag= Flag_of_the_Union_of_India_(1894).png
|coat_of_arms= Coat_of_arms_of_India_RPTS.png
|locator=
|established= 1858
|motto="Heaven's Light Our Guide"
|capital= New Delhi
|largest_city= Bombay
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= English, Hindustani, Bengali, Punjabi, Telugu, Tamil, Burmese, Marathi etc
|currency= Indian Rupee
}}
'''India''', officially the '''Union of India''', is a country primarily located in South Asia. It is bordered to the north by [[Nepal]], [[Bhutan]] and [[Tibet]], to the west by [[Afghanistan]] and [[Iran]] and to the east by [[China]] and [[Thailand]]. Aden, a province is bordered by South Arabia, its dependency of [[Somaliland]] is bordered by [[Ethiopia]] and Italian East Africa. India is sometimes considered one of the world's [[Great Powers]] and experts predict it is set to overtake the [[United Kingdom]] as the symbolic head of the [[Commonwealth of Nations]].
b3c50beb9ea8e648c58c322533e3fcc2ae3336ff
2805
2804
2024-03-11T20:22:11Z
Dravidian Maggie Smith
8
wikitext
text/x-wiki
{{Nation
|common_name= India
|full_name= Union of India
|local_name=ہندوستان کا اتحاد
|lifespan=
|flag= Flag_of_the_Union_of_India_(1894).png
|coat_of_arms= Coat_of_arms_of_India_RPTS.png
|locator=
|established= 1858
|motto="Heaven's Light Our Guide"
|capital= New Delhi
|largest_city= Calcutta
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= English, Hindustani, Bengali, Punjabi, Telugu, Tamil, Burmese, Marathi etc
|currency= Indian Rupee
}}
'''India''', officially the '''Union of India''', is a country primarily located in South Asia. It is bordered to the north by [[Nepal]], [[Bhutan]] and [[Tibet]], to the west by [[Afghanistan]] and [[Iran]] and to the east by [[China]] and [[Thailand]]. Aden, a province is bordered by South Arabia, its dependency of [[Somaliland]] is bordered by [[Ethiopia]] and Italian East Africa. India is sometimes considered one of the world's [[Great Powers]] and experts predict it is set to overtake the [[United Kingdom]] as the symbolic head of the [[Commonwealth of Nations]].
698f234562d2b0001c2b252556c5de0807c1d3e7
2811
2805
2024-03-11T20:35:21Z
Dravidian Maggie Smith
8
sepoy mutiny added
wikitext
text/x-wiki
{{Nation
|common_name= India
|full_name= Union of India
|local_name=ہندوستان کا اتحاد
|lifespan=
|flag= Flag_of_the_Union_of_India_(1894).png
|coat_of_arms= Coat_of_arms_of_India_RPTS.png
|locator=
|established= 1858
|motto="Heaven's Light Our Guide"
|capital= New Delhi
|largest_city= Calcutta
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= English, Hindustani, Bengali, Punjabi, Telugu, Tamil, Burmese, Marathi etc
|currency= Indian Rupee
}}
'''India''', officially the '''Union of India''', is a country primarily located in South Asia. It is bordered to the north by [[Nepal]], [[Bhutan]] and [[Tibet]], to the west by [[Afghanistan]] and [[Iran]] and to the east by [[China]] and [[Thailand]]. [[Aden]], a province, is bordered by [[South Arabia]], its dependency of [[Somaliland]] is bordered by [[Ethiopia]] and [[Italian East Africa]]. India is sometimes considered one of the world's [[Great Powers]] and experts predict it is set to overtake the [[United Kingdom]] as the symbolic head of the [[Commonwealth of Nations]].
== History ==
=== Sepoy Mutiny, 1857 ===
The Sepoy Mutiny was a major uprising against the East India Company in North and Central India. It was caused by popular dissatisfaction of the Company Raj, discontent among the Company's sepoys, and the ruling native princes. It began as a mutiny against the introduction of rifles with cartilage greased with pork and beef, which offends both Muslim and Hindu sepoys. It soon became a full-fledged rebellion across most of North India, with the public and native ruling elite joining the rebels.
The leaders of the rebels were Rani Lakshmibai, Tatya Tope, Nana Saheb, and the nominal Moghul emperor Bahadur Shah II (Who was proclaimed the Emperor of Hindustan). The rebellion was crushed, the British Parliament took direct control over the daily administration of British India, and Queen Victoria issued a statement promising racial equality.
The greatest effect of the Mutiny was the introduction of the Government of India Act, 1858, which laid the foundations of modern India. The promise of racial equality greatly increased the popularity and trust of the British Raj.
f6a34a9596acf32a09d03a65ba0f524cafd9fca5
2824
2811
2024-03-11T21:11:37Z
Martinxo51
5
wikitext
text/x-wiki
{{Nation
|common_name= India
|full_name= Union of India
|local_name=ہندوستان کا اتحاد (Urdu)
|lifespan=
|flag= Flag_of_the_Union_of_India_(1894).png
|coat_of_arms= Coat_of_arms_of_India_RPTS.png
|locator=
|established= 1858
|motto="Heaven's Light Our Guide"
|capital= New Delhi
|largest_city= Calcutta
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= English, Hindustani, Bengali, Punjabi, Telugu, Tamil, Burmese, Marathi etc
|currency= Indian Rupee
}}
'''India''', officially the '''Union of India''', is a country primarily located in South Asia. It is bordered to the north by [[Nepal]], [[Bhutan]] and [[Tibet]], to the west by [[Afghanistan]] and [[Iran]] and to the east by [[China]] and [[Thailand]]. [[Aden]], a province, is bordered by [[South Arabia]], its dependency of [[Somaliland]] is bordered by [[Ethiopia]] and [[Italian East Africa]]. India is sometimes considered one of the world's [[Great Powers]] and experts predict it is set to overtake the [[United Kingdom]] as the symbolic head of the [[Commonwealth of Nations]].
== History ==
=== Sepoy Mutiny, 1857 ===
The Sepoy Mutiny was a major uprising against the East India Company in North and Central India. It was caused by popular dissatisfaction of the Company Raj, discontent among the Company's sepoys, and the ruling native princes. It began as a mutiny against the introduction of rifles with cartilage greased with pork and beef, which offends both Muslim and Hindu sepoys. It soon became a full-fledged rebellion across most of North India, with the public and native ruling elite joining the rebels.
The leaders of the rebels were Rani Lakshmibai, Tatya Tope, Nana Saheb, and the nominal Moghul emperor Bahadur Shah II (Who was proclaimed the Emperor of Hindustan). The rebellion was crushed, the British Parliament took direct control over the daily administration of British India, and Queen Victoria issued a statement promising racial equality.
The greatest effect of the Mutiny was the introduction of the Government of India Act, 1858, which laid the foundations of modern India. The promise of racial equality greatly increased the popularity and trust of the British Raj.
e1577b83d01bbedd6b621eda34ea5a80b1284621
Russia
0
1395
2795
2024-03-11T19:42:56Z
TheMexicanHistorian
2
Created page with "{{Nation |common_name= Russia |full_name= Russian Confederation |local_name= |lifespan= |flag= Flag_of_Russia.svg |locator= |established= 1946? |motto= |capital= Moscow |largest_city= Moscow |population= N/A (1959) |government_type= Federal Parliamentary Republic |area= |languages= Russian and others |currency= Ruble }} Russia, officially the Russian Confe..."
wikitext
text/x-wiki
{{Nation
|common_name= Russia
|full_name= Russian Confederation
|local_name=
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1946?
|motto=
|capital= Moscow
|largest_city= Moscow
|population= N/A (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Russian and others
|currency= Ruble
}}
Russia, officially the Russian Confederation, is a country located in Eastern Europe and North Asia. It is bordered to the west by Norway, Sweden, the Baltic Federation, Belarus, Ukraine and the Don Republic and to the south by the Mountain Republic, Qazaqstan, China, the Far Eastern Republic and Panasia. Russia is considered one of the world's Great Powers.
7cb79ba777af8c5649a7da626c20e29f50fb5d35
2796
2795
2024-03-11T19:44:51Z
TheMexicanHistorian
2
Created page
wikitext
text/x-wiki
{{Nation
|common_name= Russia
|full_name= Russian Confederation
|local_name=
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1946?
|motto=
|capital= Moscow
|largest_city= Moscow
|population= N/A (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Russian and others
|currency= Ruble
}}
'''Russia''', officially the '''Russian Confederation''', is a country located in Eastern Europe and North Asia. It is bordered to the west by [[Norway]], [[Sweden]], the [[Baltic Federation]], [[Belarus]], [[Ukraine]] and the [[Don Republic]] and to the south by the [[Mountain Republic]], [[Qazaqstan]], [[China]], the [[Far Eastern Republic]] and [[Panasia]]. Russia is considered one of the world's [[Great Powers]].
== History ==
Placeholder
0206e2f6650372b9e0689b0517b2cefaeb7f3605
2812
2796
2024-03-11T20:37:48Z
Kiwi331
15
wikitext
text/x-wiki
{{Nation
|common_name= Russia
|full_name= Russian Confederation
|local_name= Российская Конфедерация
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1946
|motto=
|capital= Moscow
|largest_city= Moscow
|population= N/A (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Russian and others
|currency= Ruble
}}
'''Russia''', officially the '''Russian Confederation''', is a country located in Eastern Europe and North Asia. It is bordered to the west by [[Norway]], [[Sweden]], the [[Baltic Federation]], [[Belarus]], [[Ukraine]] and the [[Don Republic]] and to the south by the [[Mountain Republic]], [[Qazaqstan]], [[China]], the [[Far Eastern Republic]] and [[Panasia]]. Russia is considered one of the world's [[Great Powers]].
== History ==
Placeholder
c3e1e5e27c0b924663632e923cd89f6d3e050b53
2822
2812
2024-03-11T21:06:44Z
Martinxo51
5
wikitext
text/x-wiki
{{Nation
|common_name= Russia
|full_name= Russian Confederation
|local_name= Российская Конфедерация (Russian)
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1946
|motto=
|capital= Moscow
|largest_city= Moscow
|population= N/A (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Russian and others
|currency= Ruble
}}
'''Russia''', officially the '''Russian Confederation''', is a country located in Eastern Europe and North Asia. It is bordered to the west by [[Norway]], [[Sweden]], the [[Baltic Federation]], [[Belarus]], [[Ukraine]] and the [[Don Republic]] and to the south by the [[Mountain Republic]], [[Qazaqstan]], [[China]], the [[Far Eastern Republic]] and [[Panasia]]. Russia is considered one of the world's [[Great Powers]].
== History ==
Placeholder
76cebfcf38d52dbb0f9072e9cdaffa9c449a1834
File:Flag of the Union of India (1894).png
6
1396
2797
2024-03-11T19:49:06Z
Dravidian Maggie Smith
8
Flag of the union of India (1894–)
wikitext
text/x-wiki
== Summary ==
Flag of the union of India (1894–)
7c359400ec12849317002666e3ca1afa6ed2c7a7
File:Coat of arms of India RPTS.png
6
1397
2798
2024-03-11T19:54:01Z
Dravidian Maggie Smith
8
Greater coat of arms of India
wikitext
text/x-wiki
== Summary ==
Greater coat of arms of India
730ad8895da6ee3ff6e689076c59d423a56d11e9
Germany
0
1398
2800
2024-03-11T20:06:23Z
TheMexicanHistorian
2
Created page with "{{Nation |common_name= Germany |full_name= German Empire |local_name= Deutsches Reich |lifespan= |flag= Flag_of_Germany_(1867–1918).svg |locator= |established= 1871 |motto= Gott mit uns |capital= Berlin |largest_city= Berlin |population= N/A (1959) |government_type= Federal Parliamentary Constitutional Monarchy |area= |languages= German |currency= Mark }}..."
wikitext
text/x-wiki
{{Nation
|common_name= Germany
|full_name= German Empire
|local_name= Deutsches Reich
|lifespan=
|flag= Flag_of_Germany_(1867–1918).svg
|locator=
|established= 1871
|motto= Gott mit uns
|capital= Berlin
|largest_city= Berlin
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= German
|currency= Mark
}}
Germany, officially the German Empire, is a country primarily located in Europe. It is bordered to the north by Denamrk, to the west by the Netherlands, Belgium and France, to the south by Switzerland and Danubia and to the East by the Baltic Federation, Lithuania and Poland. Germany is considered one of the world's Great Powers and is a founding member of Mitteleuropa.
f24a600550d73c76fce3b326dc8b9d1043a03f54
2801
2800
2024-03-11T20:08:07Z
TheMexicanHistorian
2
Created page
wikitext
text/x-wiki
{{Nation
|common_name= Germany
|full_name= German Empire
|local_name= Deutsches Reich
|lifespan=
|flag= Flag_of_Germany_(1867–1918).svg
|locator=
|established= 1871
|motto= Gott mit uns
|capital= Berlin
|largest_city= Berlin
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= German
|currency= Mark
}}
'''Germany''', officially the '''German Empire''', is a country primarily located in Europe. It is bordered to the north by [[Denmark]], to the west by the [[Netherlands]], [[Belgium]] and [[France]], to the south by [[Switzerland]] and [[Danubia]] and to the east by the [[Baltic Federation]], [[Lithuania]] and [[Poland]]. Germany is considered one of the world's [[Great Powers]] and is a founding member of [[Mitteleuropa]].
== History ==
Placeholder
42532296823eb38f4925b262cce405854448b977
2825
2801
2024-03-11T21:12:08Z
Martinxo51
5
wikitext
text/x-wiki
{{Nation
|common_name= Germany
|full_name= German Empire
|local_name= Deutsches Reich (German)
|lifespan=
|flag= Flag_of_Germany_(1867–1918).svg
|locator=
|established= 1871
|motto= Gott mit uns
|capital= Berlin
|largest_city= Berlin
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= German
|currency= Mark
}}
'''Germany''', officially the '''German Empire''', is a country primarily located in Europe. It is bordered to the north by [[Denmark]], to the west by the [[Netherlands]], [[Belgium]] and [[France]], to the south by [[Switzerland]] and [[Danubia]] and to the east by the [[Baltic Federation]], [[Lithuania]] and [[Poland]]. Germany is considered one of the world's [[Great Powers]] and is a founding member of [[Mitteleuropa]].
== History ==
Placeholder
0cfbbef85d2e04b53f95ed47ecdc2f0591ee76e0
Ireland
0
1399
2802
2024-03-11T20:13:27Z
TheMexicanHistorian
2
Created page with "{{Nation |common_name= Ireland |full_name= Republic of Ireland |local_name= Poblacht na hÉireann |lifespan= |flag= Flag_of_Ireland.svg |locator= |established= 1932 |motto= |capital= Dublin |largest_city= Dublin |population= N/A (1959) |government_type= Unitary Parliamentary Republic |area= |languages= English and Irish |currency= Pound? }} Ireland, officia..."
wikitext
text/x-wiki
{{Nation
|common_name= Ireland
|full_name= Republic of Ireland
|local_name= Poblacht na hÉireann
|lifespan=
|flag= Flag_of_Ireland.svg
|locator=
|established= 1932
|motto=
|capital= Dublin
|largest_city= Dublin
|population= N/A (1959)
|government_type= Unitary Parliamentary Republic
|area=
|languages= English and Irish
|currency= Pound?
}}
Ireland, officially the Republic of Ireland, is a country located in Europe. It is bordered to the north by the United Kingdom.
9c438a4e74e5a7c8e94c924ccbed9deafe04e03c
2803
2802
2024-03-11T20:14:19Z
TheMexicanHistorian
2
Created page
wikitext
text/x-wiki
{{Nation
|common_name= Ireland
|full_name= Republic of Ireland
|local_name= Poblacht na hÉireann
|lifespan=
|flag= Flag_of_Ireland.svg
|locator=
|established= 1932
|motto=
|capital= Dublin
|largest_city= Dublin
|population= N/A (1959)
|government_type= Unitary Parliamentary Republic
|area=
|languages= English and Irish
|currency= Pound?
}}
'''Ireland''', officially the '''Republic of Ireland''', is a country located in Europe. It is bordered to the north by the [[United Kingdom]].
== History ==
Placeholder
684dbdb2a704127f90bf309180e954d344306358
2826
2803
2024-03-11T21:15:47Z
Martinxo51
5
wikitext
text/x-wiki
{{Nation
|common_name= Ireland
|full_name=
|local_name= Éire (Irish)
|lifespan=
|flag= Flag_of_Ireland.svg
|locator=
|established= 1932
|motto=
|capital= Dublin
|largest_city= Dublin
|population= N/A (1959)
|government_type= Unitary Parliamentary Republic
|area=
|languages= English and Irish
|currency= Pound?
}}
'''Ireland''', also known as the '''Republic of Ireland''', is a country located in Europe. It is bordered to the north by the [[United Kingdom]].
== History ==
Placeholder
58f0e98485ad1f29cc44a27129dd1102b147b554
United Kingdom
0
1400
2806
2024-03-11T20:26:55Z
TheMexicanHistorian
2
Created page with "{{Nation |common_name= United Kingdom |full_name= United Kingdom of Great Britain, Northern Ireland and Malta |local_name= |lifespan= |flag= Flag_of_the_United_Kingdom_(1-2).svg |locator= |established= 1603 |motto= |capital= London |largest_city= London |population= N/A (1959) |government_type= Unitary Parliamentary Constitutional Monarchy |area= |languages= English..."
wikitext
text/x-wiki
{{Nation
|common_name= United Kingdom
|full_name= United Kingdom of Great Britain, Northern Ireland and Malta
|local_name=
|lifespan=
|flag= Flag_of_the_United_Kingdom_(1-2).svg
|locator=
|established= 1603
|motto=
|capital= London
|largest_city= London
|population= N/A (1959)
|government_type= Unitary Parliamentary Constitutional Monarchy
|area=
|languages= English
|currency= Pound Sterling
}}
The United Kingdom, officially the United Kingdom of Great Britain, Northern Ireland and Malta, is a country primarily located in Europe. It is bordered to the west by Ireland. the United Kingdom is considered one of the world's Great Powers and the ceremonial head of the Commonwealth of Nations, however, their standing as a great power has recently been challenged by experts following the Suez Crisis.
8157834db0ff19d13df37d688fabba0f821c9c11
2807
2806
2024-03-11T20:28:19Z
TheMexicanHistorian
2
Created page
wikitext
text/x-wiki
{{Nation
|common_name= United Kingdom
|full_name= United Kingdom of Great Britain, Northern Ireland and Malta
|local_name=
|lifespan=
|flag= Flag_of_the_United_Kingdom_(1-2).svg
|locator=
|established= 1603
|motto=
|capital= London
|largest_city= London
|population= N/A (1959)
|government_type= Unitary Parliamentary Constitutional Monarchy
|area=
|languages= English
|currency= Pound Sterling
}}
The '''United Kingdom''', officially the '''United Kingdom of Great Britain, Northern Ireland and Malta''', is a country primarily located in Europe. It is bordered to the west by [[Ireland]]. the United Kingdom is considered one of the world's [[Great Powers]] and the ceremonial head of the [[Commonwealth of Nations]], however, their standing as a great power has recently been challenged by experts following the [[Suez Crisis]].
a1a7a85f5726b347bf7555dd4889d8b7caadad90
2827
2807
2024-03-11T21:16:59Z
Martinxo51
5
wikitext
text/x-wiki
{{Nation
|common_name= United Kingdom
|full_name= United Kingdom of Great Britain, Northern Ireland and Malta
|local_name=
|lifespan=
|flag= Flag_of_the_United_Kingdom_(1-2).svg
|locator=
|established= 1603
|motto=
|capital= London
|largest_city= London
|population= N/A (1959)
|government_type= Unitary Parliamentary Constitutional Monarchy
|area=
|languages= English
|currency= Pound Sterling
}}
The '''United Kingdom of Great Britain, Northern Ireland and Malta''', commonly known as the '''United Kingdom''', is a country primarily located in Europe. It is bordered to the west by [[Ireland]]. the United Kingdom is considered one of the world's [[Great Powers]] and the ceremonial head of the [[Commonwealth of Nations]], however, their standing as a great power has recently been challenged by experts following the [[Suez Crisis]].
71a71a323376d50d5b512478bd49f7936f0a067f
File:RPTS Panasian Flag.png
6
1401
2809
2024-03-11T20:32:12Z
TheMexicanHistorian
2
Flag for the fictional country of Panasia
wikitext
text/x-wiki
== Summary ==
Flag for the fictional country of Panasia
70eb52c8b19a6a5c9469d06d871e23f37b048430
Don Republic
0
1402
2813
2024-03-11T20:52:26Z
Kiwi331
15
Created page with "{{Nation |common_name= Don Republic |full_name= |local_name= Донская Рiспублiка Донская Республика |lifespan= |flag= Flag_of_Russia.svg |locator= |established= 1945 |motto= |capital= Novocherkassk |largest_city= Rostov-on-Don |population= N/A (1959) |government_type= Unitary parliamentary republic |area= |languages= Donian, Russian (unreformed) |c..."
wikitext
text/x-wiki
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка
Донская Республика
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1945
|motto=
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Unitary parliamentary republic
|area=
|languages= Donian, Russian (unreformed)
|currency= Donian Bashlya
}}
3d19cc58b712ac1957343a83e8149859b1c46863
2816
2813
2024-03-11T20:56:11Z
Kiwi331
15
wikitext
text/x-wiki
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка
Донская Республика
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1945
|motto=
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Unitary semi-presidential republic
|area=
|languages= Donian, Russian (unreformed)
|currency= Donian Bashlya
}}
a78ca7fbd24e9da0219a26da54c884947bf7f7ae
2817
2816
2024-03-11T20:57:29Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка
Донская Республика
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Unitary semi-presidential republic
|area=
|languages= Donian, Russian (unreformed)
|currency= Donian Bashlya
}}
3d47367f39c91cf687f604ed57326d9257a4ddec
2828
2817
2024-03-11T21:19:16Z
Martinxo51
5
wikitext
text/x-wiki
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Unitary semi-presidential republic
|area=
|languages= Donian, Russian (unreformed)
|currency= Donian Bashlya
}}
9fedadcb2444c434febaeabc3da2bacc7c59a8c6
2830
2828
2024-03-11T21:42:35Z
Kiwi331
15
wikitext
text/x-wiki
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Unitary semi-presidential republic
|area=
|languages= Donian, Russian (unreformed)
|currency= Donian Bashlya
}}
'''The Don Republic''' is a country located in Eastern Europe. It is bordered to the west and south by [[Ukraine]], and to the north and east by [[Russia]]. The Don Republic is one of the members of [[Mitteleuropa]].
9a88d6596294731d10f2ab7de4a6f57a0c51902d
Aden
0
1403
2814
2024-03-11T20:54:02Z
Dravidian Maggie Smith
8
Created page with "Aden is a province in India. It is surrounded by South Arabia on all sides except the South where it borders the Indian Ocean. {{Nation|common_name=Aden|local_name=عَدَنْ|established=1937|capital=Aden|largest_city=Aden|population=N/A|government_type=Lieutenant Governor's Province|area=192 km2 (74 sq mi)|languages=Arabic, Judeo-Yemeni Arabic, English, Somali, Marathi, Gujarati, Malayalam, Tamil, Hindustani|currency=Indian Rupee}}"
wikitext
text/x-wiki
Aden is a province in India. It is surrounded by South Arabia on all sides except the South where it borders the Indian Ocean.
{{Nation|common_name=Aden|local_name=عَدَنْ|established=1937|capital=Aden|largest_city=Aden|population=N/A|government_type=Lieutenant Governor's Province|area=192 km2 (74 sq mi)|languages=Arabic, Judeo-Yemeni Arabic, English, Somali, Marathi, Gujarati, Malayalam, Tamil, Hindustani|currency=Indian Rupee}}
d52bc50d0f7d9b4d128a9fc47f034d752f1c7048
Somaliland
0
1404
2823
2024-03-11T21:09:08Z
Dravidian Maggie Smith
8
Created page with "Somaliland, officially the Protectorate of Somaliland, is a dependency of [[India]] administered by [[Aden]]. It is bordered by the Gulf of Aden to the north, [[Italian East Africa]] to the east, south, and northwest, and Ethiopia to the southwest. {{Nation|common_name=Somaliland|full_name=Protectorate of Somaliland|local_name=Maxmiyadda Dhulka Soomaalida|established=1884|capital=Hargeisa|largest_city=Hargeisa|population=NA|government_type=Self-ruling sultanates under..."
wikitext
text/x-wiki
Somaliland, officially the Protectorate of Somaliland, is a dependency of [[India]] administered by [[Aden]]. It is bordered by the Gulf of Aden to the north, [[Italian East Africa]] to the east, south, and northwest, and Ethiopia to the southwest.
{{Nation|common_name=Somaliland|full_name=Protectorate of Somaliland|local_name=Maxmiyadda Dhulka Soomaalida|established=1884|capital=Hargeisa|largest_city=Hargeisa|population=NA|government_type=Self-ruling sultanates under Indian Protection (Governor)|area=137,270 km2 (53,000 sq mi)|languages=Somali, Arabic, English, Marathi, Malayalam, Hindustani|currency=Indian Rupee}}
f46a1de083a01e1e2388380c6b5305a693448365
Mexico
0
3
2832
2831
2024-03-11T21:56:53Z
TheMexicanHistorian
2
more lore
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
c2c5c59a7324a75c076a5f67e09b806c22f13cee
2835
2832
2024-03-11T22:27:58Z
TheMexicanHistorian
2
more lore
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The 19th Century ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June. ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
0bfda3990fe3560832156cdc8faf12fc719ab3c1
2837
2835
2024-03-11T22:44:21Z
TheMexicanHistorian
2
more lore
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The 19th Century ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June. ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
ee77d50f5bc92d89cd88f50efa7b2f5f49e4e321
2840
2837
2024-03-11T23:20:42Z
TheMexicanHistorian
2
more lore
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The 19th Century ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
d5594841f75e3901a38bf0c193a90aee8deceb23
2842
2840
2024-03-11T23:33:31Z
TheMexicanHistorian
2
more lore
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The 19th Century ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
0daeb66efeb325febce03989cb1fe15fd0e426cb
2843
2842
2024-03-11T23:56:15Z
TheMexicanHistorian
2
more lore
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
=== The End of the Liberal Dominance ===
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory.
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
291e0920525063b7d2237236386aa26b44fba7a2
2847
2843
2024-03-12T00:52:08Z
TheMexicanHistorian
2
more lore
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
=== The End of the Liberal Dominance ===
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
7f6696a43a08d717e92596916aadf2660b1141ad
2856
2847
2024-03-12T00:59:39Z
Uppercasedacorn
7
moving stuff up (hoping it doesnt delete anything)
wikitext
text/x-wiki
{{WIP_warning}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
=== The End of the Liberal Dominance ===
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
6fbe386b7c020e4e14bebdc47f5f0e6ceaf6b8ae
2874
2856
2024-03-12T17:47:30Z
TheMexicanHistorian
2
Reverted edit by [[Special:Contributions/Uppercasedacorn|Uppercasedacorn]] ([[User talk:Uppercasedacorn|talk]]) to last revision by [[User:TheMexicanHistorian|TheMexicanHistorian]]
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
=== The End of the Liberal Dominance ===
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|Retrato_del_excelentísimo_señor_don_José_María_Morelos.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|Mariano_Matamoros.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|Fotomau.jpg}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|Comonfort.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|Manuel_Mondragón.JPG}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Mhg_foto11.jpg}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
7f6696a43a08d717e92596916aadf2660b1141ad
2881
2874
2024-03-12T18:46:10Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
=== The End of the Liberal Dominance ===
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
903b03188bc9e3cdc45244d38ade69c62671294f
Russia
0
1395
2833
2822
2024-03-11T22:23:32Z
Kiwi331
15
wikitext
text/x-wiki
{{Nation
|common_name= Russia
|full_name= Russian Confederation
|local_name= Российская Конфедерация (Russian)
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1946
|motto=
|capital= Moscow
|largest_city= Moscow
|population= N/A (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= (Official): Russian, Tatar, Buryat-Mongolian, Saqa, Oirot, Komi-Zyryan
|currency= Ruble
}}
'''Russia''', officially the '''Russian Confederation''', is a country located in Eastern Europe and North Asia. It is bordered to the west by [[Norway]], [[Sweden]], the [[Baltic Federation]], [[Belarus]], [[Ukraine]] and the [[Don Republic]] and to the south by the [[Mountain Republic]], [[Qazaqstan]], [[China]], the [[Far Eastern Republic]] and [[Panasia]]. Russia is considered one of the world's [[Great Powers]].
== History ==
Placeholder
1eb7b5abe9b8b8b911b047ab476542657ee0f182
2834
2833
2024-03-11T22:24:26Z
Kiwi331
15
wikitext
text/x-wiki
{{Nation
|common_name= Russia
|full_name= Russian Confederation
|local_name= Российская Конфедерация (Russian)
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1946
|motto=
|capital= Moscow
|largest_city= Moscow
|population= N/A (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Russian, Tatar, Buryat-Mongolian, Saqa, Oirot, Komi-Zyryan (Official)
|currency= Ruble
}}
'''Russia''', officially the '''Russian Confederation''', is a country located in Eastern Europe and North Asia. It is bordered to the west by [[Norway]], [[Sweden]], the [[Baltic Federation]], [[Belarus]], [[Ukraine]] and the [[Don Republic]] and to the south by the [[Mountain Republic]], [[Qazaqstan]], [[China]], the [[Far Eastern Republic]] and [[Panasia]]. Russia is considered one of the world's [[Great Powers]].
== History ==
Placeholder
d64cf1a71443676a9d12adbcab7715fec4652a81
2836
2834
2024-03-11T22:29:09Z
Kiwi331
15
wikitext
text/x-wiki
{{Nation
|common_name= Russia
|full_name= Russian Confederation
|local_name= Российская Конфедерация (Russian)
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1946
|motto=
|capital= Moscow
|largest_city= Moscow
|population= N/A (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Russian (De-facto national language), Tatar, Buryat-Mongolian, Saqa, Oirot, Komi-Zyryan
|currency= Ruble
}}
'''Russia''', officially the '''Russian Confederation''', is a country located in Eastern Europe and North Asia. It is bordered to the west by [[Norway]], [[Sweden]], the [[Baltic Federation]], [[Belarus]], [[Ukraine]] and the [[Don Republic]] and to the south by the [[Mountain Republic]], [[Qazaqstan]], [[China]], the [[Far Eastern Republic]] and [[Panasia]]. Russia is considered one of the world's [[Great Powers]].
== History ==
Placeholder
266e9c84fa1f967986035bb2adde8cb51cbb4b8a
2851
2836
2024-03-12T00:56:51Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Russia
|full_name= Russian Confederation
|local_name= Российская Конфедерация (Russian)
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1946
|motto=
|capital= Moscow
|largest_city= Moscow
|population= N/A (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Russian (De-facto national language), Tatar, Buryat-Mongolian, Saqa, Oirot, Komi-Zyryan
|currency= Ruble
}}
'''Russia''', officially the '''Russian Confederation''', is a country located in Eastern Europe and North Asia. It is bordered to the west by [[Norway]], [[Sweden]], the [[Baltic Federation]], [[Belarus]], [[Ukraine]] and the [[Don Republic]] and to the south by the [[Mountain Republic]], [[Qazaqstan]], [[China]], the [[Far Eastern Republic]] and [[Panasia]]. Russia is considered one of the world's [[Great Powers]].
== History ==
Placeholder
b7418fa8337ea8420c49d822bd2f246faa3be6c0
2859
2851
2024-03-12T01:34:59Z
Kiwi331
15
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Russia
|full_name= Russian Confederation
|local_name= Российская Конфедерация (Russian)
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1946
|motto=Long live Russia, a free country! (Anthem)
|capital= Moscow
|largest_city= Moscow
|population= N/A (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Russian (De-facto national language), Tatar, Buryat-Mongolian, Saqa, Oirot, Komi-Zyryan
|currency= Ruble
}}
'''Russia''', officially the '''Russian Confederation''', is a country located in Eastern Europe and North Asia. It is bordered to the west by [[Norway]], [[Sweden]], the [[Baltic Federation]], [[Belarus]], [[Ukraine]] and the [[Don Republic]] and to the south by the [[Mountain Republic]], [[Qazaqstan]], [[China]], the [[Far Eastern Republic]] and [[Panasia]]. Russia is considered one of the world's [[Great Powers]].
== History ==
Placeholder
81c4374f9b3730e549e6ba0f611442d395b3d27a
2860
2859
2024-03-12T01:35:56Z
Kiwi331
15
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Russia
|full_name= Russian Confederation
|local_name= Российская Конфедерация (Russian)
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1946
|motto=Long live Russia, a free country! (Anthem)
|capital= Moscow
|largest_city= Moscow
|population= N/A (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Russian (De-facto national language), Tatar, Buryat-Mongolian, Saqa, Oirot, Komi
|currency= Ruble
}}
'''Russia''', officially the '''Russian Confederation''', is a country located in Eastern Europe and North Asia. It is bordered to the west by [[Norway]], [[Sweden]], the [[Baltic Federation]], [[Belarus]], [[Ukraine]] and the [[Don Republic]] and to the south by the [[Mountain Republic]], [[Qazaqstan]], [[China]], the [[Far Eastern Republic]] and [[Panasia]]. Russia is considered one of the world's [[Great Powers]].
== History ==
Placeholder
c97ff7d4eccc6d36c2302d318c29659489d68231
India
0
1394
2838
2824
2024-03-11T22:48:37Z
Martinxo51
5
wikitext
text/x-wiki
{{Nation
|common_name= India
|full_name= Union of India
|local_name=ہندوستان کا اتحاد (Hindustani)
|lifespan=
|flag= Flag_of_the_Union_of_India_(1894).png
|coat_of_arms= Coat_of_arms_of_India_RPTS.png
|locator=
|established= 1858
|motto="Heaven's Light Our Guide"
|capital= New Delhi
|largest_city= Calcutta
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= English, Hindustani, Bengali, Punjabi, Telugu, Tamil, Burmese, Marathi etc
|currency= Indian Rupee
}}
'''India''', officially the '''Union of India''', is a country primarily located in South Asia. It is bordered to the north by [[Nepal]], [[Bhutan]] and [[Tibet]], to the west by [[Afghanistan]] and [[Iran]] and to the east by [[China]] and [[Thailand]]. [[Aden]], a province, is bordered by [[South Arabia]], its dependency of [[Somaliland]] is bordered by [[Ethiopia]] and [[Italian East Africa]]. India is sometimes considered one of the world's [[Great Powers]] and experts predict it is set to overtake the [[United Kingdom]] as the symbolic head of the [[Commonwealth of Nations]].
== History ==
=== Sepoy Mutiny, 1857 ===
The Sepoy Mutiny was a major uprising against the East India Company in North and Central India. It was caused by popular dissatisfaction of the Company Raj, discontent among the Company's sepoys, and the ruling native princes. It began as a mutiny against the introduction of rifles with cartilage greased with pork and beef, which offends both Muslim and Hindu sepoys. It soon became a full-fledged rebellion across most of North India, with the public and native ruling elite joining the rebels.
The leaders of the rebels were Rani Lakshmibai, Tatya Tope, Nana Saheb, and the nominal Moghul emperor Bahadur Shah II (Who was proclaimed the Emperor of Hindustan). The rebellion was crushed, the British Parliament took direct control over the daily administration of British India, and Queen Victoria issued a statement promising racial equality.
The greatest effect of the Mutiny was the introduction of the Government of India Act, 1858, which laid the foundations of modern India. The promise of racial equality greatly increased the popularity and trust of the British Raj.
35aaaed098ebc129f422df43dff0dc3cb1acb444
2850
2838
2024-03-12T00:56:14Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= India
|full_name= Union of India
|local_name=ہندوستان کا اتحاد (Hindustani)
|lifespan=
|flag= Flag_of_the_Union_of_India_(1894).png
|coat_of_arms= Coat_of_arms_of_India_RPTS.png
|locator=
|established= 1858
|motto="Heaven's Light Our Guide"
|capital= New Delhi
|largest_city= Calcutta
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= English, Hindustani, Bengali, Punjabi, Telugu, Tamil, Burmese, Marathi etc
|currency= Indian Rupee
}}
'''India''', officially the '''Union of India''', is a country primarily located in South Asia. It is bordered to the north by [[Nepal]], [[Bhutan]] and [[Tibet]], to the west by [[Afghanistan]] and [[Iran]] and to the east by [[China]] and [[Thailand]]. [[Aden]], a province, is bordered by [[South Arabia]], its dependency of [[Somaliland]] is bordered by [[Ethiopia]] and [[Italian East Africa]]. India is sometimes considered one of the world's [[Great Powers]] and experts predict it is set to overtake the [[United Kingdom]] as the symbolic head of the [[Commonwealth of Nations]].
== History ==
=== Sepoy Mutiny, 1857 ===
The Sepoy Mutiny was a major uprising against the East India Company in North and Central India. It was caused by popular dissatisfaction of the Company Raj, discontent among the Company's sepoys, and the ruling native princes. It began as a mutiny against the introduction of rifles with cartilage greased with pork and beef, which offends both Muslim and Hindu sepoys. It soon became a full-fledged rebellion across most of North India, with the public and native ruling elite joining the rebels.
The leaders of the rebels were Rani Lakshmibai, Tatya Tope, Nana Saheb, and the nominal Moghul emperor Bahadur Shah II (Who was proclaimed the Emperor of Hindustan). The rebellion was crushed, the British Parliament took direct control over the daily administration of British India, and Queen Victoria issued a statement promising racial equality.
The greatest effect of the Mutiny was the introduction of the Government of India Act, 1858, which laid the foundations of modern India. The promise of racial equality greatly increased the popularity and trust of the British Raj.
39fe47b85e3cddb811b63fde235e71971cf307a1
2868
2850
2024-03-12T09:31:51Z
Dravidian Maggie Smith
8
/* History */ cotton revolution part 1
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= India
|full_name= Union of India
|local_name=ہندوستان کا اتحاد (Hindustani)
|lifespan=
|flag= Flag_of_the_Union_of_India_(1894).png
|coat_of_arms= Coat_of_arms_of_India_RPTS.png
|locator=
|established= 1858
|motto="Heaven's Light Our Guide"
|capital= New Delhi
|largest_city= Calcutta
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= English, Hindustani, Bengali, Punjabi, Telugu, Tamil, Burmese, Marathi etc
|currency= Indian Rupee
}}
'''India''', officially the '''Union of India''', is a country primarily located in South Asia. It is bordered to the north by [[Nepal]], [[Bhutan]] and [[Tibet]], to the west by [[Afghanistan]] and [[Iran]] and to the east by [[China]] and [[Thailand]]. [[Aden]], a province, is bordered by [[South Arabia]], its dependency of [[Somaliland]] is bordered by [[Ethiopia]] and [[Italian East Africa]]. India is sometimes considered one of the world's [[Great Powers]] and experts predict it is set to overtake the [[United Kingdom]] as the symbolic head of the [[Commonwealth of Nations]].
== History ==
=== Sepoy Mutiny, 1857 ===
The Sepoy Mutiny was a major uprising against the East India Company in North and Central India. It was caused by popular dissatisfaction of the Company Raj, discontent among the Company's sepoys, and the ruling native princes. It began as a mutiny against the introduction of rifles with cartilage greased with pork and beef, which offends both Muslim and Hindu sepoys. It soon became a full-fledged rebellion across most of North India, with the public and native ruling elite joining the rebels.
The leaders of the rebels were Rani Lakshmibai, Tatya Tope, Nana Saheb, and the nominal Moghul emperor Bahadur Shah II (Who was proclaimed the Emperor of Hindustan). The rebellion was crushed, the British Parliament took direct control over the daily administration of British India, and Queen Victoria issued a statement promising racial equality.
The greatest effect of the Mutiny was the introduction of the Government of India Act, 1858, which laid the foundations of modern India. The promise of racial equality greatly increased the popularity and trust of the British Raj.
=== The Cotton Revolution, 1872 ===
The Cotton Revolution was a series of anti-capitalist, anti-feudal, and agrarian revolts against the wealthy landowners, traders, merchants, zamins and moneylenders. It was very successful in its immediate objective of increasing the cotton prices which had fallen due to the excess supply from North America. The main chunk of the revolution was carried out by cotton and other cash crop farmers like indigo and jute. Central India was the epicentre of the revolution and it quickly spread to Bengal, United Provinces, Punjab, Hyderabad and Northern Madras.
4960b0c8301cdac89171475bdde9cfbbe844527e
Don Republic
0
1402
2839
2830
2024-03-11T23:13:24Z
Kiwi331
15
wikitext
text/x-wiki
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Parliamentary republic
|area=
|languages= Donian, Russian (unreformed)
|currency= Donian Bashlya
}}
'''The Don Republic''' is a country located in Eastern Europe. It is bordered to the west and south by [[Ukraine]], and to the north and east by [[Russia]]. The Don Republic is one of the members of [[Mitteleuropa]], and the only sovereign member of the [[International Cossack Association.]]
== History ==
=== First Russian Civil War ===
Following the Russian revolution of 1917, the Don host took control over the Don host oblast, and declared temporary independence from Russia, as it refused to recognize the revolutionary government. The host began to transition to its old pre-Petrine form of cossack democracy, with the great cossack circle's election of [[Alexei Kaledin]] as ataman, who became the first democratically elected ataman of the host in over two centuries. Kaledin's rule became known for the deepening divide between cossacks and non-cossacks on the Don, and his active campaign against all leftists and regional sympathizers to the revolution. Despite being a major battleground in the civil war, the Don host with the help of the south-Russian volunteer army was able to completely repel revolutionaries from its land, and became a part of the [[restored Russian Empire.]]
=== Post-Civil War ===
Following its re-absorption into the Russian Empire, the host was initially allowed to maintain its democratic traditions, that were re-established following the revolution. Following Kaledin's death in 1923, popular general [[Afrikan Bogaevsky]] was elected as the host's new ataman. Bogaevsky would however lose support as he was outshined by his main political rival [[Peter Krasnov]], who took an increasingly positive stance to the nationalist movement in Russia, which at the time had gripped onto large support among the cossack population on the Don. Kasnov defeated Bogaevsky in the 1933 election and became the host's new ataman.
=== Don Cossack Schism ===
aa148d77ebd84bb97236aee1c78be8afc41255b3
2841
2839
2024-03-11T23:29:39Z
Kiwi331
15
wikitext
text/x-wiki
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Parliamentary republic
|area=
|languages= Donian, Russian (Official)
Ukrainian, Kalmyk, German (Regional)
|currency= Donian Bashlya
}}
'''The Don Republic''' is a country located in Eastern Europe. It is bordered to the west and south by [[Ukraine]], and to the north and east by [[Russia]]. The Don Republic is one of the members of [[Mitteleuropa]], and the only sovereign member of the [[International Cossack Association.]]
== History ==
=== First Russian Civil War ===
Following the Russian revolution of 1917, the Don host took control over the Don host oblast, and declared temporary independence from Russia, as it refused to recognize the revolutionary government. The host began to transition to its old pre-Petrine form of cossack democracy, with the great cossack circle's election of [[Alexei Kaledin]] as ataman, who became the first democratically elected ataman of the host in over two centuries. Kaledin's rule became known for the deepening divide between cossacks and non-cossacks on the Don, and his active campaign against all leftists and regional sympathizers to the revolution. Despite being a major battleground in the civil war, the Don host with the help of the south-Russian volunteer army was able to completely repel revolutionaries from its land, and became a part of the [[restored Russian Empire.]]
=== Post-Civil War ===
Following its re-absorption into the Russian Empire, the host was initially allowed to maintain its democratic traditions, that were re-established following the revolution. Following Kaledin's death in 1923, popular general [[Afrikan Bogaevsky]] was elected as the host's new ataman. Bogaevsky would however lose support as he was outshined by his main political rival [[Peter Krasnov]], who took an increasingly positive stance to the nationalist movement in Russia, which at the time had gripped onto large support among the cossack population on the Don. Kasnov defeated Bogaevsky in the 1933 election and became the host's new ataman.
=== Don Cossack Schism ===
3ed0cffe7d411e053a547d249a16540c4bc3a98d
2855
2841
2024-03-12T00:58:12Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Parliamentary republic
|area=
|languages= Donian, Russian (Official)
Ukrainian, Kalmyk, German (Regional)
|currency= Donian Bashlya
}}
'''The Don Republic''' is a country located in Eastern Europe. It is bordered to the west and south by [[Ukraine]], and to the north and east by [[Russia]]. The Don Republic is one of the members of [[Mitteleuropa]], and the only sovereign member of the [[International Cossack Association.]]
== History ==
=== First Russian Civil War ===
Following the Russian revolution of 1917, the Don host took control over the Don host oblast, and declared temporary independence from Russia, as it refused to recognize the revolutionary government. The host began to transition to its old pre-Petrine form of cossack democracy, with the great cossack circle's election of [[Alexei Kaledin]] as ataman, who became the first democratically elected ataman of the host in over two centuries. Kaledin's rule became known for the deepening divide between cossacks and non-cossacks on the Don, and his active campaign against all leftists and regional sympathizers to the revolution. Despite being a major battleground in the civil war, the Don host with the help of the south-Russian volunteer army was able to completely repel revolutionaries from its land, and became a part of the [[restored Russian Empire.]]
=== Post-Civil War ===
Following its re-absorption into the Russian Empire, the host was initially allowed to maintain its democratic traditions, that were re-established following the revolution. Following Kaledin's death in 1923, popular general [[Afrikan Bogaevsky]] was elected as the host's new ataman. Bogaevsky would however lose support as he was outshined by his main political rival [[Peter Krasnov]], who took an increasingly positive stance to the nationalist movement in Russia, which at the time had gripped onto large support among the cossack population on the Don. Kasnov defeated Bogaevsky in the 1933 election and became the host's new ataman.
=== Don Cossack Schism ===
501668621cc69c4baa6e63373bd5263060aaa86d
2858
2855
2024-03-12T01:29:18Z
Kiwi331
15
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=The orthodox Quiet Don has stirred (Anthem)
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Parliamentary republic
|area=
|languages= Donian, Russian (Official)
Ukrainian, Kalmyk, German (Regional)
|currency= Donian Bashlya
}}
'''The Don Republic''' is a country located in Eastern Europe. It is bordered to the west and south by [[Ukraine]], and to the north and east by [[Russia]]. The Don Republic is one of the members of [[Mitteleuropa]], and the only sovereign member of the [[International Cossack Association.]]
== History ==
=== First Russian Civil War ===
Following the Russian revolution of 1917, the Don host took control over the Don host oblast, and declared temporary independence from Russia, as it refused to recognize the revolutionary government. The host began to transition to its old pre-Petrine form of cossack democracy, with the great cossack circle's election of [[Alexei Kaledin]] as ataman, who became the first democratically elected ataman of the host in over two centuries. Kaledin's rule became known for the deepening divide between cossacks and non-cossacks on the Don, and his active campaign against all leftists and regional sympathizers to the revolution. Despite being a major battleground in the civil war, the Don host with the help of the south-Russian volunteer army was able to completely repel revolutionaries from its land, and became a part of the [[restored Russian Empire.]]
=== Post-Civil War ===
Following its re-absorption into the Russian Empire, the host was initially allowed to maintain its democratic traditions, that were re-established following the revolution. Following Kaledin's death in 1923, popular general [[Afrikan Bogaevsky]] was elected as the host's new ataman. Bogaevsky would however lose support as he was outshined by his main political rival [[Peter Krasnov]], who took an increasingly positive stance to the nationalist movement in Russia, which at the time had gripped onto large support among the cossack population on the Don. Kasnov defeated Bogaevsky in the 1933 election and became the host's new ataman.
=== Don Cossack Schism ===
010d25328108d4662c69cdf01d3fb4782ca59eb4
2869
2858
2024-03-12T12:14:18Z
Kiwi331
15
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=The orthodox Quiet Don has stirred (Anthem)
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Parliamentary republic
|area=
|languages= Donian, Russian (Official)
Ukrainian, Kalmyk, German (Regional)
|currency= Donian Bashlya
}}
'''The Don Republic''' is a country located in Eastern Europe. It is bordered to the west and south by [[Ukraine]], and to the north and east by [[Russia]]. The Don Republic is one of the members of [[Mitteleuropa]], and the only sovereign member of the [[International Cossack Association.]]
== History ==
=== First Russian Revolution ===
Following the Russian revolution of 1917, the Don host took control over the Don host oblast, and declared temporary independence from Russia, as it refused to recognize the revolutionary government. The host began to transition to its old pre-Petrine form of cossack democracy, with the great cossack circle's election of [[Alexei Kaledin]] as ataman, who became the first democratically elected ataman of the host in over two centuries. Kaledin's rule became known for the deepening divide between cossacks and non-cossacks on the Don, and his active campaign against all leftists and regional sympathizers to the revolution. Despite being a major battleground in the revolution, the Don host with the help of the south-Russian volunteer army was able to completely repel revolutionaries from its land, and became a part of the [[restored Russian Empire.]]
=== Post-Civil War ===
Following its re-absorption into the Russian Empire, the host was initially allowed to maintain its democratic traditions, that were re-established following the revolution. Following Kaledin's death in 1923, popular general [[Afrikan Bogaevsky]] was elected as the host's new ataman. Bogaevsky would however lose support as he was outshined by his main political rival [[Peter Krasnov]], who took an increasingly positive stance to the nationalist movement in Russia, which at the time had gripped onto large support among the cossack population on the Don. Kasnov defeated Bogaevsky in the 1933 election and became the host's new ataman.
=== Don Cossack Schism ===
a01a0f37400594d57e07220bc1aeee6c8eefc640
2870
2869
2024-03-12T12:16:26Z
Kiwi331
15
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=The orthodox Quiet Don has stirred (Anthem)
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Parliamentary republic
|area=
|languages= Donian, Russian (Official)
Ukrainian, Kalmyk, German (Regional)
|currency= Donian Bashlya
}}
'''The Don Republic''' is a country located in Eastern Europe. It is bordered to the west and south by [[Ukraine]], and to the north and east by [[Russia]]. The Don Republic is one of the members of [[Mitteleuropa]], and the only sovereign member of the [[International Cossack Association.]]
== History ==
=== First Russian Revolution ===
Following the Russian revolution of 1917, the Don host took control over the Don host oblast, and declared temporary independence from Russia, as it refused to recognize the revolutionary government. The host began to transition to its old pre-Petrine form of cossack democracy, with the great cossack circle's election of [[Alexei Kaledin]] as ataman, who became the first democratically elected ataman of the host in over two centuries. Kaledin's rule became known for the deepening divide between cossacks and non-cossacks on the Don, and his active campaign against all leftists and regional sympathizers to the revolution. Despite being a major battleground in the revolution, the Don host with the help of the south-Russian volunteer army was able to completely repel revolutionaries from its land, and became a part of the [[restored Russian Empire.]]
=== Post-Revolution ===
Following its re-absorption into the Russian Empire, the host was initially allowed to maintain its democratic traditions, that were re-established following the revolution. Following Kaledin's death in 1923, popular general [[Afrikan Bogaevsky]] was elected as the host's new ataman. Bogaevsky would however lose support as he was outshined by his main political rival [[Peter Krasnov]], who took an increasingly positive stance to the ultra-nationalist and new [[Black-Hundredist]] movements in Russia, which at the time had gripped onto large support among the cossack population on the Don. Krasnov defeated Bogaevsky in the 1933 election and became the host's new ataman.
=== Don Cossack Schism ===
31a0ed5f615e58221aa3b7a5aaee994b88952871
2871
2870
2024-03-12T12:19:48Z
Kiwi331
15
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=The orthodox Quiet Don has stirred (Anthem)
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Parliamentary republic
|area=
|languages= Donian, Russian (Official)
Ukrainian, Kalmyk, German (Regional)
|currency= Donian Bashlya
}}
'''The Don Republic''' is a country located in Eastern Europe. It is bordered to the west and south by [[Ukraine]], and to the north and east by [[Russia]]. The Don Republic is one of the members of [[Mitteleuropa]], and the only sovereign member of the [[International Cossack Association.]]
== History ==
=== Russian Revolution of 1917 ===
Following the Russian revolution of 1917, the Don host took control over the Don host oblast, and declared temporary independence from Russia, as it refused to recognize the revolutionary government. The host began to transition to its old pre-Petrine form of cossack democracy, with the great cossack circle's election of [[Alexei Kaledin]] as ataman, who became the first democratically elected ataman of the host in over two centuries. Kaledin's rule became known for the deepening divide between cossacks and non-cossacks on the Don, and his active campaign against all leftists and regional sympathizers to the revolution. Despite being a major battleground in the revolution, the Don host with the help of the south-Russian volunteer army was able to completely repel revolutionaries from its land, and became a part of the [[restored Russian Empire.]]
=== Post-Revolution ===
Following its re-absorption into the Russian Empire, the host was initially allowed to maintain its democratic traditions, that were re-established following the revolution. Following Kaledin's death in 1923, popular general [[Afrikan Bogaevsky]] was elected as the host's new ataman. Bogaevsky would however lose support as he was outshined by his main political rival [[Peter Krasnov]], who took an increasingly positive stance to the ultra-nationalist and new [[Black-Hundredist]] movements in Russia, which at the time had gripped onto large support among the cossack population on the Don. Krasnov defeated Bogaevsky in the 1933 election and became the host's new ataman.
=== Don Cossack Schism ===
9ef54e2a9e4b18443a05868ab89b2cdea7b4a503
2872
2871
2024-03-12T12:34:21Z
Kiwi331
15
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=The orthodox Quiet Don has stirred (Anthem)
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Parliamentary republic
|area=
|languages= Donian, Russian (Official)
Ukrainian, Kalmyk, German (Regional)
|currency= Donian Bashlya
}}
'''The Don Republic''' is a country located in Eastern Europe. It is bordered to the west and south by [[Ukraine]], and to the north and east by [[Russia]]. The Don Republic is one of the members of [[Mitteleuropa]], and the only sovereign member of the [[International Cossack Association.]]
== History ==
=== Russian Revolution of 1917 ===
Following the [[Russian revolution of 1917]], the Don host took control over the Don host oblast, and declared temporary independence from Russia, as it refused to recognize the revolutionary government. The host began to transition to its old pre-Petrine form of cossack democracy, with the great cossack circle's election of [[Alexei Kaledin]] as ataman, who became the first democratically elected ataman of the host in over two centuries. Kaledin's rule became known for the deepening divide between cossacks and non-cossacks on the Don, and his active campaign against all leftists and regional sympathizers to the revolution. Despite being a major battleground in the revolution, the Don host with the help of the south-Russian volunteer army was able to completely repel revolutionaries from its land, and became a part of the [[restored Russian Empire.]]
=== Post-Revolution ===
Following its re-absorption into the Russian Empire, the host was initially allowed to maintain its democratic traditions, that were re-established following the revolution. Following Kaledin's death in 1923, popular general [[Afrikan Bogaevsky]] was elected as the host's new ataman. Bogaevsky would however lose support as he was outshined by his main political rival [[Peter Krasnov]], who took an increasingly positive stance to the ultra-nationalist and new [[Black-Hundredist]] movements in Russia, which at the time had gripped onto large support among the cossack population on the Don. Krasnov defeated Bogaevsky in the 1933 election and became the host's new ataman.
=== Don Cossack Schism ===
5d34f2e243019eba1be818066313a4ee9d3e13c8
2873
2872
2024-03-12T12:36:01Z
Kiwi331
15
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=The orthodox Quiet Don has stirred (Anthem)
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Parliamentary republic
|area=
|languages= Donian, Russian (Official)
Ukrainian, Kalmyk, German (Regional)
|currency= Donian Bashlya
}}
'''The Don Republic''' is a country located in Eastern Europe. It is bordered to the west and south by [[Ukraine]], and to the north and east by [[Russia]]. The Don Republic is one of the members of [[Mitteleuropa]], and the only sovereign member of the [[International Cossack Association.]]
== History ==
=== Russian Revolution of 1917 ===
Following the [[Russian revolution of 1917|Russian Revolution of 1917]], the Don host took control over the Don host oblast, and declared temporary independence from Russia, as it refused to recognize the revolutionary government. The host began to transition to its old pre-Petrine form of cossack democracy, with the great cossack circle's election of [[Alexei Kaledin]] as ataman, who became the first democratically elected ataman of the host in over two centuries. Kaledin's rule became known for the deepening divide between cossacks and non-cossacks on the Don, and his active campaign against all leftists and regional sympathizers to the revolution. Despite being a major battleground in the revolution, the Don host with the help of the south-Russian volunteer army was able to completely repel revolutionaries from its land, and became a part of the [[restored Russian Empire.]]
=== Post-Revolution ===
Following its re-absorption into the Russian Empire, the host was initially allowed to maintain its democratic traditions, that were re-established following the revolution. Following Kaledin's death in 1923, popular general [[Afrikan Bogaevsky]] was elected as the host's new ataman. Bogaevsky would however lose support as he was outshined by his main political rival [[Peter Krasnov]], who took an increasingly positive stance to the ultra-nationalist and new [[Black-Hundredist]] movements in Russia, which at the time had gripped onto large support among the cossack population on the Don. Krasnov defeated Bogaevsky in the 1933 election and became the host's new ataman.
=== Don Cossack Schism ===
bdb822cefbd2bdce997150d248ebe0d811dc3b9f
File:RPTS Mexico Wiki Map 1959 v1.png
6
1405
2844
2024-03-12T00:04:56Z
TheMexicanHistorian
2
A map of rpts mexico in 1959
wikitext
text/x-wiki
== Summary ==
A map of rpts mexico in 1959
f51ec676b11b6e0ec2f87365515ae3a53ab50cd5
Panasia
0
2
2845
2810
2024-03-12T00:27:28Z
TheMexicanHistorian
2
more lore
wikitext
text/x-wiki
{{Nation
|common_name= Panasia
|full_name= United People's Pan-Asian Republics
|local_name=
|lifespan=
|flag= RPTS_Panasian_Flag.png
|locator=
|established= 1921
|motto=
|capital= Osaka, Hanseong and Tai-Pak
|largest_city= Hanseong
|population= N/A (1959)
|government_type= Federal Dominant-Party Parliamentary Socialist Republic
|area=
|languages= Japanese, Korean, Chinese, Ainu and various minor languages.
|currency= Yen
}}
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' , '''Pan-Asia''' or the '''UPPR''', is a country in East Asia. It is bordered to the north by [[China]] and the [[Far Eastern Republic]]. Panasia is considered one of the world's [[Great Powers]] and is a founding member of the [[Co-Prosperity Sphere]].
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the [https://en.wikipedia.org/wiki/Opium_Wars Opium Wars] between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.P.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
During the Interwar years the Union would prosper as reconstruction and industrialization in Korea led to a small economic boom. Due to their continued successes and ties to every important syndicate and cooperative company, the Eastern Socialist Party (founded by Tarui Tokichi) became deeply entrenched in the government of Panasia and opposition parties became increasingly weaker, marking their definitive transition into a "Dominant Party Democracy".
Internationally many significant developments would occur: In 1926 the "Co-Prosperity Sphere" was formed as a military and economic alliance with the goal of "promoting asian harmony and economic prosperity" and defending against imperialism. The founding members were Panasia and Indochina. In China, the death of Sun Yat Sen split the Kuomintang along ideological lines, with the Left KMT coming out on top and alienating the right wing, culminating in [[Chiang Kai Shek]]'s rebellion of 1927 which Panasia helped the legitimate government crush, bringing them even closer together and eventually leading to China joining the Co-Prosperity Sphere. During this period Panasia would enjoy close relations with the Panama Pact, with many intellectuals within the Pact seeing them as an asian extension of Bolivar's dream and Pan-asian ideologues declaring the Pact as allies in the fight against imperialism.
9bb0d110f71e11f1ee1800f13d050a3cfdc45c47
2848
2845
2024-03-12T00:53:36Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Panasia
|full_name= United People's Pan-Asian Republics
|local_name=
|lifespan=
|flag= RPTS_Panasian_Flag.png
|locator=
|established= 1921
|motto=
|capital= Osaka, Hanseong and Tai-Pak
|largest_city= Hanseong
|population= N/A (1959)
|government_type= Federal Dominant-Party Parliamentary Socialist Republic
|area=
|languages= Japanese, Korean, Chinese, Ainu and various minor languages.
|currency= Yen
}}
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' , '''Pan-Asia''' or the '''UPPR''', is a country in East Asia. It is bordered to the north by [[China]] and the [[Far Eastern Republic]]. Panasia is considered one of the world's [[Great Powers]] and is a founding member of the [[Co-Prosperity Sphere]].
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the [https://en.wikipedia.org/wiki/Opium_Wars Opium Wars] between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.P.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
During the Interwar years the Union would prosper as reconstruction and industrialization in Korea led to a small economic boom. Due to their continued successes and ties to every important syndicate and cooperative company, the Eastern Socialist Party (founded by Tarui Tokichi) became deeply entrenched in the government of Panasia and opposition parties became increasingly weaker, marking their definitive transition into a "Dominant Party Democracy".
Internationally many significant developments would occur: In 1926 the "Co-Prosperity Sphere" was formed as a military and economic alliance with the goal of "promoting asian harmony and economic prosperity" and defending against imperialism. The founding members were Panasia and Indochina. In China, the death of Sun Yat Sen split the Kuomintang along ideological lines, with the Left KMT coming out on top and alienating the right wing, culminating in [[Chiang Kai Shek]]'s rebellion of 1927 which Panasia helped the legitimate government crush, bringing them even closer together and eventually leading to China joining the Co-Prosperity Sphere. During this period Panasia would enjoy close relations with the Panama Pact, with many intellectuals within the Pact seeing them as an asian extension of Bolivar's dream and Pan-asian ideologues declaring the Pact as allies in the fight against imperialism.
8c66c0d3504705c449ddf836b31319e669a742da
Template:WIP warning
10
7
2846
22
2024-03-12T00:47:35Z
Uppercasedacorn
7
wikitext
text/x-wiki
{| style="width: 80%; margin: 0 0 0 10%; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; border-left: 10px solid #f28500;"
|-
| style="width: 52px; padding: 2px 0px 2px 0.5em; text-align: center;" | [[Image:Ambox important.svg|40px]]
| style="padding: 0.25em 0.5em;" | '''Warning: this page's content is a work in progress.'''
|}
4a639e620dfbf49ed5ce1aad7bdbda64528da5e1
Colombia
0
1393
2849
2818
2024-03-12T00:55:53Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Colombia
|full_name= Republic of Colombia
|local_name= República de Colombia (Spanish)
|lifespan=
|flag= Flag_of_Gran_Colombia.svg
|locator=
|established= 1817
|motto= Union and Freedom
|capital= Bogota
|largest_city= Bogota
|population= N/A (1959)
|government_type= Federal Presidential Republic
|area=
|languages= Spanish
|currency= Peso
}}
'''Colombia''', officially the '''Republic of Colombia''', is a country primarily located in South America. It is bordered to the north by [[Mexico]] to the south by [[Peru]] and [[Brazil]], to the east by the [[West Indies Federation]] and by [[Haiti]] to the west in the island of Hispaniola. Colombia is a founding member of the [[Panama Pact]] and the [[Pan-American Union]].
a3ea68fad83aff6e2c684d7cba26c3760273cc7d
Germany
0
1398
2852
2825
2024-03-12T00:57:18Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Germany
|full_name= German Empire
|local_name= Deutsches Reich (German)
|lifespan=
|flag= Flag_of_Germany_(1867–1918).svg
|locator=
|established= 1871
|motto= Gott mit uns
|capital= Berlin
|largest_city= Berlin
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= German
|currency= Mark
}}
'''Germany''', officially the '''German Empire''', is a country primarily located in Europe. It is bordered to the north by [[Denmark]], to the west by the [[Netherlands]], [[Belgium]] and [[France]], to the south by [[Switzerland]] and [[Danubia]] and to the east by the [[Baltic Federation]], [[Lithuania]] and [[Poland]]. Germany is considered one of the world's [[Great Powers]] and is a founding member of [[Mitteleuropa]].
== History ==
Placeholder
d4f9e698f813039cc4156d35fa493a5d0a470683
Ireland
0
1399
2853
2826
2024-03-12T00:57:36Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Ireland
|full_name=
|local_name= Éire (Irish)
|lifespan=
|flag= Flag_of_Ireland.svg
|locator=
|established= 1932
|motto=
|capital= Dublin
|largest_city= Dublin
|population= N/A (1959)
|government_type= Unitary Parliamentary Republic
|area=
|languages= English and Irish
|currency= Pound?
}}
'''Ireland''', also known as the '''Republic of Ireland''', is a country located in Europe. It is bordered to the north by the [[United Kingdom]].
== History ==
Placeholder
cd7d14a100c97dffc21510bde70cb4daab2875b5
United Kingdom
0
1400
2854
2827
2024-03-12T00:57:55Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= United Kingdom
|full_name= United Kingdom of Great Britain, Northern Ireland and Malta
|local_name=
|lifespan=
|flag= Flag_of_the_United_Kingdom_(1-2).svg
|locator=
|established= 1603
|motto=
|capital= London
|largest_city= London
|population= N/A (1959)
|government_type= Unitary Parliamentary Constitutional Monarchy
|area=
|languages= English
|currency= Pound Sterling
}}
The '''United Kingdom of Great Britain, Northern Ireland and Malta''', commonly known as the '''United Kingdom''', is a country primarily located in Europe. It is bordered to the west by [[Ireland]]. the United Kingdom is considered one of the world's [[Great Powers]] and the ceremonial head of the [[Commonwealth of Nations]], however, their standing as a great power has recently been challenged by experts following the [[Suez Crisis]].
d905ee88d497bef1afe56af43b48c37cd279699c
Template:Infobox Country
10
5
2857
18
2024-03-12T01:11:29Z
Uppercasedacorn
7
Changed the template :3
wikitext
text/x-wiki
{{Country
|common_name=
|full_name=
|local_name=
|lifespan=
|flag=
|motto=
|anthem=
|locator=
|capital=
|largest_city=
|languages=
|demonym=
|government_type=
|established=
|area=
|population=
|currency=
}}
7a09f600e67d89a255b0bd1f70c110a2fd475e89
Brazil
0
1406
2861
2024-03-12T02:15:22Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
Created page with "{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}..."
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fifth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small>
aa60d6c76476884cebece04e1a2b28554b866935
2863
2861
2024-03-12T02:52:41Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
Typo: As Brazil will not apply the 1911 orthographic agreement with Portugal, the country name will not change the z to s.
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fifth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small>
4b37308a6b6368e51fefbe49a7a52c9572150adc
2864
2863
2024-03-12T02:59:14Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
Instead of fifth, Brazil is the fourth largest country in the world due the lack of the US
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small>
c35c074b184d76bed4c63eda6047d5c065531dee
2865
2864
2024-03-12T03:12:24Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
cb78c0a25a0d62077a354a73be3ad47ce18bee33
2866
2865
2024-03-12T03:24:44Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
== Government and politics ==
''Main articles: [[Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of the Brazilian Empire]]''
a43fc6b7c34f58edf2bed4bd78b3693e42dfe068
Main Page
0
1
2862
2815
2024-03-12T02:32:32Z
Martinxo51
5
wikitext
text/x-wiki
__NOTOC__
== Welcome to {{SITENAME}}! ==
'''Revolution Plowed the Sea (RPTS)''' is an alternate history project that explores a world where Latin America is more stable and developed and all the consequences that brings to the rest of the world.
In this wiki you will be able to find pages detailing the lore of various countries, events and people in this timeline.
Pages created so far:
[[Mexico]]
[[Brazil]]
[[Panasia]]
[[Colombia]]
[[India]]
[[Russia]]
[[Germany]]
[[Ireland]]
[[United Kingdom]]
[[Don Republic]]
eb6e446fbac73b30c26c2246c1fd7abc56158ef9
Somaliland
0
1404
2867
2823
2024-03-12T09:25:39Z
Dravidian Maggie Smith
8
wikitext
text/x-wiki
Somaliland, officially the Protectorate of Somaliland, is a dependency of [[India]] administered by [[Aden]]. It is bordered by the Gulf of Aden to the north, [[Italian East Africa]] to the east, south, and northwest, and Ethiopia to the southwest.
{{Nation|common_name=Somaliland|full_name=Protectorate of Somaliland|local_name=Maxmiyadda Dhulka Soomaalida|established=1884|capital=Hargeisa|largest_city=Hargeisa|population=NA|government_type=Self-ruling sultanates under Indian Protection (Governor)|area=137,270 km2 (53,000 sq mi)|languages=Somali, Arabic, English, Marathi, Malayalam, Hindustani|currency=Indian Rupee}}
d072dffba844ed19531ac5a4abf34cfb99df71d4
File:Henriquez Guzman Miguel 2.png
6
1407
2875
2024-03-12T18:17:50Z
TheMexicanHistorian
2
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
File:RPTS Mondragon portrait.png
6
1408
2876
2024-03-12T18:18:25Z
TheMexicanHistorian
2
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
File:RPTS Matamoros portrait.png
6
1409
2877
2024-03-12T18:29:10Z
TheMexicanHistorian
2
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
File:RPTS Morelos Portrait.png
6
1410
2878
2024-03-12T18:30:08Z
TheMexicanHistorian
2
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
File:RPTS de la rosa portrait.png
6
1411
2879
2024-03-12T18:43:56Z
TheMexicanHistorian
2
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
File:RPTS Comonfort portrait.png
6
1412
2880
2024-03-12T18:45:15Z
TheMexicanHistorian
2
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
Mexico
0
3
2882
2881
2024-03-12T18:48:31Z
TheMexicanHistorian
2
/* The End of the Liberal Dominance */
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
=== The End of the Liberal Dominance ===
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
3ee480eeab9ac4c684d9027a9eaa7b15923fd8d5
India
0
1394
2883
2868
2024-03-12T19:18:51Z
Dravidian Maggie Smith
8
cotton revolution part 2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= India
|full_name= Union of India
|local_name=ہندوستان کا اتحاد (Hindustani)
|lifespan=
|flag= Flag_of_the_Union_of_India_(1894).png
|coat_of_arms= Coat_of_arms_of_India_RPTS.png
|locator=
|established= 1858
|motto="Heaven's Light Our Guide"
|capital= New Delhi
|largest_city= Calcutta
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= English, Hindustani, Bengali, Punjabi, Telugu, Tamil, Burmese, Marathi etc
|currency= Indian Rupee
}}
'''India''', officially the '''Union of India''', is a country primarily located in South Asia. It is bordered to the north by [[Nepal]], [[Bhutan]] and [[Tibet]], to the west by [[Afghanistan]] and [[Iran]] and to the east by [[China]] and [[Thailand]]. [[Aden]], a province, is bordered by [[South Arabia]], its dependency of [[Somaliland]] is bordered by [[Ethiopia]] and [[Italian East Africa]]. India is sometimes considered one of the world's [[Great Powers]] and experts predict it is set to overtake the [[United Kingdom]] as the symbolic head of the [[Commonwealth of Nations]].
== History ==
=== Sepoy Mutiny, 1857 ===
The Sepoy Mutiny was a major uprising against the East India Company in North and Central India. It was caused by popular dissatisfaction of the Company Raj, discontent among the Company's sepoys, and the ruling native princes. It began as a mutiny against the introduction of rifles with cartilage greased with pork and beef, which offends both Muslim and Hindu sepoys. It soon became a full-fledged rebellion across most of North India, with the public and native ruling elite joining the rebels.
The leaders of the rebels were Rani Lakshmibai, Tatya Tope, Nana Saheb, and the nominal Moghul emperor Bahadur Shah II (Who was proclaimed the Emperor of Hindustan). The rebellion was crushed, the British Parliament took direct control over the daily administration of British India, and Queen Victoria issued a statement promising racial equality.
The greatest effect of the Mutiny was the introduction of the Government of India Act, 1858, which laid the foundations of modern India. The promise of racial equality greatly increased the popularity and trust of the British Raj.
=== The Cotton Revolution, 1872 ===
The Cotton Revolution was a series of anti-capitalist, anti-feudal, and agrarian revolts against the wealthy landowners, traders, merchants, zamins and moneylenders. It was very successful in its immediate objective of increasing the cotton prices which had fallen due to the excess supply from North America. The main chunk of the revolution was carried out by cotton and other cash crop farmers like indigo and jute. Central India was the epicentre of the revolution and it quickly spread to Bengal, Uthe nited Provinces, Punjab, Hyderabad ,and Northern Madras.
The Revolution resulted in Queen Victoria's proclamation being realised on a large and whole-scale level, which started with the Government of India Act, 1877, which decentralised power from Calcutta's hands back to Madras and Bombay. This then had the consequence of Indians entering the legislature in huge numbers, especially in the three presidencies. The revolution also resulted in the first All-India trade union being formed in Madras under the leadership of Badruddin Tyabji, the All India Trade Union Association. The Cotton Revolution and the GOI Act, 1877
4bf95b27a8aaf49899c83348988d0766a25d9654
Don Republic
0
1402
2884
2873
2024-03-13T00:05:20Z
Kiwi331
15
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=The orthodox Quiet Don has stirred (Anthem)
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Parliamentary republic
|area=
|languages= Donian, Russian (Official)
Ukrainian, Kalmyk, German (Regional)
|currency= Donian Bashlya
}}
'''The Don Republic''' is a country located in Eastern Europe. It is bordered to the west and south by [[Ukraine]], and to the north and east by [[Russia]]. The Don Republic is one of the members of [[Mitteleuropa]], and the only sovereign member of the [[International Cossack Association.]]
== History ==
=== Russian Revolution of 1918 ===
Following the [[Russian revolution of 1917|Russian Revolution of 1918]], the Don host took control over the Don host oblast, and proclaimed greater autonomy, while siding firmly with the tsar. The host began to transition to its old pre-Petrine form of cossack democracy, with the great cossack circle's election of [[Alexei Kaledin]] as ataman, who became the first democratically elected ataman of the host in over two centuries. Kaledin's rule became known for the deepening divide between cossacks and non-cossacks on the Don, and his active campaign against all leftists and regional sympathizers to the revolution. Despite being a major battleground in the revolution, the Don host with the help of the south-Russian volunteer army was able to completely repel revolutionaries from its land. The Don cossacks played an important role in the empire’s continued suppression of the revolution.
=== Post-Revolution ===
Following its re-absorption into the Russian Empire, the host was initially allowed to maintain its democratic traditions, that were re-established following the revolution. Following Kaledin's death in 1923, popular general [[Afrikan Bogaevsky]] was elected as the host's new ataman. Bogaevsky would however lose support as he was outshined by his main political rival [[Peter Krasnov]], who took an increasingly positive stance to the ultra-nationalist and new [[Black-Hundredist]] movements in Russia, which at the time had gripped onto large support among the cossack population on the Don. Krasnov defeated Bogaevsky in the 1933 election and became the host's new ataman.
=== Don Cossack Schism ===
f3bccbc51406c41282223ac36abfaeae31bc0893
2885
2884
2024-03-13T00:07:44Z
Kiwi331
15
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Don Republic
|full_name=
|local_name= Донская Рiспублiка (Don Gutar)
Донская Республика (Russian)
|lifespan=
|flag= Flag_of_Don_Cossacks.svg
|locator=
|established= 1945
|motto=The orthodox Quiet Don has stirred (Anthem)
|capital= Novocherkassk
|largest_city= Rostov-on-Don
|population= N/A (1959)
|government_type= Parliamentary republic
|area=
|languages= Donian, Russian (Official)
Ukrainian, Kalmyk, German (Regional)
|currency= Donian Bashlya
}}
'''The Don Republic''' is a country located in Eastern Europe. It is bordered to the west and south by [[Ukraine]], and to the north and east by [[Russia]]. The Don Republic is one of the members of [[Mitteleuropa]], and the only sovereign member of the [[International Cossack Association.]]
== History ==
=== Russian Revolution of 1918 ===
Following the [[Russian revolution of 1917|Russian Revolution of 1918]], the Don host took control over the Don host oblast, and proclaimed greater autonomy, while siding firmly with the tsar. The host began to transition to its old pre-Petrine form of cossack democracy, with the great cossack circle's election of [[Alexei Kaledin]] as ataman, who became the first democratically elected ataman of the host in over two centuries. Kaledin's rule became known for the deepening divide between cossacks and non-cossacks on the Don, and his active campaign against all leftists and regional sympathizers to the revolution. Despite being a major battleground in the revolution, the Don host with the help of the south-Russian volunteer army was able to completely repel revolutionaries from its land. The Don cossacks played an important role in the empire’s continued suppression of the revolution.
=== Post-Revolution ===
Following the end of the revolution and during the rule of [[Tsar Michael II]], the host was initially allowed to maintain its democratic traditions, that were re-established following the revolution. Following Kaledin's death in 1923, popular general [[Afrikan Bogaevsky]] was elected as the host's new ataman. Bogaevsky would however lose support as he was outshined by his main political rival [[Peter Krasnov]], who took an increasingly positive stance to the ultra-nationalist and the new wave of [[Black-Hundredist]] movements in Russia, which at the time had gripped onto large support among the cossack population on the Don. Krasnov defeated Bogaevsky in the 1933 election and became the host's new ataman.
=== Don Cossack Schism ===
2fc80fc7abe3f0d086b5da031fb1b5a300998c8a
Brazil
0
1406
2886
2866
2024-03-13T01:43:27Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small>
== Etymology ==
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
== Geography ==
== Government and politics ==
''Main articles: [[Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of the Brazilian Empire]]''
== Demographics ==
== Culture ==
== See also ==
== Notes ==
eff86b07c85ab7c6f3498a5acb958aeae863dd08
2887
2886
2024-03-13T02:01:02Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
== Geography ==
== Government and politics ==
''Main articles: [[Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of the Brazilian Empire]]''
== Demographics ==
== Culture ==
== See also ==
== Notes ==
d43be48255b3285fc19198071cafdccab343f739
2888
2887
2024-03-13T02:12:44Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
== Geography ==
== Government and politics ==
''Main articles: [[Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of Brazil]]''
== Demographics ==
== Culture ==
== See also ==
== Notes ==
e68b042ebefedc3dc9e54936981280d978fac75b
Template:Infobox election
10
1413
2890
2889
2024-03-13T05:24:02Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#invoke:infobox|infoboxTemplate
| child = {{{child|{{{embed|}}}}}}
| bodyclass = {{#if:{{{election_date|}}}|vevent|}}
| bodystyle = line-height: 1.5em; {{#if:<!--
-->{{{map_image|}}}{{{map|}}}{{{map2_image|}}}{{{map2|}}}{{{map3_image|}}}{{{map3|}}}{{{map4_image|}}}{{{map4|}}}<!--
-->|width:{{max
| 1 = {{#if:{{{map_image|}}}{{{map|}}}|{{#invoke:string|replace|{{if empty|{{{map_size|}}}|300px}}|px%s*$||plain=false}}}}
| 2 = {{#if:{{{map2_image|}}}{{{map2|}}}|{{#invoke:string|replace|{{if empty|{{{map2_size|}}}|300px}}|px%s*$||plain=false}}}}
| 3 = {{#if:{{{map3_image|}}}{{{map3|}}}|{{#invoke:string|replace|{{if empty|{{{map3_size|}}}|300px}}|px%s*$||plain=false}}}}
| 4 = {{#if:{{{map4_image|}}}{{{map4|}}}|{{#invoke:string|replace|{{if empty|{{{map4_size|}}}|300px}}|px%s*$||plain=false}}}}
}}px}}
| titleclass = summary
| titlestyle = font-size: 125%;
| title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{election_name|}}}|<div style="background-color:#ddd; font-size:120%; font-weight:bold">{{{election_name}}}</div>}}|{{{election_name|{{PAGENAME}}}}}}}
| datastyle = text-align:center;
| labelstyle = width:5em;white-space:nowrap;
| subheaderstyle = line-height:130%;
| subheader1 = {{#if:{{{flag_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}}|size=50px|alt=|link=}}<hr />
|{{#if:{{{country|}}}
|{{#ifexist:Template:Country data {{{country}}}|{{flagdeco|{{{country}}}|variant={{{flag_year|}}}|size=50px|noredlink={{main other||yes}}}}<hr />}}
}}
}}
| subheader2 = {{#if:{{{previous_year|}}}{{{election_date|}}}{{{next_year|}}}|
{{succession links|leftstyle=width:20%;|centerstyle = width:60%;|rightstyle=width:20%;
| left ={{#if:{{{previous_year|}}}|{{#ifexist:{{{previous_election|}}}|[[{{{previous_election}}}|{{{previous_year}}}]]|{{{previous_year}}}}}}}
| center = {{#if:{{{election_date|}}}|'''{{{election_date}}}'''}}
| right = {{#if:{{{next_year|}}}|{{#ifexist:{{{next_election|}}}|[[{{{next_election}}}|{{{next_year}}}]]|{{{next_year}}}}}}}
}}
}}
| subheader3 =
{{#if:{{{outgoing_members|{{{previous_mps|}}}}}}{{{elected_members|{{{elected_mps|}}}}}}|
{{succession links|leftstyle=width:40%; text-align:center;|rightstyle=width:40%; text-align:center;
| left = {{#if:{{{outgoing_members|{{{previous_mps|}}}}}}|{{#ifexist:{{{outgoing_members|{{{previous_mps|}}}}}}|[[{{{outgoing_members|{{{previous_mps|}}}}}}|outgoing members]]|{{{outgoing_members|{{{previous_mps|}}}}}}}}}}
| right = {{#if:{{{elected_members|{{{elected_mps|}}}}}}|{{#ifexist:{{{elected_members|{{{elected_mps|}}}}}}|[[{{{elected_members|{{{elected_mps|}}}}}}|elected members]]|{{{elected_members|{{{elected_mps|}}}}}}}}|}}
}}
}}
| headerstyle = font-weight:normal;
| header1 =
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential = {{#if:{{{votes_for_election|}}}|<hr />{{{votes_for_election}}}{{#if:{{{needed_votes|}}}|<br />{{{needed_votes}}} votes needed to win}}
}}
| parliamentary
| Parliamentary
| legislative
| Legislative
| by-election
| By-election = {{#if:{{{seats_for_election|}}}|<hr />{{{seats_for_election}}}{{#if:{{{majority_seats|}}}|<br />{{{majority_seats}}} seats needed for a majority}}
}}
| #default =
}}
| data2 = {{#if:{{{opinion_polls|}}}| [[{{{opinion_polls}}}|Opinion polls]] }}
| label3 = Registered
| data3 = {{{registered|}}}
| label4 = Turnout
| data4 = {{{turnout|}}}
| label5 = Votes counted
| data5 = {{#if:{{{votes_counted|}}}|{{center|{{Percentage bar|{{{votes_counted}}}|{{{votes_counted}}}%|1BCE0E}}}}as of '''{{{last_update}}} {{{time_zone}}}''' }}
| label6 = Reporting
| data6 = {{#if:{{{reporting|}}}|{{center|{{Percentage bar|{{{reporting}}}|{{{reporting}}}%|1BCE0E}}}}as of '''{{{last_update}}} {{{time_zone}}}''' }}
| label7 = Declared
| data7 = {{#if:{{{declared|}}}|{{center|{{Percentage bar|{{{declared}}}|{{{declared}}}%|1BCE0E}}}}as of '''{{{last_update}}} {{{time_zone}}}''' }}
| data10 = <nowiki />
{{(!}} style="background:transparent; width:100%;"
{{!}}-
{{Infobox election/row
| type = {{{type|}}}
| divider = <!-- none -->
| filler = {{{filler|}}}
| col3 = {{#if:{{{color3|}}}{{{colour3|}}}{{{image3|}}}{{{nominee3|}}}{{{candidate3|}}}{{{leader3|}}}{{{party3|}}}{{{alliance3|}}}{{{home_state3|}}}{{{running_mate3|}}}{{{electoral_vote3|}}}{{{delegate_count3|}}}{{{states_carried3|}}}{{{leader_since3|}}}{{{leaders_seat3|}}}{{{last_election3|}}}{{{seats_before3|}}}{{{seats_needed3|}}}{{{seats3|}}}{{{seats_after3|}}}{{{seat_change3|}}}{{{popular_vote3|}}}{{{percentage3|}}}{{{swing3|}}}{{{poll1_nominee3|}}}{{{poll1_candidate3|}}}{{{poll2_nominee3|}}}{{{poll2_candidate3|}}}{{{poll3_nominee3|}}}{{{poll3_candidate3|}}}{{{poll4_nominee3|}}}{{{poll4_candidate3|}}}{{{poll5_nominee3|}}}{{{poll5_candidate3|}}}{{{poll1_party3|}}}{{{poll2_party3|}}}{{{poll3_party3|}}}{{{poll4_party3|}}}{{{poll5_party3|}}}{{{1data3|}}}{{{2data3|}}}{{{3data3|}}}{{{4data3|}}}{{{5data3|}}}{{{6data3|}}}|yes}}
| ongoing = {{{ongoing|no}}}
| header1 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=First party|#default=Majority party}}
| header2 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=Second party|#default=Minority party}}
| header3 = {{#switch:{{{type|}}}|parliamentary|Parliamentary=Third party|#default=Third party}}
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
| color1 = {{if empty| {{{color1|}}} | {{{colour1|}}} }}
| color2 = {{if empty| {{{color2|}}} | {{{colour2|}}} }}
| color3 = {{if empty| {{{color3|}}} | {{{colour3|}}} }}
| image_size = {{{image_size|150x150px}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image1|}}}
| image1_size = {{{image1_size|}}}
| image1_upright = {{{image1_upright|}}}
| image2 = {{{image2|}}}
| image2_size = {{{image2_size|}}}
| image2_upright = {{{image2_upright|}}}
| image3 = {{{image3|}}}
| image3_size = {{{image3_size|}}}
| image3_upright = {{{image3_upright|}}}
| pageimage1 = {{{pageimage1|}}}
| pageimage2 = {{{pageimage2|}}}
| pageimage3 = {{{pageimage3|}}}
| nominee1 = {{{nominee1|}}}
| nominee2 = {{{nominee2|}}}
| nominee3 = {{{nominee3|}}}
| candidate1 = {{{candidate1|}}}
| candidate2 = {{{candidate2|}}}
| candidate3 = {{{candidate3|}}}
| leader1 = {{{leader1|}}}
| leader2 = {{{leader2|}}}
| leader3 = {{{leader3|}}}
| party1_name = {{{party1_name|{{{party_name|}}}}}}
| party2_name = {{{party2_name|{{{party_name|}}}}}}
| party3_name = {{{party3_name|{{{party_name|}}}}}}
| party1 = {{{party1|}}}
| party2 = {{{party2|}}}
| party3 = {{{party3|}}}
| alliance1_name = {{{alliance1_name|{{{alliance_name|}}}}}}
| alliance2_name = {{{alliance2_name|{{{alliance_name|}}}}}}
| alliance3_name = {{{alliance3_name|{{{alliance_name|}}}}}}
| alliance1 = {{{alliance1|}}}
| alliance2 = {{{alliance2|}}}
| alliance3 = {{{alliance3|}}}
| home_state1 = {{{home_state1|}}}
| home_state2 = {{{home_state2|}}}
| home_state3 = {{{home_state3|}}}
| running_mate1 = {{{running_mate1|}}}
| running_mate2 = {{{running_mate2|}}}
| running_mate3 = {{{running_mate3|}}}
| college_voted = {{{college_voted|}}}
| electoral_vote1 = {{{electoral_vote1|}}}
| electoral_vote2 = {{{electoral_vote2|}}}
| electoral_vote3 = {{{electoral_vote3|}}}
| delegate_count1 = {{{delegate_count1|}}}
| delegate_count2 = {{{delegate_count2|}}}
| delegate_count3 = {{{delegate_count3|}}}
| states_carried1 = {{{states_carried1|}}}
| states_carried2 = {{{states_carried2|}}}
| states_carried3 = {{{states_carried3|}}}
| leader_since1 = {{{leader_since1|}}}
| leader_since2 = {{{leader_since2|}}}
| leader_since3 = {{{leader_since3|}}}
| leaders_seat1 = {{{leaders_seat1|}}}
| leaders_seat2 = {{{leaders_seat2|}}}
| leaders_seat3 = {{{leaders_seat3|}}}
| last_election1 = {{{last_election1|}}}
| last_election2 = {{{last_election2|}}}
| last_election3 = {{{last_election3|}}}
| seats_before1 = {{{seats_before1|}}}
| seats_before2 = {{{seats_before2|}}}
| seats_before3 = {{{seats_before3|}}}
| seats_needed1 = {{{seats_needed1|}}}
| seats_needed2 = {{{seats_needed2|}}}
| seats_needed3 = {{{seats_needed3|}}}
| seats1 = {{{seats1|}}}
| seats2 = {{{seats2|}}}
| seats3 = {{{seats3|}}}
| seats_after1 = {{{seats_after1|}}}
| seats_after2 = {{{seats_after2|}}}
| seats_after3 = {{{seats_after3|}}}
| seat_change1 = {{{seat_change1|}}}
| seat_change2 = {{{seat_change2|}}}
| seat_change3 = {{{seat_change3|}}}
| vote_type = {{{vote_type|Popular}}}
| popular_vote1 = {{{popular_vote1|}}}
| popular_vote2 = {{{popular_vote2|}}}
| popular_vote3 = {{{popular_vote3|}}}
| percentage1 = {{{percentage1|}}}
| percentage2 = {{{percentage2|}}}
| percentage3 = {{{percentage3|}}}
| counties_won1 = {{{counties_won1|}}}
| counties_won2 = {{{counties_won2|}}}
| counties_won3 = {{{counties_won3|}}}
| counties_threshold1 = {{{counties_threshold1|}}}
| counties_threshold2 = {{{counties_threshold2|}}}
| counties_threshold3 = {{{counties_threshold3|}}}
| swing1 = {{{swing1|}}}
| swing2 = {{{swing2|}}}
| swing3 = {{{swing3|}}}
| opinion_polls = {{{opinion_polls|}}}
| poll1_date = {{if empty|{{{poll1_date1|}}}|{{{poll1_date|}}}}}
| poll1_source = {{if empty|{{{poll1_source1|}}}|{{{poll1_source|}}}}}
| poll1_person1 = {{if empty|{{{poll1_nominee1|}}}|{{{poll1_candidate1|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee2|}}}|{{{poll1_candidate2|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee3|}}}|{{{poll1_candidate3|}}}}}
| poll2_date = {{if empty|{{{poll2_date1|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source1|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee1|}}}|{{{poll2_candidate1|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee2|}}}|{{{poll2_candidate2|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee3|}}}|{{{poll2_candidate3|}}}}}
| poll3_date = {{if empty|{{{poll3_date1|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source1|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee1|}}}|{{{poll3_candidate1|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee2|}}}|{{{poll3_candidate2|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee3|}}}|{{{poll3_candidate3|}}}}}
| poll4_date = {{if empty|{{{poll4_date1|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source1|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee1|}}}|{{{poll4_candidate1|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee2|}}}|{{{poll4_candidate2|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee3|}}}|{{{poll4_candidate3|}}}}}
| poll5_date = {{if empty|{{{poll5_date1|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source1|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee1|}}}|{{{poll5_candidate1|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee2|}}}|{{{poll5_candidate2|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee3|}}}|{{{poll5_candidate3|}}}}}
| poll1_party1 = {{{poll1_party1|}}}| poll1_party2 = {{{poll1_party2|}}}| poll1_party3 = {{{poll1_party3|}}}
| poll2_party1 = {{{poll2_party1|}}}| poll2_party2 = {{{poll2_party2|}}}| poll2_party3 = {{{poll2_party3|}}}
| poll3_party1 = {{{poll3_party1|}}}| poll3_party2 = {{{poll3_party2|}}}| poll3_party3 = {{{poll3_party3|}}}
| poll4_party1 = {{{poll4_party1|}}}| poll4_party2 = {{{poll4_party2|}}}| poll4_party3 = {{{poll4_party3|}}}
| poll5_party1 = {{{poll5_party1|}}}| poll5_party2 = {{{poll5_party2|}}}| poll5_party3 = {{{poll5_party3|}}}
| 1blank = {{{1blank|}}}| 1data1 = {{{1data1|}}}| 1data2 = {{{1data2|}}}| 1data3 = {{{1data3|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data1|}}}| 2data2 = {{{2data2|}}}| 2data3 = {{{2data3|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data1|}}}| 3data2 = {{{3data2|}}}| 3data3 = {{{3data3|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data1|}}}| 4data2 = {{{4data2|}}}| 4data3 = {{{4data3|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data1|}}}| 5data2 = {{{5data2|}}}| 5data3 = {{{5data3|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data1|}}}| 6data2 = {{{6data2|}}}| 6data3 = {{{6data3|}}}
}}
{{!}}-
{{Infobox election/row
| type = {{{type|}}}
| divider = <hr />
| col3 = {{#if:{{{color6|}}}{{{colour6|}}}{{{image6|}}}{{{nominee6|}}}{{{candidate6|}}}{{{leader6|}}}{{{party6|}}}{{{alliance6|}}}{{{home_state6|}}}{{{running_mate6|}}}{{{electoral_vote6|}}}{{{delegate_count6|}}}{{{states_carried6|}}}{{{leader_since6|}}}{{{leaders_seat6|}}}{{{last_election6|}}}{{{seats_before6|}}}{{{seats_needed6|}}}{{{seats6|}}}{{{seats_after6|}}}{{{seat_change6|}}}{{{popular_vote6|}}}{{{percentage6|}}}{{{swing6|}}}{{{poll1_nominee6|}}}{{{poll1_candidate6|}}}{{{poll2_nominee6|}}}{{{poll2_candidate6|}}}{{{poll3_nominee6|}}}{{{poll3_candidate6|}}}{{{poll4_nominee6|}}}{{{poll4_candidate6|}}}{{{poll5_nominee6|}}}{{{poll5_candidate6|}}}{{{poll1_party6|}}}{{{poll2_party6|}}}{{{poll3_party6|}}}{{{poll4_party6|}}}{{{poll5_party6|}}}{{{1data6|}}}{{{2data6|}}}{{{3data6|}}}{{{4data6|}}}{{{5data6|}}}{{{6data6|}}}|yes}}
| ongoing = {{{ongoing|no}}}
| header1 = {{#if:{{{party3|}}}|Fourth party|Third party}}
| header2 = {{#if:{{{party3|}}}|Fifth party|Fourth party}}
| header3 = {{#if:{{{party3|}}}|Sixth party|Fifth party}}
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
| color1 = {{if empty| {{{color4|}}} | {{{colour4|}}} }}
| color2 = {{if empty| {{{color5|}}} | {{{colour5|}}} }}
| color3 = {{if empty| {{{color6|}}} | {{{colour6|}}} }}
| image_size = {{{image_size|150x150px}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image4|}}}
| image1_size = {{{image4_size|}}}
| image1_upright = {{{image4_upright|}}}
| image2 = {{{image5|}}}
| image2_size = {{{image5_size|}}}
| image2_upright = {{{image5_upright|}}}
| image3 = {{{image6|}}}
| image3_size = {{{image6_size|}}}
| image3_upright = {{{image6_upright|}}}
| pageimage1 = {{{pageimage4|}}}
| pageimage2 = {{{pageimage5|}}}
| pageimage3 = {{{pageimage6|}}}
| nominee1 = {{{nominee4|}}}
| nominee2 = {{{nominee5|}}}
| nominee3 = {{{nominee6|}}}
| candidate1 = {{{candidate4|}}}
| candidate2 = {{{candidate5|}}}
| candidate3 = {{{candidate6|}}}
| leader1 = {{{leader4|}}}
| leader2 = {{{leader5|}}}
| leader3 = {{{leader6|}}}
| party1_name = {{{party4_name|{{{party_name|}}}}}}
| party2_name = {{{party5_name|{{{party_name|}}}}}}
| party3_name = {{{party6_name|{{{party_name|}}}}}}
| party1 = {{{party4|}}}
| party2 = {{{party5|}}}
| party3 = {{{party6|}}}
| alliance1_name = {{{alliance4_name|{{{alliance_name|}}}}}}
| alliance2_name = {{{alliance5_name|{{{alliance_name|}}}}}}
| alliance3_name = {{{alliance6_name|{{{alliance_name|}}}}}}
| alliance1 = {{{alliance4|}}}
| alliance2 = {{{alliance5|}}}
| alliance3 = {{{alliance6|}}}
| home_state1 = {{{home_state4|}}}
| home_state2 = {{{home_state5|}}}
| home_state3 = {{{home_state6|}}}
| running_mate1 = {{{running_mate4|}}}
| running_mate2 = {{{running_mate5|}}}
| running_mate3 = {{{running_mate6|}}}
| college_voted = {{{college_voted|}}}
| electoral_vote1 = {{{electoral_vote4|}}}
| electoral_vote2 = {{{electoral_vote5|}}}
| electoral_vote3 = {{{electoral_vote6|}}}
| delegate_count1 = {{{delegate_count4|}}}
| delegate_count2 = {{{delegate_count5|}}}
| delegate_count3 = {{{delegate_count6|}}}
| states_carried1 = {{{states_carried4|}}}
| states_carried2 = {{{states_carried5|}}}
| states_carried3 = {{{states_carried6|}}}
| leader_since1 = {{{leader_since4|}}}
| leader_since2 = {{{leader_since5|}}}
| leader_since3 = {{{leader_since6|}}}
| leaders_seat1 = {{{leaders_seat4|}}}
| leaders_seat2 = {{{leaders_seat5|}}}
| leaders_seat3 = {{{leaders_seat6|}}}
| last_election1 = {{{last_election4|}}}
| last_election2 = {{{last_election5|}}}
| last_election3 = {{{last_election6|}}}
| seats_before1 = {{{seats_before4|}}}
| seats_before2 = {{{seats_before5|}}}
| seats_before3 = {{{seats_before6|}}}
| seats_needed1 = {{{seats_needed4|}}}
| seats_needed2 = {{{seats_needed5|}}}
| seats_needed3 = {{{seats_needed6|}}}
| seats1 = {{{seats4|}}}
| seats2 = {{{seats5|}}}
| seats3 = {{{seats6|}}}
| seats_after1 = {{{seats_after4|}}}
| seats_after2 = {{{seats_after5|}}}
| seats_after3 = {{{seats_after6|}}}
| seat_change1 = {{{seat_change4|}}}
| seat_change2 = {{{seat_change5|}}}
| seat_change3 = {{{seat_change6|}}}
| vote_type = {{{vote_type|Popular}}}
| popular_vote1 = {{{popular_vote4|}}}
| popular_vote2 = {{{popular_vote5|}}}
| popular_vote3 = {{{popular_vote6|}}}
| percentage1 = {{{percentage4|}}}
| percentage2 = {{{percentage5|}}}
| percentage3 = {{{percentage6|}}}
| swing1 = {{{swing4|}}}
| swing2 = {{{swing5|}}}
| swing3 = {{{swing6|}}}
| opinion_polls = {{{opinion_polls|}}}
| poll1_date = {{if empty|{{{poll1_date2|}}}|{{{poll1_date|}}}}}
| poll1_source = {{if empty|{{{poll1_source2|}}}|{{{poll1_source|}}}}}
| poll1_person1 = {{if empty|{{{poll1_nominee4|}}}|{{{poll1_candidate4|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee5|}}}|{{{poll1_candidate5|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee6|}}}|{{{poll1_candidate6|}}}}}
| poll2_date = {{if empty|{{{poll2_date2|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source2|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee4|}}}|{{{poll2_candidate4|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee5|}}}|{{{poll2_candidate5|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee6|}}}|{{{poll2_candidate6|}}}}}
| poll3_date = {{if empty|{{{poll3_date2|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source2|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee4|}}}|{{{poll3_candidate4|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee5|}}}|{{{poll3_candidate5|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee6|}}}|{{{poll3_candidate6|}}}}}
| poll4_date = {{if empty|{{{poll4_date2|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source2|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee4|}}}|{{{poll4_candidate4|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee5|}}}|{{{poll4_candidate5|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee6|}}}|{{{poll4_candidate6|}}}}}
| poll5_date = {{if empty|{{{poll5_date2|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source2|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee4|}}}|{{{poll5_candidate4|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee5|}}}|{{{poll5_candidate5|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee6|}}}|{{{poll5_candidate6|}}}}}
| poll1_party1 = {{{poll1_party4|}}}| poll1_party2 = {{{poll1_party5|}}}| poll1_party3 = {{{poll1_party6|}}}
| poll2_party1 = {{{poll2_party4|}}}| poll2_party2 = {{{poll2_party5|}}}| poll2_party3 = {{{poll2_party6|}}}
| poll3_party1 = {{{poll3_party4|}}}| poll3_party2 = {{{poll3_party5|}}}| poll3_party3 = {{{poll3_party6|}}}
| poll4_party1 = {{{poll4_party4|}}}| poll4_party2 = {{{poll4_party5|}}}| poll4_party3 = {{{poll4_party6|}}}
| poll5_party1 = {{{poll5_party4|}}}| poll5_party2 = {{{poll5_party5|}}}| poll5_party3 = {{{poll5_party6|}}}
| 1blank = {{{1blank|}}}| 1data1 = {{{1data4|}}}| 1data2 = {{{1data5|}}}| 1data3 = {{{1data6|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data4|}}}| 2data2 = {{{2data5|}}}| 2data3 = {{{2data6|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data4|}}}| 3data2 = {{{3data5|}}}| 3data3 = {{{3data6|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data4|}}}| 4data2 = {{{4data5|}}}| 4data3 = {{{4data6|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data4|}}}| 5data2 = {{{5data5|}}}| 5data3 = {{{5data6|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data4|}}}| 6data2 = {{{6data5|}}}| 6data3 = {{{6data6|}}}
}}
{{!}}-
{{Infobox election/row
| type = {{{type|}}}
| divider = <hr />
| ongoing = {{{ongoing|no}}}
| col3 = {{#if:{{{color9|}}}{{{colour9|}}}{{{image9|}}}{{{nominee9|}}}{{{candidate9|}}}{{{leader9|}}}{{{party9|}}}{{{alliance9|}}}{{{home_state9|}}}{{{running_mate9|}}}{{{electoral_vote9|}}}{{{delegate_count9|}}}{{{states_carried9|}}}{{{leader_since9|}}}{{{leaders_seat9|}}}{{{last_election9|}}}{{{seats_before9|}}}{{{seats_needed9|}}}{{{seats9|}}}{{{seats_after9|}}}{{{seat_change9|}}}{{{popular_vote9|}}}{{{percentage9|}}}{{{counties_won9|}}}{{{counties_threshold9|}}}{{{swing9|}}}{{{poll1_nominee9|}}}{{{poll1_candidate9|}}}{{{poll2_nominee9|}}}{{{poll2_candidate9|}}}{{{poll3_nominee9|}}}{{{poll3_candidate9|}}}{{{poll4_nominee9|}}}{{{poll4_candidate9|}}}{{{poll5_nominee9|}}}{{{poll5_candidate9|}}}{{{poll1_party9|}}}{{{poll2_party9|}}}{{{poll3_party9|}}}{{{poll4_party9|}}}{{{poll5_party9|}}}{{{1data9|}}}{{{2data9|}}}{{{3data9|}}}{{{4data9|}}}{{{5data9|}}}{{{6data9|}}}|yes}}
| header1 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Fifth party|1=Sixth party|2=Seventh party}}
| header2 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Sixth party|1=Seventh party|2=Eighth party}}
| header3 = {{#switch:{{#expr:{{#if:{{{party3|}}}|1|0}}+{{#if:{{{party6|}}}|1|0}}}}|0=Seventh party|1=Eighth party|2=Ninth party}}
| party_color = {{if empty| {{{party_colour|}}} | {{{party_color|}}} | yes }}
| color1 = {{if empty| {{{color7|}}} | {{{colour7|}}} }}
| color2 = {{if empty| {{{color8|}}} | {{{colour8|}}} }}
| color3 = {{if empty| {{{color9|}}} | {{{colour9|}}} }}
| image_size = {{{image_size|150x150px}}}
| image_upright = {{{image_upright|}}}
| image1 = {{{image7|}}}
| image1_size = {{{image7_size|}}}
| image1_upright = {{{image7_upright|}}}
| image2 = {{{image8|}}}
| image2_size = {{{image8_size|}}}
| image2_upright = {{{image8_upright|}}}
| image3 = {{{image9|}}}
| image3_size = {{{image9_size|}}}
| image3_upright = {{{image9_upright|}}}
| pageimage1 = {{{pageimage7|}}}
| pageimage2 = {{{pageimage8|}}}
| pageimage3 = {{{pageimage9|}}}
| nominee1 = {{{nominee7|}}}
| nominee2 = {{{nominee8|}}}
| nominee3 = {{{nominee9|}}}
| candidate1 = {{{candidate7|}}}
| candidate2 = {{{candidate8|}}}
| candidate3 = {{{candidate9|}}}
| leader1 = {{{leader7|}}}
| leader2 = {{{leader8|}}}
| leader3 = {{{leader9|}}}
| party1_name = {{{party7_name|{{{party_name|}}}}}}
| party2_name = {{{party8_name|{{{party_name|}}}}}}
| party3_name = {{{party9_name|{{{party_name|}}}}}}
| party1 = {{{party7|}}}
| party2 = {{{party8|}}}
| party3 = {{{party9|}}}
| alliance1_name = {{{alliance7_name|{{{alliance_name|}}}}}}
| alliance2_name = {{{alliance8_name|{{{alliance_name|}}}}}}
| alliance3_name = {{{alliance9_name|{{{alliance_name|}}}}}}
| alliance1 = {{{alliance7|}}}
| alliance2 = {{{alliance8|}}}
| alliance3 = {{{alliance9|}}}
| home_state1 = {{{home_state7|}}}
| home_state2 = {{{home_state8|}}}
| home_state3 = {{{home_state9|}}}
| running_mate1 = {{{running_mate7|}}}
| running_mate2 = {{{running_mate8|}}}
| running_mate3 = {{{running_mate9|}}}
| college_voted = {{{college_voted|}}}
| electoral_vote1 = {{{electoral_vote7|}}}
| electoral_vote2 = {{{electoral_vote8|}}}
| electoral_vote3 = {{{electoral_vote9|}}}
| delegate_count1 = {{{delegate_count7|}}}
| delegate_count2 = {{{delegate_count8|}}}
| delegate_count3 = {{{delegate_count9|}}}
| states_carried1 = {{{states_carried7|}}}
| states_carried2 = {{{states_carried8|}}}
| states_carried3 = {{{states_carried9|}}}
| leader_since1 = {{{leader_since7|}}}
| leader_since2 = {{{leader_since8|}}}
| leader_since3 = {{{leader_since9|}}}
| leaders_seat1 = {{{leaders_seat7|}}}
| leaders_seat2 = {{{leaders_seat8|}}}
| leaders_seat3 = {{{leaders_seat9|}}}
| last_election1 = {{{last_election7|}}}
| last_election2 = {{{last_election8|}}}
| last_election3 = {{{last_election9|}}}
| seats_before1 = {{{seats_before7|}}}
| seats_before2 = {{{seats_before8|}}}
| seats_before3 = {{{seats_before9|}}}
| seats_needed1 = {{{seats_needed7|}}}
| seats_needed2 = {{{seats_needed8|}}}
| seats_needed3 = {{{seats_needed9|}}}
| seats1 = {{{seats7|}}}
| seats2 = {{{seats8|}}}
| seats3 = {{{seats9|}}}
| seats_after1 = {{{seats_after7|}}}
| seats_after2 = {{{seats_after8|}}}
| seats_after3 = {{{seats_after9|}}}
| seat_change1 = {{{seat_change7|}}}
| seat_change2 = {{{seat_change8|}}}
| seat_change3 = {{{seat_change9|}}}
| vote_type = {{{vote_type|Popular}}}
| popular_vote1 = {{{popular_vote7|}}}
| popular_vote2 = {{{popular_vote8|}}}
| popular_vote3 = {{{popular_vote9|}}}
| percentage1 = {{{percentage7|}}}
| percentage2 = {{{percentage8|}}}
| percentage3 = {{{percentage9|}}}
| swing1 = {{{swing7|}}}
| swing2 = {{{swing8|}}}
| swing3 = {{{swing9|}}}
| opinion_polls = {{{opinion_polls|}}}
| poll1_date = {{if empty|{{{poll1_date3|}}}|{{{poll1_date|}}}}}
| poll1_source = {{if empty|{{{poll1_source3|}}}|{{{poll1_source|}}}}}
| poll1_person1 = {{if empty|{{{poll1_nominee7|}}}|{{{poll1_candidate7|}}}}}
| poll1_person2 = {{if empty|{{{poll1_nominee8|}}}|{{{poll1_candidate8|}}}}}
| poll1_person3 = {{if empty|{{{poll1_nominee9|}}}|{{{poll1_candidate9|}}}}}
| poll2_date = {{if empty|{{{poll2_date3|}}}|{{{poll2_date|}}}}}
| poll2_source = {{if empty|{{{poll2_source3|}}}|{{{poll2_source|}}}}}
| poll2_person1 = {{if empty|{{{poll2_nominee7|}}}|{{{poll2_candidate7|}}}}}
| poll2_person2 = {{if empty|{{{poll2_nominee8|}}}|{{{poll2_candidate8|}}}}}
| poll2_person3 = {{if empty|{{{poll2_nominee9|}}}|{{{poll2_candidate9|}}}}}
| poll3_date = {{if empty|{{{poll3_date3|}}}|{{{poll3_date|}}}}}
| poll3_source = {{if empty|{{{poll3_source3|}}}|{{{poll3_source|}}}}}
| poll3_person1 = {{if empty|{{{poll3_nominee7|}}}|{{{poll3_candidate7|}}}}}
| poll3_person2 = {{if empty|{{{poll3_nominee8|}}}|{{{poll3_candidate8|}}}}}
| poll3_person3 = {{if empty|{{{poll3_nominee9|}}}|{{{poll3_candidate9|}}}}}
| poll4_date = {{if empty|{{{poll4_date3|}}}|{{{poll4_date|}}}}}
| poll4_source = {{if empty|{{{poll4_source3|}}}|{{{poll4_source|}}}}}
| poll4_person1 = {{if empty|{{{poll4_nominee7|}}}|{{{poll4_candidate7|}}}}}
| poll4_person2 = {{if empty|{{{poll4_nominee8|}}}|{{{poll4_candidate8|}}}}}
| poll4_person3 = {{if empty|{{{poll4_nominee9|}}}|{{{poll4_candidate9|}}}}}
| poll5_date = {{if empty|{{{poll5_date3|}}}|{{{poll5_date|}}}}}
| poll5_source = {{if empty|{{{poll5_source3|}}}|{{{poll5_source|}}}}}
| poll5_person1 = {{if empty|{{{poll5_nominee7|}}}|{{{poll5_candidate7|}}}}}
| poll5_person2 = {{if empty|{{{poll5_nominee8|}}}|{{{poll5_candidate8|}}}}}
| poll5_person3 = {{if empty|{{{poll5_nominee9|}}}|{{{poll5_candidate9|}}}}}
| poll1_party1 = {{{poll1_party7|}}}| poll1_party2 = {{{poll1_party8|}}}| poll1_party3 = {{{poll1_party9|}}}
| poll2_party1 = {{{poll2_party7|}}}| poll2_party2 = {{{poll2_party8|}}}| poll2_party3 = {{{poll2_party9|}}}
| poll3_party1 = {{{poll3_party7|}}}| poll3_party2 = {{{poll3_party8|}}}| poll3_party3 = {{{poll3_party9|}}}
| poll4_party1 = {{{poll4_party7|}}}| poll4_party2 = {{{poll4_party8|}}}| poll4_party3 = {{{poll4_party9|}}}
| poll5_party1 = {{{poll5_party7|}}}| poll5_party2 = {{{poll5_party8|}}}| poll5_party3 = {{{poll5_party9|}}}
| 1blank = {{{1blank|}}}| 1data1 = {{{1data7|}}}| 1data2 = {{{1data8|}}}| 1data3 = {{{1data9|}}}
| 2blank = {{{2blank|}}}| 2data1 = {{{2data7|}}}| 2data2 = {{{2data8|}}}| 2data3 = {{{2data9|}}}
| 3blank = {{{3blank|}}}| 3data1 = {{{3data7|}}}| 3data2 = {{{3data8|}}}| 3data3 = {{{3data9|}}}
| 4blank = {{{4blank|}}}| 4data1 = {{{4data7|}}}| 4data2 = {{{4data8|}}}| 4data3 = {{{4data9|}}}
| 5blank = {{{5blank|}}}| 5data1 = {{{5data7|}}}| 5data2 = {{{5data8|}}}| 5data3 = {{{5data9|}}}
| 6blank = {{{6blank|}}}| 6data1 = {{{6data7|}}}| 6data2 = {{{6data8|}}}| 6data3 = {{{6data9|}}}
}}
{{!)}}
| data11 =
{{#if:{{{map_image|}}}{{{map|}}}|<hr />{{#if:{{{map_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map_image}}}|size={{{map_size|}}}|sizedefault=300px|alt={{{map_alt|}}}}}
|{{{map}}}
}}{{#if:{{{map_caption|}}}|<div>{{{map_caption|}}}</div>}}
}}
| data12 =
{{#if:{{{map2_image|}}}{{{map2|}}}|<hr />{{#if:{{{map2_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map2_image}}}|size={{{map2_size|}}}|sizedefault=300px|alt={{{map2_alt|}}}}}
|{{{map2}}}
}}{{#if:{{{map2_caption|}}}|<div>{{{map2_caption|}}}</div>}}
}}
|data13 =
{{#if:{{{map3_image|}}}{{{map3|}}}|<hr />{{#if:{{{map3_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map3_image}}}|size={{{map3_size|}}}|sizedefault=300px|alt={{{map3_alt|}}}}}
|{{{map3}}}
}}{{#if:{{{map3_caption|}}}|<div>{{{map3_caption|}}}</div>}}
}}
|data14 =
{{#if:{{{map4_image|}}}{{{map4|}}}|<hr />{{#if:{{{map4_image|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map4_image}}}|size={{{map4_size|}}}|sizedefault=300px|alt={{{map4_alt|}}}}}
|{{{map4}}}
}}{{#if:{{{map4_caption|}}}|<div>{{{map4_caption|}}}</div>}}
}}
| data15 = {{#if:{{{title|}}}|<hr />
{{{!}} cellspacing="0" cellpadding="0" style="background:transparent; width:100%;"
{{!}} style="width:50%; text-align:left;" {{!}}{{#if:{{{before_election|}}}{{{before_party|}}}|'''{{#ifeq:{{{type}}}|primary|Previous {{{title}}}|{{#ifeq:{{{ongoing|no}}}|yes|Incumbent {{#ifeq:{{lc:{{{title}}}}}|u.s. senator|[[List of United States senators from {{#ifeq:{{{country}}}|Georgia (U.S. state)|Georgia|{{{country}}}}}|U.S. senator]]|{{{title}}}}}|{{#ifeq:{{lc:{{{title}}}}}|u.s. senator|[[List of United States senators from {{#ifeq:{{{country}}}|Georgia (U.S. state)|Georgia|{{{country}}}}}|U.S. senator]]|{{{title}}}}} before election}}}}'''<br />
{{{before_election}}}<br />
{{#if:{{{before_party|}}}|{{Infobox election/shortname|link={{{before_party_link|{{{party_name}}}}}}|name={{{before_party}}}}} }} }}
{{!}} style="width:50%; text-align:right;" {{!}} {{#ifeq:{{{ongoing|no}}}|yes|{{#ifeq:{{{type}}}|primary|{{#if:{{{after_election|}}}|'''Presumptive {{#if:{{{posttitle|}}}|{{{posttitle}}}|{{{title}}}}}'''|}}|}} |'''{{#if:{{{posttitle|}}}|{{{posttitle}}}|{{#ifeq:{{{type}}}|primary||Elected}} {{{title}}}}}'''}} <br />
{{#ifeq:{{{ongoing|no}}}|yes|{{#ifeq:{{{type}}}|primary|{{#if:{{{after_election|}}}|{{{after_election}}}|}}}}}}
{{#ifeq:{{{ongoing|no}}}|yes||{{#if:{{{after_election|}}}|{{{after_election}}}|}}{{#if:{{{after_election|}}}{{{after_party|}}}||TBD}}<br />
{{#if:{{{after_party|}}}|{{Infobox election/shortname|link={{{after_party_link|{{{party_name|}}}}}}|name={{{after_party}}}}}}} }}
{{!}}} }}
{{#if:{{{template_name|}}}|{{align|right|{{navbar|{{{template_name}}}|mini=2}}}} }}
| data16 = {{{module|}}}
}}</includeonly><noinclude>{{documentation}}<!-- Add categories to the /doc subpage, not here! --></noinclude>{{#if:{{{electoral_vote1|}}}|{{Main other|[[Category:Elections using electoral votes]]}}}}<!-- temporary tracking of elections using an electoral college -->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox election with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox election]] with unknown parameter "_VALUE_"|ignoreblank=y| regexp1 = [%d]blank | regexp2 = [%d]data[%d] | after_election | after_party | after_party_link | regexp3 = alliance[%d]_name | alliance_name | regexp4 = alliance[%d] | before_election | before_party | before_party_link | regexp5 = candidate[%d] | child | college_voted | regexp6 = colou?r[%d] | counties_threshold1 | counties_threshold2 | counties_threshold3 | counties_threshold9 | counties_won1 | counties_won2 | counties_won3 | counties_won9 | country | declared | regexp7 = delegate_count[%d] | elected_members | elected_mps | election_date | election_name | regexp8 = electoral_vote[%d] | embed | filler | flag_image | flag_year | regexp9 = home_state[%d] | image_size | image_upright | regexp10 = image[%d] | regexp11 = image[%d]_size | regexp12 = image[%d]_upright | regexp13 = last_election[%d] | last_update | regexp14 = leader_since[%d] | regexp15 = leader[%d] | regexp16 = leaders_seat[%d] | majority_seats | map | map_alt | map_caption | map_image | map_size | map2 | map2_alt | map2_caption | map2_image | map2_size | map3 | map3_alt | map3_caption | map3_image | map3_size | map4 | map4_alt | map4_caption | map4_image | map4_size | module | needed_votes | next_election | next_year | regexp17 = nominee[%d] | ongoing | opinion_polls | outgoing_members | party_color | party_colour | regexp18 = party[%d]_name | party_name | regexp19 = party[%d] | regexp20 = percentage[%d] | regexp21 = poll[%d]_candidate[%d] | regexp22 = poll[%d]_date[%d]? | regexp23 = poll[%d]_nominee[%d] | regexp24 = poll[%d]_party[%d] | regexp25 = poll[%d]_source[%d]? | regexp26 = popular_vote[%d] | posttitle | previous_election | previous_mps | previous_year | registered | reporting | regexp27 = running_mate[%d] | regexp28 = seat_change[%d] | regexp29 = seats_after[%d] | regexp30 = seats_before[%d] | seats_for_election | regexp31 = seats_needed[%d] | regexp32 = seats[%d] | regexp33 = states_carried[%d] | regexp34 = swing[%d] | template_name | time_zone | title | turnout | type | vote_type | votes_counted | votes_for_election }}
df420508fd5c0716ddbc0c7e9b78e637a11151d3
Module:Yesno
828
1414
2892
2891
2024-03-13T05:24:03Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- Function allowing for consistent treatment of boolean-like wikitext input.
-- It works similarly to the template {{yesno}}.
return function (val, default)
-- If your wiki uses non-ascii characters for any of "yes", "no", etc., you
-- should replace "val:lower()" with "mw.ustring.lower(val)" in the
-- following line.
val = type(val) == 'string' and val:lower() or val
if val == nil then
return nil
elseif val == true
or val == 'yes'
or val == 'y'
or val == 'true'
or val == 't'
or val == 'on'
or tonumber(val) == 1
then
return true
elseif val == false
or val == 'no'
or val == 'n'
or val == 'false'
or val == 'f'
or val == 'off'
or tonumber(val) == 0
then
return false
else
return default
end
end
f767643e7d12126d020d88d662a3dd057817b9dc
Module:Arguments
828
1415
2894
2893
2024-03-13T05:24:03Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- This module provides easy processing of arguments passed to Scribunto from
-- #invoke. It is intended for use by other Lua modules, and should not be
-- called from #invoke directly.
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local arguments = {}
-- Generate four different tidyVal functions, so that we don't have to check the
-- options every time we call it.
local function tidyValDefault(key, val)
if type(val) == 'string' then
val = val:match('^%s*(.-)%s*$')
if val == '' then
return nil
else
return val
end
else
return val
end
end
local function tidyValTrimOnly(key, val)
if type(val) == 'string' then
return val:match('^%s*(.-)%s*$')
else
return val
end
end
local function tidyValRemoveBlanksOnly(key, val)
if type(val) == 'string' then
if val:find('%S') then
return val
else
return nil
end
else
return val
end
end
local function tidyValNoChange(key, val)
return val
end
local function matchesTitle(given, title)
local tp = type( given )
return (tp == 'string' or tp == 'number') and mw.title.new( given ).prefixedText == title
end
local translate_mt = { __index = function(t, k) return k end }
function arguments.getArgs(frame, options)
checkType('getArgs', 1, frame, 'table', true)
checkType('getArgs', 2, options, 'table', true)
frame = frame or {}
options = options or {}
--[[
-- Set up argument translation.
--]]
options.translate = options.translate or {}
if getmetatable(options.translate) == nil then
setmetatable(options.translate, translate_mt)
end
if options.backtranslate == nil then
options.backtranslate = {}
for k,v in pairs(options.translate) do
options.backtranslate[v] = k
end
end
if options.backtranslate and getmetatable(options.backtranslate) == nil then
setmetatable(options.backtranslate, {
__index = function(t, k)
if options.translate[k] ~= k then
return nil
else
return k
end
end
})
end
--[[
-- Get the argument tables. If we were passed a valid frame object, get the
-- frame arguments (fargs) and the parent frame arguments (pargs), depending
-- on the options set and on the parent frame's availability. If we weren't
-- passed a valid frame object, we are being called from another Lua module
-- or from the debug console, so assume that we were passed a table of args
-- directly, and assign it to a new variable (luaArgs).
--]]
local fargs, pargs, luaArgs
if type(frame.args) == 'table' and type(frame.getParent) == 'function' then
if options.wrappers then
--[[
-- The wrappers option makes Module:Arguments look up arguments in
-- either the frame argument table or the parent argument table, but
-- not both. This means that users can use either the #invoke syntax
-- or a wrapper template without the loss of performance associated
-- with looking arguments up in both the frame and the parent frame.
-- Module:Arguments will look up arguments in the parent frame
-- if it finds the parent frame's title in options.wrapper;
-- otherwise it will look up arguments in the frame object passed
-- to getArgs.
--]]
local parent = frame:getParent()
if not parent then
fargs = frame.args
else
local title = parent:getTitle():gsub('/sandbox$', '')
local found = false
if matchesTitle(options.wrappers, title) then
found = true
elseif type(options.wrappers) == 'table' then
for _,v in pairs(options.wrappers) do
if matchesTitle(v, title) then
found = true
break
end
end
end
-- We test for false specifically here so that nil (the default) acts like true.
if found or options.frameOnly == false then
pargs = parent.args
end
if not found or options.parentOnly == false then
fargs = frame.args
end
end
else
-- options.wrapper isn't set, so check the other options.
if not options.parentOnly then
fargs = frame.args
end
if not options.frameOnly then
local parent = frame:getParent()
pargs = parent and parent.args or nil
end
end
if options.parentFirst then
fargs, pargs = pargs, fargs
end
else
luaArgs = frame
end
-- Set the order of precedence of the argument tables. If the variables are
-- nil, nothing will be added to the table, which is how we avoid clashes
-- between the frame/parent args and the Lua args.
local argTables = {fargs}
argTables[#argTables + 1] = pargs
argTables[#argTables + 1] = luaArgs
--[[
-- Generate the tidyVal function. If it has been specified by the user, we
-- use that; if not, we choose one of four functions depending on the
-- options chosen. This is so that we don't have to call the options table
-- every time the function is called.
--]]
local tidyVal = options.valueFunc
if tidyVal then
if type(tidyVal) ~= 'function' then
error(
"bad value assigned to option 'valueFunc'"
.. '(function expected, got '
.. type(tidyVal)
.. ')',
2
)
end
elseif options.trim ~= false then
if options.removeBlanks ~= false then
tidyVal = tidyValDefault
else
tidyVal = tidyValTrimOnly
end
else
if options.removeBlanks ~= false then
tidyVal = tidyValRemoveBlanksOnly
else
tidyVal = tidyValNoChange
end
end
--[[
-- Set up the args, metaArgs and nilArgs tables. args will be the one
-- accessed from functions, and metaArgs will hold the actual arguments. Nil
-- arguments are memoized in nilArgs, and the metatable connects all of them
-- together.
--]]
local args, metaArgs, nilArgs, metatable = {}, {}, {}, {}
setmetatable(args, metatable)
local function mergeArgs(tables)
--[[
-- Accepts multiple tables as input and merges their keys and values
-- into one table. If a value is already present it is not overwritten;
-- tables listed earlier have precedence. We are also memoizing nil
-- values, which can be overwritten if they are 's' (soft).
--]]
for _, t in ipairs(tables) do
for key, val in pairs(t) do
if metaArgs[key] == nil and nilArgs[key] ~= 'h' then
local tidiedVal = tidyVal(key, val)
if tidiedVal == nil then
nilArgs[key] = 's'
else
metaArgs[key] = tidiedVal
end
end
end
end
end
--[[
-- Define metatable behaviour. Arguments are memoized in the metaArgs table,
-- and are only fetched from the argument tables once. Fetching arguments
-- from the argument tables is the most resource-intensive step in this
-- module, so we try and avoid it where possible. For this reason, nil
-- arguments are also memoized, in the nilArgs table. Also, we keep a record
-- in the metatable of when pairs and ipairs have been called, so we do not
-- run pairs and ipairs on the argument tables more than once. We also do
-- not run ipairs on fargs and pargs if pairs has already been run, as all
-- the arguments will already have been copied over.
--]]
metatable.__index = function (t, key)
--[[
-- Fetches an argument when the args table is indexed. First we check
-- to see if the value is memoized, and if not we try and fetch it from
-- the argument tables. When we check memoization, we need to check
-- metaArgs before nilArgs, as both can be non-nil at the same time.
-- If the argument is not present in metaArgs, we also check whether
-- pairs has been run yet. If pairs has already been run, we return nil.
-- This is because all the arguments will have already been copied into
-- metaArgs by the mergeArgs function, meaning that any other arguments
-- must be nil.
--]]
if type(key) == 'string' then
key = options.translate[key]
end
local val = metaArgs[key]
if val ~= nil then
return val
elseif metatable.donePairs or nilArgs[key] then
return nil
end
for _, argTable in ipairs(argTables) do
local argTableVal = tidyVal(key, argTable[key])
if argTableVal ~= nil then
metaArgs[key] = argTableVal
return argTableVal
end
end
nilArgs[key] = 'h'
return nil
end
metatable.__newindex = function (t, key, val)
-- This function is called when a module tries to add a new value to the
-- args table, or tries to change an existing value.
if type(key) == 'string' then
key = options.translate[key]
end
if options.readOnly then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; the table is read-only',
2
)
elseif options.noOverwrite and args[key] ~= nil then
error(
'could not write to argument table key "'
.. tostring(key)
.. '"; overwriting existing arguments is not permitted',
2
)
elseif val == nil then
--[[
-- If the argument is to be overwritten with nil, we need to erase
-- the value in metaArgs, so that __index, __pairs and __ipairs do
-- not use a previous existing value, if present; and we also need
-- to memoize the nil in nilArgs, so that the value isn't looked
-- up in the argument tables if it is accessed again.
--]]
metaArgs[key] = nil
nilArgs[key] = 'h'
else
metaArgs[key] = val
end
end
local function translatenext(invariant)
local k, v = next(invariant.t, invariant.k)
invariant.k = k
if k == nil then
return nil
elseif type(k) ~= 'string' or not options.backtranslate then
return k, v
else
local backtranslate = options.backtranslate[k]
if backtranslate == nil then
-- Skip this one. This is a tail call, so this won't cause stack overflow
return translatenext(invariant)
else
return backtranslate, v
end
end
end
metatable.__pairs = function ()
-- Called when pairs is run on the args table.
if not metatable.donePairs then
mergeArgs(argTables)
metatable.donePairs = true
end
return translatenext, { t = metaArgs }
end
local function inext(t, i)
-- This uses our __index metamethod
local v = t[i + 1]
if v ~= nil then
return i + 1, v
end
end
metatable.__ipairs = function (t)
-- Called when ipairs is run on the args table.
return inext, t, 0
end
return args
end
return arguments
3134ecce8429b810d445e29eae115e2ae4c36c53
Template:Tl
10
1416
2896
2895
2024-03-13T05:24:03Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Template link]]
{{Redirect category shell|
{{R from move}}
}}
d6593bb3b4a866249f55d0f34b047a71fe1f1529
Template:Template link
10
1417
2898
2897
2024-03-13T05:24:04Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{[[Template:{{{1}}}|{{{1}}}]]}}<noinclude>{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
eabbec62efe3044a98ebb3ce9e7d4d43c222351d
Module:Message box
828
1418
2900
2899
2024-03-13T05:24:04Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
require('strict')
local getArgs
local yesno = require('Module:Yesno')
local lang = mw.language.getContentLanguage()
local CONFIG_MODULE = 'Module:Message box/configuration'
local DEMOSPACES = {talk = 'tmbox', image = 'imbox', file = 'imbox', category = 'cmbox', article = 'ambox', main = 'ambox'}
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function getTitleObject(...)
-- Get the title object, passing the function through pcall
-- in case we are over the expensive function count limit.
local success, title = pcall(mw.title.new, ...)
if success then
return title
end
end
local function union(t1, t2)
-- Returns the union of two arrays.
local vals = {}
for i, v in ipairs(t1) do
vals[v] = true
end
for i, v in ipairs(t2) do
vals[v] = true
end
local ret = {}
for k in pairs(vals) do
table.insert(ret, k)
end
table.sort(ret)
return ret
end
local function getArgNums(args, prefix)
local nums = {}
for k, v in pairs(args) do
local num = mw.ustring.match(tostring(k), '^' .. prefix .. '([1-9]%d*)$')
if num then
table.insert(nums, tonumber(num))
end
end
table.sort(nums)
return nums
end
--------------------------------------------------------------------------------
-- Box class definition
--------------------------------------------------------------------------------
local MessageBox = {}
MessageBox.__index = MessageBox
function MessageBox.new(boxType, args, cfg)
args = args or {}
local obj = {}
-- Set the title object and the namespace.
obj.title = getTitleObject(args.page) or mw.title.getCurrentTitle()
-- Set the config for our box type.
obj.cfg = cfg[boxType]
if not obj.cfg then
local ns = obj.title.namespace
-- boxType is "mbox" or invalid input
if args.demospace and args.demospace ~= '' then
-- implement demospace parameter of mbox
local demospace = string.lower(args.demospace)
if DEMOSPACES[demospace] then
-- use template from DEMOSPACES
obj.cfg = cfg[DEMOSPACES[demospace]]
elseif string.find( demospace, 'talk' ) then
-- demo as a talk page
obj.cfg = cfg.tmbox
else
-- default to ombox
obj.cfg = cfg.ombox
end
elseif ns == 0 then
obj.cfg = cfg.ambox -- main namespace
elseif ns == 6 then
obj.cfg = cfg.imbox -- file namespace
elseif ns == 14 then
obj.cfg = cfg.cmbox -- category namespace
else
local nsTable = mw.site.namespaces[ns]
if nsTable and nsTable.isTalk then
obj.cfg = cfg.tmbox -- any talk namespace
else
obj.cfg = cfg.ombox -- other namespaces or invalid input
end
end
end
-- Set the arguments, and remove all blank arguments except for the ones
-- listed in cfg.allowBlankParams.
do
local newArgs = {}
for k, v in pairs(args) do
if v ~= '' then
newArgs[k] = v
end
end
for i, param in ipairs(obj.cfg.allowBlankParams or {}) do
newArgs[param] = args[param]
end
obj.args = newArgs
end
-- Define internal data structure.
obj.categories = {}
obj.classes = {}
-- For lazy loading of [[Module:Category handler]].
obj.hasCategories = false
return setmetatable(obj, MessageBox)
end
function MessageBox:addCat(ns, cat, sort)
if not cat then
return nil
end
if sort then
cat = string.format('[[Category:%s|%s]]', cat, sort)
else
cat = string.format('[[Category:%s]]', cat)
end
self.hasCategories = true
self.categories[ns] = self.categories[ns] or {}
table.insert(self.categories[ns], cat)
end
function MessageBox:addClass(class)
if not class then
return nil
end
table.insert(self.classes, class)
end
function MessageBox:setParameters()
local args = self.args
local cfg = self.cfg
-- Get type data.
self.type = args.type
local typeData = cfg.types[self.type]
self.invalidTypeError = cfg.showInvalidTypeError
and self.type
and not typeData
typeData = typeData or cfg.types[cfg.default]
self.typeClass = typeData.class
self.typeImage = typeData.image
self.typeImageNeedsLink = typeData.imageNeedsLink
-- Find if the box has been wrongly substituted.
self.isSubstituted = cfg.substCheck and args.subst == 'SUBST'
-- Find whether we are using a small message box.
self.isSmall = cfg.allowSmall and (
cfg.smallParam and args.small == cfg.smallParam
or not cfg.smallParam and yesno(args.small)
)
-- Add attributes, classes and styles.
self.id = args.id
self.name = args.name
if self.name then
self:addClass('box-' .. string.gsub(self.name,' ','_'))
end
if yesno(args.plainlinks) ~= false then
self:addClass('plainlinks')
end
for _, class in ipairs(cfg.classes or {}) do
self:addClass(class)
end
if self.isSmall then
self:addClass(cfg.smallClass or 'mbox-small')
end
self:addClass(self.typeClass)
self:addClass(args.class)
self.style = args.style
self.attrs = args.attrs
-- Set text style.
self.textstyle = args.textstyle
-- Find if we are on the template page or not. This functionality is only
-- used if useCollapsibleTextFields is set, or if both cfg.templateCategory
-- and cfg.templateCategoryRequireName are set.
self.useCollapsibleTextFields = cfg.useCollapsibleTextFields
if self.useCollapsibleTextFields
or cfg.templateCategory
and cfg.templateCategoryRequireName
then
if self.name then
local templateName = mw.ustring.match(
self.name,
'^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$'
) or self.name
templateName = 'Template:' .. templateName
self.templateTitle = getTitleObject(templateName)
end
self.isTemplatePage = self.templateTitle
and mw.title.equals(self.title, self.templateTitle)
end
-- Process data for collapsible text fields. At the moment these are only
-- used in {{ambox}}.
if self.useCollapsibleTextFields then
-- Get the self.issue value.
if self.isSmall and args.smalltext then
self.issue = args.smalltext
else
local sect
if args.sect == '' then
sect = 'This ' .. (cfg.sectionDefault or 'page')
elseif type(args.sect) == 'string' then
sect = 'This ' .. args.sect
end
local issue = args.issue
issue = type(issue) == 'string' and issue ~= '' and issue or nil
local text = args.text
text = type(text) == 'string' and text or nil
local issues = {}
table.insert(issues, sect)
table.insert(issues, issue)
table.insert(issues, text)
self.issue = table.concat(issues, ' ')
end
-- Get the self.talk value.
local talk = args.talk
-- Show talk links on the template page or template subpages if the talk
-- parameter is blank.
if talk == ''
and self.templateTitle
and (
mw.title.equals(self.templateTitle, self.title)
or self.title:isSubpageOf(self.templateTitle)
)
then
talk = '#'
elseif talk == '' then
talk = nil
end
if talk then
-- If the talk value is a talk page, make a link to that page. Else
-- assume that it's a section heading, and make a link to the talk
-- page of the current page with that section heading.
local talkTitle = getTitleObject(talk)
local talkArgIsTalkPage = true
if not talkTitle or not talkTitle.isTalkPage then
talkArgIsTalkPage = false
talkTitle = getTitleObject(
self.title.text,
mw.site.namespaces[self.title.namespace].talk.id
)
end
if talkTitle and talkTitle.exists then
local talkText
if self.isSmall then
local talkLink = talkArgIsTalkPage and talk or (talkTitle.prefixedText .. '#' .. talk)
talkText = string.format('([[%s|talk]])', talkLink)
else
talkText = 'Relevant discussion may be found on'
if talkArgIsTalkPage then
talkText = string.format(
'%s [[%s|%s]].',
talkText,
talk,
talkTitle.prefixedText
)
else
talkText = string.format(
'%s the [[%s#%s|talk page]].',
talkText,
talkTitle.prefixedText,
talk
)
end
end
self.talk = talkText
end
end
-- Get other values.
self.fix = args.fix ~= '' and args.fix or nil
local date
if args.date and args.date ~= '' then
date = args.date
elseif args.date == '' and self.isTemplatePage then
date = lang:formatDate('F Y')
end
if date then
self.date = string.format(" <span class='date-container'><i>(<span class='date'>%s</span>)</i></span>", date)
end
self.info = args.info
if yesno(args.removalnotice) then
self.removalNotice = cfg.removalNotice
end
end
-- Set the non-collapsible text field. At the moment this is used by all box
-- types other than ambox, and also by ambox when small=yes.
if self.isSmall then
self.text = args.smalltext or args.text
else
self.text = args.text
end
-- Set the below row.
self.below = cfg.below and args.below
-- General image settings.
self.imageCellDiv = not self.isSmall and cfg.imageCellDiv
self.imageEmptyCell = cfg.imageEmptyCell
-- Left image settings.
local imageLeft = self.isSmall and args.smallimage or args.image
if cfg.imageCheckBlank and imageLeft ~= 'blank' and imageLeft ~= 'none'
or not cfg.imageCheckBlank and imageLeft ~= 'none'
then
self.imageLeft = imageLeft
if not imageLeft then
local imageSize = self.isSmall
and (cfg.imageSmallSize or '30x30px')
or '40x40px'
self.imageLeft = string.format('[[File:%s|%s%s|alt=]]', self.typeImage
or 'Information icon4.svg', imageSize, self.typeImageNeedsLink and "" or "|link=" )
end
end
-- Right image settings.
local imageRight = self.isSmall and args.smallimageright or args.imageright
if not (cfg.imageRightNone and imageRight == 'none') then
self.imageRight = imageRight
end
-- set templatestyles
self.base_templatestyles = cfg.templatestyles
self.templatestyles = args.templatestyles
end
function MessageBox:setMainspaceCategories()
local args = self.args
local cfg = self.cfg
if not cfg.allowMainspaceCategories then
return nil
end
local nums = {}
for _, prefix in ipairs{'cat', 'category', 'all'} do
args[prefix .. '1'] = args[prefix]
nums = union(nums, getArgNums(args, prefix))
end
-- The following is roughly equivalent to the old {{Ambox/category}}.
local date = args.date
date = type(date) == 'string' and date
local preposition = 'from'
for _, num in ipairs(nums) do
local mainCat = args['cat' .. tostring(num)]
or args['category' .. tostring(num)]
local allCat = args['all' .. tostring(num)]
mainCat = type(mainCat) == 'string' and mainCat
allCat = type(allCat) == 'string' and allCat
if mainCat and date and date ~= '' then
local catTitle = string.format('%s %s %s', mainCat, preposition, date)
self:addCat(0, catTitle)
catTitle = getTitleObject('Category:' .. catTitle)
if not catTitle or not catTitle.exists then
self:addCat(0, 'Articles with invalid date parameter in template')
end
elseif mainCat and (not date or date == '') then
self:addCat(0, mainCat)
end
if allCat then
self:addCat(0, allCat)
end
end
end
function MessageBox:setTemplateCategories()
local args = self.args
local cfg = self.cfg
-- Add template categories.
if cfg.templateCategory then
if cfg.templateCategoryRequireName then
if self.isTemplatePage then
self:addCat(10, cfg.templateCategory)
end
elseif not self.title.isSubpage then
self:addCat(10, cfg.templateCategory)
end
end
-- Add template error categories.
if cfg.templateErrorCategory then
local templateErrorCategory = cfg.templateErrorCategory
local templateCat, templateSort
if not self.name and not self.title.isSubpage then
templateCat = templateErrorCategory
elseif self.isTemplatePage then
local paramsToCheck = cfg.templateErrorParamsToCheck or {}
local count = 0
for i, param in ipairs(paramsToCheck) do
if not args[param] then
count = count + 1
end
end
if count > 0 then
templateCat = templateErrorCategory
templateSort = tostring(count)
end
if self.categoryNums and #self.categoryNums > 0 then
templateCat = templateErrorCategory
templateSort = 'C'
end
end
self:addCat(10, templateCat, templateSort)
end
end
function MessageBox:setAllNamespaceCategories()
-- Set categories for all namespaces.
if self.invalidTypeError then
local allSort = (self.title.namespace == 0 and 'Main:' or '') .. self.title.prefixedText
self:addCat('all', 'Wikipedia message box parameter needs fixing', allSort)
end
if self.isSubstituted then
self:addCat('all', 'Pages with incorrectly substituted templates')
end
end
function MessageBox:setCategories()
if self.title.namespace == 0 then
self:setMainspaceCategories()
elseif self.title.namespace == 10 then
self:setTemplateCategories()
end
self:setAllNamespaceCategories()
end
function MessageBox:renderCategories()
if not self.hasCategories then
-- No categories added, no need to pass them to Category handler so,
-- if it was invoked, it would return the empty string.
-- So we shortcut and return the empty string.
return ""
end
-- Convert category tables to strings and pass them through
-- [[Module:Category handler]].
return require('Module:Category handler')._main{
main = table.concat(self.categories[0] or {}),
template = table.concat(self.categories[10] or {}),
all = table.concat(self.categories.all or {}),
nocat = self.args.nocat,
page = self.args.page
}
end
function MessageBox:export()
local root = mw.html.create()
-- Add the subst check error.
if self.isSubstituted and self.name then
root:tag('b')
:addClass('error')
:wikitext(string.format(
'Template <code>%s[[Template:%s|%s]]%s</code> has been incorrectly substituted.',
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
end
local frame = mw.getCurrentFrame()
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.base_templatestyles },
})
-- Add support for a single custom templatestyles sheet. Undocumented as
-- need should be limited and many templates using mbox are substed; we
-- don't want to spread templatestyles sheets around to arbitrary places
if self.templatestyles then
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.templatestyles },
})
end
-- Create the box table.
local boxTable = root:tag('table')
boxTable:attr('id', self.id or nil)
for i, class in ipairs(self.classes or {}) do
boxTable:addClass(class or nil)
end
boxTable
:cssText(self.style or nil)
:attr('role', 'presentation')
if self.attrs then
boxTable:attr(self.attrs)
end
-- Add the left-hand image.
local row = boxTable:tag('tr')
if self.imageLeft then
local imageLeftCell = row:tag('td'):addClass('mbox-image')
if self.imageCellDiv then
-- If we are using a div, redefine imageLeftCell so that the image
-- is inside it. Divs use style="width: 52px;", which limits the
-- image width to 52px. If any images in a div are wider than that,
-- they may overlap with the text or cause other display problems.
imageLeftCell = imageLeftCell:tag('div'):addClass('mbox-image-div')
end
imageLeftCell:wikitext(self.imageLeft or nil)
elseif self.imageEmptyCell then
-- Some message boxes define an empty cell if no image is specified, and
-- some don't. The old template code in templates where empty cells are
-- specified gives the following hint: "No image. Cell with some width
-- or padding necessary for text cell to have 100% width."
row:tag('td')
:addClass('mbox-empty-cell')
end
-- Add the text.
local textCell = row:tag('td'):addClass('mbox-text')
if self.useCollapsibleTextFields then
-- The message box uses advanced text parameters that allow things to be
-- collapsible. At the moment, only ambox uses this.
textCell:cssText(self.textstyle or nil)
local textCellDiv = textCell:tag('div')
textCellDiv
:addClass('mbox-text-span')
:wikitext(self.issue or nil)
if (self.talk or self.fix) then
textCellDiv:tag('span')
:addClass('hide-when-compact')
:wikitext(self.talk and (' ' .. self.talk) or nil)
:wikitext(self.fix and (' ' .. self.fix) or nil)
end
textCellDiv:wikitext(self.date and (' ' .. self.date) or nil)
if self.info and not self.isSmall then
textCellDiv
:tag('span')
:addClass('hide-when-compact')
:wikitext(self.info and (' ' .. self.info) or nil)
end
if self.removalNotice then
textCellDiv:tag('span')
:addClass('hide-when-compact')
:tag('i')
:wikitext(string.format(" (%s)", self.removalNotice))
end
else
-- Default text formatting - anything goes.
textCell
:cssText(self.textstyle or nil)
:wikitext(self.text or nil)
end
-- Add the right-hand image.
if self.imageRight then
local imageRightCell = row:tag('td'):addClass('mbox-imageright')
if self.imageCellDiv then
-- If we are using a div, redefine imageRightCell so that the image
-- is inside it.
imageRightCell = imageRightCell:tag('div'):addClass('mbox-image-div')
end
imageRightCell
:wikitext(self.imageRight or nil)
end
-- Add the below row.
if self.below then
boxTable:tag('tr')
:tag('td')
:attr('colspan', self.imageRight and '3' or '2')
:addClass('mbox-text')
:cssText(self.textstyle or nil)
:wikitext(self.below or nil)
end
-- Add error message for invalid type parameters.
if self.invalidTypeError then
root:tag('div')
:addClass('mbox-invalid-type')
:wikitext(string.format(
'This message box is using an invalid "type=%s" parameter and needs fixing.',
self.type or ''
))
end
-- Add categories.
root:wikitext(self:renderCategories() or nil)
return tostring(root)
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p, mt = {}, {}
function p._exportClasses()
-- For testing.
return {
MessageBox = MessageBox
}
end
function p.main(boxType, args, cfgTables)
local box = MessageBox.new(boxType, args, cfgTables or mw.loadData(CONFIG_MODULE))
box:setParameters()
box:setCategories()
return box:export()
end
function mt.__index(t, k)
return function (frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return t.main(k, getArgs(frame, {trim = false, removeBlanks = false}))
end
end
return setmetatable(p, mt)
f2fb84f7b817d2d88747f57c40902a0d8be8158a
Module:Message box/configuration
828
1419
2902
2901
2024-03-13T05:24:04Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
--------------------------------------------------------------------------------
-- Message box configuration --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
return {
ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ambox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ambox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ambox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ambox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ambox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ambox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = 'article',
allowMainspaceCategories = true,
templateCategory = 'Article message templates',
templateCategoryRequireName = true,
templateErrorCategory = 'Article message templates with missing parameters',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'},
removalNotice = '<small>[[Help:Maintenance template removal|Learn how and when to remove this template message]]</small>',
templatestyles = 'Module:Message box/ambox.css'
},
cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'cmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'cmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'cmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'cmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'cmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'cmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true,
templatestyles = 'Module:Message box/cmbox.css'
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Ambox warning pn.svg'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Information icon4.svg'
},
system = {
class = 'fmbox-system',
image = 'Information icon4.svg'
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'fmbox'},
imageEmptyCell = false,
imageRightNone = false,
templatestyles = 'Module:Message box/fmbox.css'
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'imbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'imbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'imbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'imbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'imbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox-license.svg'
},
["license-related"] = {
class = 'imbox-license',
image = 'Imbox-license.svg'
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg',
imageNeedsLink = true
},
notice = {
class = 'imbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
imageEmptyCell = true,
below = true,
templateCategory = 'File message boxes',
templatestyles = 'Module:Message box/imbox.css'
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'ombox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'ombox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ombox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'ombox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ombox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ombox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true,
templatestyles = 'Module:Message box/ombox.css'
},
tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'tmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'tmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'tmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'tmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'tmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'tmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
templateCategory = 'Talk message boxes',
templatestyles = 'Module:Message box/tmbox.css'
}
}
ccb6bdf2868087b6833d203307f2f6a92b3b0a01
Template:Yesno
10
1420
2904
2903
2024-03-13T05:24:05Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#switch: {{<includeonly>safesubst:</includeonly>lc: {{{1|¬}}} }}
|no
|n
|f
|false
|off
|0 = {{{no|<!-- null -->}}}
| = {{{blank|{{{no|<!-- null -->}}}}}}
|¬ = {{{¬|}}}
|yes
|y
|t
|true
|on
|1 = {{{yes|yes}}}
|#default = {{{def|{{{yes|yes}}}}}}
}}<noinclude>
{{Documentation}}
</noinclude>
629c2937bc5cf7cfe13cd2a598582af832782399
Template:Main other
10
1421
2906
2905
2024-03-13T05:24:05Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|{{ns:0}}
| main
| other
}}
}}
| main = {{{1|}}}
| other
| #default = {{{2|}}}
}}<noinclude>
{{documentation}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>
86ad907ffeea3cc545159e00cd1f2d6433946450
Template:Both
10
1422
2908
2907
2024-03-13T05:24:05Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{SAFESUBST:<noinclude />#if:{{{1|}}}|{{SAFESUBST:<noinclude />#if:{{{2|}}}|1}}}}<noinclude>
{{documentation}}
</noinclude>
57c3c0ffa811a7f31c675b2d79aedf4382e9b88d
Template:Hlist
10
1423
2910
2909
2024-03-13T05:24:06Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:list|horizontal}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
9e3824c2e3c0e0dbef2f37556ac0b994987fecf9
Module:Check for unknown parameters
828
1424
2912
2911
2024-03-13T05:24:06Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- This module may be used to compare the arguments passed to the parent
-- with a list of arguments, returning a specified result if an argument is
-- not on the list
local p = {}
local function trim(s)
return s:match('^%s*(.-)%s*$')
end
local function isnotempty(s)
return s and s:match('%S')
end
local function clean(text)
-- Return text cleaned for display and truncated if too long.
-- Strip markers are replaced with dummy text representing the original wikitext.
local pos, truncated
local function truncate(text)
if truncated then
return ''
end
if mw.ustring.len(text) > 25 then
truncated = true
text = mw.ustring.sub(text, 1, 25) .. '...'
end
return mw.text.nowiki(text)
end
local parts = {}
for before, tag, remainder in text:gmatch('([^\127]*)\127[^\127]*%-(%l+)%-[^\127]*\127()') do
pos = remainder
table.insert(parts, truncate(before) .. '<' .. tag .. '>...</' .. tag .. '>')
end
table.insert(parts, truncate(text:sub(pos or 1)))
return table.concat(parts)
end
function p._check(args, pargs)
if type(args) ~= "table" or type(pargs) ~= "table" then
-- TODO: error handling
return
end
-- create the list of known args, regular expressions, and the return string
local knownargs = {}
local regexps = {}
for k, v in pairs(args) do
if type(k) == 'number' then
v = trim(v)
knownargs[v] = 1
elseif k:find('^regexp[1-9][0-9]*$') then
table.insert(regexps, '^' .. v .. '$')
end
end
-- loop over the parent args, and make sure they are on the list
local ignoreblank = isnotempty(args['ignoreblank'])
local showblankpos = isnotempty(args['showblankpositional'])
local values = {}
for k, v in pairs(pargs) do
if type(k) == 'string' and knownargs[k] == nil then
local knownflag = false
for _, regexp in ipairs(regexps) do
if mw.ustring.match(k, regexp) then
knownflag = true
break
end
end
if not knownflag and ( not ignoreblank or isnotempty(v) ) then
table.insert(values, clean(k))
end
elseif type(k) == 'number' and knownargs[tostring(k)] == nil then
local knownflag = false
for _, regexp in ipairs(regexps) do
if mw.ustring.match(tostring(k), regexp) then
knownflag = true
break
end
end
if not knownflag and ( showblankpos or isnotempty(v) ) then
table.insert(values, k .. ' = ' .. clean(v))
end
end
end
-- add results to the output tables
local res = {}
if #values > 0 then
local unknown_text = args['unknown'] or 'Found _VALUE_, '
if mw.getCurrentFrame():preprocess( "{{REVISIONID}}" ) == "" then
local preview_text = args['preview']
if isnotempty(preview_text) then
preview_text = require('Module:If preview')._warning({preview_text})
elseif preview == nil then
preview_text = unknown_text
end
unknown_text = preview_text
end
for _, v in pairs(values) do
-- Fix odd bug for | = which gets stripped to the empty string and
-- breaks category links
if v == '' then v = ' ' end
-- avoid error with v = 'example%2' ("invalid capture index")
local r = unknown_text:gsub('_VALUE_', {_VALUE_ = v})
table.insert(res, r)
end
end
return table.concat(res)
end
function p.check(frame)
local args = frame.args
local pargs = frame:getParent().args
return p._check(args, pargs)
end
return p
93db6d115d4328d2a5148bb42959105e367b663e
Module:String
828
1425
2914
2913
2024-03-13T05:24:06Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
--[[
This module is intended to provide access to basic string functions.
Most of the functions provided here can be invoked with named parameters,
unnamed parameters, or a mixture. If named parameters are used, Mediawiki will
automatically remove any leading or trailing whitespace from the parameter.
Depending on the intended use, it may be advantageous to either preserve or
remove such whitespace.
Global options
ignore_errors: If set to 'true' or 1, any error condition will result in
an empty string being returned rather than an error message.
error_category: If an error occurs, specifies the name of a category to
include with the error message. The default category is
[Category:Errors reported by Module String].
no_category: If set to 'true' or 1, no category will be added if an error
is generated.
Unit tests for this module are available at Module:String/tests.
]]
local str = {}
--[[
len
This function returns the length of the target string.
Usage:
{{#invoke:String|len|target_string|}}
OR
{{#invoke:String|len|s=target_string}}
Parameters
s: The string whose length to report
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string.
]]
function str.len( frame )
local new_args = str._getParameters( frame.args, {'s'} )
local s = new_args['s'] or ''
return mw.ustring.len( s )
end
--[[
sub
This function returns a substring of the target string at specified indices.
Usage:
{{#invoke:String|sub|target_string|start_index|end_index}}
OR
{{#invoke:String|sub|s=target_string|i=start_index|j=end_index}}
Parameters
s: The string to return a subset of
i: The first index of the substring to return, defaults to 1.
j: The last index of the string to return, defaults to the last character.
The first character of the string is assigned an index of 1. If either i or j
is a negative value, it is interpreted the same as selecting a character by
counting from the end of the string. Hence, a value of -1 is the same as
selecting the last character of the string.
If the requested indices are out of range for the given string, an error is
reported.
]]
function str.sub( frame )
local new_args = str._getParameters( frame.args, { 's', 'i', 'j' } )
local s = new_args['s'] or ''
local i = tonumber( new_args['i'] ) or 1
local j = tonumber( new_args['j'] ) or -1
local len = mw.ustring.len( s )
-- Convert negatives for range checking
if i < 0 then
i = len + i + 1
end
if j < 0 then
j = len + j + 1
end
if i > len or j > len or i < 1 or j < 1 then
return str._error( 'String subset index out of range' )
end
if j < i then
return str._error( 'String subset indices out of order' )
end
return mw.ustring.sub( s, i, j )
end
--[[
This function implements that features of {{str sub old}} and is kept in order
to maintain these older templates.
]]
function str.sublength( frame )
local i = tonumber( frame.args.i ) or 0
local len = tonumber( frame.args.len )
return mw.ustring.sub( frame.args.s, i + 1, len and ( i + len ) )
end
--[[
_match
This function returns a substring from the source string that matches a
specified pattern. It is exported for use in other modules
Usage:
strmatch = require("Module:String")._match
sresult = strmatch( s, pattern, start, match, plain, nomatch )
Parameters
s: The string to search
pattern: The pattern or string to find within the string
start: The index within the source string to start the search. The first
character of the string has index 1. Defaults to 1.
match: In some cases it may be possible to make multiple matches on a single
string. This specifies which match to return, where the first match is
match= 1. If a negative number is specified then a match is returned
counting from the last match. Hence match = -1 is the same as requesting
the last match. Defaults to 1.
plain: A flag indicating that the pattern should be understood as plain
text. Defaults to false.
nomatch: If no match is found, output the "nomatch" value rather than an error.
For information on constructing Lua patterns, a form of [regular expression], see:
* http://www.lua.org/manual/5.1/manual.html#5.4.1
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Ustring_patterns
]]
-- This sub-routine is exported for use in other modules
function str._match( s, pattern, start, match_index, plain_flag, nomatch )
if s == '' then
return str._error( 'Target string is empty' )
end
if pattern == '' then
return str._error( 'Pattern string is empty' )
end
start = tonumber(start) or 1
if math.abs(start) < 1 or math.abs(start) > mw.ustring.len( s ) then
return str._error( 'Requested start is out of range' )
end
if match_index == 0 then
return str._error( 'Match index is out of range' )
end
if plain_flag then
pattern = str._escapePattern( pattern )
end
local result
if match_index == 1 then
-- Find first match is simple case
result = mw.ustring.match( s, pattern, start )
else
if start > 1 then
s = mw.ustring.sub( s, start )
end
local iterator = mw.ustring.gmatch(s, pattern)
if match_index > 0 then
-- Forward search
for w in iterator do
match_index = match_index - 1
if match_index == 0 then
result = w
break
end
end
else
-- Reverse search
local result_table = {}
local count = 1
for w in iterator do
result_table[count] = w
count = count + 1
end
result = result_table[ count + match_index ]
end
end
if result == nil then
if nomatch == nil then
return str._error( 'Match not found' )
else
return nomatch
end
else
return result
end
end
--[[
match
This function returns a substring from the source string that matches a
specified pattern.
Usage:
{{#invoke:String|match|source_string|pattern_string|start_index|match_number|plain_flag|nomatch_output}}
OR
{{#invoke:String|match|s=source_string|pattern=pattern_string|start=start_index
|match=match_number|plain=plain_flag|nomatch=nomatch_output}}
Parameters
s: The string to search
pattern: The pattern or string to find within the string
start: The index within the source string to start the search. The first
character of the string has index 1. Defaults to 1.
match: In some cases it may be possible to make multiple matches on a single
string. This specifies which match to return, where the first match is
match= 1. If a negative number is specified then a match is returned
counting from the last match. Hence match = -1 is the same as requesting
the last match. Defaults to 1.
plain: A flag indicating that the pattern should be understood as plain
text. Defaults to false.
nomatch: If no match is found, output the "nomatch" value rather than an error.
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from each string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
If the match_number or start_index are out of range for the string being queried, then
this function generates an error. An error is also generated if no match is found.
If one adds the parameter ignore_errors=true, then the error will be suppressed and
an empty string will be returned on any failure.
For information on constructing Lua patterns, a form of [regular expression], see:
* http://www.lua.org/manual/5.1/manual.html#5.4.1
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
* http://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Ustring_patterns
]]
-- This is the entry point for #invoke:String|match
function str.match( frame )
local new_args = str._getParameters( frame.args, {'s', 'pattern', 'start', 'match', 'plain', 'nomatch'} )
local s = new_args['s'] or ''
local start = tonumber( new_args['start'] ) or 1
local plain_flag = str._getBoolean( new_args['plain'] or false )
local pattern = new_args['pattern'] or ''
local match_index = math.floor( tonumber(new_args['match']) or 1 )
local nomatch = new_args['nomatch']
return str._match( s, pattern, start, match_index, plain_flag, nomatch )
end
--[[
pos
This function returns a single character from the target string at position pos.
Usage:
{{#invoke:String|pos|target_string|index_value}}
OR
{{#invoke:String|pos|target=target_string|pos=index_value}}
Parameters
target: The string to search
pos: The index for the character to return
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the target string. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
The first character has an index value of 1.
If one requests a negative value, this function will select a character by counting backwards
from the end of the string. In other words pos = -1 is the same as asking for the last character.
A requested value of zero, or a value greater than the length of the string returns an error.
]]
function str.pos( frame )
local new_args = str._getParameters( frame.args, {'target', 'pos'} )
local target_str = new_args['target'] or ''
local pos = tonumber( new_args['pos'] ) or 0
if pos == 0 or math.abs(pos) > mw.ustring.len( target_str ) then
return str._error( 'String index out of range' )
end
return mw.ustring.sub( target_str, pos, pos )
end
--[[
str_find
This function duplicates the behavior of {{str_find}}, including all of its quirks.
This is provided in order to support existing templates, but is NOT RECOMMENDED for
new code and templates. New code is recommended to use the "find" function instead.
Returns the first index in "source" that is a match to "target". Indexing is 1-based,
and the function returns -1 if the "target" string is not present in "source".
Important Note: If the "target" string is empty / missing, this function returns a
value of "1", which is generally unexpected behavior, and must be accounted for
separatetly.
]]
function str.str_find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target'} )
local source_str = new_args['source'] or ''
local target_str = new_args['target'] or ''
if target_str == '' then
return 1
end
local start = mw.ustring.find( source_str, target_str, 1, true )
if start == nil then
start = -1
end
return start
end
--[[
find
This function allows one to search for a target string or pattern within another
string.
Usage:
{{#invoke:String|find|source_str|target_string|start_index|plain_flag}}
OR
{{#invoke:String|find|source=source_str|target=target_str|start=start_index|plain=plain_flag}}
Parameters
source: The string to search
target: The string or pattern to find within source
start: The index within the source string to start the search, defaults to 1
plain: Boolean flag indicating that target should be understood as plain
text and not as a Lua style regular expression, defaults to true
If invoked using named parameters, Mediawiki will automatically remove any leading or
trailing whitespace from the parameter. In some circumstances this is desirable, in
other cases one may want to preserve the whitespace.
This function returns the first index >= "start" where "target" can be found
within "source". Indices are 1-based. If "target" is not found, then this
function returns 0. If either "source" or "target" are missing / empty, this
function also returns 0.
This function should be safe for UTF-8 strings.
]]
function str.find( frame )
local new_args = str._getParameters( frame.args, {'source', 'target', 'start', 'plain' } )
local source_str = new_args['source'] or ''
local pattern = new_args['target'] or ''
local start_pos = tonumber(new_args['start']) or 1
local plain = new_args['plain'] or true
if source_str == '' or pattern == '' then
return 0
end
plain = str._getBoolean( plain )
local start = mw.ustring.find( source_str, pattern, start_pos, plain )
if start == nil then
start = 0
end
return start
end
--[[
replace
This function allows one to replace a target string or pattern within another
string.
Usage:
{{#invoke:String|replace|source_str|pattern_string|replace_string|replacement_count|plain_flag}}
OR
{{#invoke:String|replace|source=source_string|pattern=pattern_string|replace=replace_string|
count=replacement_count|plain=plain_flag}}
Parameters
source: The string to search
pattern: The string or pattern to find within source
replace: The replacement text
count: The number of occurences to replace, defaults to all.
plain: Boolean flag indicating that pattern should be understood as plain
text and not as a Lua style regular expression, defaults to true
]]
function str.replace( frame )
local new_args = str._getParameters( frame.args, {'source', 'pattern', 'replace', 'count', 'plain' } )
local source_str = new_args['source'] or ''
local pattern = new_args['pattern'] or ''
local replace = new_args['replace'] or ''
local count = tonumber( new_args['count'] )
local plain = new_args['plain'] or true
if source_str == '' or pattern == '' then
return source_str
end
plain = str._getBoolean( plain )
if plain then
pattern = str._escapePattern( pattern )
replace = mw.ustring.gsub( replace, "%%", "%%%%" ) --Only need to escape replacement sequences.
end
local result
if count ~= nil then
result = mw.ustring.gsub( source_str, pattern, replace, count )
else
result = mw.ustring.gsub( source_str, pattern, replace )
end
return result
end
--[[
simple function to pipe string.rep to templates.
]]
function str.rep( frame )
local repetitions = tonumber( frame.args[2] )
if not repetitions then
return str._error( 'function rep expects a number as second parameter, received "' .. ( frame.args[2] or '' ) .. '"' )
end
return string.rep( frame.args[1] or '', repetitions )
end
--[[
escapePattern
This function escapes special characters from a Lua string pattern. See [1]
for details on how patterns work.
[1] https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns
Usage:
{{#invoke:String|escapePattern|pattern_string}}
Parameters
pattern_string: The pattern string to escape.
]]
function str.escapePattern( frame )
local pattern_str = frame.args[1]
if not pattern_str then
return str._error( 'No pattern string specified' )
end
local result = str._escapePattern( pattern_str )
return result
end
--[[
count
This function counts the number of occurrences of one string in another.
]]
function str.count(frame)
local args = str._getParameters(frame.args, {'source', 'pattern', 'plain'})
local source = args.source or ''
local pattern = args.pattern or ''
local plain = str._getBoolean(args.plain or true)
if plain then
pattern = str._escapePattern(pattern)
end
local _, count = mw.ustring.gsub(source, pattern, '')
return count
end
--[[
endswith
This function determines whether a string ends with another string.
]]
function str.endswith(frame)
local args = str._getParameters(frame.args, {'source', 'pattern'})
local source = args.source or ''
local pattern = args.pattern or ''
if pattern == '' then
-- All strings end with the empty string.
return "yes"
end
if mw.ustring.sub(source, -mw.ustring.len(pattern), -1) == pattern then
return "yes"
else
return ""
end
end
--[[
join
Join all non empty arguments together; the first argument is the separator.
Usage:
{{#invoke:String|join|sep|one|two|three}}
]]
function str.join(frame)
local args = {}
local sep
for _, v in ipairs( frame.args ) do
if sep then
if v ~= '' then
table.insert(args, v)
end
else
sep = v
end
end
return table.concat( args, sep or '' )
end
--[[
Helper function that populates the argument list given that user may need to use a mix of
named and unnamed parameters. This is relevant because named parameters are not
identical to unnamed parameters due to string trimming, and when dealing with strings
we sometimes want to either preserve or remove that whitespace depending on the application.
]]
function str._getParameters( frame_args, arg_list )
local new_args = {}
local index = 1
local value
for _, arg in ipairs( arg_list ) do
value = frame_args[arg]
if value == nil then
value = frame_args[index]
index = index + 1
end
new_args[arg] = value
end
return new_args
end
--[[
Helper function to handle error messages.
]]
function str._error( error_str )
local frame = mw.getCurrentFrame()
local error_category = frame.args.error_category or 'Errors reported by Module String'
local ignore_errors = frame.args.ignore_errors or false
local no_category = frame.args.no_category or false
if str._getBoolean(ignore_errors) then
return ''
end
local error_str = '<strong class="error">String Module Error: ' .. error_str .. '</strong>'
if error_category ~= '' and not str._getBoolean( no_category ) then
error_str = '[[Category:' .. error_category .. ']]' .. error_str
end
return error_str
end
--[[
Helper Function to interpret boolean strings
]]
function str._getBoolean( boolean_str )
local boolean_value
if type( boolean_str ) == 'string' then
boolean_str = boolean_str:lower()
if boolean_str == 'false' or boolean_str == 'no' or boolean_str == '0'
or boolean_str == '' then
boolean_value = false
else
boolean_value = true
end
elseif type( boolean_str ) == 'boolean' then
boolean_value = boolean_str
else
error( 'No boolean value found' )
end
return boolean_value
end
--[[
Helper function that escapes all pattern characters so that they will be treated
as plain text.
]]
function str._escapePattern( pattern_str )
return mw.ustring.gsub( pattern_str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1" )
end
return str
2ad0905c56ef4955950b75a8f00974fe82aed5e4
Module:Infobox
828
1426
2916
2915
2024-03-13T05:24:07Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
local p = {}
local args = {}
local origArgs = {}
local root
local empty_row_categories = {}
local category_in_empty_row_pattern = '%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*]]'
local has_rows = false
local lists = {
plainlist_t = {
patterns = {
'^plainlist$',
'%splainlist$',
'^plainlist%s',
'%splainlist%s'
},
found = false,
styles = 'Plainlist/styles.css'
},
hlist_t = {
patterns = {
'^hlist$',
'%shlist$',
'^hlist%s',
'%shlist%s'
},
found = false,
styles = 'Hlist/styles.css'
}
}
local function has_list_class(args_to_check)
for _, list in pairs(lists) do
if not list.found then
for _, arg in pairs(args_to_check) do
for _, pattern in ipairs(list.patterns) do
if mw.ustring.find(arg or '', pattern) then
list.found = true
break
end
end
if list.found then break end
end
end
end
end
local function fixChildBoxes(sval, tt)
local function notempty( s ) return s and s:match( '%S' ) end
if notempty(sval) then
local marker = '<span class=special_infobox_marker>'
local s = sval
-- start moving templatestyles and categories inside of table rows
local slast = ''
while slast ~= s do
slast = s
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>%s*)(%[%[%s*[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]%s*:[^]]*%]%])', '%2%1')
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>%s*)(\127[^\127]*UNIQ%-%-templatestyles%-%x+%-QINU[^\127]*\127)', '%2%1')
end
-- end moving templatestyles and categories inside of table rows
s = mw.ustring.gsub(s, '(<%s*[Tt][Rr])', marker .. '%1')
s = mw.ustring.gsub(s, '(</[Tt][Rr]%s*>)', '%1' .. marker)
if s:match(marker) then
s = mw.ustring.gsub(s, marker .. '%s*' .. marker, '')
s = mw.ustring.gsub(s, '([\r\n]|-[^\r\n]*[\r\n])%s*' .. marker, '%1')
s = mw.ustring.gsub(s, marker .. '%s*([\r\n]|-)', '%1')
s = mw.ustring.gsub(s, '(</[Cc][Aa][Pp][Tt][Ii][Oo][Nn]%s*>%s*)' .. marker, '%1')
s = mw.ustring.gsub(s, '(<%s*[Tt][Aa][Bb][Ll][Ee][^<>]*>%s*)' .. marker, '%1')
s = mw.ustring.gsub(s, '^(%{|[^\r\n]*[\r\n]%s*)' .. marker, '%1')
s = mw.ustring.gsub(s, '([\r\n]%{|[^\r\n]*[\r\n]%s*)' .. marker, '%1')
s = mw.ustring.gsub(s, marker .. '(%s*</[Tt][Aa][Bb][Ll][Ee]%s*>)', '%1')
s = mw.ustring.gsub(s, marker .. '(%s*\n|%})', '%1')
end
if s:match(marker) then
local subcells = mw.text.split(s, marker)
s = ''
for k = 1, #subcells do
if k == 1 then
s = s .. subcells[k] .. '</' .. tt .. '></tr>'
elseif k == #subcells then
local rowstyle = ' style="display:none"'
if notempty(subcells[k]) then rowstyle = '' end
s = s .. '<tr' .. rowstyle ..'><' .. tt .. ' colspan=2>\n' ..
subcells[k]
elseif notempty(subcells[k]) then
if (k % 2) == 0 then
s = s .. subcells[k]
else
s = s .. '<tr><' .. tt .. ' colspan=2>\n' ..
subcells[k] .. '</' .. tt .. '></tr>'
end
end
end
end
-- the next two lines add a newline at the end of lists for the PHP parser
-- [[Special:Diff/849054481]]
-- remove when [[:phab:T191516]] is fixed or OBE
s = mw.ustring.gsub(s, '([\r\n][%*#;:][^\r\n]*)$', '%1\n')
s = mw.ustring.gsub(s, '^([%*#;:][^\r\n]*)$', '%1\n')
s = mw.ustring.gsub(s, '^([%*#;:])', '\n%1')
s = mw.ustring.gsub(s, '^(%{%|)', '\n%1')
return s
else
return sval
end
end
-- Cleans empty tables
local function cleanInfobox()
root = tostring(root)
if has_rows == false then
root = mw.ustring.gsub(root, '<table[^<>]*>%s*</table>', '')
end
end
-- Returns the union of the values of two tables, as a sequence.
local function union(t1, t2)
local vals = {}
for k, v in pairs(t1) do
vals[v] = true
end
for k, v in pairs(t2) do
vals[v] = true
end
local ret = {}
for k, v in pairs(vals) do
table.insert(ret, k)
end
return ret
end
-- Returns a table containing the numbers of the arguments that exist
-- for the specified prefix. For example, if the prefix was 'data', and
-- 'data1', 'data2', and 'data5' exist, it would return {1, 2, 5}.
local function getArgNums(prefix)
local nums = {}
for k, v in pairs(args) do
local num = tostring(k):match('^' .. prefix .. '([1-9]%d*)$')
if num then table.insert(nums, tonumber(num)) end
end
table.sort(nums)
return nums
end
-- Adds a row to the infobox, with either a header cell
-- or a label/data cell combination.
local function addRow(rowArgs)
if rowArgs.header and rowArgs.header ~= '_BLANK_' then
has_rows = true
has_list_class({ rowArgs.rowclass, rowArgs.class, args.headerclass })
root
:tag('tr')
:addClass(rowArgs.rowclass)
:cssText(rowArgs.rowstyle)
:tag('th')
:attr('colspan', '2')
:addClass('infobox-header')
:addClass(rowArgs.class)
:addClass(args.headerclass)
-- @deprecated next; target .infobox-<name> .infobox-header
:cssText(args.headerstyle)
:cssText(rowArgs.rowcellstyle)
:wikitext(fixChildBoxes(rowArgs.header, 'th'))
if rowArgs.data then
root:wikitext(
'[[Category:Pages using infobox templates with ignored data cells]]'
)
end
elseif rowArgs.data and rowArgs.data:gsub(category_in_empty_row_pattern, ''):match('^%S') then
has_rows = true
has_list_class({ rowArgs.rowclass, rowArgs.class })
local row = root:tag('tr')
row:addClass(rowArgs.rowclass)
row:cssText(rowArgs.rowstyle)
if rowArgs.label then
row
:tag('th')
:attr('scope', 'row')
:addClass('infobox-label')
-- @deprecated next; target .infobox-<name> .infobox-label
:cssText(args.labelstyle)
:cssText(rowArgs.rowcellstyle)
:wikitext(rowArgs.label)
:done()
end
local dataCell = row:tag('td')
dataCell
:attr('colspan', not rowArgs.label and '2' or nil)
:addClass(not rowArgs.label and 'infobox-full-data' or 'infobox-data')
:addClass(rowArgs.class)
-- @deprecated next; target .infobox-<name> .infobox(-full)-data
:cssText(rowArgs.datastyle)
:cssText(rowArgs.rowcellstyle)
:wikitext(fixChildBoxes(rowArgs.data, 'td'))
else
table.insert(empty_row_categories, rowArgs.data or '')
end
end
local function renderTitle()
if not args.title then return end
has_rows = true
has_list_class({args.titleclass})
root
:tag('caption')
:addClass('infobox-title')
:addClass(args.titleclass)
-- @deprecated next; target .infobox-<name> .infobox-title
:cssText(args.titlestyle)
:wikitext(args.title)
end
local function renderAboveRow()
if not args.above then return end
has_rows = true
has_list_class({ args.aboveclass })
root
:tag('tr')
:tag('th')
:attr('colspan', '2')
:addClass('infobox-above')
:addClass(args.aboveclass)
-- @deprecated next; target .infobox-<name> .infobox-above
:cssText(args.abovestyle)
:wikitext(fixChildBoxes(args.above,'th'))
end
local function renderBelowRow()
if not args.below then return end
has_rows = true
has_list_class({ args.belowclass })
root
:tag('tr')
:tag('td')
:attr('colspan', '2')
:addClass('infobox-below')
:addClass(args.belowclass)
-- @deprecated next; target .infobox-<name> .infobox-below
:cssText(args.belowstyle)
:wikitext(fixChildBoxes(args.below,'td'))
end
local function addSubheaderRow(subheaderArgs)
if subheaderArgs.data and
subheaderArgs.data:gsub(category_in_empty_row_pattern, ''):match('^%S') then
has_rows = true
has_list_class({ subheaderArgs.rowclass, subheaderArgs.class })
local row = root:tag('tr')
row:addClass(subheaderArgs.rowclass)
local dataCell = row:tag('td')
dataCell
:attr('colspan', '2')
:addClass('infobox-subheader')
:addClass(subheaderArgs.class)
:cssText(subheaderArgs.datastyle)
:cssText(subheaderArgs.rowcellstyle)
:wikitext(fixChildBoxes(subheaderArgs.data, 'td'))
else
table.insert(empty_row_categories, subheaderArgs.data or '')
end
end
local function renderSubheaders()
if args.subheader then
args.subheader1 = args.subheader
end
if args.subheaderrowclass then
args.subheaderrowclass1 = args.subheaderrowclass
end
local subheadernums = getArgNums('subheader')
for k, num in ipairs(subheadernums) do
addSubheaderRow({
data = args['subheader' .. tostring(num)],
-- @deprecated next; target .infobox-<name> .infobox-subheader
datastyle = args.subheaderstyle,
rowcellstyle = args['subheaderstyle' .. tostring(num)],
class = args.subheaderclass,
rowclass = args['subheaderrowclass' .. tostring(num)]
})
end
end
local function addImageRow(imageArgs)
if imageArgs.data and
imageArgs.data:gsub(category_in_empty_row_pattern, ''):match('^%S') then
has_rows = true
has_list_class({ imageArgs.rowclass, imageArgs.class })
local row = root:tag('tr')
row:addClass(imageArgs.rowclass)
local dataCell = row:tag('td')
dataCell
:attr('colspan', '2')
:addClass('infobox-image')
:addClass(imageArgs.class)
:cssText(imageArgs.datastyle)
:wikitext(fixChildBoxes(imageArgs.data, 'td'))
else
table.insert(empty_row_categories, imageArgs.data or '')
end
end
local function renderImages()
if args.image then
args.image1 = args.image
end
if args.caption then
args.caption1 = args.caption
end
local imagenums = getArgNums('image')
for k, num in ipairs(imagenums) do
local caption = args['caption' .. tostring(num)]
local data = mw.html.create():wikitext(args['image' .. tostring(num)])
if caption then
data
:tag('div')
:addClass('infobox-caption')
-- @deprecated next; target .infobox-<name> .infobox-caption
:cssText(args.captionstyle)
:wikitext(caption)
end
addImageRow({
data = tostring(data),
-- @deprecated next; target .infobox-<name> .infobox-image
datastyle = args.imagestyle,
class = args.imageclass,
rowclass = args['imagerowclass' .. tostring(num)]
})
end
end
-- When autoheaders are turned on, preprocesses the rows
local function preprocessRows()
if not args.autoheaders then return end
local rownums = union(getArgNums('header'), getArgNums('data'))
table.sort(rownums)
local lastheader
for k, num in ipairs(rownums) do
if args['header' .. tostring(num)] then
if lastheader then
args['header' .. tostring(lastheader)] = nil
end
lastheader = num
elseif args['data' .. tostring(num)] and
args['data' .. tostring(num)]:gsub(
category_in_empty_row_pattern, ''
):match('^%S') then
local data = args['data' .. tostring(num)]
if data:gsub(category_in_empty_row_pattern, ''):match('%S') then
lastheader = nil
end
end
end
if lastheader then
args['header' .. tostring(lastheader)] = nil
end
end
-- Gets the union of the header and data argument numbers,
-- and renders them all in order
local function renderRows()
local rownums = union(getArgNums('header'), getArgNums('data'))
table.sort(rownums)
for k, num in ipairs(rownums) do
addRow({
header = args['header' .. tostring(num)],
label = args['label' .. tostring(num)],
data = args['data' .. tostring(num)],
datastyle = args.datastyle,
class = args['class' .. tostring(num)],
rowclass = args['rowclass' .. tostring(num)],
-- @deprecated next; target .infobox-<name> rowclass
rowstyle = args['rowstyle' .. tostring(num)],
rowcellstyle = args['rowcellstyle' .. tostring(num)]
})
end
end
local function renderNavBar()
if not args.name then return end
has_rows = true
root
:tag('tr')
:tag('td')
:attr('colspan', '2')
:addClass('infobox-navbar')
:wikitext(require('Module:Navbar')._navbar{
args.name,
mini = 1,
})
end
local function renderItalicTitle()
local italicTitle = args['italic title'] and mw.ustring.lower(args['italic title'])
if italicTitle == '' or italicTitle == 'force' or italicTitle == 'yes' then
root:wikitext(require('Module:Italic title')._main({}))
end
end
-- Categories in otherwise empty rows are collected in empty_row_categories.
-- This function adds them to the module output. It is not affected by
-- args.decat because this module should not prevent module-external categories
-- from rendering.
local function renderEmptyRowCategories()
for _, s in ipairs(empty_row_categories) do
root:wikitext(s)
end
end
-- Render tracking categories. args.decat == turns off tracking categories.
local function renderTrackingCategories()
if args.decat == 'yes' then return end
if args.child == 'yes' then
if args.title then
root:wikitext(
'[[Category:Pages using embedded infobox templates with the title parameter]]'
)
end
elseif #(getArgNums('data')) == 0 and mw.title.getCurrentTitle().namespace == 0 then
root:wikitext('[[Category:Articles using infobox templates with no data rows]]')
end
end
--[=[
Loads the templatestyles for the infobox.
TODO: FINISH loading base templatestyles here rather than in
MediaWiki:Common.css. There are 4-5000 pages with 'raw' infobox tables.
See [[Mediawiki_talk:Common.css/to_do#Infobox]] and/or come help :).
When we do this we should clean up the inline CSS below too.
Will have to do some bizarre conversion category like with sidebar.
]=]
local function loadTemplateStyles()
local frame = mw.getCurrentFrame()
local hlist_templatestyles = ''
if lists.hlist_t.found then
hlist_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = lists.hlist_t.styles }
}
end
local plainlist_templatestyles = ''
if lists.plainlist_t.found then
plainlist_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = lists.plainlist_t.styles }
}
end
-- See function description
local base_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = 'Module:Infobox/styles.css' }
}
local templatestyles = ''
if args['templatestyles'] then
templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = args['templatestyles'] }
}
end
local child_templatestyles = ''
if args['child templatestyles'] then
child_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = args['child templatestyles'] }
}
end
local grandchild_templatestyles = ''
if args['grandchild templatestyles'] then
grandchild_templatestyles = frame:extensionTag{
name = 'templatestyles', args = { src = args['grandchild templatestyles'] }
}
end
return table.concat({
-- hlist -> plainlist -> base is best-effort to preserve old Common.css ordering.
-- this ordering is not a guarantee because the rows of interest invoking
-- each class may not be on a specific page
hlist_templatestyles,
plainlist_templatestyles,
base_templatestyles,
templatestyles,
child_templatestyles,
grandchild_templatestyles
})
end
-- common functions between the child and non child cases
local function structure_infobox_common()
renderSubheaders()
renderImages()
preprocessRows()
renderRows()
renderBelowRow()
renderNavBar()
renderItalicTitle()
renderEmptyRowCategories()
renderTrackingCategories()
cleanInfobox()
end
-- Specify the overall layout of the infobox, with special settings if the
-- infobox is used as a 'child' inside another infobox.
local function _infobox()
if args.child ~= 'yes' then
root = mw.html.create('table')
root
:addClass(args.subbox == 'yes' and 'infobox-subbox' or 'infobox')
:addClass(args.bodyclass)
-- @deprecated next; target .infobox-<name>
:cssText(args.bodystyle)
has_list_class({ args.bodyclass })
renderTitle()
renderAboveRow()
else
root = mw.html.create()
root
:wikitext(args.title)
end
structure_infobox_common()
return loadTemplateStyles() .. root
end
-- If the argument exists and isn't blank, add it to the argument table.
-- Blank arguments are treated as nil to match the behaviour of ParserFunctions.
local function preprocessSingleArg(argName)
if origArgs[argName] and origArgs[argName] ~= '' then
args[argName] = origArgs[argName]
end
end
-- Assign the parameters with the given prefixes to the args table, in order, in
-- batches of the step size specified. This is to prevent references etc. from
-- appearing in the wrong order. The prefixTable should be an array containing
-- tables, each of which has two possible fields, a "prefix" string and a
-- "depend" table. The function always parses parameters containing the "prefix"
-- string, but only parses parameters in the "depend" table if the prefix
-- parameter is present and non-blank.
local function preprocessArgs(prefixTable, step)
if type(prefixTable) ~= 'table' then
error("Non-table value detected for the prefix table", 2)
end
if type(step) ~= 'number' then
error("Invalid step value detected", 2)
end
-- Get arguments without a number suffix, and check for bad input.
for i,v in ipairs(prefixTable) do
if type(v) ~= 'table' or type(v.prefix) ~= "string" or
(v.depend and type(v.depend) ~= 'table') then
error('Invalid input detected to preprocessArgs prefix table', 2)
end
preprocessSingleArg(v.prefix)
-- Only parse the depend parameter if the prefix parameter is present
-- and not blank.
if args[v.prefix] and v.depend then
for j, dependValue in ipairs(v.depend) do
if type(dependValue) ~= 'string' then
error('Invalid "depend" parameter value detected in preprocessArgs')
end
preprocessSingleArg(dependValue)
end
end
end
-- Get arguments with number suffixes.
local a = 1 -- Counter variable.
local moreArgumentsExist = true
while moreArgumentsExist == true do
moreArgumentsExist = false
for i = a, a + step - 1 do
for j,v in ipairs(prefixTable) do
local prefixArgName = v.prefix .. tostring(i)
if origArgs[prefixArgName] then
-- Do another loop if any arguments are found, even blank ones.
moreArgumentsExist = true
preprocessSingleArg(prefixArgName)
end
-- Process the depend table if the prefix argument is present
-- and not blank, or we are processing "prefix1" and "prefix" is
-- present and not blank, and if the depend table is present.
if v.depend and (args[prefixArgName] or (i == 1 and args[v.prefix])) then
for j,dependValue in ipairs(v.depend) do
local dependArgName = dependValue .. tostring(i)
preprocessSingleArg(dependArgName)
end
end
end
end
a = a + step
end
end
-- Parse the data parameters in the same order that the old {{infobox}} did, so
-- that references etc. will display in the expected places. Parameters that
-- depend on another parameter are only processed if that parameter is present,
-- to avoid phantom references appearing in article reference lists.
local function parseDataParameters()
preprocessSingleArg('autoheaders')
preprocessSingleArg('child')
preprocessSingleArg('bodyclass')
preprocessSingleArg('subbox')
preprocessSingleArg('bodystyle')
preprocessSingleArg('title')
preprocessSingleArg('titleclass')
preprocessSingleArg('titlestyle')
preprocessSingleArg('above')
preprocessSingleArg('aboveclass')
preprocessSingleArg('abovestyle')
preprocessArgs({
{prefix = 'subheader', depend = {'subheaderstyle', 'subheaderrowclass'}}
}, 10)
preprocessSingleArg('subheaderstyle')
preprocessSingleArg('subheaderclass')
preprocessArgs({
{prefix = 'image', depend = {'caption', 'imagerowclass'}}
}, 10)
preprocessSingleArg('captionstyle')
preprocessSingleArg('imagestyle')
preprocessSingleArg('imageclass')
preprocessArgs({
{prefix = 'header'},
{prefix = 'data', depend = {'label'}},
{prefix = 'rowclass'},
{prefix = 'rowstyle'},
{prefix = 'rowcellstyle'},
{prefix = 'class'}
}, 50)
preprocessSingleArg('headerclass')
preprocessSingleArg('headerstyle')
preprocessSingleArg('labelstyle')
preprocessSingleArg('datastyle')
preprocessSingleArg('below')
preprocessSingleArg('belowclass')
preprocessSingleArg('belowstyle')
preprocessSingleArg('name')
-- different behaviour for italics if blank or absent
args['italic title'] = origArgs['italic title']
preprocessSingleArg('decat')
preprocessSingleArg('templatestyles')
preprocessSingleArg('child templatestyles')
preprocessSingleArg('grandchild templatestyles')
end
-- If called via #invoke, use the args passed into the invoking template.
-- Otherwise, for testing purposes, assume args are being passed directly in.
function p.infobox(frame)
if frame == mw.getCurrentFrame() then
origArgs = frame:getParent().args
else
origArgs = frame
end
parseDataParameters()
return _infobox()
end
-- For calling via #invoke within a template
function p.infoboxTemplate(frame)
origArgs = {}
for k,v in pairs(frame.args) do origArgs[k] = mw.text.trim(v) end
parseDataParameters()
return _infobox()
end
return p
0ddb7e5c8426d67cd589b710efb9912ddfb67fea
Module:InfoboxImage
828
1427
2918
2917
2024-03-13T05:24:07Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- Inputs:
-- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link
-- page - page to display for multipage images (DjVu)
-- size - size to display the image
-- maxsize - maximum size for image
-- sizedefault - default size to display the image if size param is blank
-- alt - alt text for image
-- title - title text for image
-- border - set to yes if border
-- center - set to yes, if the image has to be centered
-- upright - upright image param
-- suppressplaceholder - if yes then checks to see if image is a placeholder and suppresses it
-- link - page to visit when clicking on image
-- class - HTML classes to add to the image
-- Outputs:
-- Formatted image.
-- More details available at the "Module:InfoboxImage/doc" page
local i = {};
local placeholder_image = {
"Blue - Replace this image female.svg",
"Blue - Replace this image male.svg",
"Female no free image yet.png",
"Flag of None (square).svg",
"Flag of None.svg",
"Flag of.svg",
"Green - Replace this image female.svg",
"Green - Replace this image male.svg",
"Image is needed female.svg",
"Image is needed male.svg",
"Location map of None.svg",
"Male no free image yet.png",
"Missing flag.png",
"No flag.svg",
"No free portrait.svg",
"No portrait (female).svg",
"No portrait (male).svg",
"Red - Replace this image female.svg",
"Red - Replace this image male.svg",
"Replace this image female (blue).svg",
"Replace this image female.svg",
"Replace this image male (blue).svg",
"Replace this image male.svg",
"Silver - Replace this image female.svg",
"Silver - Replace this image male.svg",
"Replace this image.svg",
"Cricket no pic.png",
"CarersLogo.gif",
"Diagram Needed.svg",
"Example.jpg",
"Image placeholder.png",
"No male portrait.svg",
"Nocover-upload.png",
"NoDVDcover copy.png",
"Noribbon.svg",
"No portrait-BFD-test.svg",
"Placeholder barnstar ribbon.png",
"Project Trains no image.png",
"Image-request.png",
"Sin bandera.svg",
"Sin escudo.svg",
"Replace this image - temple.png",
"Replace this image butterfly.png",
"Replace this image.svg",
"Replace this image1.svg",
"Resolution angle.png",
"Image-No portrait-text-BFD-test.svg",
"Insert image here.svg",
"No image available.png",
"NO IMAGE YET square.png",
"NO IMAGE YET.png",
"No Photo Available.svg",
"No Screenshot.svg",
"No-image-available.jpg",
"Null.png",
"PictureNeeded.gif",
"Place holder.jpg",
"Unbenannt.JPG",
"UploadACopyrightFreeImage.svg",
"UploadAnImage.gif",
"UploadAnImage.svg",
"UploadAnImageShort.svg",
"CarersLogo.gif",
"Diagram Needed.svg",
"No male portrait.svg",
"NoDVDcover copy.png",
"Placeholder barnstar ribbon.png",
"Project Trains no image.png",
"Image-request.png",
"Noimage.gif",
}
function i.IsPlaceholder(image)
-- change underscores to spaces
image = mw.ustring.gsub(image, "_", " ");
assert(image ~= nil, 'mw.ustring.gsub(image, "_", " ") must not return nil')
-- if image starts with [[ then remove that and anything after |
if mw.ustring.sub(image,1,2) == "[[" then
image = mw.ustring.sub(image,3);
image = mw.ustring.gsub(image, "([^|]*)|.*", "%1");
assert(image ~= nil, 'mw.ustring.gsub(image, "([^|]*)|.*", "%1") must not return nil')
end
-- Trim spaces
image = mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1');
assert(image ~= nil, "mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1') must not return nil")
-- remove prefix if exists
local allNames = mw.site.namespaces[6].aliases
allNames[#allNames + 1] = mw.site.namespaces[6].name
allNames[#allNames + 1] = mw.site.namespaces[6].canonicalName
for i, name in ipairs(allNames) do
if mw.ustring.lower(mw.ustring.sub(image, 1, mw.ustring.len(name) + 1)) == mw.ustring.lower(name .. ":") then
image = mw.ustring.sub(image, mw.ustring.len(name) + 2);
break
end
end
-- Trim spaces
image = mw.ustring.gsub(image, '^[ ]*(.-)[ ]*$', '%1');
-- capitalise first letter
image = mw.ustring.upper(mw.ustring.sub(image,1,1)) .. mw.ustring.sub(image,2);
for i,j in pairs(placeholder_image) do
if image == j then
return true
end
end
return false
end
function i.InfoboxImage(frame)
local image = frame.args["image"];
if image == "" or image == nil then
return "";
end
if image == " " then
return image;
end
if frame.args["suppressplaceholder"] ~= "no" then
if i.IsPlaceholder(image) == true then
return "";
end
end
if mw.ustring.lower(mw.ustring.sub(image,1,5)) == "http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "[http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,7)) == "[[http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "https:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,7)) == "[https:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,8)) == "[[https:" then
return "";
end
if mw.ustring.sub(image,1,2) == "[[" then
-- search for thumbnail images and add to tracking cat if found
local cat = "";
if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumbnail%s*[|%]]")) then
cat = "[[Category:Pages using infoboxes with thumbnail images]]";
end
return image .. cat;
elseif mw.ustring.sub(image,1,2) == "{{" and mw.ustring.sub(image,1,3) ~= "{{{" then
return image;
elseif mw.ustring.sub(image,1,1) == "<" then
return image;
elseif mw.ustring.sub(image,1,8) == mw.ustring.char(127).."'\"`UNIQ" then
-- Found strip marker at begining, so pass don't process at all
return image;
else
local result = "";
local page = frame.args["page"];
local size = frame.args["size"];
local maxsize = frame.args["maxsize"];
local sizedefault = frame.args["sizedefault"];
local alt = frame.args["alt"];
local link = frame.args["link"];
local title = frame.args["title"];
local border = frame.args["border"];
local upright = frame.args["upright"] or "";
local thumbtime = frame.args["thumbtime"] or "";
local center = frame.args["center"];
local class = frame.args["class"];
-- remove prefix if exists
local allNames = mw.site.namespaces[6].aliases
allNames[#allNames + 1] = mw.site.namespaces[6].name
allNames[#allNames + 1] = mw.site.namespaces[6].canonicalName
for i, name in ipairs(allNames) do
if mw.ustring.lower(mw.ustring.sub(image, 1, mw.ustring.len(name) + 1)) == mw.ustring.lower(name .. ":") then
image = mw.ustring.sub(image, mw.ustring.len(name) + 2);
break
end
end
if maxsize ~= "" and maxsize ~= nil then
-- if no sizedefault then set to maxsize
if sizedefault == "" or sizedefault == nil then
sizedefault = maxsize
end
-- check to see if size bigger than maxsize
if size ~= "" and size ~= nil then
local sizenumber = tonumber(mw.ustring.match(size,"%d*")) or 0;
local maxsizenumber = tonumber(mw.ustring.match(maxsize,"%d*")) or 0;
if sizenumber>maxsizenumber and maxsizenumber>0 then
size = maxsize;
end
end
end
-- add px to size if just a number
if (tonumber(size) or 0) > 0 then
size = size .. "px";
end
-- add px to sizedefault if just a number
if (tonumber(sizedefault) or 0) > 0 then
sizedefault = sizedefault .. "px";
end
result = "[[File:" .. image;
if page ~= "" and page ~= nil then
result = result .. "|page=" .. page;
end
if size ~= "" and size ~= nil then
result = result .. "|" .. size;
elseif sizedefault ~= "" and sizedefault ~= nil then
result = result .. "|" .. sizedefault;
else
result = result .. "|frameless";
end
if center == "yes" then
result = result .. "|center"
end
if alt ~= "" and alt ~= nil then
result = result .. "|alt=" .. alt;
end
if link ~= "" and link ~= nil then
result = result .. "|link=" .. link;
end
if border == "yes" then
result = result .. "|border";
end
if upright == "yes" then
result = result .. "|upright";
elseif upright ~= "" then
result = result .. "|upright=" .. upright;
end
if thumbtime ~= "" then
result = result .. "|thumbtime=" .. thumbtime;
end
if class ~= nil and class ~= "" then
result = result .. "|class=" .. class;
end
-- if alt value is a keyword then do not use as a description
if alt == "thumbnail" or alt == "thumb" or alt == "frameless" or alt == "left" or alt == "center" or alt == "right" or alt == "upright" or alt == "border" or mw.ustring.match(alt or "", '^[0-9]*px$', 1) ~= nil then
alt = nil;
end
if title ~= "" and title ~= nil then
-- does title param contain any templatestyles? If yes then set to blank.
if mw.ustring.match(frame:preprocess(title), 'UNIQ%-%-templatestyles', 1) ~= nil then
title = nil;
end
end
if title ~= "" and title ~= nil then
result = result .. "|" .. title;
end
result = result .. "]]";
return result;
end
end
return i;
35066ee19938554ca6eeb18d6e22d2063336b7e1
Module:Infobox/styles.css
828
1428
2920
2919
2024-03-13T05:24:07Z
ElBortoTexas
10
1 revision imported
sanitized-css
text/css
/* {{pp|small=y}} */
/*
* This TemplateStyles sheet deliberately does NOT include the full set of
* infobox styles. We are still working to migrate all of the manual
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
* DO NOT ADD THEM HERE
*/
/*
* not strictly certain these styles are necessary since the modules now
* exclusively output infobox-subbox or infobox, not both
* just replicating the module faithfully
*/
.infobox-subbox {
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
.infobox-3cols-child {
margin: auto;
}
.infobox .navbar {
font-size: 100%;
}
/* T281642 */
body.skin-minerva .infobox-header,
body.skin-minerva .infobox-subheader,
body.skin-minerva .infobox-above,
body.skin-minerva .infobox-title,
body.skin-minerva .infobox-image,
body.skin-minerva .infobox-full-data,
body.skin-minerva .infobox-below {
text-align: center;
}
e8de6d96f4fde53afc4a6b0fed534405ab59b0a7
Module:List
828
1429
2922
2921
2024-03-13T05:24:07Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
local libUtil = require('libraryUtil')
local checkType = libUtil.checkType
local mTableTools = require('Module:TableTools')
local p = {}
local listTypes = {
['bulleted'] = true,
['unbulleted'] = true,
['horizontal'] = true,
['ordered'] = true,
['horizontal_ordered'] = true
}
function p.makeListData(listType, args)
-- Constructs a data table to be passed to p.renderList.
local data = {}
-- Classes and TemplateStyles
data.classes = {}
data.templatestyles = ''
if listType == 'horizontal' or listType == 'horizontal_ordered' then
table.insert(data.classes, 'hlist')
data.templatestyles = mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = 'Hlist/styles.css' }
}
elseif listType == 'unbulleted' then
table.insert(data.classes, 'plainlist')
data.templatestyles = mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = 'Plainlist/styles.css' }
}
end
table.insert(data.classes, args.class)
-- Main div style
data.style = args.style
-- Indent for horizontal lists
if listType == 'horizontal' or listType == 'horizontal_ordered' then
local indent = tonumber(args.indent)
indent = indent and indent * 1.6 or 0
if indent > 0 then
data.marginLeft = indent .. 'em'
end
end
-- List style types for ordered lists
-- This could be "1, 2, 3", "a, b, c", or a number of others. The list style
-- type is either set by the "type" attribute or the "list-style-type" CSS
-- property.
if listType == 'ordered' or listType == 'horizontal_ordered' then
data.listStyleType = args.list_style_type or args['list-style-type']
data.type = args['type']
-- Detect invalid type attributes and attempt to convert them to
-- list-style-type CSS properties.
if data.type
and not data.listStyleType
and not tostring(data.type):find('^%s*[1AaIi]%s*$')
then
data.listStyleType = data.type
data.type = nil
end
end
-- List tag type
if listType == 'ordered' or listType == 'horizontal_ordered' then
data.listTag = 'ol'
else
data.listTag = 'ul'
end
-- Start number for ordered lists
data.start = args.start
if listType == 'horizontal_ordered' then
-- Apply fix to get start numbers working with horizontal ordered lists.
local startNum = tonumber(data.start)
if startNum then
data.counterReset = 'listitem ' .. tostring(startNum - 1)
end
end
-- List style
-- ul_style and ol_style are included for backwards compatibility. No
-- distinction is made for ordered or unordered lists.
data.listStyle = args.list_style
-- List items
-- li_style is included for backwards compatibility. item_style was included
-- to be easier to understand for non-coders.
data.itemStyle = args.item_style or args.li_style
data.items = {}
for _, num in ipairs(mTableTools.numKeys(args)) do
local item = {}
item.content = args[num]
item.style = args['item' .. tostring(num) .. '_style']
or args['item_style' .. tostring(num)]
item.value = args['item' .. tostring(num) .. '_value']
or args['item_value' .. tostring(num)]
table.insert(data.items, item)
end
return data
end
function p.renderList(data)
-- Renders the list HTML.
-- Return the blank string if there are no list items.
if type(data.items) ~= 'table' or #data.items < 1 then
return ''
end
-- Render the main div tag.
local root = mw.html.create('div')
for _, class in ipairs(data.classes or {}) do
root:addClass(class)
end
root:css{['margin-left'] = data.marginLeft}
if data.style then
root:cssText(data.style)
end
-- Render the list tag.
local list = root:tag(data.listTag or 'ul')
list
:attr{start = data.start, type = data.type}
:css{
['counter-reset'] = data.counterReset,
['list-style-type'] = data.listStyleType
}
if data.listStyle then
list:cssText(data.listStyle)
end
-- Render the list items
for _, t in ipairs(data.items or {}) do
local item = list:tag('li')
if data.itemStyle then
item:cssText(data.itemStyle)
end
if t.style then
item:cssText(t.style)
end
item
:attr{value = t.value}
:wikitext(t.content)
end
return data.templatestyles .. tostring(root)
end
function p.renderTrackingCategories(args)
local isDeprecated = false -- Tracks deprecated parameters.
for k, v in pairs(args) do
k = tostring(k)
if k:find('^item_style%d+$') or k:find('^item_value%d+$') then
isDeprecated = true
break
end
end
local ret = ''
if isDeprecated then
ret = ret .. '[[Category:List templates with deprecated parameters]]'
end
return ret
end
function p.makeList(listType, args)
if not listType or not listTypes[listType] then
error(string.format(
"bad argument #1 to 'makeList' ('%s' is not a valid list type)",
tostring(listType)
), 2)
end
checkType('makeList', 2, args, 'table')
local data = p.makeListData(listType, args)
local list = p.renderList(data)
local trackingCategories = p.renderTrackingCategories(args)
return list .. trackingCategories
end
for listType in pairs(listTypes) do
p[listType] = function (frame)
local mArguments = require('Module:Arguments')
local origArgs = mArguments.getArgs(frame, {
valueFunc = function (key, value)
if not value or not mw.ustring.find(value, '%S') then return nil end
if mw.ustring.find(value, '^%s*[%*#;:]') then
return value
else
return value:match('^%s*(.-)%s*$')
end
return nil
end
})
-- Copy all the arguments to a new table, for faster indexing.
local args = {}
for k, v in pairs(origArgs) do
args[k] = v
end
return p.makeList(listType, args)
end
end
return p
7a4f36a6e9cd56370bdd8207d23694124821dc1a
Module:TableTools
828
1430
2924
2923
2024-03-13T05:24:08Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
------------------------------------------------------------------------------------
-- TableTools --
-- --
-- This module includes a number of functions for dealing with Lua tables. --
-- It is a meta-module, meant to be called from other Lua modules, and should not --
-- be called directly from #invoke. --
------------------------------------------------------------------------------------
local libraryUtil = require('libraryUtil')
local p = {}
-- Define often-used variables and functions.
local floor = math.floor
local infinity = math.huge
local checkType = libraryUtil.checkType
local checkTypeMulti = libraryUtil.checkTypeMulti
------------------------------------------------------------------------------------
-- isPositiveInteger
--
-- This function returns true if the given value is a positive integer, and false
-- if not. Although it doesn't operate on tables, it is included here as it is
-- useful for determining whether a given table key is in the array part or the
-- hash part of a table.
------------------------------------------------------------------------------------
function p.isPositiveInteger(v)
return type(v) == 'number' and v >= 1 and floor(v) == v and v < infinity
end
------------------------------------------------------------------------------------
-- isNan
--
-- This function returns true if the given number is a NaN value, and false if
-- not. Although it doesn't operate on tables, it is included here as it is useful
-- for determining whether a value can be a valid table key. Lua will generate an
-- error if a NaN is used as a table key.
------------------------------------------------------------------------------------
function p.isNan(v)
return type(v) == 'number' and v ~= v
end
------------------------------------------------------------------------------------
-- shallowClone
--
-- This returns a clone of a table. The value returned is a new table, but all
-- subtables and functions are shared. Metamethods are respected, but the returned
-- table will have no metatable of its own.
------------------------------------------------------------------------------------
function p.shallowClone(t)
checkType('shallowClone', 1, t, 'table')
local ret = {}
for k, v in pairs(t) do
ret[k] = v
end
return ret
end
------------------------------------------------------------------------------------
-- removeDuplicates
--
-- This removes duplicate values from an array. Non-positive-integer keys are
-- ignored. The earliest value is kept, and all subsequent duplicate values are
-- removed, but otherwise the array order is unchanged.
------------------------------------------------------------------------------------
function p.removeDuplicates(arr)
checkType('removeDuplicates', 1, arr, 'table')
local isNan = p.isNan
local ret, exists = {}, {}
for _, v in ipairs(arr) do
if isNan(v) then
-- NaNs can't be table keys, and they are also unique, so we don't need to check existence.
ret[#ret + 1] = v
else
if not exists[v] then
ret[#ret + 1] = v
exists[v] = true
end
end
end
return ret
end
------------------------------------------------------------------------------------
-- numKeys
--
-- This takes a table and returns an array containing the numbers of any numerical
-- keys that have non-nil values, sorted in numerical order.
------------------------------------------------------------------------------------
function p.numKeys(t)
checkType('numKeys', 1, t, 'table')
local isPositiveInteger = p.isPositiveInteger
local nums = {}
for k in pairs(t) do
if isPositiveInteger(k) then
nums[#nums + 1] = k
end
end
table.sort(nums)
return nums
end
------------------------------------------------------------------------------------
-- affixNums
--
-- This takes a table and returns an array containing the numbers of keys with the
-- specified prefix and suffix. For example, for the table
-- {a1 = 'foo', a3 = 'bar', a6 = 'baz'} and the prefix "a", affixNums will return
-- {1, 3, 6}.
------------------------------------------------------------------------------------
function p.affixNums(t, prefix, suffix)
checkType('affixNums', 1, t, 'table')
checkType('affixNums', 2, prefix, 'string', true)
checkType('affixNums', 3, suffix, 'string', true)
local function cleanPattern(s)
-- Cleans a pattern so that the magic characters ()%.[]*+-?^$ are interpreted literally.
return s:gsub('([%(%)%%%.%[%]%*%+%-%?%^%$])', '%%%1')
end
prefix = prefix or ''
suffix = suffix or ''
prefix = cleanPattern(prefix)
suffix = cleanPattern(suffix)
local pattern = '^' .. prefix .. '([1-9]%d*)' .. suffix .. '$'
local nums = {}
for k in pairs(t) do
if type(k) == 'string' then
local num = mw.ustring.match(k, pattern)
if num then
nums[#nums + 1] = tonumber(num)
end
end
end
table.sort(nums)
return nums
end
------------------------------------------------------------------------------------
-- numData
--
-- Given a table with keys like {"foo1", "bar1", "foo2", "baz2"}, returns a table
-- of subtables in the format
-- {[1] = {foo = 'text', bar = 'text'}, [2] = {foo = 'text', baz = 'text'}}.
-- Keys that don't end with an integer are stored in a subtable named "other". The
-- compress option compresses the table so that it can be iterated over with
-- ipairs.
------------------------------------------------------------------------------------
function p.numData(t, compress)
checkType('numData', 1, t, 'table')
checkType('numData', 2, compress, 'boolean', true)
local ret = {}
for k, v in pairs(t) do
local prefix, num = mw.ustring.match(tostring(k), '^([^0-9]*)([1-9][0-9]*)$')
if num then
num = tonumber(num)
local subtable = ret[num] or {}
if prefix == '' then
-- Positional parameters match the blank string; put them at the start of the subtable instead.
prefix = 1
end
subtable[prefix] = v
ret[num] = subtable
else
local subtable = ret.other or {}
subtable[k] = v
ret.other = subtable
end
end
if compress then
local other = ret.other
ret = p.compressSparseArray(ret)
ret.other = other
end
return ret
end
------------------------------------------------------------------------------------
-- compressSparseArray
--
-- This takes an array with one or more nil values, and removes the nil values
-- while preserving the order, so that the array can be safely traversed with
-- ipairs.
------------------------------------------------------------------------------------
function p.compressSparseArray(t)
checkType('compressSparseArray', 1, t, 'table')
local ret = {}
local nums = p.numKeys(t)
for _, num in ipairs(nums) do
ret[#ret + 1] = t[num]
end
return ret
end
------------------------------------------------------------------------------------
-- sparseIpairs
--
-- This is an iterator for sparse arrays. It can be used like ipairs, but can
-- handle nil values.
------------------------------------------------------------------------------------
function p.sparseIpairs(t)
checkType('sparseIpairs', 1, t, 'table')
local nums = p.numKeys(t)
local i = 0
local lim = #nums
return function ()
i = i + 1
if i <= lim then
local key = nums[i]
return key, t[key]
else
return nil, nil
end
end
end
------------------------------------------------------------------------------------
-- size
--
-- This returns the size of a key/value pair table. It will also work on arrays,
-- but for arrays it is more efficient to use the # operator.
------------------------------------------------------------------------------------
function p.size(t)
checkType('size', 1, t, 'table')
local i = 0
for _ in pairs(t) do
i = i + 1
end
return i
end
local function defaultKeySort(item1, item2)
-- "number" < "string", so numbers will be sorted before strings.
local type1, type2 = type(item1), type(item2)
if type1 ~= type2 then
return type1 < type2
elseif type1 == 'table' or type1 == 'boolean' or type1 == 'function' then
return tostring(item1) < tostring(item2)
else
return item1 < item2
end
end
------------------------------------------------------------------------------------
-- keysToList
--
-- Returns an array of the keys in a table, sorted using either a default
-- comparison function or a custom keySort function.
------------------------------------------------------------------------------------
function p.keysToList(t, keySort, checked)
if not checked then
checkType('keysToList', 1, t, 'table')
checkTypeMulti('keysToList', 2, keySort, {'function', 'boolean', 'nil'})
end
local arr = {}
local index = 1
for k in pairs(t) do
arr[index] = k
index = index + 1
end
if keySort ~= false then
keySort = type(keySort) == 'function' and keySort or defaultKeySort
table.sort(arr, keySort)
end
return arr
end
------------------------------------------------------------------------------------
-- sortedPairs
--
-- Iterates through a table, with the keys sorted using the keysToList function.
-- If there are only numerical keys, sparseIpairs is probably more efficient.
------------------------------------------------------------------------------------
function p.sortedPairs(t, keySort)
checkType('sortedPairs', 1, t, 'table')
checkType('sortedPairs', 2, keySort, 'function', true)
local arr = p.keysToList(t, keySort, true)
local i = 0
return function ()
i = i + 1
local key = arr[i]
if key ~= nil then
return key, t[key]
else
return nil, nil
end
end
end
------------------------------------------------------------------------------------
-- isArray
--
-- Returns true if the given value is a table and all keys are consecutive
-- integers starting at 1.
------------------------------------------------------------------------------------
function p.isArray(v)
if type(v) ~= 'table' then
return false
end
local i = 0
for _ in pairs(v) do
i = i + 1
if v[i] == nil then
return false
end
end
return true
end
------------------------------------------------------------------------------------
-- isArrayLike
--
-- Returns true if the given value is iterable and all keys are consecutive
-- integers starting at 1.
------------------------------------------------------------------------------------
function p.isArrayLike(v)
if not pcall(pairs, v) then
return false
end
local i = 0
for _ in pairs(v) do
i = i + 1
if v[i] == nil then
return false
end
end
return true
end
------------------------------------------------------------------------------------
-- invert
--
-- Transposes the keys and values in an array. For example, {"a", "b", "c"} ->
-- {a = 1, b = 2, c = 3}. Duplicates are not supported (result values refer to
-- the index of the last duplicate) and NaN values are ignored.
------------------------------------------------------------------------------------
function p.invert(arr)
checkType("invert", 1, arr, "table")
local isNan = p.isNan
local map = {}
for i, v in ipairs(arr) do
if not isNan(v) then
map[v] = i
end
end
return map
end
------------------------------------------------------------------------------------
-- listToSet
--
-- Creates a set from the array part of the table. Indexing the set by any of the
-- values of the array returns true. For example, {"a", "b", "c"} ->
-- {a = true, b = true, c = true}. NaN values are ignored as Lua considers them
-- never equal to any value (including other NaNs or even themselves).
------------------------------------------------------------------------------------
function p.listToSet(arr)
checkType("listToSet", 1, arr, "table")
local isNan = p.isNan
local set = {}
for _, v in ipairs(arr) do
if not isNan(v) then
set[v] = true
end
end
return set
end
------------------------------------------------------------------------------------
-- deepCopy
--
-- Recursive deep copy function. Preserves identities of subtables.
------------------------------------------------------------------------------------
local function _deepCopy(orig, includeMetatable, already_seen)
-- Stores copies of tables indexed by the original table.
already_seen = already_seen or {}
local copy = already_seen[orig]
if copy ~= nil then
return copy
end
if type(orig) == 'table' then
copy = {}
for orig_key, orig_value in pairs(orig) do
copy[_deepCopy(orig_key, includeMetatable, already_seen)] = _deepCopy(orig_value, includeMetatable, already_seen)
end
already_seen[orig] = copy
if includeMetatable then
local mt = getmetatable(orig)
if mt ~= nil then
local mt_copy = _deepCopy(mt, includeMetatable, already_seen)
setmetatable(copy, mt_copy)
already_seen[mt] = mt_copy
end
end
else -- number, string, boolean, etc
copy = orig
end
return copy
end
function p.deepCopy(orig, noMetatable, already_seen)
checkType("deepCopy", 3, already_seen, "table", true)
return _deepCopy(orig, not noMetatable, already_seen)
end
------------------------------------------------------------------------------------
-- sparseConcat
--
-- Concatenates all values in the table that are indexed by a number, in order.
-- sparseConcat{a, nil, c, d} => "acd"
-- sparseConcat{nil, b, c, d} => "bcd"
------------------------------------------------------------------------------------
function p.sparseConcat(t, sep, i, j)
local arr = {}
local arr_i = 0
for _, v in p.sparseIpairs(t) do
arr_i = arr_i + 1
arr[arr_i] = v
end
return table.concat(arr, sep, i, j)
end
------------------------------------------------------------------------------------
-- length
--
-- Finds the length of an array, or of a quasi-array with keys such as "data1",
-- "data2", etc., using an exponential search algorithm. It is similar to the
-- operator #, but may return a different value when there are gaps in the array
-- portion of the table. Intended to be used on data loaded with mw.loadData. For
-- other tables, use #.
-- Note: #frame.args in frame object always be set to 0, regardless of the number
-- of unnamed template parameters, so use this function for frame.args.
------------------------------------------------------------------------------------
function p.length(t, prefix)
-- requiring module inline so that [[Module:Exponential search]] which is
-- only needed by this one function doesn't get millions of transclusions
local expSearch = require("Module:Exponential search")
checkType('length', 1, t, 'table')
checkType('length', 2, prefix, 'string', true)
return expSearch(function (i)
local key
if prefix then
key = prefix .. tostring(i)
else
key = i
end
return t[key] ~= nil
end) or 0
end
------------------------------------------------------------------------------------
-- inArray
--
-- Returns true if valueToFind is a member of the array, and false otherwise.
------------------------------------------------------------------------------------
function p.inArray(arr, valueToFind)
checkType("inArray", 1, arr, "table")
-- if valueToFind is nil, error?
for _, v in ipairs(arr) do
if v == valueToFind then
return true
end
end
return false
end
return p
085e7094ac84eb0132ee65822cf3f69cd8ba3d81
Template:Delink
10
1431
2926
2925
2024-03-13T05:24:08Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:delink|delink}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
ccf86b4255142fffb206ab8240f36ed22e029d6a
Module:Delink
828
1432
2928
2927
2024-03-13T05:24:08Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- This module de-links most wikitext.
require("strict")
local p = {}
local getArgs
local function delinkReversePipeTrick(s)
if s:match("^%[%[|.*[|\n]") then -- Check for newlines or multiple pipes.
return s
end
return s:match("%[%[|(.*)%]%]")
end
local function delinkPipeTrick(s)
-- We need to deal with colons, brackets, and commas, per [[Help:Pipe trick]].
-- First, remove the text before the first colon, if any.
if s:match(":") then
s = s:match("%[%[.-:(.*)|%]%]")
-- If there are no colons, grab all of the text apart from the square brackets and the pipe.
else
s = s:match("%[%[(.*)|%]%]")
end
-- Next up, brackets and commas.
if s:match("%(.-%)$") then -- Brackets trump commas.
s = s:match("(.-) ?%(.-%)$")
elseif s:match(",") then -- If there are no brackets, display only the text before the first comma.
s = s:match("(.-),.*$")
end
return s
end
-- Return wikilink target |wikilinks=target
local function getDelinkedTarget(s)
local result = s
-- Deal with the reverse pipe trick.
if result:match("%[%[|") then
return delinkReversePipeTrick(result)
end
result = mw.uri.decode(result, "PATH") -- decode percent-encoded entities. Leave underscores and plus signs.
result = mw.text.decode(result, true) -- decode HTML entities.
-- Check for bad titles. To do this we need to find the
-- title area of the link, i.e. the part before any pipes.
local target_area
if result:match("|") then -- Find if we're dealing with a piped link.
target_area = result:match("^%[%[(.-)|.*%]%]")
else
target_area = result:match("^%[%[(.-)%]%]")
end
-- Check for bad characters.
if mw.ustring.match(target_area, "[%[%]<>{}%%%c\n]") and mw.ustring.match(target_area, "[%[%]<>{}%%%c\n]") ~= "?" then
return s
end
return target_area
end
local function getDelinkedLabel(s)
local result = s
-- Deal with the reverse pipe trick.
if result:match("%[%[|") then
return delinkReversePipeTrick(result)
end
result = mw.uri.decode(result, "PATH") -- decode percent-encoded entities. Leave underscores and plus signs.
result = mw.text.decode(result, true) -- decode HTML entities.
-- Check for bad titles. To do this we need to find the
-- title area of the link, i.e. the part before any pipes.
local target_area
if result:match("|") then -- Find if we're dealing with a piped link.
target_area = result:match("^%[%[(.-)|.*%]%]")
else
target_area = result:match("^%[%[(.-)%]%]")
end
-- Check for bad characters.
if mw.ustring.match(target_area, "[%[%]<>{}%%%c\n]") and mw.ustring.match(target_area, "[%[%]<>{}%%%c\n]") ~= "?" then
return s
end
-- Check for categories, interwikis, and files.
local colon_prefix = result:match("%[%[(.-):.*%]%]") or "" -- Get the text before the first colon.
local ns = mw.site.namespaces[colon_prefix] -- see if this is a known namespace
if mw.language.isKnownLanguageTag(colon_prefix) or (ns and (ns.canonicalName == "File" or ns.canonicalName == "Category")) then
return ""
end
-- Remove the colon if the link is using the [[Help:Colon trick]].
if result:match("%[%[:") then
result = "[[" .. result:match("%[%[:(.*%]%])")
end
-- Deal with links using the [[Help:Pipe trick]].
if mw.ustring.match(result, "^%[%[[^|]*|%]%]") then
return delinkPipeTrick(result)
end
-- Find the display area of the wikilink
if result:match("|") then -- Find if we're dealing with a piped link.
result = result:match("^%[%[.-|(.+)%]%]")
-- Remove new lines from the display of multiline piped links,
-- where the pipe is before the first new line.
result = result:gsub("\n", "")
else
result = result:match("^%[%[(.-)%]%]")
end
return result
end
local function delinkURL(s)
-- Assume we have already delinked internal wikilinks, and that
-- we have been passed some text between two square brackets [foo].
-- If the text contains a line break it is not formatted as a URL, regardless of other content.
if s:match("\n") then
return s
end
-- Check if the text has a valid URL prefix and at least one valid URL character.
local valid_url_prefixes = {"//", "http://", "https://", "ftp://", "gopher://", "mailto:", "news:", "irc://"}
local url_prefix
for _ ,v in ipairs(valid_url_prefixes) do
if mw.ustring.match(s, '^%[' .. v ..'[^"%s].*%]' ) then
url_prefix = v
break
end
end
-- Get display text
if not url_prefix then
return s
end
s = s:match("^%[" .. url_prefix .. "(.*)%]") -- Grab all of the text after the URL prefix and before the final square bracket.
s = s:match('^.-(["<> ].*)') or "" -- Grab all of the text after the first URL separator character ("<> ).
s = mw.ustring.match(s, "^%s*(%S.*)$") or "" -- If the separating character was a space, trim it off.
local s_decoded = mw.text.decode(s, true)
if mw.ustring.match(s_decoded, "%c") then
return s
end
return s_decoded
end
local function delinkLinkClass(text, pattern, delinkFunction)
if type(text) ~= "string" then
error("Attempt to de-link non-string input.", 2)
end
if type(pattern) ~= "string" or mw.ustring.sub(pattern, 1, 1) ~= "^" then
error('Invalid pattern detected. Patterns must begin with "^".', 2)
end
-- Iterate over the text string, and replace any matched text. using the
-- delink function. We need to iterate character by character rather
-- than just use gsub, otherwise nested links aren't detected properly.
local result = ""
while text ~= "" do
-- Replace text using one iteration of gsub.
text = mw.ustring.gsub(text, pattern, delinkFunction, 1)
-- Append the left-most character to the result string.
result = result .. mw.ustring.sub(text, 1, 1)
text = mw.ustring.sub(text, 2, -1)
end
return result
end
function p._delink(args)
local text = args[1] or ""
if args.refs == "yes" then
-- Remove any [[Help:Strip markers]] representing ref tags. In most situations
-- this is not a good idea - only use it if you know what you are doing!
text = mw.ustring.gsub(text, "UNIQ%w*%-ref%-%d*%-QINU", "")
end
if args.comments ~= "no" then
text = text:gsub("<!%-%-.-%-%->", "") -- Remove html comments.
end
if args.wikilinks ~= "no" and args.wikilinks ~= "target" then
-- De-link wikilinks and return the label portion of the wikilink.
text = delinkLinkClass(text, "^%[%[.-%]%]", getDelinkedLabel)
elseif args.wikilinks == "target" then
-- De-link wikilinks and return the target portions of the wikilink.
text = delinkLinkClass(text, "^%[%[.-%]%]", getDelinkedTarget)
end
if args.urls ~= "no" then
text = delinkLinkClass(text, "^%[.-%]", delinkURL) -- De-link URLs.
end
if args.whitespace ~= "no" then
-- Replace single new lines with a single space, but leave double new lines
-- and new lines only containing spaces or tabs before a second new line.
text = mw.ustring.gsub(text, "([^\n \t][ \t]*)\n([ \t]*[^\n \t])", "%1 %2")
text = text:gsub("[ \t]+", " ") -- Remove extra tabs and spaces.
end
return text
end
function p.delink(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return p._delink(getArgs(frame, {wrappers = 'Template:Delink'}))
end
return p
5b8e75ac750b5d3ed76cc4158aefcd1568a6a6fd
Module:MultiReplace
828
1433
2930
2929
2024-03-13T05:24:09Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
local p = {}
local function MultiReplace(args)
local input = args[1] or "{{{1}}}"
local plain = args.plain == "yes"
local i = 1
local changeList = {}
while args[i * 2] do
local change = {pattern = args[i * 2], repl = args[i * 2 + 1]}
if not change.repl then
return require('Module:Error').error{
'MultiReplace: Unpaired argument: <code>' .. (i * 2) .. ' = ' .. mw.text.nowiki(change.pattern) .. '</code>'
}
end
changeList[i] = change
i = i + 1
end
local matchList = {}
local pos = 1
local len = mw.ustring.len(input)
local result = ""
while pos <= len do
local bestStart = len + 1
local bestStop = len
local bestChange
for _, change in ipairs(changeList) do
local start, stop = mw.ustring.find(input, change.pattern, pos, plain)
if start and (start < bestStart) then
bestStart = start
bestStop = stop
bestChange = change
end
end
result = result .. mw.ustring.sub(input, pos, bestStart - 1)
if bestChange then
local fragment = mw.ustring.sub(input, bestStart, bestStop)
result = result .. (plain and bestChange.repl or
mw.ustring.gsub(fragment, bestChange.pattern, bestChange.repl, 1))
end
pos = bestStop + 1
end
return result
end
function p.main(frame, ...)
local args =
type(frame) ~= 'table' and {frame, ...} or
type(frame.args) ~= 'table' and frame or
frame.args[1] and frame.args or
frame:getParent().args
return MultiReplace(args)
end
return p
3bd8e7e4debe76a2cd5ce5587b1629efc3e6d1f2
Module:Template link general
828
1434
2932
2931
2024-03-13T05:24:09Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- This implements Template:Tlg
local getArgs = require('Module:Arguments').getArgs
local p = {}
-- Is a string non-empty?
local function _ne(s)
return s ~= nil and s ~= ""
end
local nw = mw.text.nowiki
local function addTemplate(s)
local i, _ = s:find(':', 1, true)
if i == nil then
return 'Template:' .. s
end
local ns = s:sub(1, i - 1)
if ns == '' or mw.site.namespaces[ns] then
return s
else
return 'Template:' .. s
end
end
local function trimTemplate(s)
local needle = 'template:'
if s:sub(1, needle:len()):lower() == needle then
return s:sub(needle:len() + 1)
else
return s
end
end
local function linkTitle(args)
if _ne(args.nolink) then
return args['1']
end
local titleObj
local titlePart = '[['
if args['1'] then
-- This handles :Page and other NS
titleObj = mw.title.new(args['1'], 'Template')
else
titleObj = mw.title.getCurrentTitle()
end
titlePart = titlePart .. (titleObj ~= nil and titleObj.fullText or
addTemplate(args['1']))
local textPart = args.alttext
if not _ne(textPart) then
if titleObj ~= nil then
textPart = titleObj:inNamespace("Template") and args['1'] or titleObj.fullText
else
-- redlink
textPart = args['1']
end
end
if _ne(args.subst) then
-- HACK: the ns thing above is probably broken
textPart = 'subst:' .. textPart
end
if _ne(args.brace) then
textPart = nw('{{') .. textPart .. nw('}}')
elseif _ne(args.braceinside) then
textPart = nw('{') .. textPart .. nw('}')
end
titlePart = titlePart .. '|' .. textPart .. ']]'
if _ne(args.braceinside) then
titlePart = nw('{') .. titlePart .. nw('}')
end
return titlePart
end
function p.main(frame)
local args = getArgs(frame, {
trim = true,
removeBlanks = false
})
return p._main(args)
end
function p._main(args)
local bold = _ne(args.bold) or _ne(args.boldlink) or _ne(args.boldname)
local italic = _ne(args.italic) or _ne(args.italics)
local dontBrace = _ne(args.brace) or _ne(args.braceinside)
local code = _ne(args.code) or _ne(args.tt)
local show_result = _ne(args._show_result)
local expand = _ne(args._expand)
-- Build the link part
local titlePart = linkTitle(args)
if bold then titlePart = "'''" .. titlePart .. "'''" end
if _ne(args.nowrapname) then titlePart = '<span class="nowrap">' .. titlePart .. '</span>' end
-- Build the arguments
local textPart = ""
local textPartBuffer = "|"
local codeArguments = {}
local codeArgumentsString = ""
local i = 2
local j = 1
while args[i] do
local val = args[i]
if val ~= "" then
if _ne(args.nowiki) then
-- Unstrip nowiki tags first because calling nw on something that already contains nowiki tags will
-- mangle the nowiki strip marker and result in literal UNIQ...QINU showing up
val = nw(mw.text.unstripNoWiki(val))
end
local k, v = string.match(val, "(.*)=(.*)")
if not k then
codeArguments[j] = val
j = j + 1
else
codeArguments[k] = v
end
codeArgumentsString = codeArgumentsString .. textPartBuffer .. val
if italic then
val = '<span style="font-style:italic;">' .. val .. '</span>'
end
textPart = textPart .. textPartBuffer .. val
end
i = i + 1
end
-- final wrap
local ret = titlePart .. textPart
if not dontBrace then ret = nw('{{') .. ret .. nw('}}') end
if _ne(args.a) then ret = nw('*') .. ' ' .. ret end
if _ne(args.kbd) then ret = '<kbd>' .. ret .. '</kbd>' end
if code then
ret = '<code>' .. ret .. '</code>'
elseif _ne(args.plaincode) then
ret = '<code style="border:none;background:transparent;">' .. ret .. '</code>'
end
if _ne(args.nowrap) then ret = '<span class="nowrap">' .. ret .. '</span>' end
--[[ Wrap as html??
local span = mw.html.create('span')
span:wikitext(ret)
--]]
if _ne(args.debug) then ret = ret .. '\n<pre>' .. mw.text.encode(mw.dumpObject(args)) .. '</pre>' end
if show_result then
local result = mw.getCurrentFrame():expandTemplate{title = addTemplate(args[1]), args = codeArguments}
ret = ret .. " → " .. result
end
if expand then
local query = mw.text.encode('{{' .. addTemplate(args[1]) .. string.gsub(codeArgumentsString, textPartBuffer, "|") .. '}}')
local url = mw.uri.fullUrl('special:ExpandTemplates', 'wpInput=' .. query)
mw.log()
ret = ret .. " [" .. tostring(url) .. "]"
end
return ret
end
return p
c7307fa3959d308a2dd7fd2f5009c1ce6db3d122
Template:Template other
10
1435
2934
2933
2024-03-13T05:24:09Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{#switch:
<!--If no or empty "demospace" parameter then detect namespace-->
{{#if:{{{demospace|}}}
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"-->
| {{#ifeq:{{NAMESPACE}}|{{ns:Template}}
| template
| other
}}
}}
| template = {{{1|}}}
| other
| #default = {{{2|}}}
}}<!--End switch--><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
06fb13d264df967b5232141067eb7d2b67372d76
Template:-
10
1436
2936
2935
2024-03-13T05:24:10Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Clear]]
{{Redirect category shell|
{{R from modification}}
{{R from template shortcut}}
}}
3fb0b377ebee11659e4a3ba0034f60898dbc473f
Template:Clear
10
1437
2938
2937
2024-03-13T05:24:10Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<div style="clear:{{{1|both}}};" class={{{class|}}}></div><noinclude>
{{documentation}}
</noinclude>
5b24b9fd5cc166a8c486e2422d5df465206ed39c
Template:If empty
10
1438
2940
2939
2024-03-13T05:24:10Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:If empty|main}}<noinclude>{{Documentation}}</noinclude>
745940b7bdde8a1585c887ee4ee5ce81d98461a4
Module:If empty
828
1439
2942
2941
2024-03-13T05:24:10Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
local p = {}
function p.main(frame)
local args = require('Module:Arguments').getArgs(frame, {wrappers = 'Template:If empty', removeBlanks = false})
for k,v in ipairs(args) do
if v ~= '' then
return v
end
end
end
return p
4790391408957dea3ff9f453834c05f6b379a45c
Template:Longitem
10
1440
2944
2943
2024-03-13T05:24:11Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<noinclude>{{#tag: code|
</noinclude>{{#ifeq: {{{1|+}}} | {{{1|-}}} | <div style="}}display: inline-block; line-height: 1.2em; padding: .1em 0; {{#ifeq: {{{1|+}}} | {{{1|-}}} | {{{style|}}}">{{{1|}}}</div> | <includeonly>width: 100%;</includeonly> }}<includeonly>{{#if:{{{2|}}}|[[Category:Pages using Template:Longitem with unnamed style parameter]]}}</includeonly><noinclude>
|lang=wikitext}}
{{documentation}}
</noinclude>
2919b818deb36b243e9f9517917cbcfaa2c8d4ec
Module:Effective protection expiry
828
1441
2946
2945
2024-03-13T05:24:11Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
local p = {}
-- Returns the expiry of a restriction of an action on a given title, or unknown if it cannot be known.
-- If no title is specified, the title of the page being displayed is used.
function p._main(action, pagename)
local title
if type(pagename) == 'table' and pagename.prefixedText then
title = pagename
elseif pagename then
title = mw.title.new(pagename)
else
title = mw.title.getCurrentTitle()
end
pagename = title.prefixedText
if action == 'autoreview' then
local stabilitySettings = mw.ext.FlaggedRevs.getStabilitySettings(title)
return stabilitySettings and stabilitySettings.expiry or 'unknown'
elseif action ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' then
error( 'First parameter must be one of edit, move, create, upload, autoreview', 2 )
end
local rawExpiry = mw.getCurrentFrame():callParserFunction('PROTECTIONEXPIRY', action, pagename)
if rawExpiry == 'infinity' then
return 'infinity'
elseif rawExpiry == '' then
return 'unknown'
else
local year, month, day, hour, minute, second = rawExpiry:match(
'^(%d%d%d%d)(%d%d)(%d%d)(%d%d)(%d%d)(%d%d)$'
)
if year then
return string.format(
'%s-%s-%sT%s:%s:%s',
year, month, day, hour, minute, second
)
else
error('internal error in Module:Effective protection expiry; malformed expiry timestamp')
end
end
end
setmetatable(p, { __index = function(t, k)
return function(frame)
return t._main(k, frame.args[1])
end
end })
return p
9a8c58dc2667232ed08a9b206a5d89ca8150312b
Module:Effective protection level
828
1442
2948
2947
2024-03-13T05:24:11Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
local p = {}
-- Returns the permission required to perform a given action on a given title.
-- If no title is specified, the title of the page being displayed is used.
function p._main(action, pagename)
local title
if type(pagename) == 'table' and pagename.prefixedText then
title = pagename
elseif pagename then
title = mw.title.new(pagename)
else
title = mw.title.getCurrentTitle()
end
pagename = title.prefixedText
if action == 'autoreview' then
local level = mw.ext.FlaggedRevs.getStabilitySettings(title)
level = level and level.autoreview
if level == 'review' then
return 'reviewer'
elseif level ~= '' then
return level
else
return nil -- not '*'. a page not being PC-protected is distinct from it being PC-protected with anyone able to review. also not '', as that would mean PC-protected but nobody can review
end
elseif action ~= 'edit' and action ~= 'move' and action ~= 'create' and action ~= 'upload' and action ~= 'undelete' then
error( 'First parameter must be one of edit, move, create, upload, undelete, autoreview', 2 )
end
if title.namespace == 8 then -- MediaWiki namespace
if title.text:sub(-3) == '.js' or title.text:sub(-4) == '.css' or title.contentModel == 'javascript' or title.contentModel == 'css' then -- site JS or CSS page
return 'interfaceadmin'
else -- any non-JS/CSS MediaWiki page
return 'sysop'
end
elseif title.namespace == 2 and title.isSubpage then
if title.contentModel == 'javascript' or title.contentModel == 'css' then -- user JS or CSS page
return 'interfaceadmin'
elseif title.contentModel == 'json' then -- user JSON page
return 'sysop'
end
end
if action == 'undelete' then
return 'sysop'
end
local level = title.protectionLevels[action] and title.protectionLevels[action][1]
if level == 'sysop' or level == 'editprotected' then
return 'sysop'
elseif title.cascadingProtection.restrictions[action] and title.cascadingProtection.restrictions[action][1] then -- used by a cascading-protected page
return 'sysop'
elseif level == 'templateeditor' then
return 'templateeditor'
elseif action == 'move' then
local blacklistentry = mw.ext.TitleBlacklist.test('edit', pagename) -- Testing action edit is correct, since this is for the source page. The target page name gets tested with action move.
if blacklistentry and not blacklistentry.params.autoconfirmed then
return 'templateeditor'
elseif title.namespace == 6 then
return 'filemover'
elseif level == 'extendedconfirmed' then
return 'extendedconfirmed'
else
return 'autoconfirmed'
end
end
local blacklistentry = mw.ext.TitleBlacklist.test(action, pagename)
if blacklistentry then
if not blacklistentry.params.autoconfirmed then
return 'templateeditor'
elseif level == 'extendedconfirmed' then
return 'extendedconfirmed'
else
return 'autoconfirmed'
end
elseif level == 'editsemiprotected' then -- create-semiprotected pages return this for some reason
return 'autoconfirmed'
elseif level then
return level
elseif action == 'upload' then
return 'autoconfirmed'
elseif action == 'create' and title.namespace % 2 == 0 and title.namespace ~= 118 then -- You need to be registered, but not autoconfirmed, to create non-talk pages other than drafts
if title.namespace == 0 then
return 'autoconfirmed' -- Per [[WP:ACPERM]], you need to be autoconfirmed to create pages in mainspace
end
return 'user'
else
return '*'
end
end
setmetatable(p, { __index = function(t, k)
return function(frame)
return t._main(k, frame.args[1])
end
end })
return p
b6cb1e5589ec6575118f60841644cd65defa7174
Module:File link
828
1443
2950
2949
2024-03-13T05:24:12Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- This module provides a library for formatting file wikilinks.
local yesno = require('Module:Yesno')
local checkType = require('libraryUtil').checkType
local p = {}
function p._main(args)
checkType('_main', 1, args, 'table')
-- This is basically libraryUtil.checkTypeForNamedArg, but we are rolling our
-- own function to get the right error level.
local function checkArg(key, val, level)
if type(val) ~= 'string' then
error(string.format(
"type error in '%s' parameter of '_main' (expected string, got %s)",
key, type(val)
), level)
end
end
local ret = {}
-- Adds a positional parameter to the buffer.
local function addPositional(key)
local val = args[key]
if not val then
return nil
end
checkArg(key, val, 4)
ret[#ret + 1] = val
end
-- Adds a named parameter to the buffer. We assume that the parameter name
-- is the same as the argument key.
local function addNamed(key)
local val = args[key]
if not val then
return nil
end
checkArg(key, val, 4)
ret[#ret + 1] = key .. '=' .. val
end
-- Filename
checkArg('file', args.file, 3)
ret[#ret + 1] = 'File:' .. args.file
-- Format
if args.format then
checkArg('format', args.format)
if args.formatfile then
checkArg('formatfile', args.formatfile)
ret[#ret + 1] = args.format .. '=' .. args.formatfile
else
ret[#ret + 1] = args.format
end
end
-- Border
if yesno(args.border) then
ret[#ret + 1] = 'border'
end
addPositional('location')
addPositional('alignment')
addPositional('size')
addNamed('upright')
addNamed('link')
addNamed('alt')
addNamed('page')
addNamed('class')
addNamed('lang')
addNamed('start')
addNamed('end')
addNamed('thumbtime')
addPositional('caption')
return string.format('[[%s]]', table.concat(ret, '|'))
end
function p.main(frame)
local origArgs = require('Module:Arguments').getArgs(frame, {
wrappers = 'Template:File link'
})
if not origArgs.file then
error("'file' parameter missing from [[Template:File link]]", 0)
end
-- Copy the arguments that were passed to a new table to avoid looking up
-- every possible parameter in the frame object.
local args = {}
for k, v in pairs(origArgs) do
-- Make _BLANK a special argument to add a blank parameter. For use in
-- conditional templates etc. it is useful for blank arguments to be
-- ignored, but we still need a way to specify them so that we can do
-- things like [[File:Example.png|link=]].
if v == '_BLANK' then
v = ''
end
args[k] = v
end
return p._main(args)
end
return p
66925f088d11530f2482f04181a3baaaa0ad3d0c
Template:MONTHNUMBER
10
1444
2952
2951
2024-03-13T05:24:12Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{{safesubst:<noinclude/>#if:{{{1|}}}
|{{safesubst:<noinclude/>#switch:{{safesubst:<noinclude/>lc:{{{1}}}}}
|january|jan=1
|february|feb=2
|march|mar=3
|apr|april=4
|may=5
|june|jun=6
|july|jul=7
|august|aug=8
|september|sep|sept=9
|october|oct=10
|november|nov=11
|december|dec=12
|{{safesubst:<noinclude/>#ifexpr:{{{1}}}<0
|{{safesubst:<noinclude/>#ifexpr:(({{{1}}})round 0)!=({{{1}}})
|{{safesubst:<noinclude/>#expr:12-(((0.5-({{{1}}}))round 0)mod 12)}}
|{{safesubst:<noinclude/>#expr:12-(((11.5-({{{1}}}))round 0)mod 12)}}
}}
|{{safesubst:<noinclude/>#expr:(((10.5+{{{1}}})round 0)mod 12)+1}}
}}
}}
|Missing required parameter 1=''month''!
}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
abb0a4fb46f2dc12f045c7ce6efa4faf6449c272
Template:MONTHNAME
10
1445
2954
2953
2024-03-13T05:24:12Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#if:{{{1|}}}|{{#switch:{{MONTHNUMBER|{{{1}}}}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=''month''!}}|Missing required parameter 1=''month''!}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
25327282f70efd1189b70245a0e23509f3bb65e6
Module:Navbar
828
1446
2956
2955
2024-03-13T05:24:13Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
local p = {}
local cfg = mw.loadData('Module:Navbar/configuration')
local function get_title_arg(is_collapsible, template)
local title_arg = 1
if is_collapsible then title_arg = 2 end
if template then title_arg = 'template' end
return title_arg
end
local function choose_links(template, args)
-- The show table indicates the default displayed items.
-- view, talk, edit, hist, move, watch
-- TODO: Move to configuration.
local show = {true, true, true, false, false, false}
if template then
show[2] = false
show[3] = false
local index = {t = 2, d = 2, e = 3, h = 4, m = 5, w = 6,
talk = 2, edit = 3, hist = 4, move = 5, watch = 6}
-- TODO: Consider removing TableTools dependency.
for _, v in ipairs(require ('Module:TableTools').compressSparseArray(args)) do
local num = index[v]
if num then show[num] = true end
end
end
local remove_edit_link = args.noedit
if remove_edit_link then show[3] = false end
return show
end
local function add_link(link_description, ul, is_mini, font_style)
local l
if link_description.url then
l = {'[', '', ']'}
else
l = {'[[', '|', ']]'}
end
ul:tag('li')
:addClass('nv-' .. link_description.full)
:wikitext(l[1] .. link_description.link .. l[2])
:tag(is_mini and 'abbr' or 'span')
:attr('title', link_description.html_title)
:cssText(font_style)
:wikitext(is_mini and link_description.mini or link_description.full)
:done()
:wikitext(l[3])
:done()
end
local function make_list(title_text, has_brackets, displayed_links, is_mini, font_style)
local title = mw.title.new(mw.text.trim(title_text), cfg.title_namespace)
if not title then
error(cfg.invalid_title .. title_text)
end
local talkpage = title.talkPageTitle and title.talkPageTitle.fullText or ''
-- TODO: Get link_descriptions and show into the configuration module.
-- link_descriptions should be easier...
local link_descriptions = {
{ ['mini'] = 'v', ['full'] = 'view', ['html_title'] = 'View this template',
['link'] = title.fullText, ['url'] = false },
{ ['mini'] = 't', ['full'] = 'talk', ['html_title'] = 'Discuss this template',
['link'] = talkpage, ['url'] = false },
{ ['mini'] = 'e', ['full'] = 'edit', ['html_title'] = 'Edit this template',
['link'] = 'Special:EditPage/' .. title.fullText, ['url'] = false },
{ ['mini'] = 'h', ['full'] = 'hist', ['html_title'] = 'History of this template',
['link'] = 'Special:PageHistory/' .. title.fullText, ['url'] = false },
{ ['mini'] = 'm', ['full'] = 'move', ['html_title'] = 'Move this template',
['link'] = mw.title.new('Special:Movepage'):fullUrl('target='..title.fullText), ['url'] = true },
{ ['mini'] = 'w', ['full'] = 'watch', ['html_title'] = 'Watch this template',
['link'] = title:fullUrl('action=watch'), ['url'] = true }
}
local ul = mw.html.create('ul')
if has_brackets then
ul:addClass(cfg.classes.brackets)
:cssText(font_style)
end
for i, _ in ipairs(displayed_links) do
if displayed_links[i] then add_link(link_descriptions[i], ul, is_mini, font_style) end
end
return ul:done()
end
function p._navbar(args)
-- TODO: We probably don't need both fontstyle and fontcolor...
local font_style = args.fontstyle
local font_color = args.fontcolor
local is_collapsible = args.collapsible
local is_mini = args.mini
local is_plain = args.plain
local collapsible_class = nil
if is_collapsible then
collapsible_class = cfg.classes.collapsible
if not is_plain then is_mini = 1 end
if font_color then
font_style = (font_style or '') .. '; color: ' .. font_color .. ';'
end
end
local navbar_style = args.style
local div = mw.html.create():tag('div')
div
:addClass(cfg.classes.navbar)
:addClass(cfg.classes.plainlinks)
:addClass(cfg.classes.horizontal_list)
:addClass(collapsible_class) -- we made the determination earlier
:cssText(navbar_style)
if is_mini then div:addClass(cfg.classes.mini) end
local box_text = (args.text or cfg.box_text) .. ' '
-- the concatenated space guarantees the box text is separated
if not (is_mini or is_plain) then
div
:tag('span')
:addClass(cfg.classes.box_text)
:cssText(font_style)
:wikitext(box_text)
end
local template = args.template
local displayed_links = choose_links(template, args)
local has_brackets = args.brackets
local title_arg = get_title_arg(is_collapsible, template)
local title_text = args[title_arg] or (':' .. mw.getCurrentFrame():getParent():getTitle())
local list = make_list(title_text, has_brackets, displayed_links, is_mini, font_style)
div:node(list)
if is_collapsible then
local title_text_class
if is_mini then
title_text_class = cfg.classes.collapsible_title_mini
else
title_text_class = cfg.classes.collapsible_title_full
end
div:done()
:tag('div')
:addClass(title_text_class)
:cssText(font_style)
:wikitext(args[1])
end
local frame = mw.getCurrentFrame()
-- hlist -> navbar is best-effort to preserve old Common.css ordering.
return frame:extensionTag{
name = 'templatestyles', args = { src = cfg.hlist_templatestyles }
} .. frame:extensionTag{
name = 'templatestyles', args = { src = cfg.templatestyles }
} .. tostring(div:done())
end
function p.navbar(frame)
return p._navbar(require('Module:Arguments').getArgs(frame))
end
return p
047f307758c878eb3e99ed1768cc40920a6ec5fa
Module:Navbar/configuration
828
1447
2958
2957
2024-03-13T05:24:13Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
return {
['templatestyles'] = 'Module:Navbar/styles.css',
['hlist_templatestyles'] = 'Hlist/styles.css',
['box_text'] = 'This box: ', -- default text box when not plain or mini
['title_namespace'] = 'Template', -- namespace to default to for title
['invalid_title'] = 'Invalid title ',
['classes'] = { -- set a line to nil if you don't want it
['navbar'] = 'navbar',
['plainlinks'] = 'plainlinks', -- plainlinks
['horizontal_list'] = 'hlist', -- horizontal list class
['mini'] = 'navbar-mini', -- class indicating small links in the navbar
['this_box'] = 'navbar-boxtext',
['brackets'] = 'navbar-brackets',
-- 'collapsible' is the key for a class to indicate the navbar is
-- setting up the collapsible element in addition to the normal
-- navbar.
['collapsible'] = 'navbar-collapse',
['collapsible_title_mini'] = 'navbar-ct-mini',
['collapsible_title_full'] = 'navbar-ct-full'
}
}
b007c336b17ec4bcd4d5a9dca9f8cba301662b55
Module:Navbar/styles.css
828
1448
2960
2959
2024-03-13T05:24:13Z
ElBortoTexas
10
1 revision imported
sanitized-css
text/css
/* {{pp|small=yes}} */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar-collapse {
float: left;
text-align: left;
}
.navbar-boxtext {
word-spacing: 0;
}
.navbar ul {
display: inline-block;
white-space: nowrap;
line-height: inherit;
}
.navbar-brackets::before {
margin-right: -0.125em;
content: '[ ';
}
.navbar-brackets::after {
margin-left: -0.125em;
content: ' ]';
}
.navbar li {
word-spacing: -0.125em;
}
.navbar a > span,
.navbar a > abbr {
text-decoration: inherit;
}
.navbar-mini abbr {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
.navbar-ct-full {
font-size: 114%;
margin: 0 7em;
}
.navbar-ct-mini {
font-size: 114%;
margin: 0 4em;
}
9d4056f949b4f0b159e3d40dfb1a5f01e72f9571
Module:Protection banner
828
1449
2962
2961
2024-03-13T05:24:13Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- This module implements {{pp-meta}} and its daughter templates such as
-- {{pp-dispute}}, {{pp-vandalism}} and {{pp-sock}}.
-- Initialise necessary modules.
require('strict')
local makeFileLink = require('Module:File link')._main
local effectiveProtectionLevel = require('Module:Effective protection level')._main
local effectiveProtectionExpiry = require('Module:Effective protection expiry')._main
local yesno = require('Module:Yesno')
-- Lazily initialise modules and objects we don't always need.
local getArgs, makeMessageBox, lang
-- Set constants.
local CONFIG_MODULE = 'Module:Protection banner/config'
--------------------------------------------------------------------------------
-- Helper functions
--------------------------------------------------------------------------------
local function makeCategoryLink(cat, sort)
if cat then
return string.format(
'[[%s:%s|%s]]',
mw.site.namespaces[14].name,
cat,
sort
)
end
end
-- Validation function for the expiry and the protection date
local function validateDate(dateString, dateType)
if not lang then
lang = mw.language.getContentLanguage()
end
local success, result = pcall(lang.formatDate, lang, 'U', dateString)
if success then
result = tonumber(result)
if result then
return result
end
end
error(string.format(
'invalid %s: %s',
dateType,
tostring(dateString)
), 4)
end
local function makeFullUrl(page, query, display)
return string.format(
'[%s %s]',
tostring(mw.uri.fullUrl(page, query)),
display
)
end
-- Given a directed graph formatted as node -> table of direct successors,
-- get a table of all nodes reachable from a given node (though always
-- including the given node).
local function getReachableNodes(graph, start)
local toWalk, retval = {[start] = true}, {}
while true do
-- Can't use pairs() since we're adding and removing things as we're iterating
local k = next(toWalk) -- This always gets the "first" key
if k == nil then
return retval
end
toWalk[k] = nil
retval[k] = true
for _,v in ipairs(graph[k]) do
if not retval[v] then
toWalk[v] = true
end
end
end
end
--------------------------------------------------------------------------------
-- Protection class
--------------------------------------------------------------------------------
local Protection = {}
Protection.__index = Protection
Protection.supportedActions = {
edit = true,
move = true,
autoreview = true,
upload = true
}
Protection.bannerConfigFields = {
'text',
'explanation',
'tooltip',
'alt',
'link',
'image'
}
function Protection.new(args, cfg, title)
local obj = {}
obj._cfg = cfg
obj.title = title or mw.title.getCurrentTitle()
-- Set action
if not args.action then
obj.action = 'edit'
elseif Protection.supportedActions[args.action] then
obj.action = args.action
else
error(string.format(
'invalid action: %s',
tostring(args.action)
), 3)
end
-- Set level
obj.level = args.demolevel or effectiveProtectionLevel(obj.action, obj.title)
if not obj.level or (obj.action == 'move' and obj.level == 'autoconfirmed') then
-- Users need to be autoconfirmed to move pages anyway, so treat
-- semi-move-protected pages as unprotected.
obj.level = '*'
end
-- Set expiry
local effectiveExpiry = effectiveProtectionExpiry(obj.action, obj.title)
if effectiveExpiry == 'infinity' then
obj.expiry = 'indef'
elseif effectiveExpiry ~= 'unknown' then
obj.expiry = validateDate(effectiveExpiry, 'expiry date')
end
-- Set reason
if args[1] then
obj.reason = mw.ustring.lower(args[1])
if obj.reason:find('|') then
error('reasons cannot contain the pipe character ("|")', 3)
end
end
-- Set protection date
if args.date then
obj.protectionDate = validateDate(args.date, 'protection date')
end
-- Set banner config
do
obj.bannerConfig = {}
local configTables = {}
if cfg.banners[obj.action] then
configTables[#configTables + 1] = cfg.banners[obj.action][obj.reason]
end
if cfg.defaultBanners[obj.action] then
configTables[#configTables + 1] = cfg.defaultBanners[obj.action][obj.level]
configTables[#configTables + 1] = cfg.defaultBanners[obj.action].default
end
configTables[#configTables + 1] = cfg.masterBanner
for i, field in ipairs(Protection.bannerConfigFields) do
for j, t in ipairs(configTables) do
if t[field] then
obj.bannerConfig[field] = t[field]
break
end
end
end
end
return setmetatable(obj, Protection)
end
function Protection:isUserScript()
-- Whether the page is a user JavaScript or CSS page.
local title = self.title
return title.namespace == 2 and (
title.contentModel == 'javascript' or title.contentModel == 'css'
)
end
function Protection:isProtected()
return self.level ~= '*'
end
function Protection:shouldShowLock()
-- Whether we should output a banner/padlock
return self:isProtected() and not self:isUserScript()
end
-- Whether this page needs a protection category.
Protection.shouldHaveProtectionCategory = Protection.shouldShowLock
function Protection:isTemporary()
return type(self.expiry) == 'number'
end
function Protection:makeProtectionCategory()
if not self:shouldHaveProtectionCategory() then
return ''
end
local cfg = self._cfg
local title = self.title
-- Get the expiry key fragment.
local expiryFragment
if self.expiry == 'indef' then
expiryFragment = self.expiry
elseif type(self.expiry) == 'number' then
expiryFragment = 'temp'
end
-- Get the namespace key fragment.
local namespaceFragment = cfg.categoryNamespaceKeys[title.namespace]
if not namespaceFragment and title.namespace % 2 == 1 then
namespaceFragment = 'talk'
end
-- Define the order that key fragments are tested in. This is done with an
-- array of tables containing the value to be tested, along with its
-- position in the cfg.protectionCategories table.
local order = {
{val = expiryFragment, keypos = 1},
{val = namespaceFragment, keypos = 2},
{val = self.reason, keypos = 3},
{val = self.level, keypos = 4},
{val = self.action, keypos = 5}
}
--[[
-- The old protection templates used an ad-hoc protection category system,
-- with some templates prioritising namespaces in their categories, and
-- others prioritising the protection reason. To emulate this in this module
-- we use the config table cfg.reasonsWithNamespacePriority to set the
-- reasons for which namespaces have priority over protection reason.
-- If we are dealing with one of those reasons, move the namespace table to
-- the end of the order table, i.e. give it highest priority. If not, the
-- reason should have highest priority, so move that to the end of the table
-- instead.
--]]
table.insert(order, table.remove(order, self.reason and cfg.reasonsWithNamespacePriority[self.reason] and 2 or 3))
--[[
-- Define the attempt order. Inactive subtables (subtables with nil "value"
-- fields) are moved to the end, where they will later be given the key
-- "all". This is to cut down on the number of table lookups in
-- cfg.protectionCategories, which grows exponentially with the number of
-- non-nil keys. We keep track of the number of active subtables with the
-- noActive parameter.
--]]
local noActive, attemptOrder
do
local active, inactive = {}, {}
for i, t in ipairs(order) do
if t.val then
active[#active + 1] = t
else
inactive[#inactive + 1] = t
end
end
noActive = #active
attemptOrder = active
for i, t in ipairs(inactive) do
attemptOrder[#attemptOrder + 1] = t
end
end
--[[
-- Check increasingly generic key combinations until we find a match. If a
-- specific category exists for the combination of key fragments we are
-- given, that match will be found first. If not, we keep trying different
-- key fragment combinations until we match using the key
-- "all-all-all-all-all".
--
-- To generate the keys, we index the key subtables using a binary matrix
-- with indexes i and j. j is only calculated up to the number of active
-- subtables. For example, if there were three active subtables, the matrix
-- would look like this, with 0 corresponding to the key fragment "all", and
-- 1 corresponding to other key fragments.
--
-- j 1 2 3
-- i
-- 1 1 1 1
-- 2 0 1 1
-- 3 1 0 1
-- 4 0 0 1
-- 5 1 1 0
-- 6 0 1 0
-- 7 1 0 0
-- 8 0 0 0
--
-- Values of j higher than the number of active subtables are set
-- to the string "all".
--
-- A key for cfg.protectionCategories is constructed for each value of i.
-- The position of the value in the key is determined by the keypos field in
-- each subtable.
--]]
local cats = cfg.protectionCategories
for i = 1, 2^noActive do
local key = {}
for j, t in ipairs(attemptOrder) do
if j > noActive then
key[t.keypos] = 'all'
else
local quotient = i / 2 ^ (j - 1)
quotient = math.ceil(quotient)
if quotient % 2 == 1 then
key[t.keypos] = t.val
else
key[t.keypos] = 'all'
end
end
end
key = table.concat(key, '|')
local attempt = cats[key]
if attempt then
return makeCategoryLink(attempt, title.text)
end
end
return ''
end
function Protection:isIncorrect()
local expiry = self.expiry
return not self:shouldHaveProtectionCategory()
or type(expiry) == 'number' and expiry < os.time()
end
function Protection:isTemplateProtectedNonTemplate()
local action, namespace = self.action, self.title.namespace
return self.level == 'templateeditor'
and (
(action ~= 'edit' and action ~= 'move')
or (namespace ~= 10 and namespace ~= 828)
)
end
function Protection:makeCategoryLinks()
local msg = self._cfg.msg
local ret = {self:makeProtectionCategory()}
if self:isIncorrect() then
ret[#ret + 1] = makeCategoryLink(
msg['tracking-category-incorrect'],
self.title.text
)
end
if self:isTemplateProtectedNonTemplate() then
ret[#ret + 1] = makeCategoryLink(
msg['tracking-category-template'],
self.title.text
)
end
return table.concat(ret)
end
--------------------------------------------------------------------------------
-- Blurb class
--------------------------------------------------------------------------------
local Blurb = {}
Blurb.__index = Blurb
Blurb.bannerTextFields = {
text = true,
explanation = true,
tooltip = true,
alt = true,
link = true
}
function Blurb.new(protectionObj, args, cfg)
return setmetatable({
_cfg = cfg,
_protectionObj = protectionObj,
_args = args
}, Blurb)
end
-- Private methods --
function Blurb:_formatDate(num)
-- Formats a Unix timestamp into dd Month, YYYY format.
lang = lang or mw.language.getContentLanguage()
local success, date = pcall(
lang.formatDate,
lang,
self._cfg.msg['expiry-date-format'] or 'j F Y',
'@' .. tostring(num)
)
if success then
return date
end
end
function Blurb:_getExpandedMessage(msgKey)
return self:_substituteParameters(self._cfg.msg[msgKey])
end
function Blurb:_substituteParameters(msg)
if not self._params then
local parameterFuncs = {}
parameterFuncs.CURRENTVERSION = self._makeCurrentVersionParameter
parameterFuncs.EDITREQUEST = self._makeEditRequestParameter
parameterFuncs.EXPIRY = self._makeExpiryParameter
parameterFuncs.EXPLANATIONBLURB = self._makeExplanationBlurbParameter
parameterFuncs.IMAGELINK = self._makeImageLinkParameter
parameterFuncs.INTROBLURB = self._makeIntroBlurbParameter
parameterFuncs.INTROFRAGMENT = self._makeIntroFragmentParameter
parameterFuncs.PAGETYPE = self._makePagetypeParameter
parameterFuncs.PROTECTIONBLURB = self._makeProtectionBlurbParameter
parameterFuncs.PROTECTIONDATE = self._makeProtectionDateParameter
parameterFuncs.PROTECTIONLEVEL = self._makeProtectionLevelParameter
parameterFuncs.PROTECTIONLOG = self._makeProtectionLogParameter
parameterFuncs.TALKPAGE = self._makeTalkPageParameter
parameterFuncs.TOOLTIPBLURB = self._makeTooltipBlurbParameter
parameterFuncs.TOOLTIPFRAGMENT = self._makeTooltipFragmentParameter
parameterFuncs.VANDAL = self._makeVandalTemplateParameter
self._params = setmetatable({}, {
__index = function (t, k)
local param
if parameterFuncs[k] then
param = parameterFuncs[k](self)
end
param = param or ''
t[k] = param
return param
end
})
end
msg = msg:gsub('${(%u+)}', self._params)
return msg
end
function Blurb:_makeCurrentVersionParameter()
-- A link to the page history or the move log, depending on the kind of
-- protection.
local pagename = self._protectionObj.title.prefixedText
if self._protectionObj.action == 'move' then
-- We need the move log link.
return makeFullUrl(
'Special:Log',
{type = 'move', page = pagename},
self:_getExpandedMessage('current-version-move-display')
)
else
-- We need the history link.
return makeFullUrl(
pagename,
{action = 'history'},
self:_getExpandedMessage('current-version-edit-display')
)
end
end
function Blurb:_makeEditRequestParameter()
local mEditRequest = require('Module:Submit an edit request')
local action = self._protectionObj.action
local level = self._protectionObj.level
-- Get the edit request type.
local requestType
if action == 'edit' then
if level == 'autoconfirmed' then
requestType = 'semi'
elseif level == 'extendedconfirmed' then
requestType = 'extended'
elseif level == 'templateeditor' then
requestType = 'template'
end
end
requestType = requestType or 'full'
-- Get the display value.
local display = self:_getExpandedMessage('edit-request-display')
return mEditRequest._link{type = requestType, display = display}
end
function Blurb:_makeExpiryParameter()
local expiry = self._protectionObj.expiry
if type(expiry) == 'number' then
return self:_formatDate(expiry)
else
return expiry
end
end
function Blurb:_makeExplanationBlurbParameter()
-- Cover special cases first.
if self._protectionObj.title.namespace == 8 then
-- MediaWiki namespace
return self:_getExpandedMessage('explanation-blurb-nounprotect')
end
-- Get explanation blurb table keys
local action = self._protectionObj.action
local level = self._protectionObj.level
local talkKey = self._protectionObj.title.isTalkPage and 'talk' or 'subject'
-- Find the message in the explanation blurb table and substitute any
-- parameters.
local explanations = self._cfg.explanationBlurbs
local msg
if explanations[action][level] and explanations[action][level][talkKey] then
msg = explanations[action][level][talkKey]
elseif explanations[action][level] and explanations[action][level].default then
msg = explanations[action][level].default
elseif explanations[action].default and explanations[action].default[talkKey] then
msg = explanations[action].default[talkKey]
elseif explanations[action].default and explanations[action].default.default then
msg = explanations[action].default.default
else
error(string.format(
'could not find explanation blurb for action "%s", level "%s" and talk key "%s"',
action,
level,
talkKey
), 8)
end
return self:_substituteParameters(msg)
end
function Blurb:_makeImageLinkParameter()
local imageLinks = self._cfg.imageLinks
local action = self._protectionObj.action
local level = self._protectionObj.level
local msg
if imageLinks[action][level] then
msg = imageLinks[action][level]
elseif imageLinks[action].default then
msg = imageLinks[action].default
else
msg = imageLinks.edit.default
end
return self:_substituteParameters(msg)
end
function Blurb:_makeIntroBlurbParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('intro-blurb-expiry')
else
return self:_getExpandedMessage('intro-blurb-noexpiry')
end
end
function Blurb:_makeIntroFragmentParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('intro-fragment-expiry')
else
return self:_getExpandedMessage('intro-fragment-noexpiry')
end
end
function Blurb:_makePagetypeParameter()
local pagetypes = self._cfg.pagetypes
return pagetypes[self._protectionObj.title.namespace]
or pagetypes.default
or error('no default pagetype defined', 8)
end
function Blurb:_makeProtectionBlurbParameter()
local protectionBlurbs = self._cfg.protectionBlurbs
local action = self._protectionObj.action
local level = self._protectionObj.level
local msg
if protectionBlurbs[action][level] then
msg = protectionBlurbs[action][level]
elseif protectionBlurbs[action].default then
msg = protectionBlurbs[action].default
elseif protectionBlurbs.edit.default then
msg = protectionBlurbs.edit.default
else
error('no protection blurb defined for protectionBlurbs.edit.default', 8)
end
return self:_substituteParameters(msg)
end
function Blurb:_makeProtectionDateParameter()
local protectionDate = self._protectionObj.protectionDate
if type(protectionDate) == 'number' then
return self:_formatDate(protectionDate)
else
return protectionDate
end
end
function Blurb:_makeProtectionLevelParameter()
local protectionLevels = self._cfg.protectionLevels
local action = self._protectionObj.action
local level = self._protectionObj.level
local msg
if protectionLevels[action][level] then
msg = protectionLevels[action][level]
elseif protectionLevels[action].default then
msg = protectionLevels[action].default
elseif protectionLevels.edit.default then
msg = protectionLevels.edit.default
else
error('no protection level defined for protectionLevels.edit.default', 8)
end
return self:_substituteParameters(msg)
end
function Blurb:_makeProtectionLogParameter()
local pagename = self._protectionObj.title.prefixedText
if self._protectionObj.action == 'autoreview' then
-- We need the pending changes log.
return makeFullUrl(
'Special:Log',
{type = 'stable', page = pagename},
self:_getExpandedMessage('pc-log-display')
)
else
-- We need the protection log.
return makeFullUrl(
'Special:Log',
{type = 'protect', page = pagename},
self:_getExpandedMessage('protection-log-display')
)
end
end
function Blurb:_makeTalkPageParameter()
return string.format(
'[[%s:%s#%s|%s]]',
mw.site.namespaces[self._protectionObj.title.namespace].talk.name,
self._protectionObj.title.text,
self._args.section or 'top',
self:_getExpandedMessage('talk-page-link-display')
)
end
function Blurb:_makeTooltipBlurbParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('tooltip-blurb-expiry')
else
return self:_getExpandedMessage('tooltip-blurb-noexpiry')
end
end
function Blurb:_makeTooltipFragmentParameter()
if self._protectionObj:isTemporary() then
return self:_getExpandedMessage('tooltip-fragment-expiry')
else
return self:_getExpandedMessage('tooltip-fragment-noexpiry')
end
end
function Blurb:_makeVandalTemplateParameter()
return mw.getCurrentFrame():expandTemplate{
title="vandal-m",
args={self._args.user or self._protectionObj.title.baseText}
}
end
-- Public methods --
function Blurb:makeBannerText(key)
-- Validate input.
if not key or not Blurb.bannerTextFields[key] then
error(string.format(
'"%s" is not a valid banner config field',
tostring(key)
), 2)
end
-- Generate the text.
local msg = self._protectionObj.bannerConfig[key]
if type(msg) == 'string' then
return self:_substituteParameters(msg)
elseif type(msg) == 'function' then
msg = msg(self._protectionObj, self._args)
if type(msg) ~= 'string' then
error(string.format(
'bad output from banner config function with key "%s"'
.. ' (expected string, got %s)',
tostring(key),
type(msg)
), 4)
end
return self:_substituteParameters(msg)
end
end
--------------------------------------------------------------------------------
-- BannerTemplate class
--------------------------------------------------------------------------------
local BannerTemplate = {}
BannerTemplate.__index = BannerTemplate
function BannerTemplate.new(protectionObj, cfg)
local obj = {}
obj._cfg = cfg
-- Set the image filename.
local imageFilename = protectionObj.bannerConfig.image
if imageFilename then
obj._imageFilename = imageFilename
else
-- If an image filename isn't specified explicitly in the banner config,
-- generate it from the protection status and the namespace.
local action = protectionObj.action
local level = protectionObj.level
local namespace = protectionObj.title.namespace
local reason = protectionObj.reason
-- Deal with special cases first.
if (
namespace == 10
or namespace == 828
or reason and obj._cfg.indefImageReasons[reason]
)
and action == 'edit'
and level == 'sysop'
and not protectionObj:isTemporary()
then
-- Fully protected modules and templates get the special red "indef"
-- padlock.
obj._imageFilename = obj._cfg.msg['image-filename-indef']
else
-- Deal with regular protection types.
local images = obj._cfg.images
if images[action] then
if images[action][level] then
obj._imageFilename = images[action][level]
elseif images[action].default then
obj._imageFilename = images[action].default
end
end
end
end
return setmetatable(obj, BannerTemplate)
end
function BannerTemplate:renderImage()
local filename = self._imageFilename
or self._cfg.msg['image-filename-default']
or 'Transparent.gif'
return makeFileLink{
file = filename,
size = (self.imageWidth or 20) .. 'px',
alt = self._imageAlt,
link = self._imageLink,
caption = self.imageCaption
}
end
--------------------------------------------------------------------------------
-- Banner class
--------------------------------------------------------------------------------
local Banner = setmetatable({}, BannerTemplate)
Banner.__index = Banner
function Banner.new(protectionObj, blurbObj, cfg)
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
obj.imageWidth = 40
obj.imageCaption = blurbObj:makeBannerText('alt') -- Large banners use the alt text for the tooltip.
obj._reasonText = blurbObj:makeBannerText('text')
obj._explanationText = blurbObj:makeBannerText('explanation')
obj._page = protectionObj.title.prefixedText -- Only makes a difference in testing.
return setmetatable(obj, Banner)
end
function Banner:__tostring()
-- Renders the banner.
makeMessageBox = makeMessageBox or require('Module:Message box').main
local reasonText = self._reasonText or error('no reason text set', 2)
local explanationText = self._explanationText
local mbargs = {
page = self._page,
type = 'protection',
image = self:renderImage(),
text = string.format(
"'''%s'''%s",
reasonText,
explanationText and '<br />' .. explanationText or ''
)
}
return makeMessageBox('mbox', mbargs)
end
--------------------------------------------------------------------------------
-- Padlock class
--------------------------------------------------------------------------------
local Padlock = setmetatable({}, BannerTemplate)
Padlock.__index = Padlock
function Padlock.new(protectionObj, blurbObj, cfg)
local obj = BannerTemplate.new(protectionObj, cfg) -- This doesn't need the blurb.
obj.imageWidth = 20
obj.imageCaption = blurbObj:makeBannerText('tooltip')
obj._imageAlt = blurbObj:makeBannerText('alt')
obj._imageLink = blurbObj:makeBannerText('link')
obj._indicatorName = cfg.padlockIndicatorNames[protectionObj.action]
or cfg.padlockIndicatorNames.default
or 'pp-default'
return setmetatable(obj, Padlock)
end
function Padlock:__tostring()
local frame = mw.getCurrentFrame()
-- The nowiki tag helps prevent whitespace at the top of articles.
return frame:extensionTag{name = 'nowiki'} .. frame:extensionTag{
name = 'indicator',
args = {name = self._indicatorName},
content = self:renderImage()
}
end
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
local p = {}
function p._exportClasses()
-- This is used for testing purposes.
return {
Protection = Protection,
Blurb = Blurb,
BannerTemplate = BannerTemplate,
Banner = Banner,
Padlock = Padlock,
}
end
function p._main(args, cfg, title)
args = args or {}
cfg = cfg or require(CONFIG_MODULE)
local protectionObj = Protection.new(args, cfg, title)
local ret = {}
-- If a page's edit protection is equally or more restrictive than its
-- protection from some other action, then don't bother displaying anything
-- for the other action (except categories).
if not yesno(args.catonly) and (protectionObj.action == 'edit' or
args.demolevel or
not getReachableNodes(
cfg.hierarchy,
protectionObj.level
)[effectiveProtectionLevel('edit', protectionObj.title)])
then
-- Initialise the blurb object
local blurbObj = Blurb.new(protectionObj, args, cfg)
-- Render the banner
if protectionObj:shouldShowLock() then
ret[#ret + 1] = tostring(
(yesno(args.small) and Padlock or Banner)
.new(protectionObj, blurbObj, cfg)
)
end
end
-- Render the categories
if yesno(args.category) ~= false then
ret[#ret + 1] = protectionObj:makeCategoryLinks()
end
return table.concat(ret)
end
function p.main(frame, cfg)
cfg = cfg or require(CONFIG_MODULE)
-- Find default args, if any.
local parent = frame.getParent and frame:getParent()
local defaultArgs = parent and cfg.wrappers[parent:getTitle():gsub('/sandbox$', '')]
-- Find user args, and use the parent frame if we are being called from a
-- wrapper template.
getArgs = getArgs or require('Module:Arguments').getArgs
local userArgs = getArgs(frame, {
parentOnly = defaultArgs,
frameOnly = not defaultArgs
})
-- Build the args table. User-specified args overwrite default args.
local args = {}
for k, v in pairs(defaultArgs or {}) do
args[k] = v
end
for k, v in pairs(userArgs) do
args[k] = v
end
return p._main(args, cfg)
end
return p
894f0884d4c2da1ce19d385b96f59af654b0946a
Module:Protection banner/config
828
1450
2964
2963
2024-03-13T05:24:14Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- This module provides configuration data for [[Module:Protection banner]].
return {
--------------------------------------------------------------------------------
--
-- BANNER DATA
--
--------------------------------------------------------------------------------
--[[
-- Banner data consists of six fields:
-- * text - the main protection text that appears at the top of protection
-- banners.
-- * explanation - the text that appears below the main protection text, used
-- to explain the details of the protection.
-- * tooltip - the tooltip text you see when you move the mouse over a small
-- padlock icon.
-- * link - the page that the small padlock icon links to.
-- * alt - the alt text for the small padlock icon. This is also used as tooltip
-- text for the large protection banners.
-- * image - the padlock image used in both protection banners and small padlock
-- icons.
--
-- The module checks in three separate tables to find a value for each field.
-- First it checks the banners table, which has values specific to the reason
-- for the page being protected. Then the module checks the defaultBanners
-- table, which has values specific to each protection level. Finally, the
-- module checks the masterBanner table, which holds data for protection
-- templates to use if no data has been found in the previous two tables.
--
-- The values in the banner data can take parameters. These are specified
-- using ${TEXTLIKETHIS} (a dollar sign preceding a parameter name
-- enclosed in curly braces).
--
-- Available parameters:
--
-- ${CURRENTVERSION} - a link to the page history or the move log, with the
-- display message "current-version-edit-display" or
-- "current-version-move-display".
--
-- ${EDITREQUEST} - a link to create an edit request for the current page.
--
-- ${EXPLANATIONBLURB} - an explanation blurb, e.g. "Please discuss any changes
-- on the talk page; you may submit a request to ask an administrator to make
-- an edit if it is minor or supported by consensus."
--
-- ${IMAGELINK} - a link to set the image to, depending on the protection
-- action and protection level.
--
-- ${INTROBLURB} - the PROTECTIONBLURB parameter, plus the expiry if an expiry
-- is set. E.g. "Editing of this page by new or unregistered users is currently
-- disabled until dd Month YYYY."
--
-- ${INTROFRAGMENT} - the same as ${INTROBLURB}, but without final punctuation
-- so that it can be used in run-on sentences.
--
-- ${PAGETYPE} - the type of the page, e.g. "article" or "template".
-- Defined in the cfg.pagetypes table.
--
-- ${PROTECTIONBLURB} - a blurb explaining the protection level of the page, e.g.
-- "Editing of this page by new or unregistered users is currently disabled"
--
-- ${PROTECTIONDATE} - the protection date, if it has been supplied to the
-- template.
--
-- ${PROTECTIONLEVEL} - the protection level, e.g. "fully protected" or
-- "semi-protected".
--
-- ${PROTECTIONLOG} - a link to the protection log or the pending changes log,
-- depending on the protection action.
--
-- ${TALKPAGE} - a link to the talk page. If a section is specified, links
-- straight to that talk page section.
--
-- ${TOOLTIPBLURB} - uses the PAGETYPE, PROTECTIONTYPE and EXPIRY parameters to
-- create a blurb like "This template is semi-protected", or "This article is
-- move-protected until DD Month YYYY".
--
-- ${VANDAL} - links for the specified username (or the root page name)
-- using Module:Vandal-m.
--
-- Functions
--
-- For advanced users, it is possible to use Lua functions instead of strings
-- in the banner config tables. Using functions gives flexibility that is not
-- possible just by using parameters. Functions take two arguments, the
-- protection object and the template arguments, and they must output a string.
--
-- For example:
--
-- text = function (protectionObj, args)
-- if protectionObj.level == 'autoconfirmed' then
-- return 'foo'
-- else
-- return 'bar'
-- end
-- end
--
-- Some protection object properties and methods that may be useful:
-- protectionObj.action - the protection action
-- protectionObj.level - the protection level
-- protectionObj.reason - the protection reason
-- protectionObj.expiry - the expiry. Nil if unset, the string "indef" if set
-- to indefinite, and the protection time in unix time if temporary.
-- protectionObj.protectionDate - the protection date in unix time, or nil if
-- unspecified.
-- protectionObj.bannerConfig - the banner config found by the module. Beware
-- of editing the config field used by the function, as it could create an
-- infinite loop.
-- protectionObj:isProtected - returns a boolean showing whether the page is
-- protected.
-- protectionObj:isTemporary - returns a boolean showing whether the expiry is
-- temporary.
-- protectionObj:isIncorrect - returns a boolean showing whether the protection
-- template is incorrect.
--]]
-- The master banner data, used if no values have been found in banners or
-- defaultBanners.
masterBanner = {
text = '${INTROBLURB}',
explanation = '${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPBLURB}',
link = '${IMAGELINK}',
alt = 'Page ${PROTECTIONLEVEL}'
},
-- The default banner data. This holds banner data for different protection
-- levels.
-- *required* - this table needs edit, move, autoreview and upload subtables.
defaultBanners = {
edit = {},
move = {},
autoreview = {
default = {
alt = 'Page protected with pending changes',
tooltip = 'All edits by unregistered and new users are subject to review prior to becoming visible to unregistered users',
image = 'Pending-protection-shackle.svg'
}
},
upload = {}
},
-- The banner data. This holds banner data for different protection reasons.
-- In fact, the reasons specified in this table control which reasons are
-- valid inputs to the first positional parameter.
--
-- There is also a non-standard "description" field that can be used for items
-- in this table. This is a description of the protection reason for use in the
-- module documentation.
--
-- *required* - this table needs edit, move, autoreview and upload subtables.
banners = {
edit = {
blp = {
description = 'For pages protected to promote compliance with the'
.. ' [[Wikipedia:Biographies of living persons'
.. '|biographies of living persons]] policy',
text = '${INTROFRAGMENT} to promote compliance with'
.. ' [[Wikipedia:Biographies of living persons'
.. "|Wikipedia's policy on the biographies"
.. ' of living people]].',
tooltip = '${TOOLTIPFRAGMENT} to promote compliance with the policy on'
.. ' biographies of living persons',
},
dmca = {
description = 'For pages protected by the Wikimedia Foundation'
.. ' due to [[Digital Millennium Copyright Act]] takedown requests',
explanation = function (protectionObj, args)
local ret = 'Pursuant to a rights owner notice under the Digital'
.. ' Millennium Copyright Act (DMCA) regarding some content'
.. ' in this article, the Wikimedia Foundation acted under'
.. ' applicable law and took down and restricted the content'
.. ' in question.'
if args.notice then
ret = ret .. ' A copy of the received notice can be found here: '
.. args.notice .. '.'
end
ret = ret .. ' For more information, including websites discussing'
.. ' how to file a counter-notice, please see'
.. " [[Wikipedia:Office actions]] and the article's ${TALKPAGE}."
.. "'''Do not remove this template from the article until the"
.. " restrictions are withdrawn'''."
return ret
end,
image = 'Office-protection-shackle.svg',
},
dispute = {
description = 'For pages protected due to editing disputes',
text = function (protectionObj, args)
-- Find the value of "disputes".
local display = 'disputes'
local disputes
if args.section then
disputes = string.format(
'[[%s:%s#%s|%s]]',
mw.site.namespaces[protectionObj.title.namespace].talk.name,
protectionObj.title.text,
args.section,
display
)
else
disputes = display
end
-- Make the blurb, depending on the expiry.
local msg
if type(protectionObj.expiry) == 'number' then
msg = '${INTROFRAGMENT} or until editing %s have been resolved.'
else
msg = '${INTROFRAGMENT} until editing %s have been resolved.'
end
return string.format(msg, disputes)
end,
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
tooltip = '${TOOLTIPFRAGMENT} due to editing disputes',
},
ecp = {
description = 'For articles in topic areas authorized by'
.. ' [[Wikipedia:Arbitration Committee|ArbCom]] or'
.. ' meets the criteria for community use',
tooltip = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
alt = 'Extended-protected ${PAGETYPE}',
},
mainpage = {
description = 'For pages protected for being displayed on the [[Main Page]]',
text = 'This file is currently'
.. ' [[Wikipedia:This page is protected|protected]] from'
.. ' editing because it is currently or will soon be displayed'
.. ' on the [[Main Page]].',
explanation = 'Images on the Main Page are protected due to their high'
.. ' visibility. Please discuss any necessary changes on the ${TALKPAGE}.'
.. '<br /><span style="font-size:90%;">'
.. "'''Administrators:''' Once this image is definitely off the Main Page,"
.. ' please unprotect this file, or reduce to semi-protection,'
.. ' as appropriate.</span>',
},
office = {
description = 'For pages protected by the Wikimedia Foundation',
text = function (protectionObj, args)
local ret = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.'
if protectionObj.protectionDate then
ret = ret .. ' It has been protected since ${PROTECTIONDATE}.'
end
return ret
end,
explanation = "If you can edit this page, please discuss all changes and"
.. " additions on the ${TALKPAGE} first. '''Do not remove protection from this"
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
image = 'Office-protection-shackle.svg',
},
reset = {
description = 'For pages protected by the Wikimedia Foundation and'
.. ' "reset" to a bare-bones version',
text = 'This ${PAGETYPE} is currently under the'
.. ' scrutiny of the'
.. ' [[Wikipedia:Office actions|Wikimedia Foundation Office]]'
.. ' and is protected.',
explanation = function (protectionObj, args)
local ret = ''
if protectionObj.protectionDate then
ret = ret .. 'On ${PROTECTIONDATE} this ${PAGETYPE} was'
else
ret = ret .. 'This ${PAGETYPE} has been'
end
ret = ret .. ' reduced to a'
.. ' simplified, "bare bones" version so that it may be completely'
.. ' rewritten to ensure it meets the policies of'
.. ' [[WP:NPOV|Neutral Point of View]] and [[WP:V|Verifiability]].'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' will eventually be open to all editors—and will be strictly'
.. ' enforced. The ${PAGETYPE} has been ${PROTECTIONLEVEL} while'
.. ' it is being rebuilt.\n\n'
.. 'Any insertion of material directly from'
.. ' pre-protection revisions of the ${PAGETYPE} will be removed, as'
.. ' will any material added to the ${PAGETYPE} that is not properly'
.. ' sourced. The associated talk page(s) were also cleared on the'
.. " same date.\n\n"
.. "If you can edit this page, please discuss all changes and"
.. " additions on the ${TALKPAGE} first. '''Do not override"
.. " this action, and do not remove protection from this page,"
.. " unless you are authorized by the Wikimedia Foundation"
.. " to do so. No editor may remove this notice.'''"
return ret
end,
image = 'Office-protection-shackle.svg',
},
sock = {
description = 'For pages protected due to'
.. ' [[Wikipedia:Sock puppetry|sock puppetry]]',
text = '${INTROFRAGMENT} to prevent [[Wikipedia:Sock puppetry|sock puppets]] of'
.. ' [[Wikipedia:Blocking policy|blocked]] or'
.. ' [[Wikipedia:Banning policy|banned users]]'
.. ' from editing it.',
tooltip = '${TOOLTIPFRAGMENT} to prevent sock puppets of blocked or banned users from'
.. ' editing it',
},
template = {
description = 'For [[Wikipedia:High-risk templates|high-risk]]'
.. ' templates and Lua modules',
text = 'This is a permanently [[Help:Protection|protected]] ${PAGETYPE},'
.. ' as it is [[Wikipedia:High-risk templates|high-risk]].',
explanation = 'Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] or'
.. ' [[Wikipedia:Template editor|template editor]] to make an edit if'
.. ' it is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by'
.. ' [[Wikipedia:Consensus|consensus]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
tooltip = 'This high-risk ${PAGETYPE} is permanently ${PROTECTIONLEVEL}'
.. ' to prevent vandalism',
alt = 'Permanently protected ${PAGETYPE}',
},
usertalk = {
description = 'For pages protected against disruptive edits by a'
.. ' particular user',
text = '${INTROFRAGMENT} to prevent ${VANDAL} from using it to make disruptive edits,'
.. ' such as abusing the'
.. ' {{[[Template:unblock|unblock]]}} template.',
explanation = 'If you cannot edit this user talk page and you need to'
.. ' make a change or leave a message, you can'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for edits to a protected page'
.. '|request an edit]],'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]],'
.. ' [[Special:Userlogin|log in]],'
.. ' or [[Special:UserLogin/signup|create an account]].',
},
vandalism = {
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism|vandalism]]',
text = '${INTROFRAGMENT} due to [[Wikipedia:Vandalism|vandalism]].',
explanation = function (protectionObj, args)
local ret = ''
if protectionObj.level == 'sysop' then
ret = ret .. "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. '
end
return ret .. '${EXPLANATIONBLURB}'
end,
tooltip = '${TOOLTIPFRAGMENT} due to vandalism',
}
},
move = {
dispute = {
description = 'For pages protected against page moves due to'
.. ' disputes over the page title',
explanation = "This protection is '''not''' an endorsement of the"
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
image = 'Move-protection-shackle.svg'
},
vandalism = {
description = 'For pages protected against'
.. ' [[Wikipedia:Vandalism#Page-move vandalism'
.. ' |page-move vandalism]]'
}
},
autoreview = {},
upload = {}
},
--------------------------------------------------------------------------------
--
-- GENERAL DATA TABLES
--
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Protection blurbs
--------------------------------------------------------------------------------
-- This table produces the protection blurbs available with the
-- ${PROTECTIONBLURB} parameter. It is sorted by protection action and
-- protection level, and is checked by the module in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionBlurbs = {
edit = {
default = 'This ${PAGETYPE} is currently [[Help:Protection|'
.. 'protected]] from editing',
autoconfirmed = 'Editing of this ${PAGETYPE} by [[Wikipedia:User access'
.. ' levels#New users|new]] or [[Wikipedia:User access levels#Unregistered'
.. ' users|unregistered]] users is currently [[Help:Protection|disabled]]',
extendedconfirmed = 'This ${PAGETYPE} is currently under extended confirmed protection',
},
move = {
default = 'This ${PAGETYPE} is currently [[Help:Protection|protected]]'
.. ' from [[Help:Moving a page|page moves]]'
},
autoreview = {
default = 'All edits made to this ${PAGETYPE} by'
.. ' [[Wikipedia:User access levels#New users|new]] or'
.. ' [[Wikipedia:User access levels#Unregistered users|unregistered]]'
.. ' users are currently'
.. ' [[Wikipedia:Pending changes|subject to review]]'
},
upload = {
default = 'Uploading new versions of this ${PAGETYPE} is currently disabled'
}
},
--------------------------------------------------------------------------------
-- Explanation blurbs
--------------------------------------------------------------------------------
-- This table produces the explanation blurbs available with the
-- ${EXPLANATIONBLURB} parameter. It is sorted by protection action,
-- protection level, and whether the page is a talk page or not. If the page is
-- a talk page it will have a talk key of "talk"; otherwise it will have a talk
-- key of "subject". The table is checked in the following order:
-- 1. page's protection action, page's protection level, page's talk key
-- 2. page's protection action, page's protection level, default talk key
-- 3. page's protection action, default protection level, page's talk key
-- 4. page's protection action, default protection level, default talk key
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
explanationBlurbs = {
edit = {
autoconfirmed = {
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' ${EDITREQUEST}, discuss changes on the ${TALKPAGE},'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details. If you'
.. ' cannot edit this ${PAGETYPE} and you wish to make a change, you can'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].',
},
extendedconfirmed = {
default = 'Extended confirmed protection prevents edits from all unregistered editors'
.. ' and registered users with fewer than 30 days tenure and 500 edits.'
.. ' The [[Wikipedia:Protection policy#extended|policy on community use]]'
.. ' specifies that extended confirmed protection can be applied to combat'
.. ' disruption, if semi-protection has proven to be ineffective.'
.. ' Extended confirmed protection may also be applied to enforce'
.. ' [[Wikipedia:Arbitration Committee|arbitration sanctions]].'
.. ' Please discuss any changes on the ${TALKPAGE}; you may'
.. ' ${EDITREQUEST} to ask for uncontroversial changes supported by'
.. ' [[Wikipedia:Consensus|consensus]].'
},
default = {
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus'
.. '|consensus]]. You may also [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|request]] that this page be unprotected.',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' You may [[Wikipedia:Requests for page'
.. ' protection#Current requests for edits to a protected page|request an'
.. ' edit]] to this page, or [[Wikipedia:Requests for'
.. ' page protection#Current requests for reduction in protection level'
.. '|ask]] for it to be unprotected.'
}
},
move = {
default = {
subject = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves on the'
.. ' ${TALKPAGE} or at [[Wikipedia:Requested moves]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.',
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but cannot be moved'
.. ' until unprotected. Please discuss any suggested moves at'
.. ' [[Wikipedia:Requested moves]]. You can also'
.. ' [[Wikipedia:Requests for page protection|request]] that the page be'
.. ' unprotected.'
}
},
autoreview = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Edits to this ${PAGETYPE} by new and unregistered users'
.. ' will not be visible to readers until they are accepted by'
.. ' a reviewer. To avoid the need for your edits to be'
.. ' reviewed, you may'
.. ' [[Wikipedia:Requests for page protection'
.. '#Current requests for reduction in protection level'
.. '|request unprotection]], [[Special:Userlogin|log in]], or'
.. ' [[Special:UserLogin/signup|create an account]].'
},
},
upload = {
default = {
default = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' The page may still be edited but new versions of the file'
.. ' cannot be uploaded until it is unprotected. You can'
.. ' request that a new version be uploaded by using a'
.. ' [[Wikipedia:Edit requests|protected edit request]], or you'
.. ' can [[Wikipedia:Requests for page protection|request]]'
.. ' that the file be unprotected.'
}
}
},
--------------------------------------------------------------------------------
-- Protection levels
--------------------------------------------------------------------------------
-- This table provides the data for the ${PROTECTIONLEVEL} parameter, which
-- produces a short label for different protection levels. It is sorted by
-- protection action and protection level, and is checked in the following
-- order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
protectionLevels = {
edit = {
default = 'protected',
templateeditor = 'template-protected',
extendedconfirmed = 'extended-protected',
autoconfirmed = 'semi-protected',
},
move = {
default = 'move-protected'
},
autoreview = {
},
upload = {
default = 'upload-protected'
}
},
--------------------------------------------------------------------------------
-- Images
--------------------------------------------------------------------------------
-- This table lists different padlock images for each protection action and
-- protection level. It is used if an image is not specified in any of the
-- banner data tables, and if the page does not satisfy the conditions for using
-- the ['image-filename-indef'] image. It is checked in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
images = {
edit = {
default = 'Full-protection-shackle.svg',
templateeditor = 'Template-protection-shackle.svg',
extendedconfirmed = 'Extended-protection-shackle.svg',
autoconfirmed = 'Semi-protection-shackle.svg'
},
move = {
default = 'Move-protection-shackle.svg',
},
autoreview = {
default = 'Pending-protection-shackle.svg'
},
upload = {
default = 'Upload-protection-shackle.svg'
}
},
-- Pages with a reason specified in this table will show the special "indef"
-- padlock, defined in the 'image-filename-indef' message, if no expiry is set.
indefImageReasons = {
template = true
},
--------------------------------------------------------------------------------
-- Image links
--------------------------------------------------------------------------------
-- This table provides the data for the ${IMAGELINK} parameter, which gets
-- the image link for small padlock icons based on the page's protection action
-- and protection level. It is checked in the following order:
-- 1. page's protection action, page's protection level
-- 2. page's protection action, default protection level
-- 3. "edit" protection action, default protection level
--
-- It is possible to use banner parameters inside this table.
-- *required* - this table needs edit, move, autoreview and upload subtables.
imageLinks = {
edit = {
default = 'Wikipedia:Protection policy#full',
templateeditor = 'Wikipedia:Protection policy#template',
extendedconfirmed = 'Wikipedia:Protection policy#extended',
autoconfirmed = 'Wikipedia:Protection policy#semi'
},
move = {
default = 'Wikipedia:Protection policy#move'
},
autoreview = {
default = 'Wikipedia:Protection policy#pending'
},
upload = {
default = 'Wikipedia:Protection policy#upload'
}
},
--------------------------------------------------------------------------------
-- Padlock indicator names
--------------------------------------------------------------------------------
-- This table provides the "name" attribute for the <indicator> extension tag
-- with which small padlock icons are generated. All indicator tags on a page
-- are displayed in alphabetical order based on this attribute, and with
-- indicator tags with duplicate names, the last tag on the page wins.
-- The attribute is chosen based on the protection action; table keys must be a
-- protection action name or the string "default".
padlockIndicatorNames = {
autoreview = 'pp-autoreview',
default = 'pp-default'
},
--------------------------------------------------------------------------------
-- Protection categories
--------------------------------------------------------------------------------
--[[
-- The protection categories are stored in the protectionCategories table.
-- Keys to this table are made up of the following strings:
--
-- 1. the expiry date
-- 2. the namespace
-- 3. the protection reason (e.g. "dispute" or "vandalism")
-- 4. the protection level (e.g. "sysop" or "autoconfirmed")
-- 5. the action (e.g. "edit" or "move")
--
-- When the module looks up a category in the table, first it will will check to
-- see a key exists that corresponds to all five parameters. For example, a
-- user page semi-protected from vandalism for two weeks would have the key
-- "temp-user-vandalism-autoconfirmed-edit". If no match is found, the module
-- changes the first part of the key to "all" and checks the table again. It
-- keeps checking increasingly generic key combinations until it finds the
-- field, or until it reaches the key "all-all-all-all-all".
--
-- The module uses a binary matrix to determine the order in which to search.
-- This is best demonstrated by a table. In this table, the "0" values
-- represent "all", and the "1" values represent the original data (e.g.
-- "indef" or "file" or "vandalism").
--
-- expiry namespace reason level action
-- order
-- 1 1 1 1 1 1
-- 2 0 1 1 1 1
-- 3 1 0 1 1 1
-- 4 0 0 1 1 1
-- 5 1 1 0 1 1
-- 6 0 1 0 1 1
-- 7 1 0 0 1 1
-- 8 0 0 0 1 1
-- 9 1 1 1 0 1
-- 10 0 1 1 0 1
-- 11 1 0 1 0 1
-- 12 0 0 1 0 1
-- 13 1 1 0 0 1
-- 14 0 1 0 0 1
-- 15 1 0 0 0 1
-- 16 0 0 0 0 1
-- 17 1 1 1 1 0
-- 18 0 1 1 1 0
-- 19 1 0 1 1 0
-- 20 0 0 1 1 0
-- 21 1 1 0 1 0
-- 22 0 1 0 1 0
-- 23 1 0 0 1 0
-- 24 0 0 0 1 0
-- 25 1 1 1 0 0
-- 26 0 1 1 0 0
-- 27 1 0 1 0 0
-- 28 0 0 1 0 0
-- 29 1 1 0 0 0
-- 30 0 1 0 0 0
-- 31 1 0 0 0 0
-- 32 0 0 0 0 0
--
-- In this scheme the action has the highest priority, as it is the last
-- to change, and the expiry has the least priority, as it changes the most.
-- The priorities of the expiry, the protection level and the action are
-- fixed, but the priorities of the reason and the namespace can be swapped
-- through the use of the cfg.bannerDataNamespaceHasPriority table.
--]]
-- If the reason specified to the template is listed in this table,
-- namespace data will take priority over reason data in the protectionCategories
-- table.
reasonsWithNamespacePriority = {
vandalism = true,
},
-- The string to use as a namespace key for the protectionCategories table for each
-- namespace number.
categoryNamespaceKeys = {
[ 2] = 'user',
[ 3] = 'user',
[ 4] = 'project',
[ 6] = 'file',
[ 8] = 'mediawiki',
[ 10] = 'template',
[ 12] = 'project',
[ 14] = 'category',
[100] = 'portal',
[828] = 'module',
},
protectionCategories = {
['all|all|all|all|all'] = 'Wikipedia fully protected pages',
['all|all|office|all|all'] = 'Wikipedia Office-protected pages',
['all|all|reset|all|all'] = 'Wikipedia Office-protected pages',
['all|all|dmca|all|all'] = 'Wikipedia Office-protected pages',
['all|all|mainpage|all|all'] = 'Wikipedia fully protected main page files',
['all|all|all|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages',
['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages',
['all|template|all|all|edit'] = 'Wikipedia fully protected templates',
['all|all|all|autoconfirmed|edit'] = 'Wikipedia semi-protected pages',
['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages',
['all|all|blp|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected biographies of living people',
['temp|all|blp|autoconfirmed|edit'] = 'Wikipedia temporarily semi-protected biographies of living people',
['all|all|dispute|autoconfirmed|edit'] = 'Wikipedia pages semi-protected due to dispute',
['all|all|sock|autoconfirmed|edit'] = 'Wikipedia pages semi-protected from banned users',
['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism',
['all|category|all|autoconfirmed|edit'] = 'Wikipedia semi-protected categories',
['all|file|all|autoconfirmed|edit'] = 'Wikipedia semi-protected files',
['all|portal|all|autoconfirmed|edit'] = 'Wikipedia semi-protected portals',
['all|project|all|autoconfirmed|edit'] = 'Wikipedia semi-protected project pages',
['all|talk|all|autoconfirmed|edit'] = 'Wikipedia semi-protected talk pages',
['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates',
['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages',
['all|all|all|templateeditor|move'] = 'Wikipedia template-protected pages other than templates and modules',
['all|all|all|templateeditor|edit'] = 'Wikipedia template-protected pages other than templates and modules',
['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates',
['all|template|all|templateeditor|move'] = 'Wikipedia template-protected templates', -- move-protected templates
['all|all|blp|sysop|edit'] = 'Wikipedia indefinitely protected biographies of living people',
['temp|all|blp|sysop|edit'] = 'Wikipedia temporarily protected biographies of living people',
['all|all|dispute|sysop|edit'] = 'Wikipedia pages protected due to dispute',
['all|all|sock|sysop|edit'] = 'Wikipedia pages protected from banned users',
['all|all|vandalism|sysop|edit'] = 'Wikipedia pages protected against vandalism',
['all|category|all|sysop|edit'] = 'Wikipedia fully protected categories',
['all|file|all|sysop|edit'] = 'Wikipedia fully protected files',
['all|project|all|sysop|edit'] = 'Wikipedia fully protected project pages',
['all|talk|all|sysop|edit'] = 'Wikipedia fully protected talk pages',
['all|template|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected templates',
['all|template|all|sysop|edit'] = 'Wikipedia fully protected templates',
['all|user|all|sysop|edit'] = 'Wikipedia fully protected user and user talk pages',
['all|module|all|all|edit'] = 'Wikipedia fully protected modules',
['all|module|all|templateeditor|edit'] = 'Wikipedia template-protected modules',
['all|module|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected modules',
['all|module|all|autoconfirmed|edit'] = 'Wikipedia semi-protected modules',
['all|all|all|sysop|move'] = 'Wikipedia move-protected pages',
['indef|all|all|sysop|move'] = 'Wikipedia indefinitely move-protected pages',
['all|all|dispute|sysop|move'] = 'Wikipedia pages move-protected due to dispute',
['all|all|vandalism|sysop|move'] = 'Wikipedia pages move-protected due to vandalism',
['all|portal|all|sysop|move'] = 'Wikipedia move-protected portals',
['all|project|all|sysop|move'] = 'Wikipedia move-protected project pages',
['all|talk|all|sysop|move'] = 'Wikipedia move-protected talk pages',
['all|template|all|sysop|move'] = 'Wikipedia move-protected templates',
['all|user|all|sysop|move'] = 'Wikipedia move-protected user and user talk pages',
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages',
['all|file|all|all|upload'] = 'Wikipedia upload-protected files',
},
--------------------------------------------------------------------------------
-- Expiry category config
--------------------------------------------------------------------------------
-- This table configures the expiry category behaviour for each protection
-- action.
-- * If set to true, setting that action will always categorise the page if
-- an expiry parameter is not set.
-- * If set to false, setting that action will never categorise the page.
-- * If set to nil, the module will categorise the page if:
-- 1) an expiry parameter is not set, and
-- 2) a reason is provided, and
-- 3) the specified reason is not blacklisted in the reasonsWithoutExpiryCheck
-- table.
expiryCheckActions = {
edit = nil,
move = false,
autoreview = true,
upload = false
},
reasonsWithoutExpiryCheck = {
blp = true,
template = true,
},
--------------------------------------------------------------------------------
-- Pagetypes
--------------------------------------------------------------------------------
-- This table produces the page types available with the ${PAGETYPE} parameter.
-- Keys are namespace numbers, or the string "default" for the default value.
pagetypes = {
[0] = 'article',
[6] = 'file',
[10] = 'template',
[14] = 'category',
[828] = 'module',
default = 'page'
},
--------------------------------------------------------------------------------
-- Strings marking indefinite protection
--------------------------------------------------------------------------------
-- This table contains values passed to the expiry parameter that mean the page
-- is protected indefinitely.
indefStrings = {
['indef'] = true,
['indefinite'] = true,
['indefinitely'] = true,
['infinite'] = true,
},
--------------------------------------------------------------------------------
-- Group hierarchy
--------------------------------------------------------------------------------
-- This table maps each group to all groups that have a superset of the original
-- group's page editing permissions.
hierarchy = {
sysop = {},
reviewer = {'sysop'},
filemover = {'sysop'},
templateeditor = {'sysop'},
extendedconfirmed = {'sysop'},
autoconfirmed = {'reviewer', 'filemover', 'templateeditor', 'extendedconfirmed'},
user = {'autoconfirmed'},
['*'] = {'user'}
},
--------------------------------------------------------------------------------
-- Wrapper templates and their default arguments
--------------------------------------------------------------------------------
-- This table contains wrapper templates used with the module, and their
-- default arguments. Templates specified in this table should contain the
-- following invocation, and no other template content:
--
-- {{#invoke:Protection banner|main}}
--
-- If other content is desired, it can be added between
-- <noinclude>...</noinclude> tags.
--
-- When a user calls one of these wrapper templates, they will use the
-- default arguments automatically. However, users can override any of the
-- arguments.
wrappers = {
['Template:Pp'] = {},
['Template:Pp-extended'] = {'ecp'},
['Template:Pp-blp'] = {'blp'},
-- we don't need Template:Pp-create
['Template:Pp-dispute'] = {'dispute'},
['Template:Pp-main-page'] = {'mainpage'},
['Template:Pp-move'] = {action = 'move', catonly = 'yes'},
['Template:Pp-move-dispute'] = {'dispute', action = 'move', catonly = 'yes'},
-- we don't need Template:Pp-move-indef
['Template:Pp-move-vandalism'] = {'vandalism', action = 'move', catonly = 'yes'},
['Template:Pp-office'] = {'office'},
['Template:Pp-office-dmca'] = {'dmca'},
['Template:Pp-pc'] = {action = 'autoreview', small = true},
['Template:Pp-pc1'] = {action = 'autoreview', small = true},
['Template:Pp-reset'] = {'reset'},
['Template:Pp-semi-indef'] = {small = true},
['Template:Pp-sock'] = {'sock'},
['Template:Pp-template'] = {'template', small = true},
['Template:Pp-upload'] = {action = 'upload'},
['Template:Pp-usertalk'] = {'usertalk'},
['Template:Pp-vandalism'] = {'vandalism'},
},
--------------------------------------------------------------------------------
--
-- MESSAGES
--
--------------------------------------------------------------------------------
msg = {
--------------------------------------------------------------------------------
-- Intro blurb and intro fragment
--------------------------------------------------------------------------------
-- These messages specify what is produced by the ${INTROBLURB} and
-- ${INTROFRAGMENT} parameters. If the protection is temporary they use the
-- intro-blurb-expiry or intro-fragment-expiry, and if not they use
-- intro-blurb-noexpiry or intro-fragment-noexpiry.
-- It is possible to use banner parameters in these messages.
['intro-blurb-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY}.',
['intro-blurb-noexpiry'] = '${PROTECTIONBLURB}.',
['intro-fragment-expiry'] = '${PROTECTIONBLURB} until ${EXPIRY},',
['intro-fragment-noexpiry'] = '${PROTECTIONBLURB}',
--------------------------------------------------------------------------------
-- Tooltip blurb
--------------------------------------------------------------------------------
-- These messages specify what is produced by the ${TOOLTIPBLURB} parameter.
-- If the protection is temporary the tooltip-blurb-expiry message is used, and
-- if not the tooltip-blurb-noexpiry message is used.
-- It is possible to use banner parameters in these messages.
['tooltip-blurb-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY}.',
['tooltip-blurb-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}.',
['tooltip-fragment-expiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL} until ${EXPIRY},',
['tooltip-fragment-noexpiry'] = 'This ${PAGETYPE} is ${PROTECTIONLEVEL}',
--------------------------------------------------------------------------------
-- Special explanation blurb
--------------------------------------------------------------------------------
-- An explanation blurb for pages that cannot be unprotected, e.g. for pages
-- in the MediaWiki namespace.
-- It is possible to use banner parameters in this message.
['explanation-blurb-nounprotect'] = 'See the [[Wikipedia:Protection policy|'
.. 'protection policy]] and ${PROTECTIONLOG} for more details.'
.. ' Please discuss any changes on the ${TALKPAGE}; you'
.. ' may ${EDITREQUEST} to ask an'
.. ' [[Wikipedia:Administrators|administrator]] to make an edit if it'
.. ' is [[Help:Minor edit#When to mark an edit as a minor edit'
.. '|uncontroversial]] or supported by [[Wikipedia:Consensus'
.. '|consensus]].',
--------------------------------------------------------------------------------
-- Protection log display values
--------------------------------------------------------------------------------
-- These messages determine the display values for the protection log link
-- or the pending changes log link produced by the ${PROTECTIONLOG} parameter.
-- It is possible to use banner parameters in these messages.
['protection-log-display'] = 'protection log',
['pc-log-display'] = 'pending changes log',
--------------------------------------------------------------------------------
-- Current version display values
--------------------------------------------------------------------------------
-- These messages determine the display values for the page history link
-- or the move log link produced by the ${CURRENTVERSION} parameter.
-- It is possible to use banner parameters in these messages.
['current-version-move-display'] = 'current title',
['current-version-edit-display'] = 'current version',
--------------------------------------------------------------------------------
-- Talk page
--------------------------------------------------------------------------------
-- This message determines the display value of the talk page link produced
-- with the ${TALKPAGE} parameter.
-- It is possible to use banner parameters in this message.
['talk-page-link-display'] = 'talk page',
--------------------------------------------------------------------------------
-- Edit requests
--------------------------------------------------------------------------------
-- This message determines the display value of the edit request link produced
-- with the ${EDITREQUEST} parameter.
-- It is possible to use banner parameters in this message.
['edit-request-display'] = 'submit an edit request',
--------------------------------------------------------------------------------
-- Expiry date format
--------------------------------------------------------------------------------
-- This is the format for the blurb expiry date. It should be valid input for
-- the first parameter of the #time parser function.
['expiry-date-format'] = 'F j, Y "at" H:i e',
--------------------------------------------------------------------------------
-- Tracking categories
--------------------------------------------------------------------------------
-- These messages determine which tracking categories the module outputs.
['tracking-category-incorrect'] = 'Wikipedia pages with incorrect protection templates',
['tracking-category-template'] = 'Wikipedia template-protected pages other than templates and modules',
--------------------------------------------------------------------------------
-- Images
--------------------------------------------------------------------------------
-- These are images that are not defined by their protection action and protection level.
['image-filename-indef'] = 'Full-protection-shackle.svg',
['image-filename-default'] = 'Transparent.gif',
--------------------------------------------------------------------------------
-- End messages
--------------------------------------------------------------------------------
}
--------------------------------------------------------------------------------
-- End configuration
--------------------------------------------------------------------------------
}
65de905227752d0a0dae145e9ad8dbe1d0087016
Template:Ombox
10
1451
2966
2965
2024-03-13T05:24:15Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{#invoke:Message box|ombox}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
0e54065432d540737b9e56c4e3a8e7f74d4534ea
Template:Yesno-no
10
1452
2968
2967
2024-03-13T05:24:16Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{safesubst:<noinclude />yesno|{{{1}}}|yes={{{yes|yes}}}|no={{{no|no}}}|blank={{{blank|no}}}|¬={{{¬|no}}}|def={{{def|no}}}}}<noinclude>
{{Documentation|Template:Yesno/doc}}
<!--Categories go in the doc page referenced above; interwikis go in Wikidata.-->
</noinclude>
1ad7b7800da1b867ead8f6ff8cef76e6201b3b56
Template:!)
10
1453
2970
2969
2024-03-13T05:24:16Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
|}<noinclude>
{{Documentation}}
</noinclude>
4708392952b330b1c5bf605bc6fc76222b1609d2
Template:(!
10
1454
2972
2971
2024-03-13T05:24:16Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{|</includeonly><noinclude><nowiki>{|</nowiki>{{Documentation}}
</noinclude>
f709d1f206330f000c28ae20e722426c750f9bd5
Template:Country data United States
10
1455
2974
2973
2024-03-13T05:24:17Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{safesubst<noinclude />: {{{1<noinclude>|country showdata</noinclude>}}}
| alias = United States
| flag alias = Flag of the United States.svg
| flag alias-1776 = Flag of the United States (1776–1777).svg
| flag alias-1777 = Flag of the United States (1777–1795).svg
| flag alias-1777-Ross = Betsy Ross flag.svg
| flag alias-1795 = Flag of the United States (1795-1818).svg
| flag alias-1795FM = Flag of the United States (1795–1818).svg
| flag alias-1818 = Flag of the United States (1818-1819).svg
| flag alias-1819 = Flag of the United States (1819-1820).svg
| flag alias-1820 = Flag of the United States (1820-1822).svg
| flag alias-1822 = Flag of the United States (1822-1836).svg
| flag alias-1836 = Flag of the United States (1836-1837).svg
| flag alias-1837 = Flag of the United States (1837-1845).svg
| flag alias-1845 = Flag of the United States (1845-1846).svg
| flag alias-1846 = Flag of the United States (1846-1847).svg
| flag alias-1847 = Flag of the United States (1847-1848).svg
| flag alias-1848 = Flag of the United States (1848-1851).svg
| flag alias-1851 = Flag of the United States (1851-1858).svg
| flag alias-1858 = Flag of the United States (1858-1859).svg
| flag alias-1859 = Flag of the United States (1859-1861).svg
| flag alias-1861 = Flag of the United States (1861-1863).svg
| flag alias-1863 = Flag of the United States (1863-1865).svg
| flag alias-1865 = Flag of the United States (1865-1867).svg
| flag alias-1867 = Flag of the United States (1867-1877).svg
| flag alias-1877 = Flag of the United States (1877-1890).svg
| flag alias-1890 = Flag of the United States (1890-1891).svg
| flag alias-1891 = Flag of the United States (1891-1896).svg
| flag alias-1896 = Flag of the United States (1896-1908).svg
| flag alias-1908 = Flag of the United States (1908-1912).svg
| flag alias-1912 = Flag of the United States (1912-1959).svg
| flag alias-1959 = Flag of the United States (1959-1960).svg
| flag alias-1960 = Flag of the United States (Pantone).svg
| flag alias-yacht = United States yacht flag.svg
| flag alias-air force = Flag of the United States Air Force.svg
| flag alias-coast guard-1799 = Ensign of the United States Revenue-Marine (1799).png
| flag alias-coast guard-1815 = Ensign of the United States Revenue-Marine (1815).png
| flag alias-coast guard-1836 = Ensign of the United States Revenue-Marine (1836).png
| flag alias-coast guard-1841 = Ensign of the United States Revenue-Marine (1841).png
| flag alias-coast guard-1867 = Ensign of the United States Revenue-Marine (1867).png
| flag alias-coast guard-1868 = Ensign of the United States Revenue-Marine (1868).png
| flag alias-coast guard-1915 = Ensign of the United States Coast Guard (1915-1953).png
| flag alias-coast guard-1953 = Ensign of the United States Coast Guard.svg
| flag alias-coast guard = Flag of the United States Coast Guard.svg
| link alias-coast guard = {{#switch:{{{variant|}}}|coast guard|coast guard-1915=United States Coast Guard|coast guard-1894=United States Revenue Cutter Service|coast guard-1799|coast guard-1815|coast guard-1836|coast guard-1841|coast guard-1867|coast guard-1868=United States Revenue-Marine|United States Coast Guard}}
| flag alias-army = Flag of the United States Army.svg
| link alias-naval = {{#switch:{{{variant|}}}|navy|coast guard-1915=United States Coast Guard|United States Coast Guard|United States Navy}}
| flag alias-navy-1864 = Flag of the United States Navy (1864-1959).svg
| flag alias-navy = Flag of the United States Navy (official).svg
| link alias-navy = United States Navy
| link alias-marines = {{#switch:{{{variant|}}}|marines|marines-1914=United States Marine Corps|United States Marine Corps}}
| flag alias-marines-1914 = Flag of the United States Marine Corps (1914-1939).png
| flag alias-marines = Flag of the United States Marine Corps.svg
| link alias-merchant marine = United States Merchant Marine
| flag alias-merchant marine = Flag of the United States Merchant Marine Higher Resolution.jpg
| flag alias-space force = Flag of the United States Space Force.svg
| link alias-military = United States Armed Forces
| link alias-football = United States {{{mw|men's}}} national {{{age|}}} soccer team
| link alias-Australian rules football = United States {{{mw|men's}}} national Australian rules football team
| flag alias-23px = Flag of the United States (23px).png
| {{#ifeq:{{{altlink}}}|A national rugby union team|link alias-rugby union|empty}} = USA Selects
| size = {{{size|}}}
| name = {{{name|}}}
| altlink = {{{altlink|}}}
| altvar = {{{altvar|}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = 1776
| var2 = 1777
| var3 = 1777-Ross
| var4 = 1795
| var5 = 1795FM
| var6 = 1818
| var7 = 1819
| var8 = 1820
| var9 = 1822
| var10 = 1836
| var11 = 1837
| var12 = 1845
| var13 = 1846
| var14 = 1847
| var15 = 1848
| var16 = 1851
| var17 = 1858
| var18 = 1859
| var19 = 1861
| var20 = 1863
| var21 = 1865
| var22 = 1867
| var23 = 1877
| var24 = 1890
| var25 = 1891
| var26 = 1896
| var27 = 1908
| var28 = 1912
| var29 = 1959
| var30 = 1960
| var31 = yacht
| var32 = coast guard-1915
| var33 = coast guard-1953
| var34 = marines-1914
| redir1 = USA
| redir2 = US
| redir3 = United States of America
| redir4 = U.S.
</noinclude>
}}
11fe592cf8f160bf3bcaf6bb7520598f3713bf74
Template:Delink question hyphen-minus
10
1456
2976
2975
2024-03-13T05:24:17Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{{{{|safesubst:}}}#invoke:MultiReplace|main|{{{1|}}}|%[%[ *([%?-]) *%]%]|%1|%[%[ *[%?-] *{{{{{|safesubst:}}}!}} *(.-) *%]%]|%1}}<noinclude>
{{documentation}}
</noinclude>
f342bb1e299a3bd5e482defa9cde3dd36ccf210e
Template:Flagdeco
10
1457
2978
2977
2024-03-13T05:24:17Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#ifeq: {{Yesno-no|{{{noredlink|}}}}}|yes<!--
-->|<!--
#Check for existence of Template: Country data foo before invoking it
-->{{#ifexist: Template: Country data {{{1|}}}<!--
-->|<!--
# It exists, so proceed
-->{{country data {{{1|}}}|flagdeco/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<!--
-->|<!--
# It doesn't exist, so do nothing
-->}}<!--
-->|<!--
# DEFAULT call Template: Country data {{{1|}}}
# with no prior checks
-->{{country data {{{1|}}}|flagdeco/core|variant={{{variant|{{{2|}}}}}}|size={{{size|}}}}}<!--
# Track use where "Template:Country data Foo" does not exist
-->{{#ifexist: Template:Country data {{{1|}}}||{{namespace detect showall
| 1 =
| 2 = [[Category:Flagdeco with missing country data templates]]
| user = 1
| talk = 1
| other = 2
}}}}<!--
-->}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
2cd50bb91e18505de93484a7348c92b68745dbf9
Template:Flagdeco/core
10
1458
2980
2979
2024-03-13T05:24:17Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|{{{size flag alias-{{{variant}}}|{{#if:{{{variant|}}}|23x15px|{{{size flag alias|23x15px}}}}}}}}}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]</span><noinclude>{{documentation}}</noinclude>
42dea5caf343aa87e6e075eb1bec3aebe1f396b1
Module:Math
828
1459
2982
2981
2024-03-13T05:24:18Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
--[[
This module provides a number of basic mathematical operations.
]]
local yesno, getArgs -- lazily initialized
local p = {} -- Holds functions to be returned from #invoke, and functions to make available to other Lua modules.
local wrap = {} -- Holds wrapper functions that process arguments from #invoke. These act as intemediary between functions meant for #invoke and functions meant for Lua.
--[[
Helper functions used to avoid redundant code.
]]
local function err(msg)
-- Generates wikitext error messages.
return mw.ustring.format('<strong class="error">Formatting error: %s</strong>', msg)
end
local function unpackNumberArgs(args)
-- Returns an unpacked list of arguments specified with numerical keys.
local ret = {}
for k, v in pairs(args) do
if type(k) == 'number' then
table.insert(ret, v)
end
end
return unpack(ret)
end
local function makeArgArray(...)
-- Makes an array of arguments from a list of arguments that might include nils.
local args = {...} -- Table of arguments. It might contain nils or non-number values, so we can't use ipairs.
local nums = {} -- Stores the numbers of valid numerical arguments.
local ret = {}
for k, v in pairs(args) do
v = p._cleanNumber(v)
if v then
nums[#nums + 1] = k
args[k] = v
end
end
table.sort(nums)
for i, num in ipairs(nums) do
ret[#ret + 1] = args[num]
end
return ret
end
local function fold(func, ...)
-- Use a function on all supplied arguments, and return the result. The function must accept two numbers as parameters,
-- and must return a number as an output. This number is then supplied as input to the next function call.
local vals = makeArgArray(...)
local count = #vals -- The number of valid arguments
if count == 0 then return
-- Exit if we have no valid args, otherwise removing the first arg would cause an error.
nil, 0
end
local ret = table.remove(vals, 1)
for _, val in ipairs(vals) do
ret = func(ret, val)
end
return ret, count
end
--[[
Fold arguments by selectively choosing values (func should return when to choose the current "dominant" value).
]]
local function binary_fold(func, ...)
local value = fold((function(a, b) if func(a, b) then return a else return b end end), ...)
return value
end
--[[
random
Generate a random number
Usage:
{{#invoke: Math | random }}
{{#invoke: Math | random | maximum value }}
{{#invoke: Math | random | minimum value | maximum value }}
]]
function wrap.random(args)
local first = p._cleanNumber(args[1])
local second = p._cleanNumber(args[2])
return p._random(first, second)
end
function p._random(first, second)
math.randomseed(mw.site.stats.edits + mw.site.stats.pages + os.time() + math.floor(os.clock() * 1000000000))
-- math.random will throw an error if given an explicit nil parameter, so we need to use if statements to check the params.
if first and second then
if first <= second then -- math.random doesn't allow the first number to be greater than the second.
return math.random(first, second)
end
elseif first then
return math.random(first)
else
return math.random()
end
end
--[[
order
Determine order of magnitude of a number
Usage:
{{#invoke: Math | order | value }}
]]
function wrap.order(args)
local input_string = (args[1] or args.x or '0');
local input_number = p._cleanNumber(input_string);
if input_number == nil then
return err('order of magnitude input appears non-numeric')
else
return p._order(input_number)
end
end
function p._order(x)
if x == 0 then return 0 end
return math.floor(math.log10(math.abs(x)))
end
--[[
precision
Detemines the precision of a number using the string representation
Usage:
{{ #invoke: Math | precision | value }}
]]
function wrap.precision(args)
local input_string = (args[1] or args.x or '0');
local trap_fraction = args.check_fraction;
local input_number;
if not yesno then
yesno = require('Module:Yesno')
end
if yesno(trap_fraction, true) then -- Returns true for all input except nil, false, "no", "n", "0" and a few others. See [[Module:Yesno]].
local pos = string.find(input_string, '/', 1, true);
if pos ~= nil then
if string.find(input_string, '/', pos + 1, true) == nil then
local denominator = string.sub(input_string, pos+1, -1);
local denom_value = tonumber(denominator);
if denom_value ~= nil then
return math.log10(denom_value);
end
end
end
end
input_number, input_string = p._cleanNumber(input_string);
if input_string == nil then
return err('precision input appears non-numeric')
else
return p._precision(input_string)
end
end
function p._precision(x)
if type(x) == 'number' then
x = tostring(x)
end
x = string.upper(x)
local decimal = x:find('%.')
local exponent_pos = x:find('E')
local result = 0;
if exponent_pos ~= nil then
local exponent = string.sub(x, exponent_pos + 1)
x = string.sub(x, 1, exponent_pos - 1)
result = result - tonumber(exponent)
end
if decimal ~= nil then
result = result + string.len(x) - decimal
return result
end
local pos = string.len(x);
while x:byte(pos) == string.byte('0') do
pos = pos - 1
result = result - 1
if pos <= 0 then
return 0
end
end
return result
end
--[[
max
Finds the maximum argument
Usage:
{{#invoke:Math| max | value1 | value2 | ... }}
Note, any values that do not evaluate to numbers are ignored.
]]
function wrap.max(args)
return p._max(unpackNumberArgs(args))
end
function p._max(...)
local max_value = binary_fold((function(a, b) return a > b end), ...)
if max_value then
return max_value
end
end
--[[
median
Find the median of set of numbers
Usage:
{{#invoke:Math | median | number1 | number2 | ...}}
OR
{{#invoke:Math | median }}
]]
function wrap.median(args)
return p._median(unpackNumberArgs(args))
end
function p._median(...)
local vals = makeArgArray(...)
local count = #vals
table.sort(vals)
if count == 0 then
return 0
end
if p._mod(count, 2) == 0 then
return (vals[count/2] + vals[count/2+1])/2
else
return vals[math.ceil(count/2)]
end
end
--[[
min
Finds the minimum argument
Usage:
{{#invoke:Math| min | value1 | value2 | ... }}
OR
{{#invoke:Math| min }}
When used with no arguments, it takes its input from the parent
frame. Note, any values that do not evaluate to numbers are ignored.
]]
function wrap.min(args)
return p._min(unpackNumberArgs(args))
end
function p._min(...)
local min_value = binary_fold((function(a, b) return a < b end), ...)
if min_value then
return min_value
end
end
--[[
sum
Finds the sum
Usage:
{{#invoke:Math| sum | value1 | value2 | ... }}
OR
{{#invoke:Math| sum }}
Note, any values that do not evaluate to numbers are ignored.
]]
function wrap.sum(args)
return p._sum(unpackNumberArgs(args))
end
function p._sum(...)
local sums, count = fold((function(a, b) return a + b end), ...)
if not sums then
return 0
else
return sums
end
end
--[[
average
Finds the average
Usage:
{{#invoke:Math| average | value1 | value2 | ... }}
OR
{{#invoke:Math| average }}
Note, any values that do not evaluate to numbers are ignored.
]]
function wrap.average(args)
return p._average(unpackNumberArgs(args))
end
function p._average(...)
local sum, count = fold((function(a, b) return a + b end), ...)
if not sum then
return 0
else
return sum / count
end
end
--[[
round
Rounds a number to specified precision
Usage:
{{#invoke:Math | round | value | precision }}
--]]
function wrap.round(args)
local value = p._cleanNumber(args[1] or args.value or 0)
local precision = p._cleanNumber(args[2] or args.precision or 0)
if value == nil or precision == nil then
return err('round input appears non-numeric')
else
return p._round(value, precision)
end
end
function p._round(value, precision)
local rescale = math.pow(10, precision or 0);
return math.floor(value * rescale + 0.5) / rescale;
end
--[[
log10
returns the log (base 10) of a number
Usage:
{{#invoke:Math | log10 | x }}
]]
function wrap.log10(args)
return math.log10(args[1])
end
--[[
mod
Implements the modulo operator
Usage:
{{#invoke:Math | mod | x | y }}
--]]
function wrap.mod(args)
local x = p._cleanNumber(args[1])
local y = p._cleanNumber(args[2])
if not x then
return err('first argument to mod appears non-numeric')
elseif not y then
return err('second argument to mod appears non-numeric')
else
return p._mod(x, y)
end
end
function p._mod(x, y)
local ret = x % y
if not (0 <= ret and ret < y) then
ret = 0
end
return ret
end
--[[
gcd
Calculates the greatest common divisor of multiple numbers
Usage:
{{#invoke:Math | gcd | value 1 | value 2 | value 3 | ... }}
--]]
function wrap.gcd(args)
return p._gcd(unpackNumberArgs(args))
end
function p._gcd(...)
local function findGcd(a, b)
local r = b
local oldr = a
while r ~= 0 do
local quotient = math.floor(oldr / r)
oldr, r = r, oldr - quotient * r
end
if oldr < 0 then
oldr = oldr * -1
end
return oldr
end
local result, count = fold(findGcd, ...)
return result
end
--[[
precision_format
Rounds a number to the specified precision and formats according to rules
originally used for {{template:Rnd}}. Output is a string.
Usage:
{{#invoke: Math | precision_format | number | precision }}
]]
function wrap.precision_format(args)
local value_string = args[1] or 0
local precision = args[2] or 0
return p._precision_format(value_string, precision)
end
function p._precision_format(value_string, precision)
-- For access to Mediawiki built-in formatter.
local lang = mw.getContentLanguage();
local value
value, value_string = p._cleanNumber(value_string)
precision = p._cleanNumber(precision)
-- Check for non-numeric input
if value == nil or precision == nil then
return err('invalid input when rounding')
end
local current_precision = p._precision(value)
local order = p._order(value)
-- Due to round-off effects it is neccesary to limit the returned precision under
-- some circumstances because the terminal digits will be inaccurately reported.
if order + precision >= 14 then
if order + p._precision(value_string) >= 14 then
precision = 13 - order;
end
end
-- If rounding off, truncate extra digits
if precision < current_precision then
value = p._round(value, precision)
current_precision = p._precision(value)
end
local formatted_num = lang:formatNum(math.abs(value))
local sign
-- Use proper unary minus sign rather than ASCII default
if value < 0 then
sign = '−'
else
sign = ''
end
-- Handle cases requiring scientific notation
if string.find(formatted_num, 'E', 1, true) ~= nil or math.abs(order) >= 9 then
value = value * math.pow(10, -order)
current_precision = current_precision + order
precision = precision + order
formatted_num = lang:formatNum(math.abs(value))
else
order = 0;
end
formatted_num = sign .. formatted_num
-- Pad with zeros, if needed
if current_precision < precision then
local padding
if current_precision <= 0 then
if precision > 0 then
local zero_sep = lang:formatNum(1.1)
formatted_num = formatted_num .. zero_sep:sub(2,2)
padding = precision
if padding > 20 then
padding = 20
end
formatted_num = formatted_num .. string.rep('0', padding)
end
else
padding = precision - current_precision
if padding > 20 then
padding = 20
end
formatted_num = formatted_num .. string.rep('0', padding)
end
end
-- Add exponential notation, if necessary.
if order ~= 0 then
-- Use proper unary minus sign rather than ASCII default
if order < 0 then
order = '−' .. lang:formatNum(math.abs(order))
else
order = lang:formatNum(order)
end
formatted_num = formatted_num .. '<span style="margin:0 .15em 0 .25em">×</span>10<sup>' .. order .. '</sup>'
end
return formatted_num
end
--[[
divide
Implements the division operator
Usage:
{{#invoke:Math | divide | x | y | round= | precision= }}
--]]
function wrap.divide(args)
local x = args[1]
local y = args[2]
local round = args.round
local precision = args.precision
if not yesno then
yesno = require('Module:Yesno')
end
return p._divide(x, y, yesno(round), precision)
end
function p._divide(x, y, round, precision)
if y == nil or y == "" then
return err("Empty divisor")
elseif not tonumber(y) then
if type(y) == 'string' and string.sub(y, 1, 1) == '<' then
return y
else
return err("Not a number: " .. y)
end
elseif x == nil or x == "" then
return err("Empty dividend")
elseif not tonumber(x) then
if type(x) == 'string' and string.sub(x, 1, 1) == '<' then
return x
else
return err("Not a number: " .. x)
end
else
local z = x / y
if round then
return p._round(z, 0)
elseif precision then
return p._round(z, precision)
else
return z
end
end
end
--[[
Helper function that interprets the input numerically. If the
input does not appear to be a number, attempts evaluating it as
a parser functions expression.
]]
function p._cleanNumber(number_string)
if type(number_string) == 'number' then
-- We were passed a number, so we don't need to do any processing.
return number_string, tostring(number_string)
elseif type(number_string) ~= 'string' or not number_string:find('%S') then
-- We were passed a non-string or a blank string, so exit.
return nil, nil;
end
-- Attempt basic conversion
local number = tonumber(number_string)
-- If failed, attempt to evaluate input as an expression
if number == nil then
local success, result = pcall(mw.ext.ParserFunctions.expr, number_string)
if success then
number = tonumber(result)
number_string = tostring(number)
else
number = nil
number_string = nil
end
else
number_string = number_string:match("^%s*(.-)%s*$") -- String is valid but may contain padding, clean it.
number_string = number_string:match("^%+(.*)$") or number_string -- Trim any leading + signs.
if number_string:find('^%-?0[xX]') then
-- Number is using 0xnnn notation to indicate base 16; use the number that Lua detected instead.
number_string = tostring(number)
end
end
return number, number_string
end
--[[
Wrapper function that does basic argument processing. This ensures that all functions from #invoke can use either the current
frame or the parent frame, and it also trims whitespace for all arguments and removes blank arguments.
]]
local mt = { __index = function(t, k)
return function(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
return wrap[k](getArgs(frame)) -- Argument processing is left to Module:Arguments. Whitespace is trimmed and blank arguments are removed.
end
end }
return setmetatable(p, mt)
2bbe734d898299f65412963a3c1782e9fcc4d9ca
Template:Succession links
10
1460
2984
2983
2024-03-13T05:24:18Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{#if:{{{above|}}}
|<div class="{{{aboveclass|}}}" style="width:100%; text-align:center; {{{abovestyle|}}}">{{{above}}}</div>
}}{{#if:{{{center|}}}
|<!-- then
--><table style="width:100%; margin:1px; display:inline-table;"><tr>
<td style="text-align:left; vertical-align:{{{vertical-align|middle}}}; padding:0 0.5em 0 0;{{#if:{{{wide|}}}|width:45%;}}{{{leftstyle|}}}" class="noprint">{{#if:{{{left|}}}|{{#if:{{{noarrows|}}}||← }}{{Delink question hyphen-minus|{{{left|}}}}}{{#if:{{{bullets|}}}| '''·'''}}}}</td>
{{#if:{{{center|}}}|
<td style="text-align:center; vertical-align:{{{vertical-align|middle}}};; padding:0 1px;{{{centerstyle|}}}" class="{{{centerclass|}}}">{{{center|}}}</td>
}}
<td style="text-align:right; vertical-align:{{{vertical-align|middle}}};; padding:0 0 0 0.5em;{{#if:{{{wide|}}}|width:45%;}}{{{rightstyle|}}}" class="noprint">{{#if:{{{right|}}}|{{#if:{{{bullets|}}}|'''·''' }}{{Delink question hyphen-minus|{{{right|}}}}}{{#if:{{{noarrows|}}}|| →}}}}</td>
</tr></table>
|<!-- else
-->{{#if:{{{left|}}}{{{right|}}}|<div style="width:100%">{{#if:{{{left|}}}|
<div style="float: left; text-align:left;padding-right:0.5em;{{{leftstyle|}}}" class="noprint">{{#if:{{{noarrows|}}}||← }}{{{left|}}}</div>
}}{{#if:{{{right|}}}|
<div style="float: right; text-align:right;padding-left:0.5em;{{{rightstyle|}}}" class="noprint">{{{right|}}}{{#if:{{{noarrows|}}}|| →}}</div>
}}</div>}}
}}<noinclude>{{documentation}}</noinclude>
69440132c87bdda8349cd83cd55b1db88112e68f
Template:Infobox election/row
10
1461
2986
2985
2024-03-13T05:24:18Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>|-
{{#if:{{{divider|}}}|{{#if:{{{party1|}}}{{{color1|}}}{{{leader1|}}}{{{party2|}}}{{{color2|}}}{{{leader2|}}}{{{party3|}}}{{{color3|}}}{{{leader3|}}}|{{!}} colspan=4 {{!}} {{{divider}}} }} }}
|- style="display:none"
{{#ifeq:{{{ongoing|}}}|yes||{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative = {{#if:{{{party1|}}}{{{party2|}}}{{{party3|}}}|
! style="text-align:left;" {{!}}
! style="text-align:center" {{!}} {{#if:{{{party1|}}}| {{{header1|}}} }}
! style="text-align:center" {{!}} {{#if:{{{party2|}}}| {{{header2|}}} }}
{{#if:{{{col3|}}}|! style="text-align:center" {{!}} {{#if:{{{party3|}}}| {{{header3|}}} }}}}
}}
| #default =
}}}}
|-
{{#if:{{{party1|}}}{{{color1|}}}{{{image1|}}}{{{party2|}}}{{{color2|}}}{{{image2|}}}{{{party3|}}}{{{color3|}}}{{{image3|}}}|<!-- Images -->
{{#if:{{{filler|}}}|
! <br />{{{filler}}}
|
{{!}}
}}
{{!}} style="text-align:center;{{#if:{{{party1|}}}{{{color1|}}}||width:0;}}{{#if:{{{color1|}}}|border-bottom: 6px solid #{{#invoke:Ustring|gsub|s1={{{color1}}}|#|}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party1|}}}|{{#ifeq: {{#invoke:Political party|fetch|{{#invoke:delink|delink|wikilinks=target|1={{#invoke:string|replace|source={{{party1}}}|pattern=^(%[%[%s*[^%]%[]*%]%]).*$|replace=%1|plain=false}}}}|color|error=NOTHERE}} | NOTHERE || border-bottom: 6px solid {{#invoke:Political party|fetch|{{#invoke:delink|delink|wikilinks=target|1={{#invoke:string|replace|source={{{party1}}}|pattern=^(%[%[%s*[^%]%[]*%]%]).*$|replace=%1|plain=false}}}}|color}};}}}}}}}}" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image1|}}}|size={{if empty|{{{image1_size|}}}|{{{image_size|}}}}}|alt={{{alt1|}}}|upright={{if empty|{{{image1_upright|}}}|{{{image_upright|}}}|{{#if:{{both|{{{col3|}}}|{{{image3|}}}}}|0.5|0.75}}}}|suppressplaceholder=yes|class={{#if:{{{pageimage1|}}}||notpageimage}}}}
{{!}} style="text-align:center;{{#if:{{{party2|}}}{{{color2|}}}||width:0;}}{{#if:{{{color2|}}}|border-bottom: 6px solid #{{#invoke:Ustring|gsub|s1={{{color2}}}|#|}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party2|}}}|{{#ifeq: {{#invoke:Political party|fetch|{{#invoke:delink|delink|wikilinks=target|1={{#invoke:string|replace|source={{{party2}}}|pattern=^(%[%[%s*[^%]%[]*%]%]).*$|replace=%1|plain=false}}}}|color|error=NOTHERE}} | NOTHERE || border-bottom: 6px solid {{#invoke:Political party|fetch|{{#invoke:delink|delink|wikilinks=target|1={{#invoke:string|replace|source={{{party2}}}|pattern=^(%[%[%s*[^%]%[]*%]%]).*$|replace=%1|plain=false}}}}|color}};}}}}}}}}"{{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image2|}}}|size={{if empty|{{{image2_size|}}}|alt={{{alt2|}}}|{{{image_size|}}}}}|upright={{if empty|{{{image2_upright|}}}|{{{image_upright|}}}|{{#if:{{both|{{{col3|}}}|{{{image3|}}}}}|0.5|0.75}}}}|suppressplaceholder=yes|class={{#if:{{{pageimage2|}}}||notpageimage}}}}
{{#if:{{{col3|}}}|{{!}} style="text-align:center;{{#if:{{{party3|}}}{{{color3|}}}||width:0;}}{{#if:{{{color3|}}}|border-bottom: 6px solid #{{#invoke:Ustring|gsub|s1={{{color3}}}|#|}}|{{#ifeq: {{{party_color}}}|no||{{#if:{{{party3|}}}|{{#ifeq: {{#invoke:Political party|fetch|{{#invoke:delink|delink|wikilinks=target|1={{#invoke:string|replace|source={{{party3}}}|pattern=^(%[%[%s*[^%]%[]*%]%]).*$|replace=%1|plain=false}}}}|color|error=NOTHERE}} | NOTHERE || border-bottom: 6px solid {{#invoke:Political party|fetch|{{#invoke:delink|delink|wikilinks=target|1={{#invoke:string|replace|source={{{party3}}}|pattern=^(%[%[%s*[^%]%[]*%]%]).*$|replace=%1|plain=false}}}}|color}};}}}}}}}}"{{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image3|}}}|alt={{{alt3|}}}|size={{if empty|{{{image3_size|}}}|{{{image_size|}}}}}|upright={{if empty|{{{image3_upright|}}}|{{{image_upright|}}}|0.5}}|suppressplaceholder=yes|class={{#if:{{{pageimage3|}}}||notpageimage}}}}}}
}}
|-
{{#if:{{{nominee1|}}}{{{nominee2|}}}{{{nominee3|}}}|<!-- Presidential & by-election nominee -->
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential
| by-election
| By-election =
! style="width:75px;text-align:left" {{!}}Nominee
{{!}} style="{{#if:{{{nominee1|}}}|width:75px;}}text-align:center" {{!}} {{{nominee1|}}}
{{!}} style="{{#if:{{{nominee2|}}}|width:75px;}}text-align:center" {{!}} {{{nominee2|}}}
{{!}} style="{{#if:{{{nominee3|}}}|width:75px;}}text-align:center" {{!}} {{{nominee3|}}}
| #default =
}}|{{#if:{{{candidate1|}}}{{{candidate2|}}}{{{candidate3|}}}|<!-- Candidate -->
! style="width:75px;text-align:left" {{!}}Candidate
{{!}} style="{{#if:{{{candidate1|}}}|width:75px;}}text-align:center" {{!}} {{{candidate1|}}}
{{!}} style="{{#if:{{{candidate2|}}}|width:75px;}}text-align:center" {{!}} {{{candidate2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{candidate3|}}}|width:75px;}}text-align:center" {{!}} {{{candidate3|}}}}}
}}
}}
|-<!-- Party leader -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#if:{{{leader1|}}}{{{leader2|}}}{{{leader3|}}}|
! style="text-align:left" {{!}} Leader
{{!}} style="{{#if:{{{leader1|}}}|width:75px;}}text-align:center" {{!}} {{{leader1|}}}
{{!}} style="{{#if:{{{leader2|}}}|width:75px;}}text-align:center" {{!}} {{{leader2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{leader3|}}}|width:75px;}}text-align:center" {{!}} {{{leader3|}}}}}
}}
| #default =
}}
|-
{{#if:{{{party1|}}}{{{party2|}}}{{{party3|}}}|<!-- Party name -->
! style="width:75px;text-align:left" {{!}} Party
{{!}} style="{{#if:{{{party1|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party1_name}}}|name={{{party1|}}}}}
{{!}} style="{{#if:{{{party2|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party2_name}}}|name={{{party2|}}}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{party3|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{party3_name}}}|name={{{party3|}}}}}}}
}}
|-
{{#if:{{{alliance1|}}}{{{alliance2|}}}{{{alliance3|}}}|<!-- Alliance name -->
! style="text-align:left" {{!}} Alliance
{{!}} style="{{#if:{{{alliance1|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance1_name}}}|name={{{alliance1|}}}}}
{{!}} style="{{#if:{{{alliance2|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance2_name}}}|name={{{alliance2|}}}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{alliance3|}}}|width:75px;}}text-align:center" {{!}} {{Infobox election/shortname|link={{{alliance3_name}}}|name={{{alliance3|}}}}}}}
}}
|-<!-- Home state -->
{{#if:{{{home_state1|}}}{{{home_state2|}}}{{{home_state3|}}}|
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential =
! style="text-align:left" {{!}} Home state
{{!}} style="{{#if:{{{home_state1|}}}|width:75px;}}text-align:center" {{!}} {{{home_state1|}}}
{{!}} style="{{#if:{{{home_state2|}}}|width:75px;}}text-align:center" {{!}} {{{home_state2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{home_state3|}}}|width:75px;}}text-align:center" {{!}} {{{home_state3|}}}}}
| #default =
}}
}}
|-<!-- Running mate -->
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#if:{{{running_mate1|}}}{{{running_mate2|}}}{{{running_mate3|}}}|
! style="text-align:left" {{!}} Running mate
{{!}} style="{{#if:{{{running_mate1|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate1|}}}
{{!}} style="{{#if:{{{running_mate2|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{running_mate3|}}}|width:75px;}}text-align:center" {{!}} {{{running_mate3|}}}}}
}}
| #default =
}}
|-<!-- Electoral vote -->
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{electoral_vote1|}}}{{{electoral_vote2|}}}{{{electoral_vote3|}}}|
! style="text-align:left" {{!}} {{#ifeq:{{{college_voted|}}}|no|Projected e|E}}lectoral vote
{{!}} style="{{#if:{{{electoral_vote1|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote1|}}}
{{!}} style="{{#if:{{{electoral_vote2|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{electoral_vote3|}}}|width:75px;}}text-align:center" {{!}} {{{electoral_vote3|}}}}}
}}
}}
| #default =
}}
|-<!-- Delegate count -->
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential =
{{#if:{{{delegate_count1|}}}{{{delegate_count2|}}}{{{delegate_count3|}}}|
! style="text-align:left" {{!}} {{#ifeq:{{{ongoing|}}}|yes|Estimated delegate|Delegate}} count
{{!}} style="{{#if:{{{delegate_count2|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count1|}}}
{{!}} style="{{#if:{{{delegate_count2|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{delegate_count3|}}}|width:75px;}}text-align:center" {{!}} {{{delegate_count3|}}}}}
}}
| #default =
}}
|-<!-- States carried -->
{{#switch:{{{type|}}}
| primary
| Primary =
{{#if:{{{states_carried1|}}}{{{states_carried2|}}}{{{states_carried3|}}}|
! style="text-align:left" {{!}} Contests won
{{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried1|}}}
{{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried3|}}}}}
}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{states_carried1|}}}{{{states_carried2|}}}{{{states_carried3|}}}|
! style="text-align:left" {{!}} States carried
{{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried1|}}}
{{!}} style="{{#if:{{{states_carried2|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{states_carried3|}}}|width:75px;}}text-align:center" {{!}} {{{states_carried3|}}}}}
}}
}}
| #default =
}}
|-<!-- Leader since -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#if:{{{leader_since1|}}}{{{leader_since2|}}}{{{leader_since3|}}}|
! style="text-align:left" {{!}} Leader since
{{!}} style="{{#if:{{{leader_since1|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since1|}}}
{{!}} style="{{#if:{{{leader_since2|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{leader_since3|}}}|width:75px;}}text-align:center" {{!}} {{{leader_since3|}}}}}
}}
| #default =
}}
|-<!-- Leader seat -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#if:{{{leaders_seat1|}}}{{{leaders_seat2|}}}{{{leaders_seat3|}}}|
! style="text-align:left" {{!}} Leader's seat
{{!}} style="{{#if:{{{leaders_seat2|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat1|}}}
{{!}} style="{{#if:{{{leaders_seat2|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{leaders_seat3|}}}|width:75px;}}text-align:center" {{!}} {{{leaders_seat3|}}}}}
}}
| #default =
}}
|-<!-- last election -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#if:{{{last_election1|}}}{{{last_election2|}}}{{{last_election3|}}}|
! style="text-align:left" {{!}} Last election
{{!}} style="{{#if:{{{last_election1|}}}|width:75px;}}text-align:center" {{!}} {{{last_election1|}}}
{{!}} style="{{#if:{{{last_election2|}}}|width:75px;}}text-align:center" {{!}} {{{last_election2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{last_election3|}}}|width:75px;}}text-align:center" {{!}} {{{last_election3|}}}}}
}}
| #default =
}}
|-<!-- seats before -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#if:{{{seats_before1|}}}{{{seats_before2|}}}{{{seats_before3|}}}|
! style="text-align:left" {{!}} {{#ifeq:{{{ongoing|}}}|yes|Current seats|Seats before}}
{{!}} style="{{#if:{{{seats_before1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before1|}}}
{{!}} style="{{#if:{{{seats_before2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats_before3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_before3|}}}}}
}}
| #default =
}}
|-<!-- seats needed -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{seats_needed1|}}}{{{seats_needed2|}}}{{{seats_needed3|}}}|
! style="text-align:left" {{!}} Seats needed
{{!}} style="{{#if:{{{seats_needed1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed1|}}}
{{!}} style="{{#if:{{{seats_needed2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats_needed3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_needed3|}}}}}
}}
}}
| #default =
}}
|-<!-- seats -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{seats1|}}}{{{seats2|}}}{{{seats3|}}}|
! style="text-align:left" {{!}} Seats won
{{!}} style="{{#if:{{{seats1|}}}|width:75px;}}text-align:center" {{!}} {{{seats1|}}}
{{!}} style="{{#if:{{{seats2|}}}|width:75px;}}text-align:center" {{!}} {{{seats2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats3|}}}|width:75px;}}text-align:center" {{!}} {{{seats3|}}}}}
}}
}}
| #default =
}}
|-<!-- seats after -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{seats_after1|}}}{{{seats_after2|}}}{{{seats_after3|}}}|
! style="text-align:left" {{!}} Seats after
{{!}} style="{{#if:{{{seats_after1|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after1|}}}
{{!}} style="{{#if:{{{seats_after2|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seats_after3|}}}|width:75px;}}text-align:center" {{!}} {{{seats_after3|}}}}}
}}
}}
| #default =
}}
|-<!-- seat change -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{seat_change1|}}}{{{seat_change2|}}}{{{seat_change3|}}}|
! style="text-align:left" {{!}} Seat change
{{!}} style="{{#if:{{{seat_change1|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change1|}}}
{{!}} style="{{#if:{{{seat_change2|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{seat_change3|}}}|width:75px;}}text-align:center" {{!}} {{{seat_change3|}}}}}
}}
}}
| #default =
}}
|-<!-- popular vote -->
{{#ifexpr:not {{#ifeq:{{{ongoing|}}}|yes|1|0}} or {{#ifeq:{{{type|}}}|primary|1|0}}|
{{#if:{{{popular_vote1|}}}{{{popular_vote2|}}}{{{popular_vote3|}}}|
! style="text-align:left" {{!}} {{{vote_type|Popular}}} vote
{{!}} style="{{#if:{{{popular_vote1|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote1|}}}
{{!}} style="{{#if:{{{popular_vote2|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{popular_vote3|}}}|width:75px;}}text-align:center" {{!}} {{{popular_vote3|}}}}}
}}
}}
|-<!-- percentage -->
{{#ifexpr:not {{#ifeq:{{{ongoing|}}}|yes|1|0}} or {{#ifeq:{{{type|}}}|primary|1|0}}|
{{#if:{{{percentage1|}}}{{{percentage2|}}}{{{percentage3|}}}|
! style="text-align:left" {{!}} Percentage
{{!}} style="{{#if:{{{percentage1|}}}|width:75px;}}text-align:center" {{!}} {{{percentage1|}}}
{{!}} style="{{#if:{{{percentage2|}}}|width:75px;}}text-align:center" {{!}} {{{percentage2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{percentage3|}}}|width:75px;}}text-align:center" {{!}} {{{percentage3|}}}}}
}}
}}
|-<!-- Counties won -->
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential =
{{#ifexpr:not {{#ifeq:{{{ongoing|}}}|yes|1|0}} or {{#ifeq:{{{type|}}}|primary|1|0}}|
{{#if:{{{counties_won1|}}}{{{counties_won2|}}}{{{counties_won3|}}}|
! style="text-align:left" {{!}} Counties won
{{!}} style="{{#if:{{{counties_won1|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won1|}}}
{{!}} style="{{#if:{{{counties_won2|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{counties_won3|}}}|width:75px;}}text-align:center" {{!}} {{{counties_won3|}}}}}
}}
}}
| #default =
}}
|-<!-- Counties 25% threshold -->
{{#switch:{{{type|}}}
| primary
| Primary
| presidential
| Presidential =
{{#ifexpr:not {{#ifeq:{{{ongoing|}}}|yes|1|0}} or {{#ifeq:{{{type|}}}|primary|1|0}}|
{{#if:{{{counties_threshold1|}}}{{{counties_threshold2|}}}{{{counties_threshold3|}}}|
! style="text-align:left" {{!}} Counties with 25% vote
{{!}} style="{{#if:{{{counties_threshold1|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold1|}}}
{{!}} style="{{#if:{{{counties_threshold2|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{counties_threshold3|}}}|width:75px;}}text-align:center" {{!}} {{{counties_threshold3|}}}}}
}}
}}
| #default =
}}
|-<!-- swing -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes||
{{#if:{{{swing1|}}}|
! style="text-align:left" {{!}} Swing
{{!}} style="width:75px;text-align:center" {{!}} {{{swing1}}}
{{!}} style="{{#if:{{{swing2|}}}|width:75px;}}text-align:center" {{!}} {{{swing2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{swing3|}}}|width:75px;}}text-align:center" {{!}} {{{swing3|}}}}}
}}
}}
| #default =
}}
{{#if:{{{opinion_polls|}}}||
{{!-}}<!-- Presidential poll nominee -->
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll1_person1|}}}{{{poll1_person2|}}}{{{poll1_person3|}}}|
! colspan=4 {{!}} Opinion polls
}}
}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll1_person1|}}}{{{poll1_person2|}}}{{{poll1_person3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll1_date|}}}{{#if:{{{poll1_source|}}}| [{{{poll1_source|}}}]}}
{{!}} style="{{#if:{{{poll1_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person1|}}}
{{!}} style="{{#if:{{{poll1_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll1_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_person3|}}}}}
}}}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll2_person1|}}}{{{poll2_person2|}}}{{{poll2_person3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll2_date|}}}{{#if:{{{poll2_source|}}}| [{{{poll2_source|}}}]}}
{{!}} style="{{#if:{{{poll2_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person1|}}}
{{!}} style="{{#if:{{{poll2_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll2_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_person3|}}}}}
}}}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll3_person1|}}}{{{poll3_person2|}}}{{{poll3_person3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll3_date|}}}{{#if:{{{poll3_source|}}}| [{{{poll3_source|}}}]}}
{{!}} style="{{#if:{{{poll3_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person1|}}}
{{!}} style="{{#if:{{{poll3_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll3_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_person3|}}}}}
}}}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll4_person1|}}}{{{poll4_person2|}}}{{{poll4_person3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll4_date|}}}{{#if:{{{poll4_source|}}}| [{{{poll4_source|}}}]}}
{{!}} style="{{#if:{{{poll4_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person1|}}}
{{!}} style="{{#if:{{{poll4_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll4_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_person3|}}}}}
}}}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| presidential
| Presidential =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll5_person1|}}}{{{poll5_person2|}}}{{{poll5_person3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll5_date|}}}{{#if:{{{poll5_source|}}}| [{{{poll5_source|}}}]}}
{{!}} style="{{#if:{{{poll5_person1|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person1|}}}
{{!}} style="{{#if:{{{poll5_person2|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll5_person3|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_person3|}}}}}
}}}}
| #default =
}}
{{!-}}<!-- Legislative poll nominee -->
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll1_party1|}}}{{{poll1_party2|}}}{{{poll1_party3|}}}|
! colspan=4 {{!}} Opinion polls
}}
}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll1_party1|}}}{{{poll1_party2|}}}{{{poll1_party3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll1_date|}}}{{#if:{{{poll1_source|}}}| [{{{poll1_source|}}}]}}
{{!}} style="{{#if:{{{poll1_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party1|}}}
{{!}} style="{{#if:{{{poll1_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll1_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll1_party3|}}}}}
}}
}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll2_party1|}}}{{{poll2_party2|}}}{{{poll2_party3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll2_date|}}}{{#if:{{{poll2_source|}}}| [{{{poll2_source|}}}]}}
{{!}} style="{{#if:{{{poll2_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party1|}}}
{{!}} style="{{#if:{{{poll2_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll2_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll2_party3|}}}}}
}}
}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll3_party1|}}}{{{poll3_party2|}}}{{{poll3_party3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll3_date|}}}{{#if:{{{poll3_source|}}}| [{{{poll3_source|}}}]}}
{{!}} style="{{#if:{{{poll3_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party1|}}}
{{!}} style="{{#if:{{{poll3_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll3_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll3_party3|}}}}}
}}
}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll4_party1|}}}{{{poll4_party2|}}}{{{poll4_party3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll4_date|}}}{{#if:{{{poll4_source|}}}| [{{{poll4_source|}}}]}}
{{!}} style="{{#if:{{{poll4_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party1|}}}
{{!}} style="{{#if:{{{poll4_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll4_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll4_party3|}}}}}
}}
}}
| #default =
}}
{{!-}}
{{#switch:{{{type|}}}
| parliamentary
| Parliamentary
| legislative
| Legislative =
{{#ifeq:{{{ongoing|}}}|yes|
{{#if:{{{poll5_party1|}}}{{{poll5_party2|}}}{{{poll5_party3|}}}|
! style="text-align:left; white-space: nowrap" {{!}} {{{poll5_date|}}}{{#if:{{{poll5_source|}}}| [{{{poll5_source|}}}]}}
{{!}} style="{{#if:{{{poll5_party1|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party1|}}}
{{!}} style="{{#if:{{{poll5_party2|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{poll5_party3|}}}|width:75px;}}text-align:center" {{!}} {{{poll5_party3|}}}}}
}}
}}
| #default =
}}}}
|-<!-- Blank field -->
{{#if:{{#if:{{{1blank|}}}|{{{1data1|}}}{{{1data2|}}}{{{1data3|}}}}}|
! style="text-align:left" {{!}} {{{1blank}}}
{{!}} style="{{#if:{{{1data1|}}}|width:75px;}}text-align:center" {{!}} {{{1data1|}}}
{{!}} style="{{#if:{{{1data2|}}}|width:75px;}}text-align:center" {{!}} {{{1data2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{1data3|}}}|width:75px;}}text-align:center" {{!}} {{{1data3|}}}}}
}}
|-
{{#if:{{#if:{{{2blank|}}}|{{{2data1|}}}{{{2data2|}}}{{{2data3|}}}}}|
! style="text-align:left" {{!}} {{{2blank}}}
{{!}} style="{{#if:{{{2data1|}}}|width:75px;}}text-align:center" {{!}} {{{2data1|}}}
{{!}} style="{{#if:{{{2data2|}}}|width:75px;}}text-align:center" {{!}} {{{2data2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{2data3|}}}|width:75px;}}text-align:center" {{!}} {{{2data3|}}}}}
}}
|-
{{#if:{{#if:{{{3blank|}}}|{{{3data1|}}}{{{3data2|}}}{{{3data3|}}}}}|
! style="text-align:left" {{!}} {{{3blank}}}
{{!}} style="{{#if:{{{3data1|}}}|width:75px;}}text-align:center" {{!}} {{{3data1|}}}
{{!}} style="{{#if:{{{3data2|}}}|width:75px;}}text-align:center" {{!}} {{{3data2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{3data3|}}}|width:75px;}}text-align:center" {{!}} {{{3data3|}}}}}
}}
|-
{{#if:{{#if:{{{4blank|}}}|{{{4data1|}}}{{{4data2|}}}{{{4data3|}}}}}|
! style="text-align:left" {{!}} {{{4blank}}}
{{!}} style="{{#if:{{{4data1|}}}|width:75px;}}text-align:center" {{!}} {{{4data1|}}}
{{!}} style="{{#if:{{{4data2|}}}|width:75px;}}text-align:center" {{!}} {{{4data2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{4data3|}}}|width:75px;}}text-align:center" {{!}} {{{4data3|}}}}}
}}
|-
{{#if:{{#if:{{{5blank|}}}|{{{5data1|}}}{{{5data2|}}}{{{5data3|}}}}}|
! style="text-align:left" {{!}} {{{5blank}}}
{{!}} style="{{#if:{{{5data1|}}}|width:75px;}}text-align:center" {{!}} {{{5data1|}}}
{{!}} style="{{#if:{{{5data2|}}}|width:75px;}}text-align:center" {{!}} {{{5data2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{5data3|}}}|width:75px;}}text-align:center" {{!}} {{{5data3|}}}}}
}}
|-
{{#if:{{#if:{{{6blank|}}}|{{{6data1|}}}{{{6data2|}}}{{{6data3|}}}}}|
! style="text-align:left" {{!}} {{{6blank}}}
{{!}} style="{{#if:{{{6data1|}}}|width:75px;}}text-align:center" {{!}} {{{6data1|}}}
{{!}} style="{{#if:{{{6data2|}}}|width:75px;}}text-align:center" {{!}} {{{6data2|}}}
{{#if:{{{col3|}}}|{{!}} style="{{#if:{{{6data3|}}}|width:75px;}}text-align:center" {{!}} {{{6data3|}}}}}
}}</includeonly><noinclude>
{{Documentation}}</noinclude>
378d817ebb08432f35bc744f7606f7bddcc99d6a
Template:Infobox election/shortname
10
1462
2988
2987
2024-03-13T05:24:19Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{#if:{{{name|}}}
|{{#ifeq:{{{link}}}|no
|{{{name}}}
|{{#ifeq:{{delink|{{{name}}}|wikilinks=target}}|{{{name}}}
|{{#switch:{{{name}}}
| Independent | Independents = [[Independent politician|{{{name}}}]]
| Miscellaneous = [[Independent politician|DIV]]
| Other | Others = Others
| Other parties and independents = Others & [[Independent politician|IND]]
| Regionalists = [[Regionalism (politics)|Regionalists]]
| Vacant = [[Casual vacancy|Vacant]]
| [[{{{name}}}|{{#invoke:Political party|fetch|{{{name}}}|shortname}}]]
}}
|{{{name}}}
}}
}}
}}<noinclude>
{{documentation}}</noinclude>
ebb0c7dca12cb2af24ba29e1f0643d447ba109ad
Template:Increase
10
1463
2990
2989
2024-03-13T05:24:19Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
[[File:Increase2.svg|{{{size|11px}}}|alt={{{1|Increase}}}|link=|{{{1|Increase}}}]]<noinclude>
{{documentation}}
</noinclude>
dac0cb099f2bf8616e0649249f7e4593a2bf54bd
Template:!-
10
1464
2992
2991
2024-03-13T05:24:19Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
|-<noinclude>
{{documentation}}
</noinclude>
19a1b27b5273caa6fd83a1208fb704afa9ee7c04
Module:Political party
828
1465
2994
2993
2024-03-13T05:24:20Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
local p = {}
local default_color = '#F8F9FA'
local categories = {
party_not_in_list = '[[Category:Pages using Political party with unknown party]]',
shortname_not_in_list = '[[Category:Pages using Political party with missing shortname]]',
color_not_in_list = '[[Category:Pages using Political party with missing color]]',
}
local function create_error(error_message)
return string.format('<strong class="error">%s</strong>', error_message)
end
local function getFirstLetter(party)
local index = mw.ustring.sub(party, 1, 1)
-- Set index for non-A-Z starts
if string.match(index, '%A') then
return '1'
end
return string.upper(index)
end
local function stripToNil(text)
-- If text is a string, return its trimmed content, or nil if empty.
-- Otherwise return text (which may, for example, be nil).
if type(text) == 'string' then
text = text:match('(%S.-)%s*$')
local delink = require('Module:Delink')._delink
text = delink({text, wikilinks = "target"})
end
return text
end
-- Example of having all the data - color and names - in one table. Requires one page to be edited instead of two when adding a new party.
function p._fetch(args)
if not args[1] then
return create_error("parameter 1 should be a party name.")
end
if not args[2] then
return create_error("parameter 2 should be the output type.")
end
local party = stripToNil(args[1])
local out_type = stripToNil(args[2])
if out_type == 'colour' then
out_type = 'color'
end
local index = getFirstLetter(party)
-- Load data from submodule
local data = mw.loadData('Module:Political party/' .. index)
local data_all = data.full
local party_alt = data.alternate[party]
local party_info
if party_alt then
if data_all[party_alt] then
party_info = data_all[party_alt]
else
index = getFirstLetter(party_alt)
data = mw.loadData('Module:Political party/' .. index)
party_info = data.full[party_alt]
end
else
party_info = data_all[party]
end
-- Check if database value exists
-- * Not even in database - return given error or input
-- * No color - return error
-- * No shortname/abbrev - return first non-blank of abbrev->shortname->input
if not party_info then
if out_type == 'color' then
return args.error or default_color
else
return args.error or party
end
end
local return_value = party_info[out_type]
if return_value == "" then
if out_type == 'color' then
return args.error or create_error("Value not in template. Please request that it be added.")
elseif out_type == 'abbrev' then
if party_info.shortname ~= "" then
return party_info.shortname
else
return party
end
elseif out_type == 'shortname' then
if party_info.abbrev ~= "" then
return party_info.abbrev
else
return party
end
else
return party
end
end
if out_type == 'color' and string.find(return_value, '#') then
return_value = string.gsub(return_value, '#', '#')
end
return return_value
end
function p.fetch(frame)
-- Initialise and populate variables
local getArgs = require("Module:Arguments").getArgs
local args = getArgs(frame)
return p._fetch(args)
end
return p
5619f7c33e00168878164325d0fcb8600faa2446
Module:Political party/C
828
1466
2996
2995
2024-03-13T05:24:20Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["California Democratic Party"] = "Democratic Party (United States)",
["California Progressive Party"] = "Progressive Party (US)",
["California Republican Party"] = "Republican Party (United States)",
["Cambiamo"] = "Cambiamo!",
["Cambodian National Rescue Party"] = "Cambodia National Rescue Party",
["Canarian Nationalist Assembly"] = "Nationalist Canarian Assembly",
["Canarian United Left"] = "United Left (Spain)",
["Cap 21"] = "Cap21",
["Carlist Party"] = "Carlist Party (1970)",
["Carlist Party of Euskal Herria"] = "Carlist Party (1970)",
["Cartel (Luxembourg)"] = "Party of Independents of the East",
["Catalan Democratic Party"] = "Catalan European Democratic Party",
["Catalan Federation of the PSOE"] = "Spanish Socialist Workers' Party",
["Catalan Socialist Federation"] = "Spanish Socialist Workers' Party",
["Catalunya en Comú–Podem"] = "Catalunya en Comú",
["Catholic Centre Party (Portugal)"] = "Portuguese Catholic Centre",
["Catholic Democrats (The National Party)"] = "Catholic Democrats (Ireland)",
["Catholic Democrats"] = "Catholic Democrats (Ireland)",
["CCM"] = "Chama Cha Mapinduzi",
["CD&V"] = "Christen-Democratisch en Vlaams",
["CdH"] = "Humanist Democratic Centre",
["CDS - People's Party"] = "CDS – People's Party",
["CDU"] = "Christian Democratic Union of Germany",
["CDU (2023)"] = "Christian Democratic Union of Germany (2023)",
["Centre Agreement"] = "Centre Alliance",
["Centre Democratic Action of Galicia"] = "Citizens of Galicia Democratic Action",
["Centre démocrate humaniste"] = "Humanist Democratic Centre",
["Centre Independent Aragonese Candidacy"] = "Aragonese Party",
["Centre Party (Israel)"] = "Center Party (Israel)",
["Centre Party"] = "Centre Party (Sweden)",
["Centre Union (Greece)"] = "Centre Union",
["Centre Union – New Forces"] = "Centre Union",
["Centre-left coalition"] = "Centre-left coalition (Italy)",
["Centre-right coalition"] = "Centre-right coalition (Italy)",
["Centre-right Coalition"] = "Centre-right coalition (Italy)",
["Centrist Party (United States)"] = "Centrist Party (US)",
["Centrists of Catalonia"] = "Union of the Democratic Centre (Spain)",
["Ceylon Indian Congress"] = "Ceylon Workers' Congress",
["Chama cha Mapinduzi"] = "Chama Cha Mapinduzi",
["Cambio 90 – New Majority"] = "Cambio 90",
["Chart Thai Pattana Party"] = "Chartthaipattana Party",
["Change UK – The Independent Group"] = "The Independent Group for Change",
["Change UK"] = "The Independent Group for Change",
["Chilean Socialist Party (1987-1990)"] = "Chilean Socialist Party",
["Chilean Socialist Party (1987–1990)"] = "Chilean Socialist Party", -- dash differences
["China Democratic National Construction Association"] = "China National Democratic Construction Association",
["Chinese Youth Party"] = "Young China Party",
["Chrisitan Democracy for the Autonomies"] = "Christian Democracy for the Autonomies",
["Christian and Democratic Union - Czechoslovak People's Party"] = "KDU-ČSL",
["Christian and Democratic Union – Czechoslovak People's Party"] = "KDU-ČSL", -- dash difference
["Christian Democracy"] = "Christian Democracy (Italy)",
["Christian Democrat Party of Chile"] = "Christian Democratic Party (Chile)",
["Christian Democratic and Flemish"] = "Christen-Democratisch en Vlaams",
["Christian Democratic Party (France)"] = "VIA, the Way of the People",
["Christian Democratic Team of the Spanish State"] = "Christian Democracy Federation–Christian Democracy Team",
["Christian Democratic Union (Germany)"] = "Christian Democratic Union of Germany",
["Christian Democratic Union (Germany, 2023)"] = "Christian Democratic Union of Germany (2023)",
["Christian Democratic Unity"] = "Christian Democrats (Sweden)",
["Christian Heritage New Zealand"] = "Christian Heritage Party of New Zealand",
["Christian Liberal Party"] = "Christian Liberty Unification Party",
["Christian Liberty Party"] = "Christian Liberty Unification Party",
["Christian Nationalist Party (US)"] = "Constitution Party (US, 1952)",
["Christian People's Party (Latvia)"] = "Popular Front of Latvia",
["Christian Social Party (Belgium, defunct)"] = "Christian Social Party (Belgium, 1945)",
["Christian Social Party (Wallonia)"] = "Humanist Democratic Centre",
["Christian Social Party"] = "Christian Social Party (Germany)",
["Christian Social Union of Bavaria"] = "Christian Social Union in Bavaria",
["Christian Workers' Union (Finland)"] = "Christian Workers' Union of Finland",
["Christian-Democratic National Peasants' Party (Romania)"] = "Christian Democratic National Peasants' Party",
["ChristianUnion"] = "Christian Union (Netherlands)",
["CIBAC"] = "Citizens' Battle Against Corruption",
["CISTA"] = "Cannabis Is Safer Than Alcohol",
["Citizen Europe"] = "Cap21",
["Citizen’s Coalition for Justice Party (Mongolia)"] = "Citizen's Coalition for Justice Party (Mongolia)",
["Citizens Coalition For Change"] = "Citizens Coalition for Change",
["Citizens of Democratic Centre"] = "Democratic Centre Coalition",
["Citizens Party (United States)"] = "Citizens Party (US)",
["Citizens' Liberation Party"] = "Nagrik Unmukti Party",
["Citizens' Movement (France)"] = "Citizen and Republican Movement",
["Citizens' Movement for Change"] = "Mouvement des Citoyens pour le Changement",
["Citizens' Party (Philippines)"] = "Nationalist Citizens' Party",
["Citizenship, Action, Participation for the 21st Century"] = "Cap21",
["Civic Centre Alliance"] = "Centre Civic Alliance",
["Civic-Liberal Alliance"] = "Civic Liberal Alliance",
["Civil Congress of Ukraine"] = "Slavic Party (Ukraine)",
["Civil Contract"] = "Civil Contract (Armenia)",
["Civil Initiative"] = "Civic Initiative",
["Civil Will-Green Party"] = "Civil Will–Green Party",
["Club 2002"] = "Club 2002 – Party for the Unity and the Republic",
["Coalition for Bulgaria"] = "BSP for Bulgaria",
["Coalition for Democratic Unity"] = "Democratic Unity Roundtable",
["Coalition for Europe (2009)"] = "Coalition for Europe",
["Coalition for Europe (2014)"] = "Coalition for Europe",
["Coalition for Republic – Republican Party of Czechoslovakia"] = "Rally for the Republic – Republican Party of Czechoslovakia",
["Coalition for the Europe of the Peoples"] = "Europe of the Peoples",
["Coalition Liberal"] = "National Liberal Party (UK, 1922)",
["Coalition New Zealand"] = "Vision NZ",
["Coalition of the Radical Left"] = "Syriza",
["Coalition Party and Rural People's Association"] = "Estonian Coalition Party",
["Coalition Unionist"] = "Coalition Conservative",
["Collective Action Party — Civic Congress"] = "Common Action Political Party — Civil Congress",
["Collective Action Party – Civic Congress"] = "Common Action Political Party — Civil Congress",
["Colorado Center Party"] = "Center Party (Colorado)",
["Colorado Democratic Party"] = "Democratic Party (United States)",
["Colorado Republican Party"] = "Republican Party (United States)",
["Colombia Coalition"] = "Citizens' Compromise",
["Common Peoples' Party"] = "Other parties",
["Commonwealth Land Party (United States)"] = "Commonwealth Land Party (US)",
["Commonwealth Liberal"] = "Commonwealth Liberal Party",
["Communist League Marxist–Leninists (the revolutionaries)"] = "Communist Party (Sweden)",
["Communist Movement of Aragon"] = "Communist Movement (Spain)",
["Communist Movement of Asturias"] = "Communist Movement (Spain)",
["Communist Movement of Catalonia"] = "Communist Movement (Spain)",
["Communist Movement of Euskadi"] = "Communist Movement (Spain)",
["Communist Movement of Galicia"] = "Communist Movement (Spain)",
["Communist Movement of the Valencian Country"] = "Communist Movement (Spain)",
["Communist Party (Sweden, 2018)"] = "Party of Labour of Albania",
["Communist Party (United States)"] = "Communist Party (US)",
["Communist Party of Andalusia"] = "Communist Party of Spain",
["Communist Party of Aragon"] = "Communist Party of Spain",
["Communist Party of Armenia (Soviet Union)"] = "Communist Party of the Soviet Union",
["Communist Party of Asturias"] = "Communist Party of Spain",
["Communist Party of Belgium"] = "Workers' Party of Belgium",
["Communist Party of Britain (Marxist-Leninist)"] = "Communist Party of Britain (Marxist–Leninist)",
["Communist Party of Cantabria"] = "Communist Party of Spain",
["Communist Party of Castile and León"] = "Communist Party of Spain",
["Communist Party of Castilla–La Mancha"] = "Communist Party of Spain",
["Communist Party of Ceylon"] = "Communist Party of Sri Lanka",
["Communist Party of China"] = "Chinese Communist Party",
["Communist Party of Estonia"] = "Communist Party of the Soviet Union",
["Communist Party of Extremadura"] = "Communist Party of Spain",
["Communist Party of Finland (1997)"] = "Communist Party of Finland (1994)",
["Communist Party of Galicia (Revolutionary Marxist)"] = "Workers' Party of Spain–Communist Unity",
["Communist Party of Galicia"] = "Communist Party of Spain",
["Communist Party of Germany (Opposition)"] = "Communist Party of Germany",
["Communist Party of Great Britain (Marxist-Leninist)"] = "Communist Party of Great Britain (Marxist–Leninist)",
["Communist Party of India (Marxist-Leninist) (Liberation)"] = "Communist Party of India (Marxist–Leninist) Liberation",
["Communist Party of India (Marxist-Leninist) Liberation"] = "Communist Party of India (Marxist–Leninist) Liberation",
["Communist Party of India (Marxist-Leninist) Red Star"] = "Communist Party of India (Marxist–Leninist) Red Star",
["Communist Party of India (Marxist–Leninist)"] = "Provisional Central Committee, Communist Party of India (Marxist–Leninist)",
["Communist Party of Ireland (Marxist-Leninist)"] = "Communist Party of Ireland (Marxist–Leninist)",
["Communist Party of La Rioja"] = "Communist Party of Spain",
["Communist Party of Madrid"] = "Communist Party of Spain",
["Communist Party of Nepal (Marxist-Leninist) (1998)"] = "Communist Party of Nepal (Marxist–Leninist) (2002)",
["Communist Party of Nepal (Marxist-Leninist) (2002)"] = "Communist Party of Nepal (Marxist–Leninist) (2002)",
["Communist Party of Nepal (Unified Marxist-Leninist)"] = "Communist Party of Nepal (Unified Marxist–Leninist)",
["Communist Party of the Balearic Islands"] = "Communist Party of Spain",
["Communist Party of the Basque Country"] = "Communist Party of Spain",
["Communist Party of the Canaries"] = "Communist Party of Spain",
["Communist Party of the Catalan People"] = "Communist Party of the Peoples of Spain",
["Communist Party of the Galician People"] = "Communist Party of the Peoples of Spain",
["Communist Party of the Portuguese Workers / Reorganizative Movement of the Party of the Proletariat"] = "Portuguese Workers' Communist Party",
["Communist Party of the Region of Murcia"] = "Communist Party of Spain",
["Communist Party of the Valencian Country"] = "Communist Party of Spain",
["Communist Party of Turkey (current)"] = "Communist Party of Turkey (modern)",
["Communist Party of Turkey (today)"] = "Communist Party of Turkey (modern)",
["Communist Party of Yugoslavia"] = "League of Communists of Yugoslavia",
["Communist Workers' Party of Catalonia"] = "Spanish Communist Workers' Party",
["Communists' Unity Board"] = "Workers' Party of Spain–Communist Unity",
["Community of the People"] = "Inuit Ataqatigiit",
["Concert of Parties for Democracy"] = "Concertación",
["Concertación de Partidos por la Democracia"] = "Concertación",
["Confederation for an Independent Poland"] = "Confederation of Independent Poland",
["Connecticut Democratic Party"] = "Democratic Party (United States)",
["Connecticut for Lieberman"] = "Independent (US)",
["Connecticut Republican Party"] = "Republican Party (United States)",
["Connecticut Green Party"] = "Green Party (US)",
["Connecticut Working Families Party"] = "Working Families Party",
["Conservatism"] = "Conservatism sidebar",
["Conservative and National Liberal"] = "National Liberal Party (UK, 1931)",
["Conservative and Unionist"] = "Scottish Conservatives",
["Conservative Party (New York)"] = "Conservative Party (US)",
["Conservative Party (UK)"] = "Conservative and Unionist Party (UK)",
["Conservative Party (United States)"] = "Conservative Party (US)",
["Conservative Party of Canada (historical)"] = "Conservative Party of Canada (1867–1942)",
["Conservative Party (Virginia, 1867)"] = "Conservative Party (US)",
["Conservative Party of Cuba"] = "National Conservative Party (Cuba)",
["Conservative Party of New York State"] = "Conservative Party (US)",
["Conservative Party of New York"] = "Conservative Party (US)",
["Conservative Party of New Zealand"] = "New Conservative Party of New Zealand",
["Conservative Party of Norway"] = "Conservative Party (Norway)",
["Conservative Party of Virginia (1965)"] = "Conservative Party (Virginia, 1965)",
["Conservative Party"] = "Conservative and Unionist Party (UK)",
["Conservatives in Northern Ireland"] = "Northern Ireland Conservatives",
["Constituent Unity"] = "New Social Pact",
["Constitution Party (Oregon)"] = "Constitution Party (US)",
["Constitution Party (United States)"] = "Constitution Party (US)",
["Constitution Party (Utah)"] = "Constitution Party (US)",
["Constitution Party of Minnesota"] = "Constitution Party (US)",
["Constitution Party of Oregon"] = "Constitution Party (US)",
["Constitution Party of Washington"] = "Constitution Party (US)",
["Constitutional Democratic Rally"] = "Democratic Constitutional Rally",
["Constitutional People's Party (Finland)"] = "Constitutional Right Party",
["Constitutional Union Party (United States)"] = "Constitutional Union Party (US)",
["Constructive Ecological Party \"KEDR\""] = "Russian Ecological Party \"The Greens\"",
["Cook Islands Party Tumu"] = "Party Tumu",
["COPEI"] = "Copei",
["Costa Rican Renovation Party"] = "Costa Rican Renewal Party",
["Country Party of Australia – Tasmania"] = "National Party of Australia – Tasmania",
["Country Party"] = "National Party of Australia",
["Country–Liberal Coalition"] = "Country/Liberal Coalition",
["Country"] = "National Party of Australia",
["Country/National coalition"] = "National Party of Australia",
["Country/Nationalist coalition"] = "National Party of Australia",
["Country/QPP coalition"] = "National Party of Australia",
["Country/UAP coalition"] = "National Party of Australia",
["Country/United coalition"] = "National Party of Australia",
["Courage Italy"] = "Coraggio Italia",
["CPI(M)"] = "Communist Party of India (Marxist)",
["CREO Movement"] = "Creating Opportunities",
["Crescent Star Party"] = "Crescent Star Party (Indonesia)",
["Croatian Citizen Party"] = "Croatian Civic Party",
["Croatian Labourists - Labour Party"] = "Croatian Labourists – Labour Party",
["Croatian People's Party - Liberal Democrats"] = "Croatian People's Party – Liberal Democrats",
["Croatian Sustainable Development"] = "Green Alternative - Sustainable Development of Croatia",
["Crossbench"] = "Crossbencher",
["CSSD"] = "Czech Social Democratic Party",
["CSSD (2021)"] = "Czech Social Democratic Party (2021)",
["Cuban Popular Party-National League"] = "Cuban Popular Party",
["Cumann na nGaedhael"] = "Cumann na nGaedheal",
["CumbriaFirst"] = "Putting Cumbria First",
["Cumbria First"] = "Putting Cumbria First",
["CVP"] = "Christen-Democratisch en Vlaams",
}
local full = {
["Caballas Coalition"] = {abbrev = "", color = "#C9601C", shortname = "Caballas",},
["Cabal (political party)"] = {abbrev = "", color = "#1642fd", shortname = "Cabal",},
["Cáceres Eres Tú"] = {abbrev = "", color = "#5A1E5A", shortname = "",},
["Cáceres Viva"] = {abbrev = "", color = "#008B15", shortname = "",},
["Caledonia Together"] = {abbrev = "", color = "#00CCCC", shortname = "",},
["Caledonian Union"] = {abbrev = "", color = "#008000", shortname = "",},
["California National Party"] = {abbrev = "", color = "#FFD700", shortname = "California National",},
["Caló Nationalist Party"] = {abbrev = "", color = "#008284", shortname = "",},
["Cambia Avilés"] = {abbrev = "", color = "#19905A", shortname = "",},
["Cambia Logroño"] = {abbrev = "", color = "#A30052", shortname = "",},
["Cámbialo Municipalistas"] = {abbrev = "", color = "#AD0B5A", shortname = "",},
["Cambiamo!"] = {abbrev = "", color = "#E58321", shortname = "",},
["Cambiando Burlada"] = {abbrev = "", color = "#9F82A1", shortname = "",},
["Cambiar Huesca"] = {abbrev = "", color = "#27933E", shortname = "",},
["Cambiar la Región de Murcia"] = {abbrev = "", color = "#80B620", shortname = "",},
["Cambiemos Murcia"] = {abbrev = "", color = "#C0CD37", shortname = "",},
["Cambiemos Orihuela"] = {abbrev = "", color = "#009A97", shortname = "",},
["Cambiemos Parla"] = {abbrev = "", color = "#BF469A", shortname = "",},
["Cambiemos Villalba"] = {abbrev = "", color = "#B00868", shortname = "",},
["Cambiemos"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Cambio (political party)"] = {abbrev = "", color = "#fbd504", shortname = "Change",},
["Cambio 90"] = {abbrev = "", color = "#D45500", shortname = "",},
["Cambio-Aldaketa"] = {abbrev = "", color = "#A2AA00", shortname = "",},
["Cambodia Indigenous Peoples Democracy Party"] = {abbrev = "", color = "#522315", shortname = "",},
["Cambodia National Rescue Party"] = {abbrev = "CNRP", color = "#0047AB", shortname = "",},
["Cambodian Nationality Party"] = {abbrev = "", color = "#FDEB04", shortname = "",},
["Cambodian People's Party"] = {abbrev = "CPP", color = "#1E90FF", shortname = "",},
["Cambodian Youth Party"] = {abbrev = "CYP", color = "#0045BC", shortname = "",},
["Cambridge Socialists"] = {abbrev = "", color = "red", shortname = "",},
["Camden Charter"] = {abbrev = "", color = "white", shortname = "",},
["Cameroon Democratic Union"] = {abbrev = "UDC", color = "#2B3781", shortname = "",},
["Cameroon People's Democratic Movement"] = {abbrev = "RDPC", color = "#73C2FB", shortname = "",},
["Cameroon Renaissance Movement"] = {abbrev = "MRC", color = "#9BC8E9", shortname = "",},
["Cameroonian National Union"] = {abbrev = "UNC", color = "#00CD12", shortname = "",},
["Cameroonian Union"] = {abbrev = "", color = "#007F00", shortname = "",},
["Caminando Juntos"] = {abbrev = "CJ", color = "#203C90", shortname = "",},
["Camp of National Unity"] = {abbrev = "OZN", color = "#00177C", shortname = "",},
["Campaign for a More Prosperous Britain"] = {abbrev = "", color = "grey", shortname = "More Prosperous Britain",},
["Can Lao Party"] = {abbrev = "", color = "#39944A", shortname = "",},
["Canadian Alliance"] = {abbrev = "", color = "#5F9EA0", shortname = "Alliance",},
["Canarian Assembly"] = {abbrev = "", color = "#C62821", shortname = "",},
["Canarian Centrist Group"] = {abbrev = "", color = "#0D601C", shortname = "",},
["Canarian Coalition–New Canaries"] = {abbrev = "", color = "#BAF73E", shortname = "",},
["Canarian Coalition"] = {abbrev = "CC", color = "#FFD700", shortname = "",},
["Canarian Green Party"] = {abbrev = "", color = "#85C026", shortname = "",},
["Canarian Greens"] = {abbrev = "", color = "#008000", shortname = "",},
["Canarian Independent Groups"] = {abbrev = "AIC", color = "#000088", shortname = "",},
["Canarian Nationalist Alternative"] = {abbrev = "", color = "#AD221B", shortname = "",},
["Canarian Nationalist Convergence"] = {abbrev = "", color = "#65BFE3", shortname = "",},
["Canarian Nationalist Federation"] = {abbrev = "FNC", color = "#823D8F", shortname = "",},
["Canarian Nationalist Party"] = {abbrev = "", color = "#495087", shortname = "",},
["Canarian People's Union"] = {abbrev = "", color = "#BA0033", shortname = "",},
["Canarian Popular Alternative"] = {abbrev = "", color = "#009642", shortname = "",},
["Canarian Social Democratic Centre"] = {abbrev = "", color = "#FF7F02", shortname = "",},
["Canarian Union"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Canaries Decides"] = {abbrev = "", color = "#9B0024", shortname = "",},
["Canaries for Progress"] = {abbrev = "", color = "#3485BD", shortname = "",},
["Candidacy for the Neighbors' Participation in the City Council"] = {abbrev = "", color = "#DEC939", shortname = "",},
["Candidatura de Unidad Popular"] = {abbrev = "", color = "#A0866E", shortname = "",},
["Candlelight Party"] = {abbrev = "", color = "#020878", shortname = "Candlelight",},
["Cangas Left Alternative"] = {abbrev = "", color = "#6F956C", shortname = "",},
["Cannabis Is Safer Than Alcohol"] = {abbrev = "CISTA", color = "#D2B48C", shortname = "",},
["Cannabis Law Reform"] = {abbrev = "", color = "#556B2F", shortname = "",},
["Cannabis Party (Spain)"] = {abbrev = "", color = "#428600", shortname = "",},
["Cannabis Party–Green Light"] = {abbrev = "", color = "#3AAA35", shortname = "",},
["Cantabrian Nationalist Council"] = {abbrev = "", color = "#973D3C", shortname = "",},
["Cantabrian Unity"] = {abbrev = "", color = "#08C853", shortname = "",},
["Cantabristas"] = {abbrev = "", color = "#7D002E", shortname = "",},
["Cantonal Party"] = {abbrev = "", color = "#8F3F42", shortname = "",},
["Canvey Island Independent Party"] = {abbrev = "CIIP", color = "#000000", shortname = "",},
["Canviem entre Tots"] = {abbrev = "", color = "#5B244B", shortname = "",},
["Canviem Mollet"] = {abbrev = "", color = "#631F5E", shortname = "",},
["Cap Ecology"] = {abbrev = "", color = "#509A32", shortname = "",},
["Cap21"] = {abbrev = "", color = "#9db55c", shortname = "",},
["Cape Coloured Congress"] = {abbrev = "", color = "#000000", shortname = "",},
["Cape Party"] = {abbrev = "", color = "#000076", shortname = "",},
["Capitalist Party of South Africa"] = {abbrev = "", color = "#693C97", shortname = "",},
["Capitalist Party"] = {abbrev = "", color = "#4A104A", shortname = "",},
["Caribbean Socialist Party"] = {abbrev = "", color = "#be1918", shortname = "",},
["Caring for Macau"] = {abbrev = "", color = "#1034A6", shortname = "",},
["Carlist Party (1970)"] = {abbrev = "", color = "#FF454F", shortname = "",},
["Carlist Traditionalist Communion"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Carpatho-Russian Labour Party of Small Peasants and Landless"] = {abbrev = "KTPMB", color = "orange", shortname = "",},
["Cartagena Sí Se Puede"] = {abbrev = "", color = "#572458", shortname = "",},
["Cartagenerist Party"] = {abbrev = "", color = "#BE2F33", shortname = "",},
["Cartago Agrarian Force Party"] = {abbrev = "FAC", color = "#87CEEB", shortname = "",},
["Cartago Agrarian Union Party"] = {abbrev = "PUAC", color = "#BA55D3", shortname = "",},
["Cartago Green Party"] = {abbrev = "PVC", color = "green", shortname = "",},
["Carthaginense Citizens' Initiative"] = {abbrev = "", color = "#820004", shortname = "",},
["Cartista"] = {abbrev = "", color = "#002395", shortname = "",},
["CASA–CE"] = {abbrev = "", color = "#52a8ff", shortname = "",},
["CasaPound"] = {abbrev = "", color = "#000000", shortname = "",},
["Cascadia Bioregional Party"] = {abbrev = "", color = "#067DC4", shortname = "",},
["Cassolists"] = {abbrev = "", color = "#2EA5A5", shortname = "",},
["Castelló en Moviment"] = {abbrev = "", color = "#35A299", shortname = "",},
["Castellón Democracy"] = {abbrev = "", color = "#0D9F4E", shortname = "",},
["Castilian Left"] = {abbrev = "", color = "#C5496F", shortname = "",},
["Castilian Party"] = {abbrev = "", color = "#551D79", shortname = "",},
["Castilian Regionalist Party"] = {abbrev = "", color = "#F0DD07", shortname = "",},
["Castilian Unity"] = {abbrev = "", color = "#313494", shortname = "",},
["Castilianist Union"] = {abbrev = "", color = "#DC143C", shortname = "",},
["CastroVerde (political party)"] = {abbrev = "", color = "#06BC58", shortname = "",},
["Casual vacancy"] = {abbrev = "", color = "#FFFFFF", shortname = "Vacant",},
["Catalan Action"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Catalan Agreement of Progress"] = {abbrev = "", color = "#FA8005", shortname = "",},
["Catalan Centre"] = {abbrev = "", color = "#6D1402", shortname = "",},
["Catalan Civil Support"] = {abbrev = "", color = "#A11C26", shortname = "",},
["Catalan Coexistence"] = {abbrev = "", color = "#0E2D87", shortname = "",},
["Catalan European Democratic Party"] = {abbrev = "PDeCAT", color = "#0263AC", shortname = "",},
["Catalan Left"] = {abbrev = "", color = "#D6B800", shortname = "",},
["Catalan Nationalist Republican"] = {abbrev = "", color = "#FACF9A", shortname = "",},
["Catalan Republican Party (1917)"] = {abbrev = "", color = "#B35359", shortname = "",},
["Catalan Republican Party"] = {abbrev = "", color = "#EB5604", shortname = "",},
["Catalan Solidarity (1906)"] = {abbrev = "SC", color = "#FFBC3D", shortname = "",},
["Catalan Solidarity (1980)"] = {abbrev = "", color = "#FFA07A", shortname = "",},
["Catalan Solidarity for Independence"] = {abbrev = "SI", color = "#CA0405", shortname = "",},
["Catalan Sovereigntist Bloc"] = {abbrev = "", color = "#C1001F", shortname = "",},
["Catalonia Among Neighbors"] = {abbrev = "", color = "#914B1E", shortname = "",},
["Catalonia in the Senate"] = {abbrev = "", color = "#FFD74D", shortname = "",},
["Catalonia Yes"] = {abbrev = "", color = "#1E242E", shortname = "",},
["Catalunya en Comú"] = {abbrev = "", color = "#912C45", shortname = "",},
["Catalunya Lliure"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Catalunya Sí que es Pot"] = {abbrev = "", color = "#C4375B", shortname = "CatSíqueesPot",},
["Catamarca People's Movement"] = {abbrev = "", color = "#0052CE", shortname = "",},
["Catarinense Republican Party"] = {abbrev = "PRC", color = "#FA8072", shortname = "",},
["Catholic-National Conservative Party in Bohemia"] = {abbrev = "KNKSČ", color = "#004F50", shortname = "",},
["Catholic Church footer"] = {abbrev = "", color = "#FFD700", shortname = "Catholic",},
["Catholic Democrats (Ireland)"] = {abbrev = "", color = "#8A8AE0", shortname = "Catholic Democrats",},
["Catholic Election Action"] = {abbrev = "WAK", color = "#3F82C6", shortname = "",},
["Catholic League"] = {abbrev = "LC", color = "#2D2D2D", shortname = "",},
["Catholic National Party"] = {abbrev = "KNP", color = "#47B26B", shortname = "",},
["Catholic Party (Belgium)"] = {abbrev = "", color = "#FFD700", shortname = "Catholic",},
["Catholic Party (Indonesia)"] = {abbrev = "", color = "#800000", shortname = "Katolik",},
["Catholic Party (Liverpool)"] = {abbrev = "", color = "#99FF66", shortname = "Catholic",},
["Catholic People's Party (Poland)"] = {abbrev = "SKL", color = "#335B5B", shortname = "",},
["Catholic People's Party"] = {abbrev = "KVP", color = "#004F50", shortname = "",},
["Catholic Union (Spain)"] = {abbrev = "", color = "#1D5D96", shortname = "",},
["Catholic Workers' Party"] = {abbrev = "PCO", color = "#800000", shortname = "",},
["Cavalier"] = {abbrev = "", color = "white", shortname = "",},
["Cayman Democratic Party"] = {abbrev = "CDP", color = "#345284", shortname = "",},
["Cayman Islands People's Party"] = {abbrev = "", color = "#FFC30D", shortname = "",},
["CDS – People's Party"] = {abbrev = "CDS–PP", color = "#0093DD", shortname = "",},
["CDU/CSU"] = {abbrev = "", color = "#151518", shortname = "",},
["CEDA"] = {abbrev = "", color = "#303180", shortname = "",},
["Ceann Comhairle"] = {abbrev = "", color = "#000000", shortname = "",},
["Ceire Cion"] = {abbrev = "", color = "salmon", shortname = "",},
["Célbakísér Civil Szövetség"] = {abbrev = "", color = "#95C241", shortname = "",},
["Center for Islamic Iran Academics"] = {abbrev = "CIIA", color = "#03babe", shortname = "",},
["Center for the Study of Natural Resources"] = {abbrev = "", color = "#17AA5C", shortname = "",},
["Center Party (Israel)"] = {abbrev = "", color = "#1935D0", shortname = "",},
["Center Party (Norway)"] = {abbrev = "", color = "#D63D2D", shortname = "",},
["Center Union-New Forces"] = {abbrev = "EK-ND", color = "#FF7F50", shortname = "",},
["Centered for Tarragona"] = {abbrev = "", color = "#00436E", shortname = "",},
["Centered Progressives Coalition"] = {abbrev = "", color = "#C60079", shortname = "",},
["Centrados"] = {abbrev = "", color = "#D9007F", shortname = "",},
["Central African Democratic Rally"] = {abbrev = "RDC", color = "#FFE339", shortname = "",},
["Central African Democratic Union"] = {abbrev = "UDC", color = "#B1CF70", shortname = "",},
["Central African Republican Party"] = {abbrev = "", color = "#4682B4", shortname = "",},
["Central and Western Democratic Power"] = {abbrev = "CWDP", color = "#d75453", shortname = "",},
["Central and Western District Coalition"] = {abbrev = "", color = "#3FA900", shortname = "",},
["Central Committee of Tallinn Trade Unions"] = {abbrev = "TAK", color = "#FF0000", shortname = "",},
["Central Polish Electoral Committee"] = {abbrev = "LCRK", color = "#F200CB", shortname = "",},
["Centralist Republican Party"] = {abbrev = "", color = "#B82761", shortname = "",},
["Centrats"] = {abbrev = "", color = "#16946F", shortname = "",},
["Centre (Croatian political party)"] = {abbrev = "", color = "#2D7AB0", shortname = "",},
["Centre Alliance (Argentina)"] = {abbrev = "", color = "#0087D1", shortname = "Centre Alliance",},
["Centre Alliance"] = {abbrev = "", color = "#ff6300", shortname = "",},
["Centre and Democracy Forum"] = {abbrev = "", color = "#009E31", shortname = "",},
["Centre Civic Alliance"] = {abbrev = "POC", color = "#FFD054", shortname = "",},
["Centre Democracy and Progress"] = {abbrev = "", color = "#00CCCC", shortname = "",},
["Centre Democrats (Denmark)"] = {abbrev = "", color = "#800080", shortname = "Centre Democrats",},
["Centre Democrats (Netherlands)"] = {abbrev = "CD", color = "#7F663D", shortname = "",},
["Centre for Poland"] = {abbrev = "CdP", color = "#0D3570", shortname = "",},
["Centre Group"] = {abbrev = "", color = "#F47F31", shortname = "",},
["Centre of Arona"] = {abbrev = "", color = "#70B72B", shortname = "",},
["Centre of Social Democrats"] = {abbrev = "", color = "#4B0082", shortname = "",},
["Centre Party '86"] = {abbrev = "", color = "red", shortname = "",},
["Centre Party (Denmark)"] = {abbrev = "", color = "#39944A", shortname = "Centre",},
["Centre Party (Faroe Islands)"] = {abbrev = "", color = "#0A4168", shortname = "Centre",},
["Centre Party (Finland)"] = {abbrev = "Kesk.", color = "#3AAD2E", shortname = "Centre",},
["Centre Party (Germany)"] = {abbrev = "", color = "#000000", shortname = "Centre",},
["Centre Party (Germany, 1945)"] = {abbrev = "", color = "#004C90", shortname = "Centre",},
["Centre Party (Greenland)"] = {abbrev = "", color = "#FFCC00", shortname = "Akulliit",},
["Centre Party (Hungary)"] = {abbrev = "", color = "#FFB900", shortname = "Centre",},
["Centre Party (Iceland)"] = {abbrev = "", color = "#002169", shortname = "Centre",},
["Centre Party (Jersey)"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Centre Party (Latvia)"] = {abbrev = "", color = "#8D2421", shortname = "",},
["Centre Party (Nauru)"] = {abbrev = "", color = "#FFC718", shortname = "",},
["Centre Party (Netherlands)"] = {abbrev = "CP", color = "red", shortname = "",},
["Centre Party (Norway)"] = {abbrev = "", color = "#00843D", shortname = "Centre",},
["Centre Party (Rhodesia)"] = {abbrev = "", color = "#0088ff", shortname = "Centre Party",},
["Centre Party (Sweden)"] = {abbrev = "C", color = "#124838", shortname = "Centre",},
["Centre Party (Sweden, 1873)"] = {abbrev = "", color = "#6BB7EC", shortname = "Centre",},
["Centre Party (Tasmania)"] = {abbrev = "", color = "#3E933E", shortname = "Centre",},
["Centre Party (Turkey)"] = {abbrev = "", color = "#12A19A", shortname = "Centre",},
["Centre Party of Ireland"] = {abbrev = "Cen", color = "#0000A5", shortname = "Centre Party",},
["Centre Republican Party"] = {abbrev = "", color = "#00984B", shortname = "",},
["Centre through Action for Progress"] = {abbrev = "CAP", color = "#0EF70E", shortname = "",},
["Centre Union"] = {abbrev = "ΕΚ", color = "#FCB825", shortname = "",},
["Centre Union for Terrassa"] = {abbrev = "", color = "#C7DB08", shortname = "",},
["Centre Unity"] = {abbrev = "", color = "#881A2D", shortname = "",},
["Centre-left coalition (Italy)"] = {abbrev = "", color = "#EF3E3E", shortname = "Centre-left",},
["Centre-Left of Albacete"] = {abbrev = "", color = "#F4644A", shortname = "",},
["Centre-left politics"] = {abbrev = "", color = "#464646", shortname = "Centre-left",},
["Centre-right coalition (Italy)"] = {abbrev = "", color = "#0A6BE1", shortname = "Centre-right",},
["Centre-right politics"] = {abbrev = "", color = "#ADC1FD", shortname = "Centre-right",},
["Centrem"] = {abbrev = "", color = "#0B5663", shortname = "",},
["Centrism (Italy)"] = {abbrev = "", color = "lightblue", shortname = "Centrismo",},
["Centrist Alliance"] = {abbrev = "AC", color = "#473B84", shortname = "",},
["Centrist Convergence–Democratic and Social Centre"] = {abbrev = "", color = "#FF9900", shortname = "",},
["Centrist Democratic Party (Rwanda)"] = {abbrev = "", color = "#F0E68C", shortname = "",},
["Centrist Democratic Party of the Philippines"] = {abbrev = "CDP", color = "#0067B4", shortname = "",},
["Centrist Party (Spain)"] = {abbrev = "", color = "#08D152", shortname = "",},
["Centrist Party (US)"] = {abbrev = "", color = "#3333FF", shortname = "",},
["Centrist Republican Stable Movement"] = {abbrev = "MECR", color = "purple", shortname = "",},
["Centrist Union group"] = {abbrev = "UC", color = "#0073c3", shortname = "",},
["Centrist Union of Moldova"] = {abbrev = "", color = "#062A78", shortname = "",},
["Centrists for Europe"] = {abbrev = "", color = "#A6DBEC", shortname = "",},
["Centrists of Galicia"] = {abbrev = "", color = "#0EB2D5", shortname = "",},
["Centrists of the Valencian Community"] = {abbrev = "", color = "#39B639", shortname = "",},
["Centrolew"] = {abbrev = "", color = "#BC235B", shortname = "",},
["Centrum"] = {abbrev = "", color = "#5F9F3F", shortname = "",},
["Cerna (political organization)"] = {abbrev = "", color = "#00A3E0", shortname = "",},
["Ceuta Ya!"] = {abbrev = "", color = "#F6CC46", shortname = "",},
["Ceutan Democratic Union"] = {abbrev = "", color = "#AD2916", shortname = "",},
["Ceutan Party"] = {abbrev = "", color = "#2F4378", shortname = "",},
["Ceylon Communist Party (Maoist)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Ceylon Labour Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Ceylon Workers' Congress"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Chadema"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Chadian Action for Unity and Socialism"] = {abbrev = "", color = "red", shortname = "",},
["Chadian Convention for Peace and Development"] = {abbrev = "CTPD", color = "#FFCA03", shortname = "",},
["Chadian Progressive Party"] = {abbrev = "PPT", color = "#2D2A3B", shortname = "",},
["Chadian Social Action"] = {abbrev = "", color = "#F08080", shortname = "",},
["Chaldean Syriac Assyrian Popular Council"] = {abbrev = "", color = "saddlebrown", shortname = "",},
["Chama Cha Kazi"] = {abbrev = "CCK", color = "#3853A4", shortname = "",},
["Chama Cha Kijamii"] = {abbrev = "", color = "navy", shortname = "",},
["Chama Cha Mapinduzi"] = {abbrev = "CCM", color = "#228B22", shortname = "",},
["Chama Cha Mashinani"] = {abbrev = "", color = "#ffff00", shortname = "",},
["Chama cha Ukombozi wa Umma"] = {abbrev = "", color = "red", shortname = "",},
["Chama Cha Uzalendo"] = {abbrev = "", color = "#51B757", shortname = "",},
["Chance (Moldova)"] = {abbrev = "", color = "#FF412C", shortname = "Chance",},
["Chance. Duties. Realization."] = {abbrev = "ȘOR", color = "#4CA355", shortname = "",},
["Change 2011"] = {abbrev = "M11", color = "#01414D", shortname = "",},
["Change It (Spain)"] = {abbrev = "", color = "#739C29", shortname = "",},
["Change Party (Thailand)"] = {abbrev = "", color = "#BD1F2E", shortname = "Change",},
["Chart Pattana Kla Party"] = {abbrev = "", color = "#FF4919", shortname = "Chart Pattana Kla",},
["Chart Pattana Party (2007)"] = {abbrev = "", color = "#F69520", shortname = "",},
["Chart Pattana Party"] = {abbrev = "", color = "#fe980d", shortname = "",},
["Charter Party"] = {abbrev = "", color = "#C0C0C0", shortname = "Charter",},
["Chartism"] = {abbrev = "", color = "#FF3333", shortname = "Chartist",},
["Chartthaipattana Party"] = {abbrev = "", color = "#E20884", shortname = "Chart Thai Pattana",},
["Chase Community Independents Group"] = {abbrev = "", color = "#065E5E", shortname = "Chase Indies",},
["Chat Rung Rueang Party"] = {abbrev = "", color = "#E7B138", shortname = "",},
["Chehabist"] = {abbrev = "", color = "#808080", shortname = "",},
["Chega (political party)"] = {abbrev = "", color = "#222256", shortname = "CHEGA",},
["Cheung Sha Wan Community Establishment Power"] = {abbrev = "CSWCEP", color = "#F48326", shortname = "",},
["Chez Nous (Belgian political party)"] = {abbrev = "", color = "#002D61", shortname = "Chez Nous",},
["Cheung Sha Wan West Front"] = {abbrev = "CSWWF", color = "#53bfa7", shortname = "",},
["Chile Digno"] = {abbrev = "", color = "#EE113A", shortname = "",},
["Chile Podemos Más"] = {abbrev = "", color = "#ffd700", shortname = "",},
["Chile Vamos"] = {abbrev = "", color = "#006BB0", shortname = "",},
["Chilean Renovating Action"] = {abbrev = "", color = "black", shortname = "",},
["Chilean Social Democracy Party"] = {abbrev = "", color = "#FF6347", shortname = "",},
["Chilean Socialist Party"] = {abbrev = "", color = "#ED1624", shortname = "",},
["ChileFirst"] = {abbrev = "", color = "#D1FF00", shortname = "",},
["Chin National League for Democracy"] = {abbrev = "CNLD", color = "#01AEF2", shortname = "",},
["Chin National Party"] = {abbrev = "CNP", color = "#006600", shortname = "",},
["Chin Progressive Party"] = {abbrev = "CPP", color = "#FFFFFF", shortname = "",},
["China Association for Promoting Democracy"] = {abbrev = "CAPD", color = "#FFF500", shortname = "",},
["China Democratic League"] = {abbrev = "CDL", color = "#cb7e1f", shortname = "",},
["China Democratic Socialist Party"] = {abbrev = "CDSP", color = "#008000", shortname = "Democratic Socialist",},
["China National Democratic Construction Association"] = {abbrev = "CNDCA", color = "Orangered", shortname = "",},
["China Youth Service & Recreation Centre"] = {abbrev = "CYSRC", color = "#4ED052", shortname = "",},
["China Zhi Gong Party"] = {abbrev = "CZGP", color = "Red", shortname = "",},
["Chinbak Yeondae"] = {abbrev = "", color = "#0a50a1", shortname = "",},
["Chinese Communist Party"] = {abbrev = "CCP", color = "#DD0000", shortname = "Communist",},
["Chinese Empire Reform Association"] = {abbrev = "CERA", color = "navy", shortname = "",},
["Chinese Peasants' and Workers' Democratic Party"] = {abbrev = "CPWDP", color = "#189df0", shortname = "",},
["Chinese People's Party"] = {abbrev = "", color = "green", shortname = "",},
["Chinese Production Party"] = {abbrev = "", color = "#21358F", shortname = "",},
["Chinese Social Democratic Party"] = {abbrev = "CSDP", color = "#FFD900", shortname = "",},
["Chinese Unification Promotion Party"] = {abbrev = "", color = "#253686", shortname = "",},
["Ching Fat Living Concern Group"] = {abbrev = "CFLCG", color = "#10791D", shortname = "",},
["Chipani cha Pfuko"] = {abbrev = "CCP", color = "#9F622B", shortname = "",},
["Choi Hung Estate Social Service Association"] = {abbrev = "CHESSA", color = "#468CA8", shortname = "",},
["Choice of Russia (electoral bloc)"] = {abbrev = "VR", color = "#29166F", shortname = "",},
["Chondoist Chongu Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Christchurch 2021"] = {abbrev = "", color = "#AB0616", shortname = "",},
["Christchurch Independents"] = {abbrev = "CI", color = "#999999", shortname = "",},
["Christen-Democratisch en Vlaams"] = {abbrev = "CD&V", color = "#FF6200", shortname = "",},
["Christene Volkspartij"] = {abbrev = "CVP", color = "#FFA500", shortname = "",},
["Christian and Democratic Union"] = {abbrev = "KDU", color = "#FFCB03", shortname = "",},
["Christian Centre"] = {abbrev = "", color = "#00BFFF", shortname = "",},
["Christian Centrist Party"] = {abbrev = "", color = "#8032CC", shortname = "Christian Centrist",},
["Christian Citizens"] = {abbrev = "", color = "darkblue", shortname = "",},
["Christian Coalition (New Zealand)"] = {abbrev = "", color = "#878FB8", shortname = "Christian Coalition",},
["Christian Conservative Party (Chile)"] = {abbrev = "", color = "#000080", shortname = "",},
["Christian Conservative Party"] = {abbrev = "", color = "yellow", shortname = "",},
["Christian Conservative Social Union"] = {abbrev = "", color = "#332F83", shortname = "",},
["Christian Democracy (Brazil)"] = {abbrev = "DC", color = "#015F9D", shortname = "",},
["Christian Democracy (Greece)"] = {abbrev = "ChD", color = "#013220", shortname = "",},
["Christian Democracy (Italy, 2002)"] = {abbrev = "DC", color = "#1560BD", shortname = "Christian Democracy",},
["Christian Democracy (Italy)"] = {abbrev = "DC", color = "#87CEFA", shortname = "",},
["Christian Democracy (Poland)"] = {abbrev = "ChD", color = "#5C3FB5", shortname = "",},
["Christian Democracy Federation–Christian Democracy Team"] = {abbrev = "", color = "#E94E1B", shortname = "",},
["Christian Democracy for the Autonomies"] = {abbrev = "", color = "#ADD8E6", shortname = "Christian Democracy",},
["Christian Democrat Party (New Zealand)"] = {abbrev = "", color = "#800080", shortname = "Christian Democrats",},
["Christian Democrat Party (Peru)"] = {abbrev = "", color = "#00008B", shortname = "",},
["Christian Democratic Alliance (Costa Rica)"] = {abbrev = "ADC", color = "#483D8B", shortname = "",},
["Christian Democratic Alliance (Fiji)"] = {abbrev = "VLV", color = "orange", shortname = "",},
["Christian Democratic Alliance (South Africa)"] = {abbrev = "", color = "#300064", shortname = "Christian Democratic Alliance",},
["Christian Democratic Appeal (2021)"] = {abbrev = "", color = "#2CC84D", shortname = "",},
["Christian Democratic Appeal"] = {abbrev = "CDA", color = "#007C5E", shortname = "",},
["Christian Democratic Centre"] = {abbrev = "CCD", color = "#A6DBEC", shortname = "",},
["Christian Democratic Front"] = {abbrev = "", color = "orange", shortname = "",},
["Christian Democratic Movement (2021)"] = {abbrev = "KDH", color = "#173a70", shortname = "",},
["Christian Democratic Movement"] = {abbrev = "KDH", color = "#FFE17D", shortname = "",},
["Christian Democratic Movement (Montenegro)"] = {abbrev = "DP", color = "#0172BB", shortname = "",},
["Christian Democratic National Peasants' Party"] = {abbrev = "PNȚCD", color = "#004A92", shortname = "",},
["Christian Democratic Party (Argentina)"] = {abbrev = "PDC", color = "#00008B", shortname = "Christian Democratic Party",},
["Christian Democratic Party (Australia)"] = {abbrev = "", color = "#7F007F", shortname = "Christian Democrats",},
["Christian Democratic Party (Belgium)"] = {abbrev = "CDP", color = "#FFA500", shortname = "",},
["Christian Democratic Party (Belize)"] = {abbrev = "CDP", color = "#FF7F00", shortname = "",},
["Christian Democratic Party (Bolivia)"] = {abbrev = "PDC", color = "#016167", shortname = "",},
["Christian Democratic Party (Brazil)"] = {abbrev = "PDC", color = "#FF7700", shortname = "",},
["Christian Democratic Party (Chile)"] = {abbrev = "PDC", color = "#0061A7", shortname = "",},
["Christian Democratic Party (Costa Rica)"] = {abbrev = "PDC", color = "#CC1B56", shortname = "",},
["Christian Democratic Party (Democratic Republic of the Congo)"] = {abbrev = "", color = "orange", shortname = "Christian Democratic Party",},
["Christian Democratic Party (East Timor)"] = {abbrev = "", color = "#3F5EBE", shortname = "Christian Democratic Party",},
["Christian Democratic Party (El Salvador)"] = {abbrev = "PDC", color = "#00732E", shortname = "",},
["Christian Democratic Party (Norway)"] = {abbrev = "", color = "#ffd959", shortname = "Christian Democratic",},
["Christian Democratic Party (Papua New Guinea)"] = {abbrev = "CDP", color = "#FF0000", shortname = "Christian Democratic Party",},
["Christian Democratic Party (Paraguay)"] = {abbrev = "", color = "#11a018", shortname = "Christian Democratic Party",},
["Christian Democratic Party (Portugal)"] = {abbrev = "PDC", color = "darkolivegreen", shortname = "",},
["Christian Democratic Party (Samoa)"] = {abbrev = "CDP", color = "#FF00FF", shortname = "Christian Democratic Party",},
["Christian Democratic Party (South Africa)"] = {abbrev = "", color = "#662D91", shortname = "Christian Democratic Party",},
["Christian Democratic Party (Spain)"] = {abbrev = "", color = "#068B1C", shortname = "Christian Democratic Party",},
["Christian Democratic Party of Albania"] = {abbrev = "PKDSH", color = "#0080FF", shortname = "",},
["Christian Democratic Party of Cuba"] = {abbrev = "", color = "#3EB489", shortname = "Christian Democratic Party",},
["Christian Democratic Party of Honduras"] = {abbrev = "CD", color = "#11992B", shortname = "",},
["Christian Democratic Party of Russia"] = {abbrev = "", color = "#9999FF", shortname = "Christian Democratic Party",},
["Christian Democratic Party of Serbia"] = {abbrev = "DHSS", color = "#964B00", shortname = "",},
["Christian Democratic Party of Ukraine"] = {abbrev = "CDPU", color = "#222629", shortname = "",},
["Christian Democratic Party of Uruguay"] = {abbrev = "PDCU", color = "#FFA500", shortname = "",},
["Christian Democratic People's Party (Hungary)"] = {abbrev = "KDNP", color = "#938862", shortname = "",},
["Christian Democratic People's Party of Switzerland"] = {abbrev = "", color = "#EF7D00", shortname = "Christian Democrats",},
["Christian Democratic Union (Bolivia)"] = {abbrev = "CDU", color = "#0047AB", shortname = "",},
["Christian Democratic Union (Dominican Republic)"] = {abbrev = "", color = "#ffd300", shortname = "",},
["Christian Democratic Union (East Germany)"] = {abbrev = "CDU", color = "#237CDB", shortname = "",},
["Christian Democratic Union (Ecuador)"] = {abbrev = "", color = "#008F4C", shortname = "",},
["Christian Democratic Union (Latvia)"] = {abbrev = "", color = "#F3AE12", shortname = "",},
["Christian Democratic Union (Lithuania)"] = {abbrev = "KDS", color = "#5DA782", shortname = "",},
["Christian Democratic Union (Netherlands)"] = {abbrev = "CDU", color = "#E50066", shortname = "",},
["Christian Democratic Union (Ukraine)"] = {abbrev = "CDU", color = "#F39518", shortname = "",},
["Christian Democratic Union of Timor"] = {abbrev = "UDC", color = "#2FAAD6", shortname = "",},
["Christian Democratic Union of Germany"] = {abbrev = "CDU", color = "#151518", shortname = "",},
["Christian Democratic Union of Germany (2023)"] = {abbrev = "CDU", color = "#51B8C2", shortname = "",},
["Christian Democratic Voice"] = {abbrev = "CDV", color = "#24B87A", shortname = "",},
["Christian Democrats (Denmark)"] = {abbrev = "", color = "#53619B", shortname = "Christian Democrats",},
["Christian Democrats (Denmark, 2022)"] = {abbrev = "", color = "#53619B", shortname = "Christian Democrats",},
["Christian Democrats (Finland)"] = {abbrev = "KD", color = "#2B67C9", shortname = "",},
["Christian Democrats (Sweden)"] = {abbrev = "KD", color = "#005EA1", shortname = "Christian Democrats",},
["Christian Economic and Social Party"] = {abbrev = "KGSZP", color = "#006447", shortname = "",},
["Christian Flemish People's Union"] = {abbrev = "CVV", color = "black", shortname = "",},
["Christian Heritage Party of Canada"] = {abbrev = "", color = "#800020", shortname = "Christian Heritage",},
["Christian Heritage Party of New Zealand"] = {abbrev = "", color = "#878FB8", shortname = "Christian Heritage",},
["Christian Historical Party"] = {abbrev = "CHP", color = "#008080", shortname = "",},
["Christian Historical Union"] = {abbrev = "CHU", color = "#006F70", shortname = "",},
["Christian Historical Voters' League"] = {abbrev = "CHK", color = "#008080", shortname = "",},
["Christian Independent Alliance"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Christian Labour Party"] = {abbrev = "PTC", color = "#009966", shortname = "",},
["Christian Liberty Unification Party"] = {abbrev = "", color = "#0095DA", shortname = "",},
["Christian Movement for a New Haiti"] = {abbrev = "", color = "#00923F", shortname = "",},
["Christian National Alliance Party"] = {abbrev = "PANC", color = "saddlebrown", shortname = "",},
["Christian National Party (Chile)"] = {abbrev = "", color = "turquoise", shortname = "",},
["Christian National Party (Hungary)"] = {abbrev = "KNP", color = "#6091ba", shortname = "",},
["Christian National Union for the Reconstruction of Haiti"] = {abbrev = "UNCRH", color = "#FFFF00", shortname = "",},
["Christian National Union Party"] = {abbrev = "KNEP", color = "#43884A", shortname = "",},
["Christian National Union"] = {abbrev = "", color = "#007FFF", shortname = "",},
["Christian Party (Samoa)"] = {abbrev = "SCP", color = "#FFFFDD", shortname = "",},
["Christian Party (UK)"] = {abbrev = "", color = "#9966CC", shortname = "Christian",},
["Christian Party of Austria"] = {abbrev = "", color = "#FAD41B", shortname = "Christian Party",},
["Christian People's Alliance"] = {abbrev = "", color = "#FF00FF", shortname = "",},
["Christian People's Party (Belgium)"] = {abbrev = "CVP", color = "#EEAA00", shortname = "",},
["Christian People's Party (Dominican Republic)"] = {abbrev = "", color = "#ff7900", shortname = "",},
["Christian People's Party (Estonia)"] = {abbrev = "KRE", color = "#000000", shortname = "",},
["Christian People's Party (Faroe Islands)"] = {abbrev = "", color = "#FF6600", shortname = "Christian People's",},
["Christian People's Party (Germany)"] = {abbrev = "CVP", color = "#8DCEE7", shortname = "",},
["Christian People's Party (Peru)"] = {abbrev = "", color = "#14953B", shortname = "",},
["Christian Peoples Alliance"] = {abbrev = "CPA", color = "#813887", shortname = "",},
["Christian Political Movement"] = {abbrev = "", color = "#E8AE0B", shortname = "",},
["Christian Positivist Party (Spain)"] = {abbrev = "", color = "#8B898B", shortname = "",},
["Christian Principles Party"] = {abbrev = "", color = "#8032CC", shortname = "Christian Principles",},
["Christian Social Democratic Party"] = {abbrev = "PSDC", color = "#7797E0", shortname = "",},
["Christian Social Front"] = {abbrev = "", color = "#2A58A6", shortname = "",},
["Christian Social Party (Austria)"] = {abbrev = "CS", color = "#000000", shortname = "",},
["Christian Social Party (Belgium, 1945)"] = {abbrev = "", color = "orange", shortname = "Christian Social",},
["Christian Social Party (Belgium)"] = {abbrev = "", color = "#FFCC99", shortname = "",},
["Christian Social Party (Chile)"] = {abbrev = "", color = "#26348D", shortname = "",},
["Christian Social Party (Ecuador)"] = {abbrev = "PSC", color = "#FFD700", shortname = "",},
["Christian Social Party (German-speaking Community)"] = {abbrev = "CSP", color = "orange", shortname = "",},
["Christian Social Party (Germany)"] = {abbrev = "", color = "#008080", shortname = "",},
["Christian Social Party (Liechtenstein)"] = {abbrev = "", color = "#80FFFF", shortname = "",},
["Christian Social Party (Netherlands)"] = {abbrev = "", color = "#D2691E", shortname = "",},
["Christian Social Party (Switzerland)"] = {abbrev = "", color = "#0F95A7", shortname = "Christian Social",},
["Christian Social Party of Obwalden"] = {abbrev = "", color = "#BF3235", shortname = "CSP Obwalden",},
["Christian Social People's Party"] = {abbrev = "CSV", color = "#FFC300", shortname = "",},
["Christian Social People's Service"] = {abbrev = "", color = "#1DB4E1", shortname = "",},
["Christian Social Rally of Liberty"] = {abbrev = "RSCL", color = "#FF4500", shortname = "",},
["Christian Social Union in Bavaria"] = {abbrev = "CSU", color = "#008AC5", shortname = "",},
["Christian Solidarity Party"] = {abbrev = "", color = "#FFFF99", shortname = "Christian Solidarity",},
["Christian Spanish Party"] = {abbrev = "", color = "#AAAAFF", shortname = "",},
["Christian Union – Reformed Political Party"] = {abbrev = "CU–SGP", color = "#00a7eb", shortname = "",},
["Christian Union (Lithuania)"] = {abbrev = "", color = "#445C64", shortname = "",},
["Christian Union (Netherlands)"] = {abbrev = "CU", color = "#00A7EB", shortname = "",},
["Christian Union (Slovakia)"] = {abbrev = "KÚ", color = "#04B2E8", shortname = "",},
["Christian Union Movement"] = {abbrev = "", color = "#6ca860", shortname = "",},
["Christian Union of National Unity"] = {abbrev = "ChZJN", color = "#2B3F3D", shortname = "",},
["Christian Unity Party"] = {abbrev = "", color = "#143d8d", shortname = "",},
["Christian Workers' Alliance"] = {abbrev = "", color = "#8B0000", shortname = "Christian Workers",},
["Christian Workers' Union of Finland"] = {abbrev = "SKrTL", color = "#FF5050", shortname = "",},
["Christian-Democratic Movement (Georgia)"] = {abbrev = "KDM", color = "#881532", shortname = "",},
["Christian-Democratic People's Party (Moldova)"] = {abbrev = "PPCD", color = "#8D8E56", shortname = "",},
["Christian-National Peasants' and Farmers' Party"] = {abbrev = "CNBL", color = "#7FCEB1", shortname = "",},
["Christian-Social People's Party (Liechtenstein)"] = {abbrev = "CSVP", color = "red", shortname = "",},
["Christians Against Abortion"] = {abbrev = "", color = "#000080", shortname = "",},
["Christians to the World"] = {abbrev = "", color = "#F2EA35", shortname = "",},
["Christlich Soziale Partei (Belgium)"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Chubut Action Party"] = {abbrev = "", color = "#0A1172", shortname = "",},
["Chubut Somos Todos"] = {abbrev = "", color = "#008E6F", shortname = "",},
["Chunta Aragonesista"] = {abbrev = "CHA", color = "#008A21", shortname = "",},
["Chuquisaca We Are All"] = {abbrev = "", color = "#ED8603", shortname = "",},
["Church of the Militant Elvis Party"] = {abbrev = "", color = "#FF00FF", shortname = "Church of the Militant Elvis",},
["Chure Bhawar Rastriya Ekta Party Nepal"] = {abbrev = "", color = "#F0FFF0", shortname = "Churebhawar Rastriya Ekta Party",},
["Cidadania"] = {abbrev = "", color = "#EC008C", shortname = "",},
["Ciervists"] = {abbrev = "", color = "#314F9D", shortname = "",},
["Circle of Liberal Reformers"] = {abbrev = "CLR", color = "#FE492E", shortname = "",},
["Circle of Rhine Party"] = {abbrev = "", color = "#4287f5", shortname = "",},
["Ciskei National Independence Party"] = {abbrev = "CNIP", color = "#0070BB", shortname = "",},
["Citizen Action of Ferrol"] = {abbrev = "", color = "#D9017A", shortname = "",},
["Citizen Alternative of Ponteareas"] = {abbrev = "", color = "#005747", shortname = "",},
["Citizen Alternative of Rubí"] = {abbrev = "", color = "#97C00E", shortname = "",},
["Citizen and Republican Movement"] = {abbrev = "MRC", color = "#DD391F", shortname = "",},
["Citizen Association Jesús Lara"] = {abbrev = "", color = "#F9CC67", shortname = "",},
["Citizen Convergence Movement"] = {abbrev = "", color = "#37960F", shortname = "",},
["Citizen Force"] = {abbrev = "", color = "#F5A23E", shortname = "",},
["Citizen Force (Colombia)"] = {abbrev = "", color = "#FA6709", shortname = "",},
["Citizen Force (Peru)"] = {abbrev = "FC", color = "#E30B5C", shortname = "",},
["Citizen Forum (Spain)"] = {abbrev = "", color = "#1E90FF", shortname = "",},
["Citizen Forum of Cáceres"] = {abbrev = "", color = "#7EBA00", shortname = "",},
["Citizen Forum of Jerez"] = {abbrev = "", color = "#005AD6", shortname = "",},
["Citizen Hope (Spain)"] = {abbrev = "", color = "#F89430", shortname = "",},
["Citizen Initiative for Development"] = {abbrev = "", color = "#102547", shortname = "",},
["Citizen Initiative for Paracuellos"] = {abbrev = "", color = "#94C11F", shortname = "",},
["Citizen Initiative of Puertollano"] = {abbrev = "", color = "#FE6400", shortname = "",},
["Citizen Left"] = {abbrev = "", color = "#BB98C7", shortname = "",},
["Citizen Movement of Soria"] = {abbrev = "", color = "#EC9F42", shortname = "",},
["Citizen Open Platform of Lalín"] = {abbrev = "", color = "#999999", shortname = "",},
["Citizen Option for Macedonia"] = {abbrev = "GROM", color = "#00FFF7", shortname = "",},
["Citizen Option"] = {abbrev = "OC", color = "#FED403", shortname = "",},
["Citizen Party"] = {abbrev = "", color = "#707070", shortname = "Citizen",},
["Citizen Platform for Sabadell"] = {abbrev = "", color = "#CD3037", shortname = "",},
["Citizen Power (political party)"] = {abbrev = "", color = "#412560", shortname = "Citizen Power",},
["Citizen Prosperity"] = {abbrev = "PC", color = "#FFDC2A", shortname = "",},
["Citizen Revolution"] = {abbrev = "RC", color = "#00B0F6", shortname = "",},
["Citizen Revolution Movement"] = {abbrev = "RC", color = "#00AEEF", shortname = "",},
["Citizen Unity"] = {abbrev = "", color = "#CCE35F", shortname = "",},
["Citizen's Coalition for Justice Party (Mongolia)"] = {abbrev = "", color = "#f26022", shortname = "",},
["Citizen's Decision"] = {abbrev = "", color = "#82bb29", shortname = "",},
["Citizen's Unity"] = {abbrev = "", color = "#009CDE", shortname = "",},
["Citizens (Chilean political party)"] = {abbrev = "", color = "#db8f16", shortname = "Citizens",},
["Citizens (Georgia)"] = {abbrev = "", color = "#8BC43F", shortname = "Citizens",},
["Citizens (Spanish political party)"] = {abbrev = "Cs", color = "#EB6109", shortname = "",},
["Citizens & Ratepayers"] = {abbrev = "", color = "#00529F", shortname = "",},
["Citizens Coalition for Change"] = {abbrev = "CCC", color = "#FAE64D", shortname = "",},
["Citizens for Arona"] = {abbrev = "", color = "#77777B", shortname = "",},
["Citizens for Benidorm"] = {abbrev = "", color = "#855794", shortname = "",},
["Citizens for Blank Votes"] = {abbrev = "", color = "#969696", shortname = "",},
["Citizens for Cádiz"] = {abbrev = "", color = "#5E89AA", shortname = "",},
["Citizens for Canarian Change"] = {abbrev = "", color = "#1A3F98", shortname = "",},
["Citizens for Change"] = {abbrev = "", color = "#FF2F00", shortname = "",},
["Citizens for Ciempozuelos"] = {abbrev = "", color = "#2A277E", shortname = "",},
["Citizens for San Fernando"] = {abbrev = "", color = "#000B6F", shortname = "",},
["Citizens for their People"] = {abbrev = "", color = "#046305", shortname = "",},
["Citizens in Rage"] = {abbrev = "", color = "#0000AA", shortname = "",},
["Citizens of Alcalá de Guadaíra"] = {abbrev = "", color = "#23BEDC", shortname = "",},
["Citizens of Burgos"] = {abbrev = "", color = "#CA2D29", shortname = "",},
["Citizens of Democratic Centre–Independent Candidacy"] = {abbrev = "", color = "#F67A32", shortname = "",},
["Citizens of Galicia Democratic Action"] = {abbrev = "", color = "#63A6C6", shortname = "",},
["Citizens of Galicia"] = {abbrev = "", color = "#0BB70B", shortname = "",},
["Citizens of Logroño"] = {abbrev = "", color = "#E88005", shortname = "",},
["Citizens of Lorca"] = {abbrev = "", color = "#0D086E", shortname = "",},
["Citizens of Menorca"] = {abbrev = "", color = "#FA8100", shortname = "",},
["Citizens of Santa Cruz"] = {abbrev = "", color = "#0194E4", shortname = "",},
["Citizens Party (Hong Kong)"] = {abbrev = "", color = "#000000", shortname = "Citizens",},
["Citizens Party (US)"] = {abbrev = "", color = "#00FF90", shortname = "Citizens",},
["Citizens, Inhabitants and People of Marbella"] = {abbrev = "", color = "#FF9D21", shortname = "",},
["Citizens' Action for Málaga"] = {abbrev = "", color = "#A94699", shortname = "",},
["Citizens' Action Party (Costa Rica)"] = {abbrev = "PAC", color = "#FFD700", shortname = "",},
["Citizens' Action Party"] = {abbrev = "", color = "#FFE902", shortname = "",},
["Citizens' Alliance (Cyprus)"] = {abbrev = "SYPOL", color = "#9AB973", shortname = "",},
["Citizens' Assembly for Torrelavega"] = {abbrev = "", color = "#2F6623", shortname = "",},
["Citizens' Battle Against Corruption"] = {abbrev = "CIBAC", color = "#FDCD01", shortname = "",},
["Citizens' Coalition"] = {abbrev = "MED", color = "#506d28", shortname = "",},
["Citizens' Compromise"] = {abbrev = "", color = "#A0BE00", shortname = "",},
["Citizens' Convergence of the South-East"] = {abbrev = "", color = "#0824AD", shortname = "",},
["Citizens' Democratic Renewal Movement"] = {abbrev = "", color = "#6B2484", shortname = "",},
["Citizens' Forces"] = {abbrev = "", color = "#4C4B51", shortname = "",},
["Citizens' Forum Austria"] = {abbrev = "FRITZ", color = "#E43226", shortname = "",},
["Citizens' Initiative (Andorra)"] = {abbrev = "IC", color = "#390037", shortname = "",},
["Citizens' List"] = {abbrev = "", color = "darkgray", shortname = "",},
["Citizens' Movement (Iceland)"] = {abbrev = "", color = "#FF8C00", shortname = "",},
["Citizens' Movement (Mexico)"] = {abbrev = "MC", color = "#FF8C00", shortname = "",},
["Citizens' Movement of Cartagena"] = {abbrev = "", color = "#87305B", shortname = "",},
["Citizens' Party (Finland)"] = {abbrev = "KP", color = "#2354A8", shortname = "Citizens' Party",},
["Citizens' Party (Iceland, 1923)"] = {abbrev = "", color = "#0026FF", shortname = "Citizens'",},
["Citizens' Party (Iceland, 1987)"] = {abbrev = "", color = "#000000", shortname = "Citizens'",},
["Citizens' Party for Revival"] = {abbrev = "", color = "yellow", shortname = "",},
["Citizens' Radio"] = {abbrev = "", color = "#ff7e22", shortname = "",},
["Citizens' Rights Association"] = {abbrev = "ADDC", color = "#FFC0CB", shortname = "",},
["Citizens' Union–Independent Progressives of Canaries"] = {abbrev = "", color = "#181C21", shortname = "",},
["Citizenship and Christian Democracy"] = {abbrev = "PPV/CDC", color = "#000080", shortname = "",},
["City Fusion Party"] = {abbrev = "", color = "#CF9FFF", shortname = "City Fusion",},
["City Independents"] = {abbrev = "", color = "#FFC0CB", shortname = "",},
["City Vision (Auckland political ticket)"] = {abbrev = "", color = "#B3FFB3", shortname = "City Vision",},
["CiU Space"] = {abbrev = "", color = "#2849C8", shortname = "",},
["Ciutadella de Menorca People's Union"] = {abbrev = "", color = "#CA6601", shortname = "",},
["Cives"] = {abbrev = "", color = "#729E2A", shortname = "",},
["Civic 10"] = {abbrev = "", color = "#4BD9FD", shortname = "",},
["Civic Act-up"] = {abbrev = "", color = "#000000", shortname = "",},
["Civic Alliance of Serbia"] = {abbrev = "GSS", color = "orange", shortname = "",},
["Civic and Social Agreement"] = {abbrev = "", color = "#005599", shortname = "",},
["Civic and Social Front of Catamarca"] = {abbrev = "FCSC", color = "#009241", shortname = "",},
["Civic Autonomy Power"] = {abbrev = "CAP", color = "#6CC6CF", shortname = "",},
["Civic Choice"] = {abbrev = "", color = "#1560BD", shortname = "",},
["Civic Coalition (Poland)"] = {abbrev = "KO", color = "#F68F2D", shortname = "",},
["Civic Coalition ARI"] = {abbrev = "CC-ARI", color = "#6fb53e", shortname = "",},
["Civic Coalition"] = {abbrev = "", color = "#008080", shortname = "",},
["Civic Commitment"] = {abbrev = "", color = "#1E889D", shortname = "",},
["Civic Community"] = {abbrev = "", color = "#F26524", shortname = "",},
["Civic Conservative Party (Slovakia)"] = {abbrev = "OKS", color = "#A00000", shortname = "",},
["Civic Conservative Party"] = {abbrev = "", color = "#990000", shortname = "",},
["Civic Democratic Alliance"] = {abbrev = "ODA", color = "#0000FF", shortname = "",},
["Civic Democratic Forum"] = {abbrev = "GDF", color = "#272361", shortname = "",},
["Civic Democratic Party (Bosnia and Herzegovina)"] = {abbrev = "GDS", color = "#ffdf00", shortname = "",},
["Civic Democratic Party (Czech Republic)"] = {abbrev = "ODS", color = "#034EA2", shortname = "",},
["Civic Democratic Party (Hungary)"] = {abbrev = "", color = "#96825A", shortname = "Civic Democratic",},
["Civic Democratic Party (Lithuania)"] = {abbrev = "PDP", color = "#023366", shortname = "",},
["Civic Democratic Union (Slovakia)"] = {abbrev = "", color = "#553D73", shortname = "",},
["Civic Force"] = {abbrev = "", color = "#3183CD", shortname = "",},
["Civic Forum (Central African Republic)"] = {abbrev = "", color = "#008080", shortname = "",},
["Civic Forum"] = {abbrev = "OF", color = "#386bA5", shortname = "",},
["Civic Freedom Party"] = {abbrev = "", color = "yellow", shortname = "Civic Freedom",},
["Civic Front (Córdoba)"] = {abbrev = "", color = "#FF6600", shortname = "",},
["Civic Front for Santiago"] = {abbrev = "", color = "#FF0080", shortname = "",},
["Civic Initiative of Gora"] = {abbrev = "", color = "#82D1F7", shortname = "",},
["Civic Initiative"] = {abbrev = "", color = "#1B3E89", shortname = "",},
["Civic League"] = {abbrev = "", color = "#B8BFFE", shortname = "",},
["Civic Liberal Alliance"] = {abbrev = "", color = "#067CBF", shortname = "",},
["Civic List (Slovenia)"] = {abbrev = "", color = "#0067A5", shortname = "",},
["Civic Movement"] = {abbrev = "OH", color = "#423F83", shortname = "",},
["Civic Party of Kazakhstan"] = {abbrev = "", color = "#2f2f2f", shortname = "",},
["Civic Party of Montenegro"] = {abbrev = "GPCG", color = "#2554C7", shortname = "",},
["Civic Party"] = {abbrev = "", color = "#7F3F98", shortname = "Civic",},
["Civic Passion–Proletariat Political Institute–Hong Kong Resurgence Order"] = {abbrev = "CP/PPI/HKRO", color = "#FBDD07", shortname = "",},
["Civic Passion"] = {abbrev = "", color = "#FBDD07", shortname = "",},
["Civic Platform (Russia)"] = {abbrev = "", color = "#420F77", shortname = "Civic Platform",},
["Civic Platform (Serbia)"] = {abbrev = "GP", color = "#002899", shortname = "",},
["Civic Platform"] = {abbrev = "PO", color = "#F68F2D", shortname = "",},
["Civic Renovation Party"] = {abbrev = "", color = "#183b69", shortname = "",},
["Civic Renewal Party"] = {abbrev = "PRC", color = "dodgerblue", shortname = "",},
["Civic Response"] = {abbrev = "PV", color = "#AE413A", shortname = "",},
["Civic Solidarity of Alicante"] = {abbrev = "", color = "#FFF200", shortname = "",},
["Civic Solidarity Party"] = {abbrev = "", color = "#0F88C9", shortname = "Civic Solidarity",},
["Civic Union (Latvia)"] = {abbrev = "", color = "#9e1b34", shortname = "",},
["Civic Union (Russia)"] = {abbrev = "", color = "#F73239", shortname = "Civic Union",},
["Civic Union (Uruguay)"] = {abbrev = "", color = "white", shortname = "Civic Union",},
["Civic Union"] = {abbrev = "", color = "#AB3C20", shortname = "",},
["Civic United Front"] = {abbrev = "CUF", color = "#0293E2", shortname = "",},
["Civic Unity Party (Azerbaijan)"] = {abbrev = "", color = "#F29923", shortname = "Civic Unity",},
["Civics of Italy"] = {abbrev = "CdI", color = "#5683B3", shortname = "",},
["Civil Alliance (Argentina)"] = {abbrev = "", color = "#F69A69", shortname = "Civil Alliance",},
["Civil Contract (Armenia)"] = {abbrev = "", color = "#5169B1", shortname = "Civil Contract",},
["Civil Democratic Alliance"] = {abbrev = "", color = "orange", shortname = "",},
["Civil Force"] = {abbrev = "", color = "#00a754", shortname = "",},
["Civil Liberties Party"] = {abbrev = "", color = "#0038A5", shortname = "",},
["Civil Movement"] = {abbrev = "CM", color = "#80BB3D", shortname = "",},
["Civil Party (Costa Rica)"] = {abbrev = "", color = "#C61318", shortname = "Civil",},
["Civil Party (Taiwan)"] = {abbrev = "", color = "red", shortname = "",},
["Civil Position"] = {abbrev = "", color = "#FFDD00", shortname = "",},
["Civil Response"] = {abbrev = "", color = "#AE413A", shortname = "",},
["Civil Revolution"] = {abbrev = "", color = "#FF6600", shortname = "",},
["Civil Rights Movement"] = {abbrev = "", color = "#000000", shortname = "",},
["Civil Rights Party (South Korea)"] = {abbrev = "CRP", color = "#4CA459", shortname = "Civil Rights",},
["Civil Rule Party"] = {abbrev = "CRP", color = "#FFD700", shortname = "Civil Rule",},
["Civil Society and Democracy"] = {abbrev = "", color = "#94969C", shortname = "",},
["Civil Watch"] = {abbrev = "", color = "#FF007F", shortname = "",},
["Civil Will–Green Party"] = {abbrev = "", color = "#027E40", shortname = "Civil Will-Green",},
["Civilian Power"] = {abbrev = "GS", color = "#00A650", shortname = "",},
["Civilista Party"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Civiqus"] = {abbrev = "", color = "#047235", shortname = "",},
["Civis (Montenegro)"] = {abbrev = "", color = "#D7D501", shortname = "",},
["Clann Éireann"] = {abbrev = "CÉ", color = "#228B22", shortname = "Clann Éireann",},
["Clann na Poblachta"] = {abbrev = "CnaP", color = "#DDFFDD", shortname = "Clann na Poblachta",},
["Clann na Talmhan"] = {abbrev = "CnaT", color = "#BDB76B", shortname = "Clann na Talmhan",},
["CLARO (political party)"] = {abbrev = "", color = "#314A82", shortname = "",},
["Class Action Reform Movement"] = {abbrev = "", color = "#000000", shortname = "CARM",},
["Class War"] = {abbrev = "", color = "Black", shortname = "",},
["Classical Liberal Party (Sweden)"] = {abbrev = "KLP", color = "#FFDF00", shortname = "",},
["Clause 28 Children's Protection Christian Democrats"] = {abbrev = "", color = "#bc8f8f", shortname = "Clause 28",},
["Clean Chile, Vote Happy"] = {abbrev = "", color = "green", shortname = "",},
["Clichy Club"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Climat Québec"] = {abbrev = "", color = "#0E9D0D", shortname = "",},
["Climate Party"] = {abbrev = "", color = "#36D0B6", shortname = "Climate",},
["Clive Palmer's United Australia Party"] = {abbrev = "UAP", color = "#FFED00", shortname = "",},
["Club 2002 – Party for the Unity and the Republic"] = {abbrev = "Club 2002-PUR", color = "#73160F", shortname = "Club 2002",},
["Club of Committed Non-Party Members"] = {abbrev = "KAN", color = "#10547d", shortname = "",},
["Clydesdale and South Scotland Independent"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Co-operative Party"] = {abbrev = "", color = "#3F1D70", shortname = "",},
["Co-operative Resources Centre"] = {abbrev = "CRC", color = "#DD6A45", shortname = "",},
["Coalició Compromís"] = {abbrev = "Compromís", color = "#EC8953", shortname = "",},
["Coalition (Australia)"] = {abbrev = "", color = "#00557C", shortname = "Coalition",},
["Coalition Avenir Québec"] = {abbrev = "CAQ", color = "#1e90ff", shortname = "",},
["Coalition (Chile)"] = {abbrev = "", color = "blue", shortname = "",},
["Coalition Conservative"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Coalition Council of Islamic Revolution Forces"] = {abbrev = "", color = "#134479", shortname = "Coalition Council",},
["Coalition for a New Socialist Party"] = {abbrev = "", color = "#D82E1E", shortname = "",},
["Coalition for a Solidary Europe"] = {abbrev = "", color = "#00309A", shortname = "",},
["Coalition for Advancement, Reform and Empowerment"] = {abbrev = "CARE", color = "#3CB637", shortname = "",},
["Coalition for Cáceres"] = {abbrev = "", color = "#BE1C2B", shortname = "",},
["Coalition for Cayman"] = {abbrev = "C4C", color = "#0c1c47", shortname = "",},
["Coalition for Change"] = {abbrev = "", color = "Steelblue", shortname = "",},
["Coalition for Change (Sierra Leone)"] = {abbrev = "", color = "#FFAB3D", shortname = "",},
["Coalition for Democratic Change"] = {abbrev = "CDC", color = "#183883", shortname = "",},
["Coalition for El Bierzo"] = {abbrev = "", color = "#68A0D6", shortname = "",},
["Coalition for Europe"] = {abbrev = "", color = "#2D0680", shortname = "",},
["Coalition for Gran Canaria"] = {abbrev = "", color = "#0F47AF", shortname = "",},
["Coalition for Iraqi National Unity"] = {abbrev = "CINU", color = "#004179", shortname = "",},
["Coalition for L'Hospitalet"] = {abbrev = "", color = "#C32C25", shortname = "",},
["Coalition for Melilla"] = {abbrev = "CpM", color = "#298642", shortname = "",},
["Coalition for Peace and Tolerance"] = {abbrev = "KZMT", color = "#5D689C", shortname = "",},
["Coalition for Reform Party"] = {abbrev = "CRP", color = "#3AEB2A", shortname = "",},
["Coalition for Reforms and Democracy"] = {abbrev = "CORD", color = "#F6A438", shortname = "",},
["Coalition for the Balearics"] = {abbrev = "", color = "#692647", shortname = "",},
["Coalition for the Good of All"] = {abbrev = "CBT", color = "#FFCB01", shortname = "",},
["Coalition for Unity and Democracy"] = {abbrev = "", color = "blue", shortname = "",},
["Coalition Labour"] = {abbrev = "", color = "#e0afaf", shortname = "",},
["Coalition Movement"] = {abbrev = "", color = "#00CED1", shortname = "",},
["Coalition National Democratic and Labour Party"] = {abbrev = "", color = "#FFDEAD", shortname = "Coalition National Democratic",},
["Coalition of Democrats (Zimbabwe)"] = {abbrev = "CODE", color = "#ADD8E6", shortname = "",},
["Coalition of Democratic Forces (Kazakhstan)"] = {abbrev = "DKK", color = "#9A6DC0", shortname = "",},
["Coalition of Ethiopian Federalist Forces"] = {abbrev = "", color = "#4398B4", shortname = "",},
["Coalition of Independents"] = {abbrev = "COI", color = "#5ce1e6", shortname = "",},
["Coalition of Islamic Parties"] = {abbrev = "CIP", color = "", shortname = "",},
["Coalition of People's Accord"] = {abbrev = "KNS", color = "#ffe01c", shortname = "",},
["Coalition of Progressive Organizations"] = {abbrev = "", color = "#394184", shortname = "",},
["Coalition of the Left and the Progress"] = {abbrev = "", color = "#FFD000", shortname = "Coalition of the Left (SYN)",},
["Coalition of the Left of Movements and Ecology"] = {abbrev = "", color = "#FFD000", shortname = "Coalition of the Left (SYN)",},
["Coalition of the Pleasant Scent of Servitude"] = {abbrev = "CPSS", color = "blue", shortname = "",},
["Coalition Party (Norway)"] = {abbrev = "", color = "#99EDBD", shortname = "Coalition",},
["Coalition Together"] = {abbrev = "", color = "#1F8C87", shortname = "Together",},
["Coastal Party"] = {abbrev = "", color = "#00ad8e", shortname = "Coastal",},
["Cochinchinese Democratic Party"] = {abbrev = "", color = "#E3FF2A", shortname = "",},
["Code Orange (political party)"] = {abbrev = "", color = "#EF7601", shortname = "Code Orange",},
["Coexistence (political party)"] = {abbrev = "", color = "#32CD32", shortname = "",},
["Colère et espoir"] = {abbrev = "", color = "#BB0000", shortname = "",},
["Collectif Des Inkoruptibles"] = {abbrev = "", color = "#FFBF60", shortname = "",},
["Colombia First"] = {abbrev = "", color = "#800080", shortname = "",},
["Colombia Has a Future"] = {abbrev = "CFT", color = "#32CD32", shortname = "",},
["Colombia Justa Libres"] = {abbrev = "CJL", color = "#C29B61", shortname = "",},
["Colombian Communist Party"] = {abbrev = "", color = "#DA251D", shortname = "",},
["Colombian Community and Communal Political Movement"] = {abbrev = "MCCC", color = "#F5EC49", shortname = "",},
["Colombian Conservative Party"] = {abbrev = "", color = "#1935D0", shortname = "Conservative",},
["Colombian Liberal Party"] = {abbrev = "", color = "#FF3333", shortname = "Liberal",},
["Colorado Center Party"] = {abbrev = "CCP", color = "#501B68", shortname = "Center",},
["Colorado Party (Paraguay)"] = {abbrev = "", color = "#EE1D23", shortname = "Colorado",},
["Colorado Party (Uruguay)"] = {abbrev = "", color = "#BB0000", shortname = "Colorado Party",},
["Colored Republican Party"] = {abbrev = "", color = "#FF5600", shortname = "Colored Republican",},
["Combatant Clergy Association"] = {abbrev = "CCA", color = "#009900", shortname = "",},
["Combatants' Party"] = {abbrev = "PdC", color = "#8B4513", shortname = "",},
["Come Venezuela"] = {abbrev = "VV", color = "#00BFFF", shortname = "",},
["Comité d'Action Musulman"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Comités Jeanne"] = {abbrev = "", color = "#202F55", shortname = "",},
["Commitment for Caspe"] = {abbrev = "", color = "#ED750E", shortname = "",},
["Commitment to Cantabria"] = {abbrev = "", color = "#28734C", shortname = "",},
["Commitment to Europe"] = {abbrev = "", color = "#E7995C", shortname = "",},
["Commitment to Galicia"] = {abbrev = "", color = "#087D42", shortname = "",},
["Commitment to Gran Canaria"] = {abbrev = "", color = "#8AAD53", shortname = "",},
["Commitment to Torrevieja"] = {abbrev = "", color = "#266E87", shortname = "",},
["Commitment with Aragon"] = {abbrev = "", color = "#ECD807", shortname = "",},
["Commitment, Renewal and Order"] = {abbrev = "CREO", color = "#FDAF17", shortname = "",},
["Committed Citizens"] = {abbrev = "CC", color = "#63277F", shortname = "",},
["Committee for a Worker's International (Ireland)"] = {abbrev = "", color = "#DC241F", shortname = "CWI (Ireland)",},
["Committee for Another Policy"] = {abbrev = "", color = "red", shortname = "",},
["Committee for the Defence of the Republic"] = {abbrev = "CDR", color = "#264E4E", shortname = "",},
["Committee of Freedom"] = {abbrev = "CdL", color = "#C71585", shortname = "",},
["Committee of National Unity"] = {abbrev = "", color = "#B93434", shortname = "",},
["Committees for the Defense of the Revolution"] = {abbrev = "CDR", color = "", shortname = "",},
["Common Action Political Party — Civil Congress"] = {abbrev = "PAC–CC", color = "#EF7F1A", shortname = "",},
["Common Alternative Revolutionary Force"] = {abbrev = "FARC", color = "#AF1120", shortname = "",},
["Common Choice"] = {abbrev = "", color = "#ED1B30", shortname = "",},
["Common Course"] = {abbrev = "", color = "#AD3801", shortname = "",},
["Common Force"] = {abbrev = "", color = "#ED5C3E", shortname = "",},
["Common Ground Alliance"] = {abbrev = "", color = "#005B54", shortname = "Common Ground",},
["Common Man's Front"] = {abbrev = "", color = "#00008B", shortname = "",},
["Common Sense (political party)"] = {abbrev = "", color = "#1a6862", shortname = "Common Sense",},
["Common Sense Party (UK)"] = {abbrev = "", color = "#FFFFFF", shortname = "Common Sense",},
["Common Wealth Party"] = {abbrev = "", color = "#ff7f50", shortname = "Common Wealth",},
["Commoner Party of Thailand"] = {abbrev = "", color = "#FF4500", shortname = "",},
["Commoners' Land"] = {abbrev = "TC–PNC", color = "#7A76B4", shortname = "",},
["Commoners' Party (Thailand)"] = {abbrev = "", color = "#000000", shortname = "",},
["Commons (Chilean political party)"] = {abbrev = "", color = "#461D3D", shortname = "",},
["Commons (Colombian political party)"] = {abbrev = "", color = "#AF1120", shortname = "Commons",},
["Commonwealth Labour Party"] = {abbrev = "ComLab", color = "#b22222", shortname = "Commonwealth Labour",},
["Commonwealth Land Party (US)"] = {abbrev = "", color = "#4C915F", shortname = "Commonwealth Land",},
["Commonwealth Liberal Party"] = {abbrev = "", color = "#8CB4D2", shortname = "Commonwealth Liberal",},
["Commonwealth Party (Gibraltar)"] = {abbrev = "", color = "#CE0F25", shortname = "Commonwealth",},
["Communal Democracy Party"] = {abbrev = "TDP", color = "#0D1AAF", shortname = "",},
["Communal Liberation Party"] = {abbrev = "TKP", color = "red", shortname = "",},
["Communal Liberation Party New Forces"] = {abbrev = "TKP-YG", color = "#E3000D", shortname = "",},
["Communist Alternative Party"] = {abbrev = "", color = "maroon", shortname = "",},
["Communist Archio-Marxist Party of Greece"] = {abbrev = "KAKE", color = "red", shortname = "",},
["Communist Collective of Catalonia"] = {abbrev = "", color = "#B82E35", shortname = "",},
["Communist League (New Zealand)"] = {abbrev = "", color = "#dd0048", shortname = "Communist League",},
["Communist League (Sweden)"] = {abbrev = "", color = "red", shortname = "",},
["Communist League (UK, 1988)"] = {abbrev = "", color = "#C71585", shortname = "Communist League",},
["Communist League of Great Britain"] = {abbrev = "", color = "red", shortname = "Communist League",},
["Communist League of Luxemburg"] = {abbrev = "", color = "red", shortname = "",},
["Communist League of West Germany"] = {abbrev = "KBW", color = "red", shortname = "",},
["Communist Marxist Party (John)"] = {abbrev = "", color = "#EE0000", shortname = "",},
["Communist Marxist Party"] = {abbrev = "CMP", color = "#FF0000", shortname = "",},
["Communist Movement (Spain)"] = {abbrev = "", color = "#BF4249", shortname = "",},
["Communist Movement of Turkey"] = {abbrev = "TKH", color = "#990000", shortname = "",},
["Communist Organization of Spain (Red Flag)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Communist Party"] = {abbrev = "", color = "#D50000", shortname = "Communist",},
["Communist Party (Argentina)"] = {abbrev = "PC", color = "#FF0000", shortname = "Communist Party",},
["Communist Party (bolsheviks) of Lithuania and Belorussia"] = {abbrev = "LBSSR", color = "#CC0000", shortname = "",},
["Communist Party (Bolsheviks) of Ukraine"] = {abbrev = "", color = "#DD0000", shortname = "Communist Party",},
["Communist Party (Bosnia and Herzegovina)"] = {abbrev = "", color = "red", shortname = "Communist Party",},
["Communist Party (Denmark)"] = {abbrev = "", color = "#FF0000", shortname = "Communist Party",},
["Communist Party (Italy)"] = {abbrev = "", color = "#F00000", shortname = "Communist Party",},
["Communist Party (Reconstructed)"] = {abbrev = "PC(R)", color = "red", shortname = "",},
["Communist Party (Serbia)"] = {abbrev = "", color = "#C6363C", shortname = "Communist Party",},
["Communist Party (Sweden)"] = {abbrev = "", color = "#D91A12", shortname = "Communist",},
["Communist Party (Turkey, 2014)"] = {abbrev = "", color = "#c00", shortname = "Communist",},
["Communist Party (UK)"] = {abbrev = "", color = "red", shortname = "Communist",},
["Communist Party (US)"] = {abbrev = "CPUSA", color = "#D50000", shortname = "Communist",},
["Communist Party in Denmark"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Communist Party of Albania (1991)"] = {abbrev = "", color = "#E61919", shortname = "",},
["Communist Party of Aragon (1980)"] = {abbrev = "", color = "#C5000F", shortname = "",},
["Communist Party of Argentina (Extraordinary Congress)"] = {abbrev = "", color = "#E0040B", shortname = "",},
["Communist Party of Argentina"] = {abbrev = "", color = "#E22928", shortname = "",},
["Communist Party of Artsakh"] = {abbrev = "", color = "#FF1111", shortname = "",},
["Communist Party of Australia"] = {abbrev = "CPA", color = "#CD2027", shortname = "Communist",},
["Communist Party of Australia (1971)"] = {abbrev = "CPA", color = "#CD2027", shortname = "Communist",},
["Communist Party of Australia (Marxist–Leninist)"] = {abbrev = "CPA", color = "#CD2027", shortname = "Communist",},
["Communist Party of Austria"] = {abbrev = "KPÖ", color = "#AA0000", shortname = "",},
["Communist Party of Bangladesh (Marxist–Leninist) (Barua)"] = {abbrev = "CPB (M-L)", color = "#FB6F76", shortname = "",},
["Communist Party of Bangladesh"] = {abbrev = "CPB", color = "#E91621", shortname = "",},
["Communist Party of Belarus"] = {abbrev = "CPB", color = "#D30400", shortname = "",},
["Communist Party of Belgium (1989)"] = {abbrev = "", color = "red", shortname = "Communist",},
["Communist Party of Benin"] = {abbrev = "", color = "#B22222", shortname = "",},
["Communist Party of Bohemia and Moravia"] = {abbrev = "KSČM", color = "#FF0000", shortname = "",},
["Communist Party of Bolivia (Marxist–Leninist)"] = {abbrev = "", color = "#C9021A", shortname = "",},
["Communist Party of Bolivia"] = {abbrev = "", color = "red", shortname = "",},
["Communist Party of Brazil"] = {abbrev = "PCdoB", color = "#820000", shortname = "",},
["Communist Party of Britain (Marxist–Leninist)"] = {abbrev = "", color = "#EE1F23", shortname = "Communist (ML)",},
["Communist Party of Britain"] = {abbrev = "", color = "#F93822", shortname = "Communist",},
["Communist Party of Bulgaria"] = {abbrev = "CPB", color = "#B20406", shortname = "",},
["Communist Party of Byelorussia"] = {abbrev = "CPB", color = "#DC143C", shortname = "",},
["Communist Party of Canada (Marxist–Leninist)"] = {abbrev = "", color = "#F5191A", shortname = "Marxist–Leninist",},
["Communist Party of Canada"] = {abbrev = "", color = "#FF6347", shortname = "Communist",},
["Communist Party of Chile"] = {abbrev = "", color = "#B22222", shortname = "Communist",},
["Communist Party of Cuba"] = {abbrev = "PCC", color = "#CE2029", shortname = "",},
["Communist Party of Czechoslovakia"] = {abbrev = "KSČ", color = "#DC241F", shortname = "",},
["Communist Party of Denmark"] = {abbrev = "", color = "#A52A2A", shortname = "Communists",},
["Communist Party of Denmark/Marxist–Leninists"] = {abbrev = "DKP/ML", color = "red", shortname = "",},
["Communist Party of Ecuador"] = {abbrev = "", color = "#da251d", shortname = "",},
["Communist Party of England (Marxist-Leninist)"] = {abbrev = "", color = "#660000", shortname = "Marxist-Leninist (England)",},
["Communist Party of Finland (1994)"] = {abbrev = "SKP", color = "#8B0000", shortname = "Communist Party of Finland",},
["Communist Party of Finland"] = {abbrev = "", color = "#DA2301", shortname = "Communist Party",},
["Communist Party of Georgia (Soviet Union)"] = {abbrev = "SKP", color = "#CD0000", shortname = "",},
["Communist Party of Georgia"] = {abbrev = "", color = "red", shortname = "",},
["Communist Party of Germany (1990)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Communist Party of Germany"] = {abbrev = "KPD", color = "#8B0000", shortname = "",},
["Communist Party of Germany/Marxists–Leninists"] = {abbrev = "KPD/ML", color = "red", shortname = "",},
["Communist Party of Great Britain (Marxist–Leninist)"] = {abbrev = "", color = "#FF0000", shortname = "Communist GB (ML)",},
["Communist Party of Great Britain (Provisional Central Committee)"] = {abbrev = "", color = "red", shortname = "Communist (PCC)",},
["Communist Party of Great Britain"] = {abbrev = "", color = "red", shortname = "Communist",},
["Communist Party of Greece (Interior)"] = {abbrev = "", color = "red", shortname = "KKE Interior",},
["Communist Party of Greece (Marxist–Leninist)"] = {abbrev = "KKE-M-L", color = "#960018", shortname = "",},
["Communist Party of Greece"] = {abbrev = "KKE", color = "#e30301", shortname = "",},
["Communist Party of Iceland"] = {abbrev = "", color = "#FF0000", shortname = "Communist",},
["Communist Party of Iceland (Marxist–Leninist)"] = {abbrev = "", color = "red", shortname = "Communist (M-L)",},
["Communist Party of India (Marxist-Leninist) (Kanu Sanyal)"] = {abbrev = "CPI(M-L)", color = "#FF0000", shortname = "",},
["Communist Party of India (Marxist-Leninist)"] = {abbrev = "CPI(ML)", color = "#FF0000", shortname = "",},
["Communist Party of India (Marxist–Leninist) Liberation"] = {abbrev = "CPI(ML)L", color = "#C41301", shortname = "",},
["Communist Party of India (Marxist–Leninist) Red Star"] = {abbrev = "CPI(ML) Red Star", color = "red", shortname = "",},
["Communist Party of India (Marxist)"] = {abbrev = "CPI(M)", color = "#FF1D15", shortname = "",},
["Communist Party of India"] = {abbrev = "CPI", color = "#e70d21", shortname = "",},
["Communist Party of Indonesia"] = {abbrev = "PKI", color = "#ED3237", shortname = "",},
["Communist Party of Ireland (Marxist–Leninist)"] = {abbrev = "", color = "#660000", shortname = "Marxist–Leninist (Ireland)",},
["Communist Party of Ireland"] = {abbrev = "", color = "#E3170D", shortname = "Communist",},
["Communist Party of Italy"] = {abbrev = "", color = "#C72F35", shortname = "",},
["Communist Party of Kampuchea"] = {abbrev = "", color = "#E61919", shortname = "",},
["Communist Party of Kazakhstan"] = {abbrev = "", color = "#D40000", shortname = "Communist Party",},
["Communist Party of Kenya"] = {abbrev = "", color = "#D40000", shortname = "",},
["Communist Party of Korea"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Communist Party of Kurdistan – Iraq"] = {abbrev = "", color = "#dd0000", shortname = "",},
["Communist Party of Kurdistan (Turkey)"] = {abbrev = "KKP", color = "#DA221C", shortname = "",},
["Communist Party of Kyrgyzstan"] = {abbrev = "", color = "#B22222", shortname = "",},
["Communist Party of Latvia"] = {abbrev = "", color = "#D40000", shortname = "",},
["Communist Party of Lithuania"] = {abbrev = "LKP", color = "#D1020A", shortname = "",},
["Communist Party of Luxembourg"] = {abbrev = "KPL", color = "#CC0000", shortname = "",},
["Communist Party of Macedonia (1992)"] = {abbrev = "KPM", color = "red", shortname = "",},
["Communist Party of Malta"] = {abbrev = "", color = "Red", shortname = "",},
["Communist Party of Mexico (Marxist–Leninist)"] = {abbrev = "", color = "#FE3A22", shortname = "",},
["Communist Party of Moldavia"] = {abbrev = "PCM", color = "#DF0000", shortname = "",},
["Communist Party of National Liberation"] = {abbrev = "", color = "#D00620", shortname = "",},
["Communist Party of Nepal (Maoist) (1994)"] = {abbrev = "", color = "#8B0000", shortname = "CPN (Maoist)",},
["Communist Party of Nepal (Maoist Centre)"] = {abbrev = "CPN (MC)", color = "#8B0000", shortname = "Maoist Centre",},
["Communist Party of Nepal (Marxist–Leninist) (2002)"] = {abbrev = "", color = "indianred", shortname = "",},
["Communist Party of Nepal (Marxist) (1991–2005)"] = {abbrev = "", color = "crimson", shortname = "CPN (Marxist)",},
["Communist Party of Nepal (Unified Marxist–Leninist)"] = {abbrev = "UML", color = "#DC241F", shortname = "CPN (UML)",},
["Communist Party of Nepal (Unified Socialist)"] = {abbrev = "CPN (US)", color = "#f4230c", shortname = "Unified Socialist",},
["Communist Party of Nepal (Unified)"] = {abbrev = "", color = "#ff007f", shortname = "CPN (Unified)",},
["Communist Party of Nepal (United Marxist)"] = {abbrev = "", color = "crimson", shortname = "CPN (United Marxist)",},
["Communist Party of Nepal (United) (1991–2005)"] = {abbrev = "", color = "red", shortname = "",},
["Communist Party of Nepal (United)"] = {abbrev = "", color = "palevioletred", shortname = "CPN (United)",},
["Communist Party of Nepal (Unity Centre)"] = {abbrev = "", color = "Red", shortname = "",},
["Communist party of Nepal (Unity National Campaign)"] = {abbrev = "CPN (UNC)", color = "#FF0000", shortname = "Unity Campaign",},
["Communist Party of New Zealand"] = {abbrev = "", color = "#800000", shortname = "Communist",},
["Communist Party of Nicaragua"] = {abbrev = "", color = "red", shortname = "",},
["Communist Party of Northern Ireland"] = {abbrev = "", color = "red", shortname = "Communist (NI)",},
["Communist Party of Norway"] = {abbrev = "", color = "#990000", shortname = "Communist",},
["Communist Party of Pakistan"] = {abbrev = "CPP", color = "#FF3028", shortname = "",},
["Communist Party of Poland"] = {abbrev = "KPP", color = "#E20001", shortname = "",},
["Communist Party of Portugal (Marxist–Leninist)"] = {abbrev = "PCP(ML)", color = "Red", shortname = "",},
["Communist Party of Réunion"] = {abbrev = "PCR", color = "#DD0000", shortname = "",},
["Communist Party of Revolutionary Marxists"] = {abbrev = "CPRM", color = "#FF0000", shortname = "",},
["Communist Party of Scotland"] = {abbrev = "", color = "red", shortname = "Communist (Scotland)",},
["Communist Party of Slovakia – 91"] = {abbrev = "", color = "red", shortname = "",},
["Communist Party of Slovakia (1939)"] = {abbrev = "KSS", color = "#8B0000", shortname = "",},
["Communist Party of Slovakia"] = {abbrev = "KSS", color = "#e70101", shortname = "",},
["Communist Party of South Ossetia"] = {abbrev = "HIKP", color = "#CA0808", shortname = "",},
["Communist Party of Spain (Marxist–Leninist)"] = {abbrev = "", color = "#DF0020", shortname = "",},
["Communist Party of Spain (Marxist–Leninist) (historical)"] = {abbrev = "", color = "#CD5C5C", shortname = "",},
["Communist Party of Spain"] = {abbrev = "PCE", color = "#971324", shortname = "",},
["Communist Party of Sri Lanka"] = {abbrev = "", color = "#FF0000", shortname = "Communist Party",},
["Communist Party of Sweden (1921-1967)"] = {abbrev = "", color = "#b00000", shortname = "Communist",},
["Communist Party of Sweden (1924)"] = {abbrev = "", color = "#800000", shortname = "Höglund Communist",},
["Communist Party of Sweden (1967)"] = {abbrev = "", color = "red", shortname = "Communist",},
["Communist Party of Sweden (1995)"] = {abbrev = "", color = "#990000", shortname = "Communist - APK",},
["Communist Party of Sweden (Kilbommare)"] = {abbrev = "", color = "#b00000", shortname = "Kilbommare Communist",},
["Communist Party of Switzerland"] = {abbrev = "", color = "#D50000", shortname = "Communist",},
["Communist Party of Tajikistan"] = {abbrev = "", color = "#D91D1D", shortname = "Communist",},
["Communist Party of the Basque Homelands"] = {abbrev = "PCTV/EHAK", color = "#800118", shortname = "",},
["Communist Party of the Donetsk People's Republic"] = {abbrev = "", color = "#CF0A13", shortname = "",},
["Communist Party of the Netherlands"] = {abbrev = "CPN", color = "#BB5555", shortname = "",},
["Communist Party of the Peoples of Spain"] = {abbrev = "", color = "#D1141A", shortname = "",},
["Communist Party of the Philippines"] = {abbrev = "CPP", color = "#FF0000", shortname = "",},
["Communist Party of the Russian Federation"] = {abbrev = "", color = "#CC1111", shortname = "Communist",},
["Communist Party of the Russian Soviet Federative Socialist Republic"] = {abbrev = "", color = "#CD0000", shortname = "",},
["Communist Party of the Soviet Union"] = {abbrev = "CPSU", color = "#D40000", shortname = "",},
["Communist Party of the Workers of Spain"] = {abbrev = "", color = "#CD0711", shortname = "",},
["Communist Party of Turkey (modern)"] = {abbrev = "TKP", color = "#A63931", shortname = "",},
["Communist Party of Ukraine (renewed)"] = {abbrev = "KPU(o)", color = "red", shortname = "",},
["Communist Party of Ukraine (Soviet Union)"] = {abbrev = "CPU", color = "#CD0000", shortname = "",},
["Communist Party of Ukraine"] = {abbrev = "KPU", color = "#B70100", shortname = "",},
["Communist Party of Uruguay"] = {abbrev = "", color = "#123E89", shortname = "",},
["Communist Party of Uzbekistan (1994)"] = {abbrev = "", color = "#CC0000", shortname = "",},
["Communist Party of Venezuela"] = {abbrev = "", color = "#8B0000", shortname = "",},
["Communist Party of Vietnam"] = {abbrev = "", color = "#EA0504", shortname = "Communist Party",},
["Communist Party of Workers and Peasants"] = {abbrev = "KPRS", color = "#f31206", shortname = "Communist Party",},
["Communist Party Opposition (Switzerland)"] = {abbrev = "KPO", color = "#FF0000", shortname = "",},
["Communist Party USA"] = {abbrev = "", color = "#D50000", shortname = "Communist",},
["Communist People's Party of Kazakhstan"] = {abbrev = "QKHP", color = "#D5271E", shortname = "",},
["Communist Refoundation Party"] = {abbrev = "PRC", color = "#A1292F", shortname = "",},
["Communist Unification of Spain"] = {abbrev = "", color = "#EF2808", shortname = "",},
["Communist Vanguard of the Revolutionary Workers' Party"] = {abbrev = "", color = "#aa0000", shortname = "",},
["Communist Workers League (Spain)"] = {abbrev = "", color = "#B1343A", shortname = "",},
["Communist Workers' Party – For Peace and Socialism"] = {abbrev = "KTP", color = "#FF4D00", shortname = "",},
["Communist Workers Party (Denmark)"] = {abbrev = "KAP", color = "#de0000", shortname = "",},
["Communist Workers Party of Turkey"] = {abbrev = "", color = "#CB2027", shortname = "",},
["Communist"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Communistes"] = {abbrev = "", color = "#BB0000", shortname = "",},
["Communists and Allies"] = {abbrev = "COM", color = "#990000", shortname = "",},
["Communists of Catalonia"] = {abbrev = "", color = "#CC082D", shortname = "",},
["Communists of Russia"] = {abbrev = "CPCR", color = "#D71A21", shortname = "",},
["Communities & Residents"] = {abbrev = "", color = "#0066CC", shortname = "",},
["Communities United Party"] = {abbrev = "", color = "Orange", shortname = "Communities United",},
["Community Action Party"] = {abbrev = "", color = "#33FF33", shortname = "Community Action",},
["Community Alliance"] = {abbrev = "", color = "#1E4399", shortname = "",},
["Community Campaign (Hart)"] = {abbrev = "CCH", color = "#8d19ff", shortname = "",},
["Community Democrats of Ireland"] = {abbrev = "CDI", color = "#9FE2BF", shortname = "Community Democrats",},
["Community for Social Justice People's Party"] = {abbrev = "KTI", color = "#1C39BB", shortname = "",},
["Community Group"] = {abbrev = "", color = "#808080", shortname = "",},
["Community Integration Party"] = {abbrev = "", color = "#0869AD", shortname = "",},
["Community March"] = {abbrev = "", color = "#BDDC06", shortname = "",},
["Community Movement"] = {abbrev = "", color = "#800080", shortname = "",},
["Community Municipalist Party"] = {abbrev = "PMC", color = "#000000", shortname = "",},
["Community of the Lipovan Russians in Romania"] = {abbrev = "ORL", color = "#DA7C3E", shortname = "",},
["Community Performance First"] = {abbrev = "", color = "yellowgreen", shortname = "",},
["Community Representatives"] = {abbrev = "", color = "#FF719D", shortname = "Community Representative",},
["Community Sha Tin"] = {abbrev = "", color = "#00B2BD", shortname = "",},
["Comorian Democratic Union"] = {abbrev = "UDC", color = "#008000", shortname = "",},
["Comorian Union for Progress"] = {abbrev = "UCP", color = "#77BC11", shortname = "",},
["Compatriots of South Africa"] = {abbrev = "", color = "#98E03A", shortname = "",},
["Compostela Aberta"] = {abbrev = "", color = "#69C8EC", shortname = "",},
["Compromís amb Formentera"] = {abbrev = "", color = "#0AC5B3", shortname = "",},
["Compromís pel País Valencià"] = {abbrev = "Compromís PV", color = "#F2635B", shortname = "",},
["Compromisu por Asturies"] = {abbrev = "", color = "#7CB900", shortname = "",},
["Comú de Lleida"] = {abbrev = "", color = "#8B001F", shortname = "",},
["Comunes (political party)"] = {abbrev = "", color = "#412560", shortname = "",},
["Concentration of People's Forces"] = {abbrev = "CFP", color = "#000000", shortname = "",},
["Conceptual Party \"Unity\""] = {abbrev = "", color = "#11007D", shortname = "",},
["Concern for the Nation Functional Party"] = {abbrev = "PKPB", color = "#014133", shortname = "",},
["Concern Group for Tseung Kwan O People's Livelihood"] = {abbrev = "CGPLTKO", color = "#E3572B", shortname = "",},
["Concerned Citizens Party"] = {abbrev = "", color = "#A356DE", shortname = "Concerned Citizens",},
["Concerned Citizens' Movement"] = {abbrev = "CCM", color = "#3DADF2", shortname = "",},
["Concert of Parties for Democracy & Juntos Podemos Más"] = {abbrev = "", color = "Orange", shortname = "",},
["Concertación"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Concertación (Paraguay)"] = {abbrev = "", color = "#003399", shortname = "Concertación",},
["Conceyu Abiertu"] = {abbrev = "", color = "#214AFF", shortname = "",},
["Conceyu"] = {abbrev = "", color = "#D9DB4C", shortname = "",},
["Concord (political party)"] = {abbrev = "", color = "#0C6D76", shortname = "Concord",},
["Concordance (Bolivia)"] = {abbrev = "", color = "#4E81BD", shortname = "",},
["Concordancia (Argentina)"] = {abbrev = "", color = "#bfd0da", shortname = "Concordancia",},
["Concordia Association of Manchukuo"] = {abbrev = "", color = "#FFC500", shortname = "",},
["Concretely"] = {abbrev = "", color = "#0053A5", shortname = "",},
["Condado–Paradanta Union"] = {abbrev = "", color = "#008675", shortname = "",},
["Confederation Liberty and Independence"] = {abbrev = "", color = "#122746", shortname = "Confederation",},
["Confederation of Democracy"] = {abbrev = "", color = "#104F7C", shortname = "",},
["Confederation of Feminist Organizations"] = {abbrev = "", color = "#530F66", shortname = "",},
["Confederation of Independent Poland"] = {abbrev = "KPN", color = "#333300", shortname = "",},
["Confederation of the Greens (1987)"] = {abbrev = "", color = "#36A119", shortname = "",},
["Confederation of the Greens"] = {abbrev = "", color = "#74B32A", shortname = "",},
["Confederation of the Polish Crown"] = {abbrev = "", color = "#D4AA00", shortname = "",},
["Congolese Movement for Democracy and Integral Development"] = {abbrev = "", color = "#374CCB", shortname = "",},
["Congolese Party of Labour"] = {abbrev = "PCT", color = "#DC241F", shortname = "",},
["Congress (A)"] = {abbrev = "INC (A)", color = "#30D5C8", shortname = "",},
["Congress (J)"] = {abbrev = "INC(J)", color = "black", shortname = "",},
["Congress (Secular)"] = {abbrev = "Cong(S)", color = "#FF7F7F", shortname = "",},
["Congress for Democracy and Progress"] = {abbrev = "CDP", color = "#E5321C", shortname = "",},
["Congress for Democratic Change"] = {abbrev = "CDC", color = "#183883", shortname = "",},
["Congress for Progressive Change"] = {abbrev = "CPC", color = "lightskyblue", shortname = "",},
["Congress for the Republic (Niger)"] = {abbrev = "", color = "#11580C", shortname = "",},
["Congress for the Republic"] = {abbrev = "CPR", color = "#77B32A", shortname = "",},
["Congress Nationalist Party"] = {abbrev = "CNP", color = "#0099CC", shortname = "",},
["Congress of Democrats"] = {abbrev = "COD", color = "#0040FC", shortname = "",},
["Congress of Russian Communities"] = {abbrev = "KRO", color = "#FCCA19", shortname = "",},
["Congress of the New Right"] = {abbrev = "KNP", color = "#1B3458", shortname = "",},
["Congress of the People (South African political party)"] = {abbrev = "COPE", color = "#FFCA08", shortname = "",},
["Congress of the People (Trinidad and Tobago)"] = {abbrev = "COP", color = "#000000", shortname = "",},
["Congress of Ukrainian Nationalists"] = {abbrev = "KUN", color = "#B30027", shortname = "",},
["Congress Party (Egypt)"] = {abbrev = "", color = "#069255", shortname = "Congress",},
["Congress Party Alliance"] = {abbrev = "", color = "#FCC800", shortname = "",},
["Congress Party for the Independence of Madagascar"] = {abbrev = "AKFM", color = "#B20000", shortname = "",},
["Connect Andalusia"] = {abbrev = "", color = "#FECB00", shortname = "",},
["Conscience of Fatherland"] = {abbrev = "", color = "#B8860B", shortname = "",},
["Conservatism sidebar"] = {abbrev = "", color = "#0000FF", shortname = "Conservative",},
["Conservative (New Zealand)"] = {abbrev = "", color = "#9999CC", shortname = "Conservative",},
["Conservative (Norwegian political party)"] = {abbrev = "", color = "#2E316F", shortname = "Conservative",},
["Conservative (South Korea)"] = {abbrev = "", color = "#E61E2B", shortname = "Conservative",},
["Conservative Alliance-Matanitu Vanua"] = {abbrev = "CAMV", color = "blue", shortname = "",},
["Conservative Alliance of Zimbabwe"] = {abbrev = "CAZ", color = "#800080", shortname = "",},
["Conservative and Liberal Unionist"] = {abbrev = "", color = "#0281aa", shortname = "",},
["Conservative and Unionist Party (UK)"] = {abbrev = "Con", color = "#0087DC", shortname = "Conservative",},
["Conservative Ascension Party"] = {abbrev = "", color = "#0053CF", shortname = "",},
["Conservative bloc (Hong Kong)"] = {abbrev = "", color = "#0D3B68", shortname = "Conservative",},
["Conservative Christian Party – BPF"] = {abbrev = "", color = "#B31B20", shortname = "",},
["Conservative-Democratic Party"] = {abbrev = "PCD", color = "#66CCFF", shortname = "",},
["Conservative Democratic Party (Greece)"] = {abbrev = "KSD", color = "#9F99E5", shortname = "",},
["Conservative Democratic Party of Switzerland"] = {abbrev = "BDP", color = "#FBD918", shortname = "",},
["Conservative Democrats of Slovakia"] = {abbrev = "", color = "#6F0470", shortname = "",},
["Conservative Group"] = {abbrev = "", color = "#006EB7", shortname = "",},
["Conservative Ministerialist"] = {abbrev = "", color = "darkblue", shortname = "Ministerialist",},
["Conservative Movement/Alt-Info"] = {abbrev = "", color = "#4E0A0E", shortname = "Alt-Info",},
["Conservative Party (Bolivia)"] = {abbrev = "", color = "#0F52BA", shortname = "",},
["Conservative Party (Brazil)"] = {abbrev = "", color = "#00913D", shortname = "Conservative",},
["Conservative Party (Bulgaria)"] = {abbrev = "", color = "#00008b", shortname = "",},
["Conservative Party (Chile)"] = {abbrev = "", color = "#1935D0", shortname = "Conservative",},
["Conservative Party (Czech Republic)"] = {abbrev = "", color = "#4b0082", shortname = "KONS",},
["Conservative Party (Ecuador)"] = {abbrev = "PC", color = "#0000FF", shortname = "",},
["Conservative Party (Egypt)"] = {abbrev = "", color = "#B31E46", shortname = "",},
["Conservative Party (Guatemala)"] = {abbrev = "", color = "navy", shortname = "Conservative",},
["Conservative Party (Hong Kong)"] = {abbrev = "", color = "#0A4C90", shortname = "Conservative",},
["Conservative Party (Iceland)"] = {abbrev = "", color = "#87add7", shortname = "Conservative",},
["Conservative Party (Mexico)"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Conservative Party (New Zealand)"] = {abbrev = "", color = "#00AEEF", shortname = "Conservative",},
["Conservative Party (Nicaragua)"] = {abbrev = "", color = "#008000", shortname = "Conservative",},
["Conservative Party (Norway)"] = {abbrev = "", color = "#87add7", shortname = "Conservative",},
["Conservative Party (Panama)"] = {abbrev = "", color = "#095498", shortname = "",},
["Conservative Party (Prussia)"] = {abbrev = "", color = "#0781E5", shortname = "Conservatives",},
["Conservative Party (Romania, 1880–1918)"] = {abbrev = "", color = "#0047AB", shortname = "",},
["Conservative Party (Romania)"] = {abbrev = "", color = "#01357E", shortname = "",},
["Conservative Party (Serbia)"] = {abbrev = "", color = "#60AFFF", shortname = "Conservative",},
["Conservative Party (South Africa)"] = {abbrev = "", color = "#FFD700", shortname = "Conservative",},
["Conservative Party (Spain)"] = {abbrev = "", color = "#1286CB", shortname = "Conservative",},
["Conservative Party (Thailand)"] = {abbrev = "", color = "#FF0800", shortname = "",},
["Conservative Party (Uganda)"] = {abbrev = "", color = "purple", shortname = "",},
["Conservative Party (US)"] = {abbrev = "", color = "#FF8C00", shortname = "Conservative",},
["Conservative Party (Venezuela)"] = {abbrev = "", color = "#ED2939", shortname = "",},
["Conservative Party (Virginia, 1965)"] = {abbrev = "", color = "#FF8C00", shortname = "",},
["Conservative Party (Virginia)"] = {abbrev = "", color = "#FF8C00", shortname = "",},
["Conservative Party of Albania"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Conservative Party of Canada"] = {abbrev = "", color = "#6495ED", shortname = "Conservative",},
["Conservative Party of Canada (1867–1942)"] = {abbrev = "", color = "#9999FF", shortname = "Conservative (historical)",},
["Conservative Party of Norway (2020)"] = {abbrev = "", color = "#0065F1", shortname = "",},
["Conservative Party of Russia"] = {abbrev = "", color = "#1093EC", shortname = "",},
["Conservative People's Party (Argentina)"] = {abbrev = "PCP", color = "#000081", shortname = "Conservative People's Party",},
["Conservative People's Party (Denmark)"] = {abbrev = "", color = "#6B9249", shortname = "Conservatives",},
["Conservative People's Party (Germany)"] = {abbrev = "KVP", color = "#455B95", shortname = "",},
["Conservative People's Party (Poland)"] = {abbrev = "SKL", color = "#4B61D1", shortname = "Conservative People's Party",},
["Conservative People's Party of Estonia"] = {abbrev = "EKRE", color = "#0063AF", shortname = "",},
["Conservative People's Party"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Conservative Republican Party"] = {abbrev = "PRC", color = "#3333FF", shortname = "",},
["Conservative Resident"] = {abbrev = "", color = "#00ADEF", shortname = "",},
["Conservative Trade Unionist"] = {abbrev = "", color = "white", shortname = "",},
["Conservative Union (Spain)"] = {abbrev = "", color = "#27A6E2", shortname = "Silvelist",},
["Conservative"] = {abbrev = "", color = "#318CE7", shortname = "",},
["Conservatives and Reformists (Italy)"] = {abbrev = "", color = "#0054A5", shortname = "",},
["Conservatives of Catalonia"] = {abbrev = "", color = "#2A52BE", shortname = "",},
["Constitution Democracy Republic Party"] = {abbrev = "CDRP", color = "#BB443E", shortname = "",},
["Constitution Party (Egypt)"] = {abbrev = "", color = "#0A72BB", shortname = "Constitution Party",},
["Constitution Party (Estonia)"] = {abbrev = "", color = "#E56509", shortname = "",},
["Constitution Party (US)"] = {abbrev = "C", color = "#A356DE", shortname = "Constitution",},
["Constitution Party (US, 1952)"] = {abbrev = "C", color = "#000000", shortname = "Constitution",},
["Constitutional Action Party"] = {abbrev = "", color = "#9ab27d", shortname = "",},
["Constitutional and Democratic Party (Spain)"] = {abbrev = "", color = "#9999FF", shortname = "",},
["Constitutional and Democratic Popular Movement"] = {abbrev = "", color = "#D0353B", shortname = "",},
["Constitutional Bloc (Bulgaria)"] = {abbrev = "", color = "#0092CB", shortname = "",},
["Constitutional Bloc (Lebanon)"] = {abbrev = "", color = "orange", shortname = "Constitutional Bloc",},
["Constitutional Democratic Party (Italy)"] = {abbrev = "", color = "#6495ed", shortname = "",},
["Constitutional Democratic Party (Japan)"] = {abbrev = "", color = "#3773BE", shortname = "Rikken Minseitō",},
["Constitutional Democratic Party of Japan"] = {abbrev = "CDP", color = "#184589", shortname = "",},
["Constitutional Democratic Party"] = {abbrev = "", color = "#0087DC", shortname = "Cadet",},
["Constitutional Front (Thailand)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Constitutional Movement"] = {abbrev = "", color = "DarkGoldenrod", shortname = "",},
["Constitutional Nationalist Party UNIR"] = {abbrev = "", color = "#2E4371", shortname = "",},
["Constitutional Party (Costa Rica)"] = {abbrev = "", color = "#FF0000", shortname = "Constitutional",},
["Constitutional Party (Malta)"] = {abbrev = "", color = "#C71585", shortname = "",},
["Constitutional Party (Peru)"] = {abbrev = "", color = "#0072BB", shortname = "",},
["Constitutional Party (Spain)"] = {abbrev = "", color = "#58B474", shortname = "Constitutional",},
["Constitutional Party (Vietnam)"] = {abbrev = "", color = "#D99FE8", shortname = "",},
["Constitutional Reform Association of Hong Kong"] = {abbrev = "CRA", color = "#000080", shortname = "",},
["Constitutional Right Party"] = {abbrev = "", color = "darkblue", shortname = "",},
["Constitutional Union (Morocco)"] = {abbrev = "UC", color = "#F29400", shortname = "",},
["Constitutional Union of Cuba"] = {abbrev = "", color = "#537AB0", shortname = "",},
["Constitutional Union Party (Iraq)"] = {abbrev = "CUP", color = "#A52A2A", shortname = "",},
["Constitutional Union Party (US)"] = {abbrev = "CU", color = "#F59100", shortname = "Constitutional Union",},
["Constitutionalist (UK)"] = {abbrev = "", color = "#8C92AC", shortname = "Constitutionalist",},
["Constitutionalist Liberal Party"] = {abbrev = "PLC", color = "#FF2400", shortname = "",},
["Constitutionalist Party of Iran"] = {abbrev = "", color = "#000099", shortname = "",},
["Constitutionalist Party of São Paulo"] = {abbrev = "PCSP", color = "#CC0000", shortname = "",},
["Constitutionalist"] = {abbrev = "", color = "white", shortname = "",},
["ConstitutionUSA Party"] = {abbrev = "", color = "#A356DE", shortname = "",}, -- TODO: is duplicate?
["Consultative Council for Indonesian Citizenship"] = {abbrev = "", color = "#800080", shortname = "Baperki",},
["Contigo (political party)"] = {abbrev = "", color = "#E2007A", shortname = "",},
["Contigo Más"] = {abbrev = "", color = "#DF617D", shortname = "",},
["Contigo Navarra"] = {abbrev = "", color = "#4DAE97", shortname = "Contigo/Zurekin",},
["Contigo Somos Democracia"] = {abbrev = "", color = "#85BE3D", shortname = "",},
["Convention for a Progressive Alternative"] = {abbrev = "CAP", color = "#FF0000", shortname = "",},
["Convention for the Renewal of the Comoros"] = {abbrev = "CRC", color = "#18489C", shortname = "",},
["Convention Muslim League"] = {abbrev = "CML", color = "#00CCCC", shortname = "",},
["Convention of Christian Democrats"] = {abbrev = "", color = "#556627", shortname = "",},
["Convention of Democratic Forces"] = {abbrev = "", color = "green", shortname = "",},
["Convention of Republican Institutions"] = {abbrev = "", color = "#E75480", shortname = "",},
["Convention People's Party"] = {abbrev = "CPP", color = "#C80815", shortname = "",},
["Convergence (Guatemala)"] = {abbrev = "", color = "#3481B9", shortname = "",},
["Convergence (Mexico)"] = {abbrev = "", color = "#F18130", shortname = "Convergence",},
["Convergence and Union"] = {abbrev = "CiU", color = "#18307B", shortname = "",},
["Convergence for Development"] = {abbrev = "CODEM", color = "blue", shortname = "",},
["Convergence for Extremadura"] = {abbrev = "", color = "#0A892E", shortname = "",},
["Convergence for Social Democracy (Equatorial Guinea)"] = {abbrev = "CPDS", color = "red", shortname = "",},
["Convergence for the Development of Mali"] = {abbrev = "", color = "#3BB9FF", shortname = "",},
["Convergence for the Isles"] = {abbrev = "", color = "#02AECA", shortname = "",},
["Convergence for Vigo"] = {abbrev = "", color = "#CE1126", shortname = "",},
["Convergence of Democrats of Navarre"] = {abbrev = "CDN", color = "#9D3E4D", shortname = "",},
["Convergence of Independents of Galicia"] = {abbrev = "", color = "#0062E3", shortname = "",},
["Convergence of Manacor"] = {abbrev = "", color = "#E2C767", shortname = "",},
["Convergence of Melilla"] = {abbrev = "", color = "#F04E98", shortname = "",},
["Convergents"] = {abbrev = "", color = "#172A88", shortname = "",},
["Converxencia XXI"] = {abbrev = "", color = "#FDB812", shortname = "",},
["Cook Islands First Party"] = {abbrev = "", color = "#FFDDFF", shortname = "",},
["Cook Islands National Party"] = {abbrev = "CINP", color = "#0000FF", shortname = "",},
["Cook Islands Party"] = {abbrev = "", color = "#005a00", shortname = "Cook Islands",},
["Cook Islands United Party"] = {abbrev = "", color = "#0000fe", shortname = "Cook Islands United",},
["Cooperation and Brotherhood"] = {abbrev = "", color = "#AF0000", shortname = "",},
["Cooperation Party"] = {abbrev = "", color = "#311179", shortname = "",},
["Cooperative NATCCO Network Party"] = {abbrev = "", color = "#6495ED", shortname = "",},
["Cooperative Power Party"] = {abbrev = "", color = "#038F48", shortname = "",},
["Copei"] = {abbrev = "", color = "#009900", shortname = "",},
["Coraggio Italia"] = {abbrev = "", color = "#E5007D", shortname = "",},
["Córas na Poblachta"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Cordeliers club"] = {abbrev = "", color = "#374d5f", shortname = "",},
["Córdoba Neighbourhood Encounter"] = {abbrev = "", color = "#E76003", shortname = "",},
["Cordobese Union"] = {abbrev = "", color = "#067237", shortname = "",},
["Cork Socialist Party"] = {abbrev = "", color = "#D20000", shortname = "",},
["Cornellà en Comú–Crida per Cornellà"] = {abbrev = "", color = "#783E8B", shortname = "",},
["Cornellà Left Alternative"] = {abbrev = "", color = "#581960", shortname = "",},
["Cornish Nationalist Party"] = {abbrev = "", color = "#000000", shortname = "",},
["Corsaris Democràtics"] = {abbrev = "", color = "#E7D072", shortname = "",},
["Corsica Libera"] = {abbrev = "CL", color = "#CC5500", shortname = "",},
["Corunnan Democracy"] = {abbrev = "", color = "#166CBF", shortname = "",},
["Corunnan Union"] = {abbrev = "", color = "#804B32", shortname = "",},
["Costa del Sol Sí Puede"] = {abbrev = "", color = "#269283", shortname = "",},
["Costa Rica Fair"] = {abbrev = "CRJ", color = "#00A5DB", shortname = "",},
["Costa Rican Concord Party"] = {abbrev = "PCC", color = "#4366F1", shortname = "",},
["Costa Rican People's Party"] = {abbrev = "", color = "Red", shortname = "",},
["Costa Rican Peoples' Front"] = {abbrev = "FPC", color = "#800000", shortname = "",},
["Costa Rican Renewal Party"] = {abbrev = "PRC", color = "#013ca6", shortname = "",},
["Council Muslim League"] = {abbrev = "", color = "#00ffff", shortname = "",},
["Council of Serbian Unity"] = {abbrev = "SSJ", color = "#36454F", shortname = "",},
["Country Alliance (Dominican Republic)"] = {abbrev = "", color = "#00ACA1", shortname = "",},
["Country and Progressive National Party"] = {abbrev = "CPNP", color = "#008B8B", shortname = "",},
["Country Liberal Party"] = {abbrev = "", color = "#f8981d", shortname = "Country Liberal",},
["Country of Living"] = {abbrev = "", color = "#FC283F", shortname = "",},
["Country-Liberal Coalition"] = {abbrev = "", color = "#006644", shortname = "Coalition",},
["Country/Liberal Coalition"] = {abbrev = "", color = "#006644", shortname = "Coalition",},
["Country Party (New Zealand)"] = {abbrev = "", color = "#B9F58B", shortname = "Country Party",},
["Country Party (NSW)"] = {abbrev = "", color = "#006644", shortname = "Country",},
["Country Party (South Australia)"] = {abbrev = "", color = "#006644", shortname = "Country",},
["Country Party (Victoria)"] = {abbrev = "", color = "#006644", shortname = "Country",},
["Country Party (Western Australia)"] = {abbrev = "", color = "#006644", shortname = "Country",},
["Country Party of Australia"] = {abbrev = "", color = "#006644", shortname = "Country",},
["Country Party of Australia (1920)"] = {abbrev = "", color = "#006644", shortname = "Country",},
["Country with Managers"] = {abbrev = "", color = "#EAFF00", shortname = "",},
["Countryside Party (UK)"] = {abbrev = "", color = "olive", shortname = "Countryside",},
["Courage Party"] = {abbrev = "", color = "#CC66FF", shortname = "Courage",},
["Course of Freedom"] = {abbrev = "PE", color = "#9F1897", shortname = "",},
["Covenant Party (Northern Mariana Islands)"] = {abbrev = "", color = "#CCFFCC", shortname = "Covenant",},
["Covenant Society"] = {abbrev = "", color = "#DC143C", shortname = "",},
["Cowry Forces for an Emerging Benin"] = {abbrev = "", color = "#56963F", shortname = "FCBE",},
["CPC"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Crawford Republican"] = {abbrev = "", color = "#5FD35F", shortname = "",},
["Creando Melilla"] = {abbrev = "CREAME", color = "#3182C1", shortname = "",},
["Creating Opportunities"] = {abbrev = "CREO", color = "#1B5DA6", shortname = "",},
["Creative Korea Party"] = {abbrev = "", color = "#B30000", shortname = "Creative Korea",},
["Creemos"] = {abbrev = "", color = "#d02d69", shortname = "",},
["Creemos Colombia"] = {abbrev = "", color = "#e40078", shortname = "",},
["Creo en Huelva"] = {abbrev = "", color = "#18B3B7", shortname = "",},
["Crescent Star Party (Indonesia)"] = {abbrev = "PBB", color = "#005825", shortname = "",},
["Crida per Palma"] = {abbrev = "", color = "#F3CB2D", shortname = "",},
["Cristiannan Uni Reforzando Potencial di Aruba"] = {abbrev = "", color = "purple", shortname = "",},
["Croat People's Union"] = {abbrev = "", color = "blue", shortname = "",},
["Croat-Serb Coalition"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Croatia is Growing"] = {abbrev = "", color = "#e00f20", shortname = "",},
["Croatian Bunjevac-Šokac Party"] = {abbrev = "HBŠS", color = "#AD3201", shortname = "",},
["Croatian Christian Democratic Union of Bosnia and Herzegovina"] = {abbrev = "", color = "blue", shortname = "",},
["Croatian Christian Democratic Union"] = {abbrev = "", color = "cornflowerblue", shortname = "",},
["Croatian Civic Initiative"] = {abbrev = "HGI", color = "#f08080", shortname = "",},
["Croatian Civic Party"] = {abbrev = "HGS", color = "#1F75FE", shortname = "",},
["Croatian Coalition (2010)"] = {abbrev = "", color = "#E61717", shortname = "",},
["Croatian Conservative Party"] = {abbrev = "", color = "#002366", shortname = "",},
["Croatian Demochristian Party"] = {abbrev = "", color = "#1974D2", shortname = "",},
["Croatian Democratic Alliance of Slavonia and Baranja"] = {abbrev = "HDSSB", color = "#990000", shortname = "",},
["Croatian Democratic Peasant Party"] = {abbrev = "", color = "green", shortname = "",},
["Croatian Democratic Union 1990"] = {abbrev = "HDZ 1990", color = "#A3DCFF", shortname = "",},
["Croatian Democratic Union of Bosnia and Herzegovina"] = {abbrev = "HDZ BiH", color = "#0064AA", shortname = "",},
["Croatian Democratic Union"] = {abbrev = "HDZ", color = "#005BAA", shortname = "",},
["Croatian Growth"] = {abbrev = "", color = "#5299E1", shortname = "",},
["Croatian Independent Party"] = {abbrev = "", color = "#5CA8EC", shortname = "",},
["Croatian Labourists – Labour Party"] = {abbrev = "", color = "#F4A460", shortname = "Labour",},
["Croatian Labourists"] = {abbrev = "HL", color = "#F4A460", shortname = "",},
["Croatian Liberation Movement"] = {abbrev = "HOP", color = "#FF0000", shortname = "",},
["Croatian National Shift"] = {abbrev = "HNP", color = "#EB332D", shortname = "",},
["Croatian Party of Pensioners"] = {abbrev = "", color = "#004B88", shortname = "HSU",},
["Croatian Party of Rights 1861"] = {abbrev = "HSP 1861", color = "#000000", shortname = "",},
["Croatian Party of Rights Dr. Ante Starčević"] = {abbrev = "HSP AS", color = "#6082B6", shortname = "",},
["Croatian Party of Rights of Bosnia and Herzegovina"] = {abbrev = "", color = "#000000", shortname = "",},
["Croatian Party of Rights"] = {abbrev = "HSP", color = "#000000", shortname = "",},
["Croatian Peasant Party of Bosnia and Herzegovina"] = {abbrev = "HSS BiH", color = "#3D863D", shortname = "",},
["Croatian Peasant Party"] = {abbrev = "HSS", color = "#02B14B", shortname = "",},
["Croatian People's Party – Liberal Democrats"] = {abbrev = "HNS-LD", color = "#FF931E", shortname = "",},
["Croatian People's Party"] = {abbrev = "HNS", color = "#F4A460", shortname = "",},
["Croatian Popular Party (1919)"] = {abbrev = "", color = "blue", shortname = "",},
["Croatian Pure Party of Rights"] = {abbrev = "HČSP", color = "#000000", shortname = "",},
["Croatian Republican Party"] = {abbrev = "HRS", color = "#004E9C", shortname = "",},
["Croatian Republican Union"] = {abbrev = "", color = "#000000", shortname = "",},
["Croatian Right Bloc"] = {abbrev = "", color = "#000000", shortname = "",},
["Croatian Romani Union \"Kali Sara\""] = {abbrev = "", color = "#FF0000", shortname = "Kali Sara",},
["Croatian Social Democrats"] = {abbrev = "HSD", color = "#FF0000", shortname = "",},
["Croatian Social Liberal Party"] = {abbrev = "HSLS", color = "#FFE01A", shortname = "",},
["Croatian Syrmian Initiative"] = {abbrev = "HSI", color = "#AA8251", shortname = "",},
["Croatian True Revival"] = {abbrev = "HIP", color = "darkblue", shortname = "",},
["Croatian Workers Party"] = {abbrev = "HRS", color = "Blue", shortname = "",},
["Croats Together"] = {abbrev = "HZ", color = "#A3DCFF", shortname = "",},
["Crofters Party"] = {abbrev = "", color = "#ddff55", shortname = "Crofters",},
["Cross-Community Labour Alternative"] = {abbrev = "", color = "#cd5c5c", shortname = "Labour Alternative",},
["Crossbencher"] = {abbrev = "", color = "grey", shortname = "Crossbench",},
["Crusade of Romanianism"] = {abbrev = "CR", color = "#390E0C", shortname = "",},
["Crystal Party"] = {abbrev = "", color = "#88309E", shortname = "Kristall.",},
["Cuban National Party"] = {abbrev = "PNC", color = "#0080FF", shortname = "",},
["Cuban Popular Party"] = {abbrev = "", color = "#C71585", shortname = "",},
["Cuenca Nos Une"] = {abbrev = "", color = "#13A69E", shortname = "",},
["Culleredo Neighborhood Tide"] = {abbrev = "", color = "#00ACEE", shortname = "",},
["Cultural Association of the GDR"] = {abbrev = "", color = "#011993", shortname = "",},
["Cultural Union of Ruthenians of Romania"] = {abbrev = "KTRR", color = "red", shortname = "",},
["Cumann na nGaedheal"] = {abbrev = "CnaG", color = "#87CEFA", shortname = "Cumann na nGaedheal",},
["Cumann Poblachta na hÉireann"] = {abbrev = "", color = "#008800", shortname = "",},
["Cumbernauld Independent Councillors Alliance"] = {abbrev = "CICA", color = "#DDDDDD", shortname = "",},
["Curaçao a New Dutch Municipality"] = {abbrev = "", color = "#FE8A23", shortname = "",},
["Current of Love"] = {abbrev = "", color = "#C49A6C", shortname = "",},
["Cymru Rydd"] = {abbrev = "", color = "#E32636", shortname = "",},
["Cymru Sovereign"] = {abbrev = "", color = "#fbff3c", shortname = "",},
["Cynon Valley Party"] = {abbrev = "", color = "#fac43a", shortname = "",},
["Czech Christian Social Party in the Kingdom of Bohemia"] = {abbrev = "ČKSSKČ", color = "#d6c3a5", shortname = "",},
["Czech National Social Party"] = {abbrev = "ČSNS", color = "#FAC469", shortname = "",},
["Czech National Socialist Party"] = {abbrev = "ČSNS 2005", color = "#C80000", shortname = "",},
["Czech Pirate Party"] = {abbrev = "", color = "#000000", shortname = "Pirates",},
["Czech Realist Party"] = {abbrev = "ČSP", color = "#6495ED", shortname = "",},
["Czech Social Democratic Party"] = {abbrev = "ČSSD", color = "#EC5800", shortname = "",},
["Czech Social Democratic Party (2021)"] = {abbrev = "ČSSD (2021)", color = "#EF331A", shortname = "",},
["Czechoslovak Agrarian and Conservative Party"] = {abbrev = "ČSAK", color = "#004953", shortname = "",},
["Czechoslovak National Democracy"] = {abbrev = "ČsND", color = "#2B347F", shortname = "",},
["Czechoslovak National Socialist Party"] = {abbrev = "ČSNS", color = "#FAC469", shortname = "",},
["Czechoslovak People's Party"] = {abbrev = "ČSL", color = "#FFD700", shortname = "",},
["Czechoslovak Social Democracy"] = {abbrev = "ČSSD", color = "#EC5800", shortname = "",},
["Czechoslovak Traders' Party"] = {abbrev = "ČŽOS", color = "#F27A7A", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
861d3915a3c7f40d1fdccd4c0eef43ee4bf111ae
Module:Political party/D
828
1467
2998
2997
2024-03-13T05:24:20Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["Direct Democracy New Zealand"] = "Direct Democracy Party of New Zealand",
["DAB"] = "Democratic Alliance for the Betterment and Progress of Hong Kong",
["DABHK"] = "Democratic Alliance for the Betterment and Progress of Hong Kong",
["Delaware Democratic Party"] = "Democratic Party (United States)",
["Demócrata Party"] = "Democrata Party",
["Democratic Agrarian Party of Moldova"] = "Agrarian Party of Moldova",
["Democratic Alliance for the Betterment of Hong Kong"] = "Democratic Alliance for the Betterment and Progress of Hong Kong",
["Democratic and Social Centre – People's Party"] = "CDS – People's Party",
["Democratic and Social Centre – People´s Party"] = "CDS – People's Party", -- acute accent difference
["Democratic Awakening"] = "Democratic Beginning",
["Democratic Center Party of Latvia"] = "Democratic Party \"Saimnieks\"",
["Democratic Centre Union (Greece)"] = "Centre Union",
["Democratic Coalition"] = "Democratic Coalition (Hungary)",
["Democratic Front (France)"] = "Democratic Movement (France)",
["Democratic Front for the Reunification of the Fatherland"] = "Democratic Front for the Reunification of Korea",
["Democratic Front of the Francophones"] = "DéFI",
["Democratic Group"] = "Democratic Party (Luxembourg)",
["Democratic Group (Luxembourg)"] = "Democratic Party (Luxembourg)",
["Democratic Labour Party (UK)"] = "Democratic Labour Party (UK, 1998)",
["Democratic Labour Party"] = "Lincoln Democratic Labour Association",
["Democratic Liberal Party (Italy)"] = "Italian Democratic Liberal Party",
["Democratic Modernist Pole"] = "Ettajdid Movement",
["Democratic National Alliance"] = "Democratic National Alliance (Sri Lanka)",
["Democratic Obedience Party"] = "Democratic Conviction",
["Democratic Party - demokraci.pl"] = "Democratic Party – demokraci.pl",
["Democratic Party (Burma)"] = "Democratic Party (Myanmar)",
["Democratic Party (Japan)"] = "Democratic Party (Japan, 2016)",
["Democratic Party (Slovakia)"] = "Democratic Party (Slovakia, 1989)",
["Democratic Party (Turkey, historical)"] = "Democrat Party (Turkey, 1946–1961)",
["Democratic Party (US)"] = "Democratic Party (United States)",
["Democratic Party (Alabama)"] = "Democratic Party (United States)",
["Democratic Party (Alaska)"] = "Democratic Party (United States)",
["Democratic Party (Arizona)"] = "Democratic Party (United States)",
["Democratic Party (Arkansas)"] = "Democratic Party (United States)",
["Democratic Party (California)"] = "Democratic Party (United States)",
["Democratic Party (Colorado)"] = "Democratic Party (United States)",
["Democratic Party (Connecticut)"] = "Democratic Party (United States)",
["Democratic Party (Delaware)"] = "Democratic Party (United States)",
["Democratic Party (Georgia, US)"] = "Democratic Party (United States)",
["Democratic Party (Guam)"] = "Democratic Party (United States)",
["Democratic Party (Hawaii)"] = "Democratic Party (United States)",
["Democratic Party (Idaho)"] = "Democratic Party (United States)",
["Democratic Party (Illinois)"] = "Democratic Party (United States)",
["Democratic Party (Iowa)"] = "Democratic Party (United States)",
["Democratic Party (Maryland)"] = "Democratic Party (United States)",
["Democratic Party (Massachusetts)"] = "Democratic Party (United States)",
["Democratic Party (Michigan)"] = "Democratic Party (United States)",
["Democratic Party (Minnesota)"] = "Minnesota Democratic–Farmer–Labor Party",
["Democratic Party (Missouri)"] = "Democratic Party (United States)",
["Democratic Party (Nevada)"] = "Democratic Party (United States)",
["Democratic Party (New Mexico)"] = "Democratic Party (United States)",
["Democratic Party (New York)"] = "Democratic Party (United States)",
["Democratic Party (North Dakota)"] = "North Dakota Democratic–Nonpartisan League Party",
["Democratic Party (Northern Mariana Islands)"] = "Democratic Party (United States)",
["Democratic Party (Pennsylvania)"] = "Democratic Party (United States)",
["Democratic Party (Rhode Island)"] = "Democratic Party (United States)",
["Democratic Party (Turkey, current)"] = "Democrat Party (Turkey, current)",
["Democratic Party (Utah)"] = "Democratic Party (United States)",
["Democratic Party (Vermont)"] = "Democratic Party (United States)",
["Democratic Party (Virginia)"] = "Democratic Party (United States)",
["Democratic Party (Washington State)"] = "Democratic Party (United States)",
["Democratic Party (Washington)"] = "Democratic Party (United States)",
["Democratic Party (West Virginia)"] = "Democratic Party (United States)",
["Democratic Party of Arkansas"] = "Democratic Party (United States)",
["Democratic Party of Connecticut"] = "Democratic Party (United States)",
["Democratic Party of Côte d'Ivoire – African Democratic Rally"] = "Democratic Party of Ivory Coast – African Democratic Rally",
["Democratic Party of Georgia"] = "Democratic Party (United States)",
["Democratic Party of Guam"] = "Democratic Party (United States)",
["Democratic Party of Hawaii"] = "Democratic Party (United States)",
["Democratic Party of Illinois"] = "Democratic Party (United States)",
["Democratic Party of Japan (1996)"] = "Democratic Party (Japan, 1996)",
["Democratic Party of Japan"] = "Democratic Party (Japan, 1998)",
["Democratic Party of Minnesota"] = "Democratic Party (United States)",
["Democratic Party of New Mexico"] = "Democratic Party (United States)",
["Democratic Party of Oregon"] = "Democratic Party (United States)",
["Democratic Party of the Virgin Islands"] = "Democratic Party (United States)",
["Democratic Party of Virginia"] = "Democratic Party (United States)",
["Democratic Party of Wisconsin"] = "Democratic Party (United States)",
["Democratic Patriots' Movement"] = "Democratic Patriots' Unified Party",
["Democratic People's Party (Portugal)"] = "Social Democratic Party (Portugal)",
["Democratic People's Liberation Front"] = "People's Liberation Organisation of Tamil Eelam",
["Democratic Popular Party (Spain)"] = "People's Democratic Party (Spain)",
["Democratic Republican Party (Portugal)"] = "National Democratic Alternative (Portugal)",
["Democratic Socialist Party (Nepal)"] = "Loktantrik Samajwadi Party, Nepal",
["Democratic Turnhalle Alliance"] = "Popular Democratic Movement",
["Democratic Union of the Greek Minority"] = "Omonoia (organization)",
["Democratic Union"] = "Democratic Union (Poland)",
["Democratic Unity Coalition"] = "Unitary Democratic Coalition",
["Democratic Workers' Congress"] = "Democratic People's Front",
["Democratic-Farmer-Labor Party (Minnesota)"] = "Minnesota Democratic–Farmer–Labor Party",
["Democratic-NPL Party"] = "North Dakota Democratic–Nonpartisan League Party",
["Democratic-Republican Party (United States)"] = "Democratic-Republican Party",
["Democratic-Republican Party (US)"] = "Democratic-Republican Party",
["Democratic-Republican"] = "Democratic-Republican Party",
["Democratic–Farmer–Labor Party (Minnesota)"] = "Minnesota Democratic–Farmer–Labor Party",
["Democratic–Nonpartisan League Party (North Dakota)"] = "North Dakota Democratic–Nonpartisan League Party",
["Democratic–NPL Party"] = "North Dakota Democratic–Nonpartisan League Party",
["Democratic–Republican Party (United States)"] = "Democratic-Republican Party",
["Democrats (Norway)"] = "Norway Democrats",
["Democrats and Progressives"] = "Article One (political party)",
["Democrats for Social Credit"] = "New Zealand Democratic Party for Social Credit",
["Democrats in Norway"] = "Norway Democrats",
["Demokraatit"] = "Democrats (Greenland)",
["Denk (Dutch political party)"] = "DENK (political party)",
["Denk (political party)"] = "DENK (political party)",
["DENK"] = "DENK (political party)",
["Deutsche Rechtspartei"] = "German Right Party",
["Dignity and Truth Platform Party"] = "Dignity and Truth Platform",
["Direction – Social Democracy"] = "Direction – Slovak Social Democracy",
["Direction (Slovakia)"] = "Direction – Slovak Social Democracy",
["District of Columbia Democratic State Committee"] = "Democratic Party (United States)",
["District of Columbia Republican Party"] = "Republican Party (United States)",
["Dixiecrat Party (United States)"] = "Dixiecrat",
["DMK"] = "Dravida Munnetra Kazhagam",
["Dodd Independent Party"] = "Independent (US)",
["DPHK"] = "Democratic Party (Hong Kong)",
["Dutch Labour Party"] = "Labour Party (Netherlands)",
}
local full = {
["D.C. Statehood Green Party"] = {abbrev = "", color = "#17AA5C", shortname = "DC Statehood Green",},
["D.C. Statehood Party"] = {abbrev = "", color = "#0BDA51", shortname = "DC Statehood",},
["Da'am Workers Party"] = {abbrev = "", color = "#C60408", shortname = "",},
["Dabalorivhuwa Patriotic Front"] = {abbrev = "", color = "#FF8000", shortname = "",},
["Dad, This is for You"] = {abbrev = "ĆOJZT", color = "#000000", shortname = "",},
["Dai Le and Frank Carbone Network"] = {abbrev = "DLFCN", color = "#FF7F7F", shortname = "",},
["Đại Việt National Socialist Party"] = {abbrev = "ĐVQXĐ", color = "#DC143C", shortname = "",},
["Dagga Party"] = {abbrev = "", color = "#009245", shortname = "",},
["Dahomeyan Democratic Movement"] = {abbrev = "", color = "#91ADBC", shortname = "",},
["Dahomeyan Democratic Union"] = {abbrev = "", color = "#5CBB72", shortname = "",},
["Dahomeyan Progressive Union"] = {abbrev = "UPD", color = "#5CBB72", shortname = "",},
["Dainiin Club"] = {abbrev = "", color = "#587dab", shortname = "",},
["Dalit Janajati Party"] = {abbrev = "", color = "blue", shortname = "",},
["Dalit Mazdoor Kisan Party"] = {abbrev = "DMKP", color = "#A5CBFA", shortname = "",},
["Dalit Muslim Vikas Party"] = {abbrev = "DMVP", color = "#293A03", shortname = "",},
["Dalmatian Action"] = {abbrev = "", color = "darkblue", shortname = "",},
["Danish Party"] = {abbrev = "", color = "#CE1126", shortname = "",},
["Danish People's Party"] = {abbrev = "DPP", color = "#FCD03B", shortname = "",},
["Danish Social Liberal Party"] = {abbrev = "", color = "#733280", shortname = "Social Liberals",},
["Danish Unity"] = {abbrev = "", color = "#002366", shortname = "",},
["Dawn – National Coalition"] = {abbrev = "", color = "#004071", shortname = "Dawn",},
["Dawn (Iceland)"] = {abbrev = "", color = "#eab943", shortname = "",},
["Dawn (Russia)"] = {abbrev = "", color = "#FEB684", shortname = "Dawn",},
["Dawn of Direct Democracy"] = {abbrev = "", color = "#66BDFF", shortname = "Dawn",},
["Dawn of Nemunas"] = {abbrev = "NA", color = "#F25D23", shortname = "Dawn",},
["Dayak Unity Party"] = {abbrev = "PPD", color = "#0093dd", shortname = "",},
["Daylight Saving"] = {abbrev = "", color = "#FFFD7A", shortname = "",},
["Daylight Saving Party"] = {abbrev = "", color = "#FFFD7A", shortname = "Daylight Savings",},
["DCIDE"] = {abbrev = "", color = "#3B9F40", shortname = "",},
["De Basis"] = {abbrev = "", color = "#DDDC05", shortname = "Basis",},
["De Nou Reus"] = {abbrev = "", color = "#5CBACC", shortname = "",},
["Death to the System (Spain)"] = {abbrev = "", color = "#0A0A0A", shortname = "",},
["Deák Party"] = {abbrev = "", color = "#AAD8E6", shortname = "",},
["Debout la France"] = {abbrev = "DLF", color = "#0087CD", shortname = "",},
["Debout la République"] = {abbrev = "DLR", color = "#8040C0", shortname = "",},
["Debout Les Belges!"] = {abbrev = "", color = "#CA232B", shortname = "",},
["Decentralist Social Force Party"] = {abbrev = "", color = "#82BC1C", shortname = "",},
["DecideT–EligeT"] = {abbrev = "", color = "#21297C", shortname = "",},
["Decidix"] = {abbrev = "", color = "#DC4868", shortname = "",},
["Decolonization and Social Emancipation Movement"] = {abbrev = "", color = "#AA0000", shortname = "",},
["Defense of the Andalusian People's Interests"] = {abbrev = "", color = "#40903B", shortname = "",},
["DéFI"] = {abbrev = "", color = "#DD0081", shortname = "",},
["Degel HaTorah"] = {abbrev = "", color = "#3E3E3E", shortname = "",},
["Degrowth Party"] = {abbrev = "", color = "#BB0000", shortname = "",},
["Delhi Janata Party"] = {abbrev = "DJP", color = "#CEF6EC", shortname = "",},
["Delhi Poorvanchal Party"] = {abbrev = "DPP", color = "#BCA9F5", shortname = "",},
["Deliberation Tsuen Wan"] = {abbrev = "", color = "#7CBECC", shortname = "Deliberation TW",},
["Demo-Social 12"] = {abbrev = "", color = "#4D955D", shortname = "",},
["Demo-Social 60"] = {abbrev = "", color = "#F58025", shortname = "",},
["Demochristian Party of Albania"] = {abbrev = "PDK", color = "orange", shortname = "",},
["Democracy (Thailand)"] = {abbrev = "", color = "#EE82EE", shortname = "Democracy",},
["Democracy and Catalonia"] = {abbrev = "", color = "#F6BA1B", shortname = "",},
["Democracy and Freedom"] = {abbrev = "DiL", color = "#212765", shortname = "",},
["Democracy and Human Rights Party"] = {abbrev = "", color = "#2E3492", shortname = "",},
["Democracy and Progress Party"] = {abbrev = "", color = "#0069A7", shortname = "",},
["Democracy at Home Party"] = {abbrev = "PPDA", color = "#003399", shortname = "",},
["Democracy First"] = {abbrev = "", color = "#ff8c00", shortname = "",},
["Democracy Groundwork"] = {abbrev = "", color = "#FEED59", shortname = "",},
["Democracy in Europe Movement 2025"] = {abbrev = "DiEM25", color = "#ec5122", shortname = "",},
["Democracy in Motion"] = {abbrev = "DiB", color = "#263d80", shortname = "",},
["Democracy is Freedom – The Daisy"] = {abbrev = "", color = "#3CB371", shortname = "The Daisy",},
["DemocracyNZ"] = {abbrev = "", color = "#30B6C1", shortname = "",},
["Democracy Power Party"] = {abbrev = "", color = "#BC1D2D", shortname = "",},
["Democracy Yes"] = {abbrev = "", color = "#B713C5", shortname = "",},
["Democracy and Development through Unity"] = {abbrev = "DOE", color = "#C8ED69", shortname = "",},
["Democracy, Citizenry and Republic"] = {abbrev = "", color = "#FCDB10", shortname = "",},
["Democrat Party (Chile)"] = {abbrev = "", color = "#E3431F", shortname = "Democrat",},
["Democrat Party (Thailand)"] = {abbrev = "", color = "#00A1F1", shortname = "Democrat",},
["Democrat Party (Turkey, 1946–1961)"] = {abbrev = "DP", color = "#CD42B2", shortname = "",},
["Democrat Party (Turkey, current)"] = {abbrev = "DP", color = "#D360BC", shortname = "",},
["Democrat Party of Iran"] = {abbrev = "", color = "#093", shortname = "Democrat Party",},
["Democrat Social Movement"] = {abbrev = "", color = "#4CBB17", shortname = "",},
["Democrat Turkey Party"] = {abbrev = "DTP", color = "#DA7766", shortname = "",},
["Democrata Party"] = {abbrev = "", color = "#1434A4", shortname = "Democrata",},
["Democratic Accountants"] = {abbrev = "", color = "#47954E", shortname = "",},
["Democratic Action (El Salvador)"] = {abbrev = "AD", color = "#F95400", shortname = "",},
["Democratic Action (Thailand)"] = {abbrev = "", color = "#BA55D3", shortname = "Democratic Action",},
["Democratic Action (Venezuela)"] = {abbrev = "", color = "#C0C0C0", shortname = "Democratic Action",},
["Democratic Action Congress"] = {abbrev = "DAC", color = "#aa00d4", shortname = "",},
["Democratic Action Party (Kenya)"] = {abbrev = "DAP", color = "#313691", shortname = "",},
["Democratic Action Party (Spain)"] = {abbrev = "", color = "#3E4E3E", shortname = "",},
["Democratic Action Party"] = {abbrev = "DAP", color = "#ED1C24", shortname = "",},
["Democratic Agrarian Party of Romania"] = {abbrev = "PDAR", color = "yellow", shortname = "",},
["Democratic Action"] = {abbrev = "", color = "#C0C0C0", shortname = "",},
["Democratic Alignment (Cyprus)"] = {abbrev = "DIPA", color = "#00AEEF", shortname = "",},
["Democratic Alignment (2015)"] = {abbrev = "", color = "#2D902D", shortname = "",},
["Democratic Alliance (Bulgaria)"] = {abbrev = "", color = "gray", shortname = "",},
["Democratic Alliance (France)"] = {abbrev = "AD", color = "#FFBF00", shortname = "",},
["Democratic Alliance (Greece)"] = {abbrev = "", color = "#6D85CB", shortname = "",},
["Democratic Alliance (Italy)"] = {abbrev = "", color = "#228B22", shortname = "",},
["Democratic Alliance (New Zealand)"] = {abbrev = "", color = "#FFE802", shortname = "Democratic Alliance",},
["Democratic Alliance (Philippines)"] = {abbrev = "DA", color = "#DC143C", shortname = "Democratic Alliance",},
["Democratic Alliance (Portugal)"] = {abbrev = "AD", color = "#2A52BE", shortname = "",},
["Democratic Alliance (Portugal, 2024)"] = {abbrev = "AD", color = "#3777BC", shortname = "",},
["Democratic Alliance (South Africa)"] = {abbrev = "DA", color = "#005BA6", shortname = "Democratic Alliance",},
["Democratic Alliance (Ukraine)"] = {abbrev = "DA", color = "#193695", shortname = "",},
["Democratic Alliance (Venezuela)"] = {abbrev = "", color = "#0F52BA", shortname = "",},
["Democratic Alliance for Diversity and Awakening"] = {abbrev = "DAVA", color = "#078E92", shortname = "",},
["Democratic Alliance for Niger"] = {abbrev = "", color = "#337585", shortname = "",},
["Democratic Alliance for the Betterment and Progress of Hong Kong"] = {abbrev = "DAB", color = "#1861AC", shortname = "",},
["Democratic Alliance of Croats in Vojvodina"] = {abbrev = "DSHV", color = "#EE1C25", shortname = "",},
["Democratic Alliance of Hungarians in Romania"] = {abbrev = "UDMR", color = "#296633", shortname = "",},
["Democratic Alliance of Wales"] = {abbrev = "DAW", color = "#CCCCCC", shortname = "",},
["Democratic Alliance Party (Albania)"] = {abbrev = "AD", color = "#1369B2", shortname = "",},
["Democratic Alliance Party (Solomon Islands)"] = {abbrev = "", color = "#68C76D", shortname = "Democratic Alliance",},
["Democratic Alliance Party (Tunisia)"] = {abbrev = "", color = "Salmon", shortname = "",},
["Democratic Alternative '91"] = {abbrev = "DA'91", color = "#FFF212", shortname = "",},
["Democratic Alternative (Chile)"] = {abbrev = "", color = "#9ACD32", shortname = "",},
["Democratic Alternative (Finland)"] = {abbrev = "", color = "#FF4D00", shortname = "",},
["Democratic Alternative (Malta)"] = {abbrev = "", color = "#7AC143", shortname = "",},
["Democratic Alternative (North Macedonia)"] = {abbrev = "DA", color = "#800080", shortname = "",},
["Democratic Alternative (Serbia)"] = {abbrev = "DA", color = "#FA8383", shortname = "",},
["Democratic Alternative Party"] = {abbrev = "", color = "#EF7619", shortname = "",},
["Democratic Angola – Coalition"] = {abbrev = "AD–C", color = "#FF0000", shortname = "AD–Coligação",},
["Democratic and Independent Cape Verdean Union"] = {abbrev = "", color = "#0066ff", shortname = "",},
["Democratic and Popular Union"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Democratic and Progressive Union"] = {abbrev = "UDP/DPU", color = "#DAA520", shortname = "",},
["Democratic and Republican Alliance"] = {abbrev = "ADERE", color = "#1935D0", shortname = "",},
["Democratic and Republican Union"] = {abbrev = "URD", color = "#24445c", shortname = "",},
["Democratic and Social Centre (Spain)"] = {abbrev = "CDS", color = "#049456", shortname = "",},
["Democratic and Social Convention"] = {abbrev = "", color = "#679A6C", shortname = "CDS-Rahama",},
["Democratic and Social Movement (Algeria)"] = {abbrev = "MDS", color = "#006FB6", shortname = "",},
["Democratic and Social Movement (Morocco)"] = {abbrev = "", color = "#9AAD35", shortname = "",},
["Democratic and Social Party of Ceuta"] = {abbrev = "", color = "#29806D", shortname = "",},
["Democratic and Socialist Union of the Resistance"] = {abbrev = "UDSR", color = "#EF5327", shortname = "",},
["Democratic Ashkali Party of Kosovo"] = {abbrev = "", color = "#01B965", shortname = "",},
["Democratic Axe"] = {abbrev = "", color = "#84171C", shortname = "",},
["Democratic Azad Party"] = {abbrev = "DAP", color = "#FEF01E", shortname = "",},
["Democratic Beginning"] = {abbrev = "DA", color = "#000000", shortname = "",},
["Democratic Bloc (Poland)"] = {abbrev = "BD", color = "#F02F2A", shortname = "",},
["Democratic Bloc (Ukraine)"] = {abbrev = "", color = "#0087DC", shortname = "Democratic Bloc",},
["Democratic Bloc"] = {abbrev = "", color = "blue", shortname = "",},
["Democratic Bulgaria"] = {abbrev = "DB", color = "#004A80", shortname = "",},
["Democratic Center (Colombia)"] = {abbrev = "", color = "#1E90FF", shortname = "Democratic Center",},
["Democratic Center (Ecuador)"] = {abbrev = "", color = "#FF4500", shortname = "",},
["Democratic Centre of Macau"] = {abbrev = "CDM", color = "#DD0000", shortname = "Democratic",},
["Democratic Centre (Croatia)"] = {abbrev = "DC", color = "#006bb3", shortname = "",},
["Democratic Centre (France)"] = {abbrev = "CD", color = "#00CCCC", shortname = "",},
["Democratic Centre (Italy, 2013)"] = {abbrev = "", color = "#FF9900", shortname = "",},
["Democratic Centre (Italy)"] = {abbrev = "", color = "#E86055", shortname = "",},
["Democratic Centre (Latvia)"] = {abbrev = "", color = "blue", shortname = "Democratic Centre",},
["Democratic Centre (Serbia)"] = {abbrev = "DC", color = "#FFFF99", shortname = "",},
["Democratic Centre Coalition"] = {abbrev = "", color = "#4CB034", shortname = "",},
["Democratic Change (El Salvador)"] = {abbrev = "CD", color = "#FFFF00", shortname = "",},
["Democratic Change (Panama)"] = {abbrev = "CD", color = "#2A889B", shortname = "",},
["Democratic Change (South Sudan)"] = {abbrev = "", color = "#FB2026", shortname = "",},
["Democratic Choice (Russia, 2010)"] = {abbrev = "DemChoice", color = "#1C3F94", shortname = "",},
["Democratic Choice of Kazakhstan"] = {abbrev = "", color = "#0083cd", shortname = "",},
["Democratic Choice of Russia – United Democrats"] = {abbrev = "DVR–OD", color = "#3A46CE", shortname = "",},
["Democratic Choice of Russia"] = {abbrev = "", color = "#29166F", shortname = "",},
["Democratic Coalition (Hungary)"] = {abbrev = "DK", color = "#0067AA", shortname = "",},
["Democratic Coalition (Spain)"] = {abbrev = "CD", color = "#8E9629", shortname = "",},
["Democratic Coalition for DC Election"] = {abbrev = "", color = "#D38D4F", shortname = "Democratic Coalition",},
["Democratic Committee of Human Rights"] = {abbrev = "DCHR", color = "#691F6C", shortname = "",},
["Democratic Community of Welfare and Freedom"] = {abbrev = "JESZ", color = "#80BB3D", shortname = "",},
["Democratic Confederation of Labour (Morocco)"] = {abbrev = "", color = "#020202", shortname = "",},
["Democratic Congress"] = {abbrev = "DC", color = "#B70002", shortname = "",},
["Democratic Congress Kerala"] = {abbrev = "DCK", color = "#008080", shortname = "",},
["Democratic Consent–Republican Party"] = {abbrev = "ID–PR", color = "#317C41", shortname = "",},
["Democratic Conservative Party"] = {abbrev = "PCD", color = "#0000FF", shortname = "",},
["Democratic Constitutional Rally"] = {abbrev = "RCD", color = "FireBrick", shortname = "",},
["Democratic Convention of African Peoples"] = {abbrev = "", color = "red", shortname = "",},
["Democratic Convention of Moldova"] = {abbrev = "CDM", color = "#0061D4", shortname = "",},
["Democratic Convergence (El Salvador)"] = {abbrev = "CVD", color = "#DC241F", shortname = "",},
["Democratic Convergence of Catalonia"] = {abbrev = "CDC", color = "#232D7B", shortname = "",},
["Democratic Convergence Party (Guinea-Bissau)"] = {abbrev = "", color = "#0099FF", shortname = "",},
["Democratic Convergence Party (São Tomé and Príncipe)"] = {abbrev = "", color = "#1102DE", shortname = "",},
["Democratic Conviction"] = {abbrev = "", color = "#0098D8", shortname = "",},
["Democratic Current"] = {abbrev = "", color = "#FE6500", shortname = "",},
["Democratic Development Forum"] = {abbrev = "FDD", color = "#F0F040", shortname = "",},
["Democratic Development Party"] = {abbrev = "DDP", color = "red", shortname = "",},
["Democratic Electoral Commission"] = {abbrev = "", color = "darkred", shortname = "",},
["Democratic European Force"] = {abbrev = "", color = "#00CCCC", shortname = "",},
["Democratic Farmers' Party of Germany"] = {abbrev = "DBD", color = "#006600", shortname = "",},
["Democratic Fellowship of Vojvodina Hungarians"] = {abbrev = "VMDK", color = "green", shortname = "",},
["Democratic Force (Costa Rica)"] = {abbrev = "PFD", color = "#EB6109", shortname = "",},
["Democratic Force Party"] = {abbrev = "", color = "#CA3634", shortname = "Democratic Force",},
["Democratic Forces of Guiana"] = {abbrev = "", color = "#A71585", shortname = "",},
["Democratic Forum (Spain)"] = {abbrev = "", color = "#1C5530", shortname = "",},
["Democratic Forum for Labour and Liberties"] = {abbrev = "", color = "#660000", shortname = "Ettakatol",},
["Democratic Forum for Modernity"] = {abbrev = "", color = "purple", shortname = "",},
["Democratic Forum of Germans in Romania"] = {abbrev = "", color = "#AA2421", shortname = "",},
["Democratic Front (Bosnia and Herzegovina)"] = {abbrev = "DF", color = "#F16822", shortname = "",},
["Democratic Front (Cyprus)"] = {abbrev = "DIPA", color = "#26ACE2", shortname = "",},
["Democratic Front (Montenegro)"] = {abbrev = "DF", color = "#00008B", shortname = "",},
["Democratic Front (Peru)"] = {abbrev = "FREDEMO", color = "#50a7f7", shortname = "",},
["Democratic Front (Thailand)"] = {abbrev = "", color = "#FE9059", shortname = "Democratic Front",},
["Democratic Front for the Liberation of Palestine"] = {abbrev = "DFLP", color = "#D10A2B", shortname = "",},
["Democratic Front for the Reunification of Korea"] = {abbrev = "FF", color = "#FF3333", shortname = "Fatherland Front",},
["Democratic Front of Albania"] = {abbrev = "", color = "#EF4A2E", shortname = "Democratic Front",},
["Democratic Front Party"] = {abbrev = "", color = "#87CEFA", shortname = "",},
["Democratic Galicianist Party"] = {abbrev = "", color = "#3886AC", shortname = "",},
["Democratic Generation Party"] = {abbrev = "", color = "#A9A5B4", shortname = "",},
["Democratic Green Party of Rwanda"] = {abbrev = "", color = "#00FA9A", shortname = "",},
["Democratic Groundwork"] = {abbrev = "", color = "#FEED59", shortname = "",},
["Democratic Group of Albacete"] = {abbrev = "ADA", color = "#4F836A", shortname = "",},
["Democratic Group of the Centre"] = {abbrev = "GDC", color = "yellow", shortname = "",},
["Democratic Hope"] = {abbrev = "", color = "#DE2118", shortname = "",},
["Democratic Hygiene"] = {abbrev = "", color = "#4F6179", shortname = "",},
["Democratic Independence Party"] = {abbrev = "", color = "#AE872A", shortname = "",},
["Democratic Independent Party"] = {abbrev = "", color = "gold", shortname = "",},
["Democratic Independent Regionalist Party"] = {abbrev = "", color = "#4A1C51", shortname = "",},
["Democratic Indira Congress (Karunakaran)"] = {abbrev = "DIC", color = "darkblue", shortname = "",},
["Democratic Initiative for Benalmádena"] = {abbrev = "", color = "#22305E", shortname = "",},
["Democratic Innovation Party"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Democratic Israel"] = {abbrev = "", color = "#0E0348", shortname = "",},
["Democratic Jewish Union"] = {abbrev = "ŽDS", color = "#7F51C7", shortname = "",},
["Democratic Justice Party"] = {abbrev = "DJP", color = "#004C97", shortname = "Democratic Justice",},
["Democratic Justice Party (1987)"] = {abbrev = "DJP", color = "#0A84E9", shortname = "Democratic Justice",},
["Democratic Korea Party"] = {abbrev = "DKP", color = "#ED2939", shortname = "Democratic Korea",},
["Democratic Labor Party (historical)"] = {abbrev = "DLP", color = "#008080", shortname = "",},
["Democratic Labor Party (South Korea)"] = {abbrev = "DLP", color = "#FF6600", shortname = "Democratic Labor",},
["Democratic Labor Party"] = {abbrev = "", color = "#FF9C00", shortname = "",},
["Democratic Labour Party (Australia)"] = {abbrev = "DLP", color = "#EEAF30", shortname = "",},
["Democratic Labour Party (Barbados)"] = {abbrev = "DLP", color = "#FFD700", shortname = "",},
["Democratic Labour Party (Brazil)"] = {abbrev = "PDT", color = "#DC143C", shortname = "",},
["Democratic Labour Party (New Zealand)"] = {abbrev = "", color = "#FFA500", shortname = "Democratic Labour",},
["Democratic Labour Party (Trinidad and Tobago)"] = {abbrev = "DLP", color = "#e25822", shortname = "",},
["Democratic Labour Party (UK, 1972)"] = {abbrev = "", color = "#FF6600", shortname = "Democratic Labour",},
["Democratic Labour Party (UK, 1998)"] = {abbrev = "", color = "#E32636", shortname = "Democratic Labour",},
["Democratic Labour Party of Lithuania"] = {abbrev = "LDDP", color = "#E75480", shortname = "",},
["Democratic League (Catalonia)"] = {abbrev = "", color = "#002D70", shortname = "",},
["Democratic League in Montenegro"] = {abbrev = "DSCG", color = "cornflowerblue", shortname = "",},
["Democratic League of Dardania"] = {abbrev = "", color = "#005CA7", shortname = "",},
["Democratic League of Kosovo"] = {abbrev = "LDK", color = "#F37476", shortname = "",},
["Democratic League/Movement for the Labour Party"] = {abbrev = "", color = "#E392B6", shortname = "",},
["Democratic Left (Ecuador)"] = {abbrev = "ID", color = "#FFA500", shortname = "",},
["Democratic Left (Greece)"] = {abbrev = "DIMAR", color = "#FF4100", shortname = "",},
["Democratic Left (Ireland)"] = {abbrev = "DL", color = "#C700C7", shortname = "Democratic Left",},
["Democratic Left (Spain)"] = {abbrev = "", color = "#DB0000", shortname = "",},
["Democratic Left (UK)"] = {abbrev = "", color = "#CC0033", shortname = "Democratic Left",},
["Democratic Left Alliance – Labour Union"] = {abbrev = "SLD-UP", color = "#CA2021", shortname = "",},
["Democratic Left Alliance (Poland)"] = {abbrev = "SLD", color = "#E2001A", shortname = "",},
["Democratic Left Association"] = {abbrev = "SLD", color = "#E30A15", shortname = "",},
["Democratic Left Front (Spain)"] = {abbrev = "", color = "#7F517C", shortname = "",},
["Democratic Left Front (Sri Lanka)"] = {abbrev = "", color = "#F90818", shortname = "",},
["Democratic Left Movement (Lebanon)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Democratic Left of Catalonia"] = {abbrev = "", color = "#FFE507", shortname = "",},
["Democratic Left Party (Turkey)"] = {abbrev = "DSP", color = "#02CDFF", shortname = "",},
["Democratic Left Scotland"] = {abbrev = "", color = "#CC0033", shortname = "Democratic Left",},
["Democratic Leftwing Republican Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Democratic Liberal Congress"] = {abbrev = "", color = "#F70000", shortname = "",},
["Democratic Liberal Party (Japan)"] = {abbrev = "DLP", color = "#42A46B", shortname = "Democratic Liberal",},
["Democratic Liberal Party (Romania)"] = {abbrev = "PDL", color = "#FF6633", shortname = "",},
["Democratic Liberal Party (South Korea)"] = {abbrev = "DLP", color = "#003990", shortname = "Democratic Liberal",},
["Democratic List"] = {abbrev = "", color = "#FDFF46", shortname = "",},
["Democratic List for Israeli Arabs"] = {abbrev = "", color = "#AF0000", shortname = "",},
["Democratic List of Nazareth"] = {abbrev = "", color = "#AF0000", shortname = "",},
["Democratic Majority (Spain)"] = {abbrev = "", color = "#0086D6", shortname = "",},
["Democratic Montenegro"] = {abbrev = "DCG", color = "#F5911D", shortname = "",},
["Democratic Movement – United Georgia"] = {abbrev = "", color = "#0067A5", shortname = "",},
["Democratic Movement (France)"] = {abbrev = "", color = "#EF5327", shortname = "MoDem",},
["Democratic Movement (San Marino)"] = {abbrev = "MD", color = "#F80000", shortname = "",},
["Democratic Movement for Change"] = {abbrev = "", color = "#253EFE", shortname = "Dash",},
["Democratic Movement of Mozambique"] = {abbrev = "MDM", color = "#F9B63C", shortname = "",},
["Democratic Movement of Serbia"] = {abbrev = "DEPOS", color = "#1A4A96", shortname = "",},
["Democratic Municipal Action"] = {abbrev = "", color = "#FF610F", shortname = "",},
["Democratic Nasserist Party"] = {abbrev = "", color = "green", shortname = "",},
["Democratic National Alliance (Antigua & Barbuda)"] = {abbrev = "DNA", color = "#EB8123", shortname = "",},
["Democratic National Alliance (Bahamas)"] = {abbrev = "DNA", color = "#419b41", shortname = "",},
["Democratic National Alliance (Sri Lanka)"] = {abbrev = "", color = "#CCCC33", shortname = "Democratic National Alliance",},
["Democratic National Assembly"] = {abbrev = "", color = "#add8e6", shortname = "",},
["Democratic National Association"] = {abbrev = "", color = "#00008B", shortname = "",},
["Democratic National Front Party"] = {abbrev = "", color = "#BA0E00", shortname = "",},
["Democratic National Front"] = {abbrev = "", color = "#EB6F53", shortname = "",},
["Democratic National Initiative"] = {abbrev = "IDN", color = "#FF00D4", shortname = "",},
["Democratic National Party (Cyprus)"] = {abbrev = "DEK", color = "#783B12", shortname = "",},
["Democratic National Rally"] = {abbrev = "RND", color = "#003153", shortname = "",},
["Democratic National Salvation Front"] = {abbrev = "FDSN", color = "#cc3333", shortname = "",},
["Democratic Nationalist Party (Malta, 1959–1966)"] = {abbrev = "PDN", color = "#A02C2C", shortname = "",},
["Democratic Nationalist Party (Romania)"] = {abbrev = "PND", color = "#000000", shortname = "",},
["Democratic Nationalist Party (South Korea)"] = {abbrev = "DNP", color = "#9acd32", shortname = "Democratic Nationalist",},
["Democratic Nationalists"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Democratic Nationhood Party"] = {abbrev = "PDK", color = "#054C30", shortname = "",},
["Democratic Network"] = {abbrev = "", color = "white", shortname = "",},
["Democratic Non-Partisan Alliance"] = {abbrev = "DNPA", color = "#FF0D6C", shortname = "",},
["Democratic New Macau Association"] = {abbrev = "", color = "#008000", shortname = "",},
["Democratic Opposition of Serbia"] = {abbrev = "DOS", color = "#C0C0C0", shortname = "",},
["Democratic Pact for Catalonia"] = {abbrev = "PDC", color = "#FFC400", shortname = "",},
["Democratic Partnership"] = {abbrev = "", color = "khaki", shortname = "",},
["Democratic Party – demokraci.pl"] = {abbrev = "", color = "#FF9900", shortname = "",},
["Democratic Party (1912)"] = {abbrev = "", color = "#008000", shortname = "Democratic",},
["Democratic Party (1943)"] = {abbrev = "", color = "#6482BF", shortname = "",},
["Democratic Party (Argentina)"] = {abbrev = "PD", color = "#192B6B", shortname = "Democratic Party",},
["Democratic Party (Brazil, 1925-1934)"] = {abbrev = "PD", color = "#191198", shortname= "",},
["Democratic Party (Bulgaria)"] = {abbrev = "", color = "gold", shortname = "",},
["Democratic Party (Cambodia)"] = {abbrev = "", color = "#800080", shortname = "Democratic",},
["Democratic Party (Chile)"] = {abbrev = "", color = "#00FF00", shortname = "",},
["Democratic Party (Cook Islands)"] = {abbrev = "", color = "#1E90FF", shortname = "Democratic",},
["Democratic Party (Costa Rica)"] = {abbrev = "", color = "#2136C2", shortname = "Democratic",},
["Democratic Party (Cuba)"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Democratic Party (Curaçao)"] = {abbrev = "", color = "#E41E2A", shortname = "",},
["Democratic Party (Cyprus)"] = {abbrev = "DIKO", color = "#E07C00", shortname = "",},
["Democratic Party (East Timor)"] = {abbrev = "PD", color = "#004080", shortname = "Democratic",},
["Democratic Party (Georgia)"] = {abbrev = "", color = "#8F8FBF", shortname = "",},
["Democratic Party (Hong Kong)"] = {abbrev = "", color = "#5FB04A", shortname = "Democratic",},
["Democratic Party (Hungary)"] = {abbrev = "DEMP", color = "#1560BD", shortname = "",},
["Democratic Party (Indonesia)"] = {abbrev = "", color = "#2643A3", shortname = "Demokrat",},
["Democratic Party (Italy)"] = {abbrev = "", color = "#EF1C27", shortname = "Democratic Party",},
["Democratic Party (Japan, 1947)"] = {abbrev = "", color = "#EC9502", shortname = "Democratic",},
["Democratic Party (Japan, 1954)"] = {abbrev = "", color = "#99AF25", shortname = "Democratic",},
["Democratic Party (Japan, 1996)"] = {abbrev = "", color = "#E60000", shortname = "Democratic",},
["Democratic Party (Japan, 1998)"] = {abbrev = "", color = "#CE2029", shortname = "Democratic",},
["Democratic Party (Japan, 2016)"] = {abbrev = "", color = "#02217b", shortname = "Democratic",},
["Democratic Party (Kenya)"] = {abbrev = "", color = "#336600", shortname = "Democratic",},
["Democratic Party (Laos)"] = {abbrev = "", color = "#FFCD00", shortname = "",},
["Democratic Party (Luxembourg)"] = {abbrev = "DP", color = "#002C4F", shortname = "",},
["Democratic Party (Macedonia)"] = {abbrev = "DP", color = "#3016C8", shortname = "",},
["Democratic Party (Malta)"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Democratic Party (Mendoza)"] = {abbrev = "", color = "#192B6B", shortname = "Democratic Party",},
["Democratic Party (Mongolia)"] = {abbrev = "", color = "#11479E", shortname = "Democratic",},
["Democratic Party (Montenegro)"] = {abbrev = "", color = "#09B2ED", shortname = "",},
["Democratic Party (Myanmar)"] = {abbrev = "DP", color = "#FFB00D", shortname = "",},
["Democratic Party (Nicaragua)"] = {abbrev = "", color = "#800000", shortname = "Democratic",},
["Democratic Party (Northern Cyprus)"] = {abbrev = "DP", color = "#DC241f", shortname = "",},
["Democratic Party (Peru)"] = {abbrev = "", color = "#FF3333", shortname = "",},
["Democratic Party (Philippines)"] = {abbrev = "", color = "#1E90FF", shortname = "Democratic",},
["Democratic Party (Poland)"] = {abbrev = "SD", color = "#6495ED", shortname = "",},
["Democratic Party (Portugal)"] = {abbrev = "PD", color = "#FF69B4", shortname = "Democratic",},
["Democratic Party (Romania)"] = {abbrev = "PD", color = "#FF6633", shortname = "",},
["Democratic Party (Serbia)"] = {abbrev = "DS", color = "#FFE000", shortname = "",},
["Democratic Party (Singapore)"] = {abbrev = "DP", color = "#DD6777", shortname = "",},
["Democratic Party (Sint Eustatius)"] = {abbrev = "DP", color = "#C00000", shortname = "",},
["Democratic Party (SL)"] = {abbrev = "", color = "#800080", shortname = "",},
["Democratic Party (Slovakia, 1944)"] = {abbrev = "DS", color = "#002FA7", shortname = "",},
["Democratic Party (Slovakia, 1989)"] = {abbrev = "DS", color = "#002FA7", shortname = "",},
["Democratic Party (Solomon Islands)"] = {abbrev = "", color = "#FFEB33", shortname = "Democratic Party",},
["Democratic Party (South Africa)"] = {abbrev = "DP", color = "#6699CC", shortname = "",},
["Democratic Party (South Korea, 1955)"] = {abbrev = "DP", color = "#000080", shortname = "Democratic",},
["Democratic Party (South Korea, 1990)"] = {abbrev = "DP", color = "#DA2C43", shortname = "Democratic",},
["Democratic Party (South Korea, 1991)"] = {abbrev = "DP", color = "#D82634", shortname = "Democratic",},
["Democratic Party (South Korea, 1995)"] = {abbrev = "DP", color = "#009D68", shortname = "Democratic",},
["Democratic Party (South Korea, 2005)"] = {abbrev = "DP", color = "#00736D", shortname = "Democratic",},
["Democratic Party (South Korea, 2008)"] = {abbrev = "DP", color = "#019E33", shortname = "Democratic",},
["Democratic Party (South Korea, 2011)"] = {abbrev = "DP", color = "#FAC71A", shortname = "Democratic",},
["Democratic Party (South Korea, May 2013)"] = {abbrev = "DP", color = "#28A54A", shortname = "Democratic",},
["Democratic Party (South Korea, September 2013)"] = {abbrev = "DP", color = "#015DA9", shortname = "Democratic",},
["Democratic Party (Sri Lanka)"] = {abbrev = "", color = "#800080", shortname = "Democratic",},
["Democratic Party (Switzerland)"] = {abbrev = "", color = "#0B3861", shortname = "Democratic",},
["Democratic Party (Tajikistan)"] = {abbrev = "", color = "#0080FF", shortname = "",},
["Democratic Party (Tanzania)"] = {abbrev = "", color = "black", shortname = "",},
["Democratic Party (Turkey, 1970)"] = {abbrev = "DP", color = "#ffa500", shortname = "",},
["Democratic Party (Turkey, 1992)"] = {abbrev = "DP", color = "#341D47", shortname = "",},
["Democratic Party (Uganda)"] = {abbrev = "DP", color = "#0C713A", shortname = "",},
["Democratic Party (UK, 1942)"] = {abbrev = "", color = "lightyellow", shortname = "Democratic",},
["Democratic Party (UK, 1969)"] = {abbrev = "", color = "#ffffff", shortname = "Democratic Party",},
["Democratic Party (United States)"] = {abbrev = "D", color = "#3333FF", shortname = "Democratic",},
["Democratic Party (Yugoslavia)"] = {abbrev = "DS", color = "#FFD300", shortname = "",},
["Democratic Party (Zambia)"] = {abbrev = "", color = "#ff338c", shortname = "",},
["Democratic Party \"Saimnieks\""] = {abbrev = "", color = "#861623", shortname = "",},
["Democratic Party – Democratic and Progressive Italy"] = {abbrev = "", color = "#E30613", shortname = "Democratic Party – IDP",},
["Democratic Party Adilet"] = {abbrev = "", color = "#0085fc", shortname = "",},
["Democratic Party for a British Gibraltar"] = {abbrev = "DPBG", color = "", shortname = "",},
["Democratic Party for Progress – Angolan National Alliance"] = {abbrev = "PDP–ANA", color = "#009900", shortname = "",},
["Democratic Party for the People"] = {abbrev = "DPP", color = "#FFBA00", shortname = "",},
["Democratic Party of Albania"] = {abbrev = "PD", color = "#00529C", shortname = "",},
["Democratic Party of Albanians"] = {abbrev = "PDSh", color = "black", shortname = "",},
["Democratic Party of Armenia"] = {abbrev = "", color = "#EC1B24", shortname = "",},
["Democratic Party of Artsakh"] = {abbrev = "", color = "#0072B9", shortname = "Democratic Party",},
["Democratic Party of Chile (1988)"] = {abbrev = "", color = "#000080", shortname = "",},
["Democratic Party of Equatorial Guinea"] = {abbrev = "PDGE", color = "#3051A3", shortname = "",},
["Democratic Party of Greens"] = {abbrev = "DSZ", color = "#007b33", shortname = "",},
["Democratic Party of Guinea – African Democratic Rally"] = {abbrev = "PDG-RDA", color = "#000000", shortname = "",},
["Democratic Party of India (Ambedkar)"] = {abbrev = "DPIA (A)", color = "", shortname = "",},
["Democratic Party of Iranian Kurdistan"] = {abbrev = "KDPI", color = "#FC0000", shortname = "",},
["Democratic Party of Ivory Coast – African Democratic Rally"] = {abbrev = "PDCI–RDA", color = "#0FAF32", shortname = "",},
["Democratic Party of Kazakhstan"] = {abbrev = "", color = "#01AEF3", shortname = "",},
["Democratic Party of Korea"] = {abbrev = "DPK", color = "#004EA2", shortname = "Democratic",},
["Democratic Party of Kosovo"] = {abbrev = "PDK", color = "#2E96D2", shortname = "",},
["Democratic Party of Labour"] = {abbrev = "PDM", color = "#ED2128", shortname = "",},
["Democratic Party of Lesotho"] = {abbrev = "DPL", color = "#4c196e", shortname = "",},
["Democratic Party of Macedonia"] = {abbrev = "DPM", color = "blue", shortname = "",},
["Democratic Party of Macedonians"] = {abbrev = "DPM", color = "#F7D10C", shortname = "",},
["Democratic Party of Moldova"] = {abbrev = "PDM", color = "#264B9D", shortname = "",},
["Democratic Party of Nauru"] = {abbrev = "", color = "#002B7F", shortname = "",},
["Democratic Party of Pensioners of Slovenia"] = {abbrev = "DeSUS", color = "#8DC63F", shortname = "",},
["Democratic Party of Pensioners"] = {abbrev = "", color = "grey", shortname = "",},
["Democratic Party of Republika Srpska"] = {abbrev = "", color = "blue", shortname = "",},
["Democratic Party of Russia"] = {abbrev = "DPR", color = "#DBB726", shortname = "",},
["Democratic Party of Serbia"] = {abbrev = "DSS", color = "#126180", shortname = "",},
["Democratic Party of Serbs in Macedonia"] = {abbrev = "DPSM", color = "#DE0000", shortname = "",},
["Democratic Party of Slovenia"] = {abbrev = "", color = "#3300B2", shortname = "",},
["Democratic Party of Socialists of Montenegro (2021)"] = {abbrev = "DPS", color = "#524FA1", shortname = "",},
["Democratic Party of Socialists of Montenegro"] = {abbrev = "DPS", color = "#F58634", shortname = "",},
["Democratic Party of the Atlantic"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Democratic Party of the Friendly Islands"] = {abbrev = "DPFI", color = "#C20100", shortname = "",},
["Democratic Party of the Left"] = {abbrev = "PDS", color = "#C72F35", shortname = "",},
["Democratic Party of the New Left"] = {abbrev = "", color = "#FD3C0B", shortname = "",},
["Democratic Party of the Philippines"] = {abbrev = "DPP", color = "#0054A5", shortname = "",},
["Democratic Party of Trinidad and Tobago"] = {abbrev = "DPTT", color = "#2A3A8C", shortname = "",},
["Democratic Party of Turkmenistan"] = {abbrev = "TDP", color = "#1CC858", shortname = "",},
["Democratic Party of Turks"] = {abbrev = "DPTM", color = "red", shortname = "",},
["Democratic Party of Ukraine"] = {abbrev = "DPU", color = "#025BAB", shortname = "",},
["Democratic Party of Vietnam"] = {abbrev = "", color = "#0055A4", shortname = "",},
["Democratic Party of Vojvodina Hungarians"] = {abbrev = "", color = "#5c7b59", shortname = "",},
["Democratic Party of Zagorje"] = {abbrev = "", color = "#70bd5d", shortname = "",},
["Democratic Party Sint Maarten"] = {abbrev = "DP", color = "#e21c1a", shortname = "",},
["Democratic Patriotic Alliance of Kurdistan"] = {abbrev = "DPAK", color = "#CCFF33", shortname = "",},
["Democratic Patriots' Unified Party"] = {abbrev = "", color = "#D80100", shortname = "",},
["Democratic Peace Party"] = {abbrev = "", color = "#8DB7E9", shortname = "",},
["Democratic Peasants' Party–Lupu"] = {abbrev = "", color = "#B7D749", shortname = "PȚD–Lupu",},
["Democratic People (Spain)"] = {abbrev = "DP", color = "#5BB829", shortname = "",},
["Democratic People's Alliance"] = {abbrev = "DNS", color = "#2B0E72", shortname = "",},
["Democratic People's Front"] = {abbrev = "DPF", color = "#FF0000", shortname = "",},
["Democratic People's Movement"] = {abbrev = "DPM", color = "#FF4500", shortname = "",},
["Democratic People's Party (Ghana)"] = {abbrev = "DPP", color = "#FF0000", shortname = "",},
["Democratic People's Party (Montenegro)"] = {abbrev = "DPP", color = "#005DA3", shortname = "",},
["Democratic People's Party (San Marino)"] = {abbrev = "PDP", color = "#0068C1", shortname = "",},
["Democratic People's Party (South Korea)"] = {abbrev = "DPP", color = "#353F9C", shortname = "",},
["Democratic People's Party (Turkey)"] = {abbrev = "DHP", color = "#437CCD", shortname = "",},
["Democratic People's Union"] = {abbrev = "DNZ", color = "#048AEB", shortname = "",},
["Democratic People"] = {abbrev = "DP", color = "#5AC2C5", shortname = "",},
["Democratic Progress Party"] = {abbrev = "DGP", color = "#FF0000", shortname = "",},
["Democratic Progressive Party (Argentina)"] = {abbrev = "PDP", color = "#005C9E", shortname = "Democratic Progressive Party",},
["Democratic Progressive Party (Austria)"] = {abbrev = "DFP", color = "#FFE500", shortname = "",},
["Democratic Progressive Party (Malawi)"] = {abbrev = "DPP", color = "#1E90FF", shortname = "",},
["Democratic Progressive Party (Singapore)"] = {abbrev = "DPP", color = "#FF9900", shortname = "",},
["Democratic Progressive Party (Spain)"] = {abbrev = "", color = "#C92B7D", shortname = "Democratic",},
["Democratic Progressive Party"] = {abbrev = "DPP", color = "#1B9431", shortname = "",},
["Democratic Prosperous Macau Association"] = {abbrev = "", color = "#006400", shortname = "",},
["Democratic Rally of the Comorian People"] = {abbrev = "RDPC", color = "#FFFFFF", shortname = "",},
["Democratic Rally of the Comoros"] = {abbrev = "RDC", color = "#32CD32", shortname = "",},
["Democratic Rally"] = {abbrev = "DISY", color = "#1569C7", shortname = "",},
["Democratic Reform Party (Japan)"] = {abbrev = "", color = "#FF0000", shortname = "Democratic Reform",},
["Democratic Reform"] = {abbrev = "", color = "#2A52BE", shortname = "",},
["Democratic Reform Party of Muslims"] = {abbrev = "DRSM", color = "#74C365", shortname = "",},
["Democratic Reformist Party"] = {abbrev = "", color = "#D13C21", shortname = "",},
["Democratic Reforms Party"] = {abbrev = "", color = "#333399", shortname = "Democratic Reforms",},
["Democratic Regional Union"] = {abbrev = "DPE", color = "darkorange", shortname = "",},
["Democratic Regions Party"] = {abbrev = "DBP", color = "#30A13E", shortname = "",},
["Democratic Renewal (Andorra)"] = {abbrev = "", color = "orange", shortname = "",},
["Democratic Renewal of Macedonia"] = {abbrev = "", color = "#8DC73F", shortname = "",},
["Democratic Renewal Party (Angola)"] = {abbrev = "PRD", color = "#662531", shortname = "",},
["Democratic Renewal Party (Brazil)"] = {abbrev = "PRD", color = "#008000", shortname = "",},
["Democratic Renewal Party (Benin)"] = {abbrev = "PRD", color = "#FFFA00", shortname = "",},
["Democratic Renewal Party (Cape Verde)"] = {abbrev = "", color = "#02569F", shortname = "",},
["Democratic Renewal Party (Portugal)"] = {abbrev = "PRD", color = "#008000", shortname = "",},
["Democratic Renewal"] = {abbrev = "DIANA", color = "#007FFF", shortname = "",},
["Democratic Renewal Party (Costa Rica)"] = {abbrev = "PRD", color = "#2C93FB", shortname = "",},
["Democratic Renovation"] = {abbrev = "", color = "orange", shortname = "",},
["Democratic Republic of Timor-Leste Party"] = {abbrev = "PDRT", color = "#DE5D83", shortname = "",},
["Democratic Republican Party (South Korea)"] = {abbrev = "", color = "#835B38", shortname = "Democratic Republican",},
["Democratic Republican Alliance"] = {abbrev = "ARD", color = "#FFBF00", shortname = "",},
["Democratic Republican Party (South Korea, 1997)"] = {abbrev = "", color = "#0D90D6", shortname = "Democratic Republican",},
["Democratic Republican Union"] = {abbrev = "", color = "#feed01", shortname = "",},
["Democratic Revival"] = {abbrev = "DA", color = "darkblue", shortname = "",},
["Democratic Revolution"] = {abbrev = "", color = "#1D4C4F", shortname = "",},
["Democratic Revolutionary Alliance (Bolivia)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Democratic Revolutionary Front – New Alternative"] = {abbrev = "FDR", color = "#1FA045", shortname = "",},
["Democratic Revolutionary Nationalist Party"] = {abbrev = "", color = "#bb0000", shortname = "",},
["Democratic Revolutionary Party"] = {abbrev = "PRD", color = "#003F87", shortname = "",},
["Democratic Revolutionary Peoples Party"] = {abbrev = "DRPP", color = "#006400", shortname = "",},
["Democratic Rioja"] = {abbrev = "", color = "#FFFF6F", shortname = "",},
["Democratic Senate"] = {abbrev = "", color = "#DB64DB", shortname = "",},
["Democratic Serb Party (Montenegro)"] = {abbrev = "DSS", color = "Darkblue", shortname = "",},
["Democratic Social Christian Party"] = {abbrev = "", color = "#556627", shortname = "",},
["Democratic Social Justice Party"] = {abbrev = "DSJP", color = "#A91B0D", shortname = "",},
["Democratic Social Movement"] = {abbrev = "DIKKI", color = "#FF7F00", shortname = "",},
["Democratic Social Party"] = {abbrev = "PDS", color = "#0067A5", shortname = "",},
["Democratic Social-Revolutionary Party of Cuba"] = {abbrev = "", color = "#D21F1B", shortname = "",},
["Democratic Socialism (Chile)"] = {abbrev = "SD", color = "#B7051F", shortname = "",},
["Democratic Socialist Alliance (Spain)"] = {abbrev = "", color = "#EE3507", shortname = "",},
["Democratic Socialist Alliance"] = {abbrev = "", color = "#CC4E5C", shortname = "",},
["Democratic Socialist Coalition"] = {abbrev = "CSD", color = "#00BFFF", shortname = "",},
["Democratic Socialist Left"] = {abbrev = "", color = "#D2323A", shortname = "",},
["Democratic Socialist Party (Argentina)"] = {abbrev = "PSD", color = "#FF9900", shortname = "Democratic Socialist Party",},
["Democratic Socialist Party (Ireland)"] = {abbrev = "DSP", color = "#FF0099", shortname = "Democratic Socialist",},
["Democratic Socialist Party (Japan)"] = {abbrev = "", color = "#FF4F4F", shortname = "Democratic Socialist",},
["Democratic Socialist Party (Morocco)"] = {abbrev = "", color = "#188410", shortname = "",},
["Democratic Socialist Party (Prabodh Chandra)"] = {abbrev = "DSP(PC)", color = "#FF033E", shortname = "",},
["Democratic Socialist Party (South Korea)"] = {abbrev = "", color = "#FF8000", shortname = "Democratic Socialist",},
["Democratic Socialist Party of Greece"] = {abbrev = "", color = "Yellow", shortname = "",},
["Democratic Socialist Radical Party"] = {abbrev = "", color = "#800080", shortname = "",},
["Democratic Socialist Unionist Party"] = {abbrev = "", color = "red", shortname = "",},
["Democratic Socialists '70"] = {abbrev = "DS'70", color = "#A21756", shortname = "",},
["Democratic Socialists of America"] = {abbrev = "", color = "#EB2128", shortname = "",},
["Democratic Society Alliance"] = {abbrev = "", color = "#74C365", shortname = "",},
["Democratic Society Congress"] = {abbrev = "DTK", color = "#029E4A", shortname = "",},
["Democratic Society Party"] = {abbrev = "DTP", color = "#008000", shortname = "",},
["Democratic swaraj party"] = {abbrev = "DSP", color = "#000000", shortname = "",},
["Democratic Tamil National Alliance"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Democratic Tumu Party"] = {abbrev = "", color = "#C8102E", shortname = "Democratic Tumu",},
["Democratic Turkish Union of Romania"] = {abbrev = "RDTB", color = "#E30A17", shortname = "",},
["Democratic Unification Party (South Korea)"] = {abbrev = "", color = "#c93", shortname = "Democratic Unification",},
["Democratic Unification Party"] = {abbrev = "UD", color = "#FEF100", shortname = "",},
["Democratic Union (Czech Republic)"] = {abbrev = "DEU", color = "#6D051C", shortname = "",},
["Democratic Union (Greece)"] = {abbrev = "DE", color = "#FFC0CB", shortname = "",},
["Democratic Union (Greece, 1956)"] = {abbrev = "DE", color = "#FFA500", shortname = "",},
["Democratic Union (Guatemala)"] = {abbrev = "UD", color = "#4fadea", shortname = "",},
["Democratic Union (Israel)"] = {abbrev = "", color = "#029A3D", shortname = "Democratic Union",},
["Democratic Union (Italy)"] = {abbrev = "", color = "#800080", shortname = "",},
["Democratic Union (Bosnia and Herzegovina)"] = {abbrev = "DEMOS", color = "#ED1C24", shortname = "",},
["Democratic Union (Poland)"] = {abbrev = "UD", color = "#DB812E", shortname = "",},
["Democratic Union Coalition (1996–2000)"] = {abbrev = "", color = "#074DA9", shortname = "Democratic Union",},
["Democratic Union for Integration"] = {abbrev = "BDI", color = "#344b9b", shortname = "",},
["Democratic Union for Revival"] = {abbrev = "DAK", color = "#1F2563", shortname = "",},
["Democratic Union for the Respect of Labour"] = {abbrev = "UDRT/RAD", color = "black", shortname = "",},
["Democratic Union for the Republic"] = {abbrev = "", color = "#FF7F00", shortname = "",},
["Democratic Union Movement"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Democratic Union of Albanians"] = {abbrev = "UDSH", color = "#E65532", shortname = "",},
["Democratic Union of Catalonia"] = {abbrev = "", color = "#0053A1", shortname = "",},
["Democratic Union of Croats"] = {abbrev = "DZH", color = "#E5111D", shortname = "",},
["Democratic Union of Hungarians in Romania"] = {abbrev = "", color = "#15803C", shortname = "",},
["Democratic Union of Hungarians of Croatia"] = {abbrev = "DZMH", color = "#15803C", shortname = "",},
["Democratic Union of Slovakia"] = {abbrev = "DEÚS", color = "#007BA7", shortname = "",},
["Democratic Union of Slovaks and Czechs of Romania"] = {abbrev = "UDSCR", color = "#1136F2", shortname = "",},
["Democratic Union of Taiwan"] = {abbrev = "", color = "#FF9826", shortname = "Democratic Union",},
["Democratic Union of the Malian People"] = {abbrev = "UDPM", color = "#008000", shortname = "",},
["Democratic Union of the Region of Murcia"] = {abbrev = "", color = "#039C06", shortname = "",},
["Democratic Union of the Rwandan People"] = {abbrev = "", color = "#344EA3", shortname = "",},
["Democratic Union of the Vlachs of Macedonia"] = {abbrev = "DSVM", color = "", shortname = "",},
["Democratic Union of Turkish-Muslim Tatars of Romania"] = {abbrev = "RMTTDB", color = "yellow", shortname = "",},
["Democratic Union Party (Romania)"] = {abbrev = "PDU", color = "blue", shortname = "",},
["Democratic Union–Broad Centre"] = {abbrev = "", color = "#F6643D", shortname = "",},
["Democratic Unionist Party (Sudan)"] = {abbrev = "DUP", color = "#00A6EF", shortname = "",},
["Democratic Unionist Party"] = {abbrev = "DUP", color = "#D46A4C", shortname = "",},
["Democratic United National Front"] = {abbrev = "", color = "green", shortname = "",},
["Democratic United Party"] = {abbrev = "", color = "#FFD400", shortname = "Democratic United",},
["Democratic Unity Alliance"] = {abbrev = "", color = "#F8A718", shortname = "",},
["Democratic Unity Roundtable"] = {abbrev = "MUD", color = "#0F52BA", shortname = "",},
["Democratic Way (Spain)"] = {abbrev = "", color = "#FFAE00", shortname = "",},
["Democratic Way Party"] = {abbrev = "", color = "#87a1fe", shortname = "",},
["Democratic Women's League of Germany"] = {abbrev = "", color = "#3d61d6", shortname = "",},
["Democratic-Independent Party (North Dakota)"] = {abbrev = "", color = "#66CCFF", shortname = "",},
["Democratic-People's Party"] = {abbrev = "", color = "#3333FF", shortname = "Democratic-People's",},
["Democratic-Republican (Adams)"] = {abbrev = "", color = "#68C468", shortname = "",},
["Democratic-Republican (Jackson)"] = {abbrev = "", color = "#698DC5", shortname = "",},
["Democratic-Republican (Crawford)"] = {abbrev = "", color = "#FF9955", shortname = "",},
["Democratic-Republican Party (1844)"] = {abbrev = "", color = "#808000", shortname = "",},
["Democratic-Republican Party"] = {abbrev = "", color = "#008000", shortname = "Democratic-Republican",},
["Democratic-Social Movement (Poland)"] = {abbrev = "RDS", color = "#FAAA49", shortname = "",},
["Democratic/Country coalition"] = {abbrev = "", color = "#6495ED", shortname = "",},
["Democratic/Hold"] = {abbrev = "", color = "#EEF6FF", shortname = "",},
["Democrats (Brazil)"] = {abbrev = "DEM", color = "#8CC63E", shortname = "",},
["Democrats (Chile)"] = {abbrev = "", color = "#DA1764", shortname = "",},
["Democrats (Croatia)"] = {abbrev = "", color = "#B00F1F", shortname = "",},
["Democrats (Greece)"] = {abbrev = "", color = "midnightblue", shortname = "Democrats",},
["Democrats (Greenland)"] = {abbrev = "", color = "#152D49", shortname = "Democrats",},
["Democrats (Slovakia)"] = {abbrev = "", color = "#50168E", shortname = "Democrats",},
["Democrats 66"] = {abbrev = "D66", color = "#00CD67", shortname = "",},
["Democrats and Veterans"] = {abbrev = "", color = "#000000", shortname = "",},
["Democrats for a Strong Bulgaria"] = {abbrev = "DSB", color = "#02528A", shortname = "",},
["Democrats for Andorra"] = {abbrev = "DA", color = "#EA7A28", shortname = "",},
["Democrats for Liechtenstein"] = {abbrev = "", color = "#005EA8", shortname = "DpL",},
["Democrats for Responsibility, Solidarity and Tolerance"] = {abbrev = "", color = "#1A70B8", shortname = "",},
["Democrats of Catalonia"] = {abbrev = "DC", color = "#1375CE", shortname = "",},
["Democrats of the Left"] = {abbrev = "DS", color = "#C72F35", shortname = "",},
["DEMOS (Montenegro)"] = {abbrev = "DEMOS", color = "#89CFF0", shortname = "",},
["Demos+"] = {abbrev = "", color = "#F97D19", shortname = "",},
["Demosisto"] = {abbrev = "", color = "#37C8B4", shortname = "",},
["Demosistō"] = {abbrev = "", color = "#37C8B4", shortname = "",},
["DENK (political party)"] = {abbrev = "DENK", color = "#00B7B2", shortname = "",},
["Denmark Democrats"] = {abbrev = "", color = "#1272C2", shortname = "Denmark Democrats",},
["Denok Hiritar"] = {abbrev = "", color = "#FEF900", shortname = "",},
["Der Wandel"] = {abbrev = "", color = "#D32C0B", shortname = "Wandel",},
["Derekh Eretz (political faction)"] = {abbrev = "", color = "#277EE5", shortname = "",},
["Derryn Hinch's Justice Party"] = {abbrev = "", color = "#002F5D", shortname = "Justice",},
["Derwentside Independents"] = {abbrev = "", color = "#9F009F", shortname = "",},
["Derzhava (Russian party)"] = {abbrev = "", color = "#959698", shortname = "",},
["Derzhava (Ukrainian party)"] = {abbrev = "", color = "#FF0000", shortname = "Derzhava",},
["Des de Baix"] = {abbrev = "", color = "#EF7D00", shortname = "",},
["Desh Bhakt Party"] = {abbrev = "DBP", color = "#B404AE", shortname = "",},
["Desire the Right Party"] = {abbrev = "", color = "#0087DC", shortname = "Desire the Right",},
["Desiya Murpokku Dravida Kazhagam"] = {abbrev = "DMDK", color = "#FFEA19", shortname = "",},
["Destiny New Zealand"] = {abbrev = "", color = "#FFFF00", shortname = "Destiny",},
["Destour"] = {abbrev = "", color = "#7F1A03", shortname = "",},
["Destourian Movement"] = {abbrev = "", color = "RebeccaPurple", shortname = "",},
["Deutsche Mitte"] = {abbrev = "DM", color = "#284f8d", shortname = "",},
["Deutsche Reichspartei"] = {abbrev = "", color = "#8B4726", shortname = "",},
["Development and Peace (political party)"] = {abbrev = "", color = "#6A287E", shortname = "Flatto-Sharon",},
["Development Movement"] = {abbrev = "", color = "#8F188F", shortname = "",},
["Development/For!"] = {abbrev = "AP!", color = "#FFEC00", shortname = "",},
["Devizes Guardians"] = {abbrev = "", color = "#9A114F", shortname = "",},
["Dharmacracy Party"] = {abbrev = "DP", color = "#F46A26", shortname = "",},
["Dharmacracy Party (Thailand)"] = {abbrev = "", color = "#C8BCA7", shortname = "Dharmacracy",},
["Dhivehi Rayyithunge Party"] = {abbrev = "DRP", color = "#3F89C0", shortname = "",},
["Diàleg Republicà"] = {abbrev = "", color = "#CD2E33", shortname = "",},
["Dialogue – The Greens' Party"] = {abbrev = "PZ", color = "#39B54A", shortname = "",},
["Dialogue for Hungary"] = {abbrev = "PM", color = "#3CB34D", shortname = "",},
["Dialogue Party"] = {abbrev = "", color = "#D32270", shortname = "",},
["Dibyojyoti Singh Deo"] = {abbrev = "", color = "#DD4561", shortname = "",},
["Die PARTEI"] = {abbrev = "PARTEI", color = "#B5152B", shortname = "",},
["Die Urbane. Eine HipHop Partei"] = {abbrev = "du.", color = "#E66346", shortname = "",},
["DierAnimal"] = {abbrev = "", color = "#148C8B", shortname = "",},
["Different Cantabria"] = {abbrev = "", color = "#96D351", shortname = "",},
["Digital Party"] = {abbrev = "", color = "#F36F21", shortname = "Digital",},
["Dignidad Ahora"] = {abbrev = "", color = "#EC8431", shortname = "",},
["Dignity and Charity"] = {abbrev = "DM", color = "#0BC3AD", shortname = "",},
["Dignity and Truth Platform"] = {abbrev = "PPDA", color = "#409FD9", shortname = "",},
["Dignity Coalition"] = {abbrev = "", color = "#3D7254", shortname = "",},
["Dignity Now!"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Dignity Party (Algeria)"] = {abbrev = "", color = "#008000", shortname = "Dignity",},
["Dignity Party (Egypt)"] = {abbrev = "", color = "#008000", shortname = "",},
["Dignity Party (South Australia)"] = {abbrev = "", color = "#69359C", shortname = "Dignity",},
["Dikwankwetla Party of South Africa"] = {abbrev = "", color = "#4B393B", shortname = "Dikwankwetla Party",},
["Direct Democracy (Peru)"] = {abbrev = "", color = "yellow", shortname = "",},
["Direct Democracy (Poland)"] = {abbrev = "DB", color = "#3AD5C8", shortname = "Direct Democracy",},
["Direct Democracy Ireland"] = {abbrev = "", color = "#87CEFA", shortname = "Direct Democracy",},
["Direct Democracy Party of New Zealand"] = {abbrev = "", color = "#F28317", shortname = "Direct Democracy",},
["Direct Democratic Participation of Galicia"] = {abbrev = "", color = "#4FAECD", shortname = "",},
["Direct Democrats (Sweden)"] = {abbrev = "DD", color = "orange", shortname = "",},
["Direction – Slovak Social Democracy"] = {abbrev = "SMER–SD", color = "#d82222", shortname = "",},
["Dissident Left"] = {abbrev = "", color = "#66CC99", shortname = "Dissident Left",},
["Dixiecrat"] = {abbrev = "", color = "#FF9955", shortname = "",},
["Do not let Belgrade drown"] = {abbrev = "NDB", color = "#276030", shortname = "",},
["Doctrinaires"] = {abbrev = "", color = "#87CEFA", shortname = "",},
["Domani Motus Liberi"] = {abbrev = "DML", color = "#039ADA", shortname = "",},
["Dōmei Seisha"] = {abbrev = "", color = "#825C8C", shortname = "",},
["Dominica Freedom Party"] = {abbrev = "DFP", color = "#008000", shortname = "",},
["Dominica Labour Party"] = {abbrev = "DLP", color = "#F0001C", shortname = "",},
["Dominica United People's Party"] = {abbrev = "", color = "orange", shortname = "",},
["Dominican Communist Party"] = {abbrev = "", color = "#CE2029", shortname = "",},
["Dominican Humanist Party"] = {abbrev = "", color = "#FFEF52", shortname = "",},
["Dominican Liberation Party"] = {abbrev = "PLD", color = "#870B9C", shortname = "",},
["Dominican Party"] = {abbrev = "", color = "#964B00", shortname = "",},
["Dominican Revolutionary Party"] = {abbrev = "PRD", color = "#ADD8E6", shortname = "",},
["Dominicans for Change"] = {abbrev = "", color = "#12e3ff", shortname = "",},
["Dominion Labor Party (Alberta)"] = {abbrev = "", color = "transparent", shortname = "Labor",},
["Dominion Party (South Africa)"] = {abbrev = "", color = "#50C878", shortname = "Dominion",},
["Donegal Progressive Party"] = {abbrev = "", color = "#FF7F00", shortname = "",},
["Donetsk Republic (political party)"] = {abbrev = "", color = "#005087", shortname = "",},
["Doordarshi Party"] = {abbrev = "", color = "#00FF99", shortname = "",},
["Dor (political party)"] = {abbrev = "", color = "#409199", shortname = "",},
["Dōshi Club (1900s)"] = {abbrev = "", color = "#0018ED", shortname = "",},
["Dōshi Seisha"] = {abbrev = "", color = "#4D5269", shortname = "",},
["Dovira"] = {abbrev = "", color = "#1A9DAA", shortname = "Dovira",},
["Downlands Resident Group"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Dr. A. P. J. Abdul Kalam"] = {abbrev = "", color = "#DB7099", shortname = "",},
["Drago Project"] = {abbrev = "", color = "#232323", shortname = "",},
["Drassi"] = {abbrev = "", color = "#f37021", shortname = "",},
["Dravida Munnetra Kazhagam"] = {abbrev = "DMK", color = "#FF0D0D", shortname = "",},
["Druk Chirwang Tshogpa"] = {abbrev = "", color = "#FCB116", shortname = "",},
["Druk Nyamrup Tshogpa"] = {abbrev = "DNT", color = "#F9C6D9", shortname = "",},
["Druk Phuensum Tshogpa"] = {abbrev = "DPT", color = "#E48400", shortname = "",},
["Druk Thuendrel Tshogpa"] = {abbrev = "DTT", color = "#4a85c4", shortname = "",},
["Dublin Trades Council"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Duma Polska"] = {abbrev = "", color = "#E04A4B", shortname = "",},
["Dutch People's Union"] = {abbrev = "", color = "red", shortname = "",},
["Dveri"] = {abbrev = "", color = "#E32636", shortname = "",},
["Dynastic Left"] = {abbrev = "", color = "#5FA082", shortname = "Leftist",},
["Džemijet"] = {abbrev = "", color = "black", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
661e42e233022e79c20486290388a2ecf6f6dda5
Module:Political party/R
828
1468
3000
2999
2024-03-13T05:24:21Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["Radical and Radical-Socialist Party"] = "Radical Party (France)",
["Radical Democracy Party (Chile)"] = "Radical Democracy (Chile)",
["Radical List"] = "Liberal League (Luxembourg)",
["Radical Party (Italy, 1877)"] = "Italian Radical Party",
["Radical Party (UK)"] = "Radicals (UK)",
["Radical Party (Ukraine)"] = "Radical Party of Oleh Liashko",
["Radical Party (Chile)"] = "Radical Party of Chile",
["Radical Party of Oleh Lyashko"] = "Radical Party of Oleh Liashko",
["Rainbow Group (1984-1989)"] = "Rainbow Group (1984–1989)",
["Rainbow Group"] = "Greens–European Free Alliance",
["Rally Wallonia France"] = "Rassemblement Wallonie France",
["Rassemblement bleu Marine"] = "National Rally",
["Resurgence Party"] = "Rastakhiz Party",
["Ratepayers Association"] = "Ratepayers' Association",
["Ratepayers Associations"] = "Ratepayers' Association",
["Razem"] = "Left Together",
["Reason of the Polish Left"] = "Reason Party (Poland)",
["Readjuster Party (United States)"] = "Readjuster Party",
["Red-Green Alliance (Denmark)"] = "Red–Green Alliance (Denmark)",
["Referendum Party (UK)"] = "Referendum Party",
["Reform and Development Misruna Party"] = "Reform and Development Party (Egypt)",
["Reform Party (Iceland, 2016)"] = "Reform Party (Iceland)",
["Reform Party (United States)"] = "Reform Party (US)",
["Reform Party of New York State"] = "Reform Party (New York State)",
["Reform Party of the United States of America"] = "Reform Party (US)",
["Reform Party"] = "Reform Party (Southern Rhodesia)",
["Reform"] = "Estonian Reform Party",
["Reformed Political Party - Reformatory Political Federation - Reformed Political League"] = "Reformed Political Party – Reformatory Political Federation – Reformed Political League",
["Regionalist"] = "Regionalism (politics)",
["Regionalists"] = "Regionalism (politics)",
["Regionalists and separatists"] = "Regionalism (politics)",
["Regionalist Aragonese Party"] = "Aragonese Party",
["Régions et Peuples Solidaires"] = "Regionalism (politics)",
["Renaissance Party"] = "Ennahda Movement",
["Renew Britain"] = "Renew Party",
["Renewal (Transnistria)"] = "Obnovlenie",
["Renua Ireland"] = "Renua",
["Re-Organized Movement of the Party of the Proletariat"] = "Portuguese Workers' Communist Party",
["REPUBLIC (Slovakia)"] = "Republic (Slovakia)",
["Republic Arise"] = "Debout la République",
["Republic Party"] = "Party of the Republic",
["Republican Coalition (Spain, 1891)"] = "Republican Fusion",
["Republican Coalition (Spain, 1996)"] = "Alliance for the Republic (Spain)",
["Republican Left of Catalonia-Sovereigntists"] = "Republican Left of Catalonia",
["Republican Left of Catalonia–Catalonia Yes"] = "Republican Left of Catalonia",
["Republican Left of Catalonia–Sovereigntists"] = "Republican Left of Catalonia", -- dash difference
["Republican Left of the Valencian Country"] = "Republican Left of Catalonia",
["Republican Moderate Party of Alaska"] = "Republican Moderate Party (Alaska)",
["Republican Party (Chile)"] = "Republican Party (Chile, 2019)",
["Republican Party (Faroe Islands)"] = "Republic (Faroe Islands)",
["Republican Party (Poland)"] = "The Republicans (Poland)",
["Republican Party (US)"] = "Republican Party (United States)",
["Republican Party (Alabama)"] = "Republican Party (United States)",
["Republican Party (Alaska)"] = "Republican Party (United States)",
["Republican Party (Arizona)"] = "Republican Party (United States)",
["Republican Party (Arkansas)"] = "Republican Party (United States)",
["Republican Party (California)"] = "Republican Party (United States)",
["Republican Party (Colorado)"] = "Republican Party (United States)",
["Republican Party (Connecticut)"] = "Republican Party (United States)",
["Republican Party (Delaware)"] = "Republican Party (United States)",
["Republican Party (Georgia, US)"] = "Republican Party (United States)",
["Republican Party (Guam)"] = "Republican Party (United States)",
["Republican Party (Hawaii)"] = "Republican Party (United States)",
["Republican Party (Idaho)"] = "Republican Party (United States)",
["Republican Party (Illinois)"] = "Republican Party (United States)",
["Republican Party (Iowa)"] = "Republican Party (United States)",
["Republican Party (Maryland)"] = "Republican Party (United States)",
["Republican Party (Massachusetts)"] = "Republican Party (United States)",
["Republican Party (Michigan)"] = "Republican Party (United States)",
["Republican Party (Minnesota)"] = "Republican Party (United States)",
["Republican Party (Missouri)"] = "Republican Party (United States)",
["Republican Party (Nevada)"] = "Republican Party (United States)",
["Republican Party (New Mexico)"] = "Republican Party (United States)",
["Republican Party (New York)"] = "Republican Party (United States)",
["Republican Party (North Dakota)"] = "Republican Party (United States)",
["Republican Party (Northern Mariana Islands)"] = "Republican Party (United States)",
["Republican Party (Pennsylvania)"] = "Republican Party (United States)",
["Republican Party (Rhode Island)"] = "Republican Party (United States)",
["Republican Party (Utah)"] = "Republican Party (United States)",
["Republican Party (Vermont)"] = "Republican Party (United States)",
["Republican Party (Virginia)"] = "Republican Party (United States)",
["Republican Party (Washington State)"] = "Republican Party (United States)",
["Republican Party (Washington)"] = "Republican Party (United States)",
["Republican Party (West Virginia)"] = "Republican Party (United States)",
["Republican Party of Alaska"] = "Republican Party (United States)",
["Republican Party of Arkansas"] = "Republican Party (United States)",
["Republican Party of Florida"] = "Republican Party (United States)",
["Republican Party of Georgia"] = "Republican Party (United States)",
["Republican Party of India (A)"] = "Republican Party of India (Athawale)",
["Republican Party of India (Athvale)"] = "Republican Party of India (Athawale)",
["Republican Party of Iowa"] = "Republican Party (United States)",
["Republican Party of Kentucky"] = "Republican Party (United States)",
["Republican Party of Louisiana"] = "Republican Party (United States)",
["Republican Party of Minnesota"] = "Republican Party (United States)",
["Republican Party of New Mexico"] = "Republican Party (United States)",
["Republican Party of São Paulo"] = "Paulista Republican Party",
["Republican Party of Texas"] = "Republican Party (United States)",
["Republican Party of Virginia"] = "Republican Party (United States)",
["Republican Party of Wisconsin"] = "Republican Party (United States)",
["Republican People's Party (Turkey)"] = "Republican People's Party",
["Republican Pole"] = "Citizen and Republican Movement",
["Republican Popular Unity"] = "Communist Party of Spain (Marxist–Leninist) (historical)",
["Republican Statehood Party"] = "Partido Estadista Republicano",
["Republican Union (Spain, 1886)"] = "Republican Fusion",
["Republican Union (Spain, 1893)"] = "Republican Fusion",
["Republican, Radical and Radical-Socialist Party (historical)"] = "Radical Party (France)",
["Republican, Radical and Radical-Socialist Party"] = "Radical Party (France)",
["Reconquête (political party)"] = "Reconquête",
["Respect - The Unity Coalition"] = "Respect Party",
["Respect – The Unity Coalition"] = "Respect Party",
["RESPECT The Unity Coalition"] = "Respect Party",
["Respublika Party of Kyrgyzstan"] = "Respublika (political party)",
["Restoration Political Party - New Wind"] = "Ishin Seito Shimpu",
["Reunited National Party"] = "Herenigde Nasionale Party",
["Revival (Moldova)"] = "Revival Party (Moldova)",
["Revolution Continues"] = "The Revolution Continues Alliance",
["Revolutionary Committee of the Kuomintang"] = "Revolutionary Committee of the Chinese Kuomintang",
["Revolutionary Communist Party (Furedi)"] = "Revolutionary Communist Party (UK, 1978)",
["Revolutionary Front for an Independent East Timor"] = "Fretilin",
["Revolutionary Nationalist Movement-Alliance"] = "Revolutionary Nationalist Movement",
["Revolutionary Nationalist Movement–Alliance"] = "Revolutionary Nationalist Movement", -- dash difference
["Revolutionary Nationalist Movement – Vanguard"] = "9 April Revolutionary Vanguard",
["Revolutionary Communist League (Luxembourg)"] = "Revolutionary Socialist Party (Luxembourg)",
["Revolutionary Workers Party (United States)"] = "Revolutionary Workers Party (US)",
["Rhode Island Democratic Party"] = "Democratic Party (United States)",
["Rhode Island Republican Party"] = "Republican Party (United States)",
["Right Cause (political party)"] = "Right Cause",
["Right to Life Party (US)"] = "New York State Right to Life Party",
["Right to Life Party (New York)"] = "New York State Right to Life Party",
["Rightist Party"] = "Moderate Party",
["Rightist Socialist Party of Japan"] = "Right Socialist Party of Japan",
["Rikken Seiyukai"] = "Rikken Seiyūkai",
["Rikken Minseito"] = "Constitutional Democratic Party (Japan)",
["Rikken Minseitō"] = "Constitutional Democratic Party (Japan)",
["Ring of Independents"] = "Alliance of Independents",
["Riojan Party (1990–2012)"] = "Riojan Party",
["RISE - Scotland's Left Alliance"] = "RISE – Scotland's Left Alliance",
["Rivers State People's Democratic Party"] = "Rivers State Peoples Democratic Party",
["Rodina"] = "Rodina (political party)",
["Romandy Citizens' Movement"] = "Geneva Citizens' Movement",
["Romanian National Party (Moldova)"] = "New Historical Option",
["Romanian Socialist Party (present day)"] = "Romanian Socialist Party (2003)",
["RSP Against Racism and Fascism"] = "Revolutionary Socialist Party (Luxembourg)",
["Rule of Law (Armenia)"] = "Orinats Yerkir",
["Runnymede Independent Residents Group"] = "Runnymede Independent Residents' Group",
["Runnymede Residents Association"] = "Runnymede Independent Residents' Group",
}
local full = {
["Radcliffe First"] = {abbrev = "", color = "#F86204", shortname = "",},
["Radical Cause"] = {abbrev = "LCR", color = "#1E90FF", shortname = "",},
["Radical Change"] = {abbrev = "", color = "#FB656F", shortname = "",},
["Radical Civic Union"] = {abbrev = "UCR", color = "#E10019", shortname = "",},
["Radical Democracy (Chile)"] = {abbrev = "", color = "#00E2C8", shortname = "",},
["Radical Democratic Party (Bulgaria)"] = {abbrev = "", color = "#1C4482", shortname = "",},
["Radical Democratic Party (Spain)"] = {abbrev = "", color = "#DD6284", shortname = "Radical",},
["Radical Doctrinaire Party"] = {abbrev = "", color = "lightseagreen", shortname = "",},
["Radical League"] = {abbrev = "RL", color = "#FFFF00", shortname = "",},
["Radical Left (Luxembourg)"] = {abbrev = "", color = "#800080", shortname = "",},
["Radical Left Front"] = {abbrev = "MERA", color = "indianred", shortname = "",},
["Radical Left Party (Chile)"] = {abbrev = "", color = "yellow", shortname = "",},
["Radical Liberal Party (Luxembourg)"] = {abbrev = "", color = "#F4EE00", shortname = "",},
["Radical Liberal Party (Paraguay)"] = {abbrev = "", color = "#808080", shortname = "Radical Liberal",},
["Radical Movement"] = {abbrev = "MR", color = "#E0B0FF", shortname = "",},
["Radical Party of Chile"] = {abbrev = "", color = "#CD5C5C", shortname = "Radical",},
["Radical Party of Chile (2018)"] = {abbrev = "", color = "#CD5C5C", shortname = "Radical",},
["Radical Party (Belgium)"] = {abbrev = "", color = "#800080", shortname = "Radical",},
["Radical Party (France)"] = {abbrev = "PRV", color = "#E0B0FF", shortname = "",},
["Radical Party (Italy)"] = {abbrev = "PR", color = "#FFD700", shortname = "Radical Party",},
["Radical Party (Luxembourg)"] = {abbrev = "", color = "#F3C400", shortname = "",},
["Radical Party of Oleh Liashko"] = {abbrev = "RPOL", color = "#D64541", shortname = "",},
["Radical Party of Republika Srpska"] = {abbrev = "", color = "Darkblue", shortname = "RS RS",},
["Radical Party of the Left"] = {abbrev = "PRG", color = "#F0C200", shortname = "",},
["Radical Peasant Party"] = {abbrev = "CSR", color = "#33452D", shortname = "",},
["Radical People's Party (Finland)"] = {abbrev = "", color = "Red", shortname = "",},
["Radical People's Party (Norway)"] = {abbrev = "", color = "#59A421", shortname = "Radical People's",},
["Radical Republican Party"] = {abbrev = "PRR", color = "#A871A8", shortname = "",},
["Radical Socialist Catalan Left"] = {abbrev = "", color = "#AF2A88", shortname = "",},
["Radical Socialist Party (Luxembourg)"] = {abbrev = "", color = "#F3C400", shortname = "",},
["Radical Socialist Republican Party"] = {abbrev = "PRRS", color = "#9A0DBC", shortname = "",},
["Radical Union (Cuba)"] = {abbrev = "", color = "#FA8072", shortname = "",},
["Radicals (UK)"] = {abbrev = "", color = "#FF3333", shortname = "Radical",},
["Rafi (political party)"] = {abbrev = "", color = "#1935D0", shortname = "Rafi",},
["Rafidain List"] = {abbrev = "", color = "#5f21a9", shortname = "",},
["Rah-e-Haq Party"] = {abbrev = "RHP", color = "#A9A9A9", shortname = "",},
["Rahanweyn Resistance Army"] = {abbrev = "RRA", color = "#DC143C", shortname = "",},
["Raijor Dal"] = {abbrev = "RD", color = "#FEE502", shortname = "",},
["Rainbow (Greece)"] = {abbrev = "", color = "#E2725B", shortname = "Rainbow",},
["Rainbow (Iceland)"] = {abbrev = "", color = "#CC0000", shortname = "Rainbow",},
["Rainbow (Netherlands)"] = {abbrev = "", color = "#76EE00", shortname = "Rainbow",},
["Rainbow Greens (Italy)"] = {abbrev = "", color = "#4B6F44", shortname = "Rainbow Greens",},
["Rainbow Group (1984–1989)"] = {abbrev = "RBW", color = "#ADFF2F", shortname = "",},
["Rainbow Group (1989–1994)"] = {abbrev = "RBW", color = "#ADFF2F", shortname = "",},
["Rainbow Party (Zambia)"] = {abbrev = "", color = "#E3001B", shortname = "",},
["Rainham & Wennington Independent Residents Group"] = {abbrev = "", color = "#dddddd", shortname = "",},
["RAIZ"] = {abbrev = "", color = "#2d3e4e", shortname = "",},
["Raise Extremadura"] = {abbrev = "", color = "#169744", shortname = "",},
["Rajasthan Vikas Party"] = {abbrev = "RJVP", color = "#FF3366", shortname = "",},
["Rajyadhikara Party"] = {abbrev = "", color = "#DDD", shortname = "",},
["Rak Santi Party"] = {abbrev = "", color = "green", shortname = "Rak Santi",},
["Rak Thailand Party"] = {abbrev = "", color = "#0000FF", shortname = "Rak Thailand",},
["Rakhine Nationalities Development Party"] = {abbrev = "RNDP", color = "#EB1D27", shortname = "",},
["Ralliement citoyen pour la patrie"] = {abbrev = "", color = "#7FFFD4", shortname = "",},
["Rally & Issues"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Rally for an Alternative of Harmonious and Integrated Development"] = {abbrev = "RADHI", color = "#A31124", shortname = "",},
["Rally for Caledonia"] = {abbrev = "RPC", color = "#1270C2", shortname = "",},
["Rally for Congolese Democracy"] = {abbrev = "", color = "green", shortname = "",},
["Rally for Culture and Democracy"] = {abbrev = "RCD", color = "#264989", shortname = "",},
["Rally for Democracy and Progress (Namibia)"] = {abbrev = "RDP", color = "#166B37", shortname = "",},
["Rally for Democracy and Progress (Niger)"] = {abbrev = "", color = "#FBD127", shortname = "RDP-Jama'a",},
["Rally for Democracy and Renewal"] = {abbrev = "RDR", color = "", shortname = "",},
["Rally for Democracy and Social Progress"] = {abbrev = "RDPS", color = "#00B100", shortname = "",},
["Rally for Democracy and Unity"] = {abbrev = "RDU", color = "#4D92F1", shortname = "",},
["Rally for France"] = {abbrev = "RPF", color = "#003399", shortname = "",},
["Rally for Hope for Algeria"] = {abbrev = "TAJ", color = "#8C71FA", shortname = "",},
["Rally for Mali"] = {abbrev = "RPM", color = "#FCD116", shortname = "",},
["Rally for the Independence of France"] = {abbrev = "", color = "#003399", shortname = "",},
["Rally for the Monegasque Family"] = {abbrev = "", color = "#AB7141", shortname = "",},
["Rally for the Republic – Republican Party of Czechoslovakia"] = {abbrev = "SPR–RSČ", color = "#3E3E3E", shortname = "",},
["Rally for the Republic"] = {abbrev = "RPR", color = "#08206F", shortname = "",},
["Rally of Congolese Ecologists – The Greens"] = {abbrev = "", color = "green", shortname = "",},
["Rally of Democratic Forces"] = {abbrev = "RFD", color = "#000000", shortname = "",},
["Rally of Democrats, Progressive and Independent"] = {abbrev = "RDPI", color = "#08A1E3", shortname = "",},
["Rally of Houphouëtists for Democracy and Peace"] = {abbrev = "RHDP", color = "#FF7900", shortname = "",},
["Rally of Progressive National Democrats"] = {abbrev = "RPND", color = "#008000", shortname = "",},
["Rally of Republican Lefts"] = {abbrev = "RGR", color = "#FFBF00", shortname = "",},
["Rally of the Ecologists of Burkina"] = {abbrev = "", color = "green", shortname = "",},
["Rally of the Ecologists of Senegal"] = {abbrev = "", color = "green", shortname = "",},
["Rally of the French People"] = {abbrev = "RPF", color = "#25038E", shortname = "",},
["Rally of the Guinean People"] = {abbrev = "RPG", color = "#FEF200", shortname = "",},
["Rally of the Republicans"] = {abbrev = "RDR", color = "#FF9933", shortname = "",},
["Rally of the Togolese People"] = {abbrev = "RPT", color = "#037338", shortname = "",},
["Rally Responsibility Success"] = {abbrev = "", color = "red", shortname = "",},
["Ramgavar"] = {abbrev = "", color = "#2554C7", shortname = "",},
["RAŚ"] = {abbrev = "", color = "yellow", shortname = "",},
["Rashtra Bhakt Dal"] = {abbrev = "RBD", color = "#F75808", shortname = "",},
["Rashtravadi Bahujan Hitay Party"] = {abbrev = "RBHP", color = "#81F7F3", shortname = "",},
["Rashtravadi Janata Party"] = {abbrev = "RJP", color = "#cdfecd", shortname = "",},
["Rashtrawadi Labour Party"] = {abbrev = "RALP", color = "#BCA9F5", shortname = "",},
["Rashtrawadi Sena"] = {abbrev = "RWS", color = "blue", shortname = "",},
["Rashtriya Aadiwasi Bahujan Party"] = {abbrev = "RABP", color = "#cc0066", shortname = "",},
["Rashtriya Aikta Manch Party"] = {abbrev = "RAM", color = "#81F781", shortname = "",},
["Rashtriya Ali Sena"] = {abbrev = "RAS", color = "#0F6433", shortname = "",},
["Rashtriya Bahujan Congress Party"] = {abbrev = "RBCP", color = "#afeeee", shortname = "",},
["Rashtriya Bahujan Hitay Party"] = {abbrev = "RBHP", color = "#ffb5da", shortname = "",},
["Rashtriya Hith Congress"] = {abbrev = "RHC", color = "#5FB404", shortname = "",},
["Rashtriya Janadhikar Suraksha Party"] = {abbrev = "RJSP", color = "#ffdacc", shortname = "",},
["Rashtriya Janasachetan Party"] = {abbrev = "RJP", color = "orange", shortname = "",},
["Rashtriya Janata Dal"] = {abbrev = "RJD", color = "#056D05", shortname = "",},
["Rashtriya Janata Party"] = {abbrev ="RJP", color = "#FFC0CB" , shortname= "",},
["Rashtriya Janmorcha"] = {abbrev = "", color = "#CA7EE4", shortname = "",},
["Rashtriya Kamgar Party"] = {abbrev = "RKAP", color = "#1E76D5", shortname = "",},
["Rashtriya Kranti Party"] = {abbrev = "RTKP", color = "#B47011", shortname = "",},
["Rashtriya Krantikari Janata Party"] = {abbrev = "RKJP", color = "#a8e4bc", shortname = "",},
["Rashtriya Krantikari Samajwadi Party"] = {abbrev = "RKSP", color = "#8A0886", shortname = "",},
["Rashtriya Lok Dal"] = {abbrev = "RLD", color = "#006400", shortname = "",},
["Rashtriya Lok Janshakti Party"] = {abbrev = "RLJP", color = "#39833C", shortname = "",},
["Rashtriya Lok Samata Party"] = {abbrev = "RLSP", color = "#999966", shortname = "",},
["Rashtriya Lok Samta Party"] = {abbrev = "RLSP", color = "#999966", shortname = "",},
["Rashtriya Loktantrik Party"] = {abbrev = "RLP", color = "#FFD42A", shortname = "",},
["Rashtriya Manav Samman Party"] = {abbrev = "RMSP", color = "#BDDC9D", shortname = "",},
["Rashtriya Matrabhoomi Party"] = {abbrev = "RMP", color = "#CA8610", shortname = "",},
["Rashtriya Mazdoor Ekta Party"] = {abbrev = "RMEP", color = "#5E610B", shortname = "",},
["Rashtriya Muslim Mujhahid Party"] = {abbrev = "RMMP", color = "#1F9E1D", shortname = "",},
["Rashtriya Parivartan Dal"] = {abbrev = "RPD", color = "#66FFCC", shortname = "",},
["Rashtriya Raksha Dal"] = {abbrev = "RRD", color = "#F79F81", shortname = "",},
["Rashtriya Samaj Paksha"] = {abbrev = "RSPS", color = "yellow", shortname = "",},
["Rashtriya Samajwadi Party (United)"] = {abbrev = "RSP(U)", color = "#A9F5F2", shortname = "",},
["Rashtriya Samanta Dal"] = {abbrev = "RSMD", color = "#D0FA58", shortname = "",},
["Rashtriya Samata Party (Secular)"] = {abbrev = "RSP(S)", color = "Brown", shortname = "",},
["Rashtriya Sawarn Shakti Party"] = {abbrev = "RSSHP", color = "#647E81", shortname = "",},
["Rashtriya Secular Majlis Party"] = {abbrev = "", color = "Green", shortname = "",},
["Rashtriya Swabhimaan Party"] = {abbrev = "RSBP", color = "#F5D0A9", shortname = "",},
["Rashtriya Swabhiman Party"] = {abbrev = "RSBP", color = "#2c2c8a", shortname = "",},
["Rashtriya Ulama Council"] = {abbrev = "RUC", color = "#ACFA58", shortname = "",},
["Rashtriya Unnatisheel Dal"] = {abbrev = "RUD", color = "#26B062", shortname = "",},
["Rashtriya Vikas Party"] = {abbrev = "RVP", color = "#D0A9F5", shortname = "",},
["Rassemblement Wallonie France"] = {abbrev = "", color = "blue", shortname = "",},
["Rastakhiz Party"] = {abbrev = "", color = "Blue", shortname = "",},
["Rastriya Janamorcha"] = {abbrev = "", color = "firebrick", shortname = "",},
["Rastriya Janamukti Party"] = {abbrev = "", color = "DodgerBlue", shortname = "Janamukti",},
["Rastriya Janata Dal Nepal"] = {abbrev = "", color = "#E6DBCF", shortname = "RJD Nepal",},
["Rastriya Janata Party Nepal"] = {abbrev = "RJPN", color = "#FFb300", shortname = "",},
["Rastriya Janshakti Party"] = {abbrev = "", color = "khaki", shortname = "Janashakti",},
["Rastriya Prajatantra Party (Chand)"] = {abbrev = "", color = "yellow", shortname = "RPP (Chand)",},
["Rastriya Prajatantra Party (Samyukta)"] = {abbrev = "", color = "#4682B4", shortname = "",},
["Rastriya Prajatantra Party Nepal"] = {abbrev = "", color = "orange", shortname = "RPP-Nepal",},
["Rastriya Prajatantra Party"] = {abbrev = "RPP", color = "gold", shortname = "",},
["Rastriya Swatantra Party"] = {abbrev = "RSP", color = "#0095DA", shortname = "RSP",},
["Rat Withi Party"] = {abbrev = "", color = "#1C359A", shortname = "",},
["Ratana"] = {abbrev = "", color = "#A52A2A", shortname = "",},
["Ratepayers and Residents Associations"] = {abbrev = "", color = "#dddddd", shortname = "Ratepayers & Residents",},
["Ratepayers' Association"] = {abbrev = "", color = "#dddddd", shortname = "Ratepayers",},
["Ratepayers' and Citizens' Association"] = {abbrev = "", color = "#dddddd", shortname = "Ratepayers & Citizens",},
["Ratz (political party)"] = {abbrev = "", color = "#C80004", shortname = "Ratz",},
["Ravah Party"] = {abbrev = "", color = "#E7EB16", shortname = "",},
["Raving Loony Green Giant Party"] = {abbrev = "", color = "green", shortname = "Raving Loony Green Giant",},
["Rayalaseema Parirakshana Samithi"] = {abbrev = "", color = "red", shortname = "",},
["Rayyithunge Muthagaddim Party"] = {abbrev = "RMP", color = "#CC0000", shortname = "",},
["Raza Unida Party"] = {abbrev = "", color = "#CC853F", shortname = "Raza Unida",},
["Re-open Nominations"] = {abbrev = "RON", color = "Black", shortname = "",},
["React, Include, Recycle"] = {abbrev = "RIR", color = "#00939D", shortname = "",},
["Readjuster Party"] = {abbrev = "", color = "Black", shortname = "Readjuster",},
["Reagrupament"] = {abbrev = "", color = "#841039", shortname = "",},
["Real Alternative Party"] = {abbrev = "PAR", color = "#FECD0B", shortname = "",},
["Real Alternative Party (Botswana)"] = {abbrev = "RAP", color = "#76402b", shortname = "",},
["Real Democracy Movement"] = {abbrev = "", color = "#BFFF00", shortname = "Real Democracy",},
["Real Democracy"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Real Democratic Party"] = {abbrev = "", color = "#0CB14B", shortname = "Real Democratic",},
["Real NZ"] = {abbrev = "", color = "#72bfe8", shortname = "",},
["Real Politics Union"] = {abbrev = "UPR", color = "#151a3a", shortname = "",},
["Realists (political party)"] = {abbrev = "", color = "#013888", shortname = "",},
["Reality Party"] = {abbrev = "", color = "Grey", shortname = "Reality",},
["Realizing Goals"] = {abbrev = "", color = "#0B76C0", shortname = "",},
["Reason Party (Australia)"] = {abbrev = "", color = "#4BB8B3", shortname = "Reason",},
["Reason Party (Poland)"] = {abbrev = "RACJA", color = "#000000", shortname = "Reason Party",},
["Rebel Almería"] = {abbrev = "", color = "#981403", shortname = "",},
["Rebirth Party (Northern Cyprus)"] = {abbrev = "YDP", color = "#00CCFF", shortname = "",},
["Reborn Armenia"] = {abbrev = "", color = "#1E4277", shortname = "",},
["Reclaim Australia: Reduce Immigration"] = {abbrev = "RARI", color = "#734812", shortname = "Reclaim Australia"},
["Reclaim Party"] = {abbrev = "", color = "#C03F31", shortname = "Reclaim",},
["Reconciliation and Liberation Bloc"] = {abbrev = "RLB", color = "black", shortname = "",},
["Reconquête"] = {abbrev = "REC", color = "#170066", shortname = "",},
["Reconstitution Party"] = {abbrev = "", color = "#00FFFF", shortname = "",},
["Recover Madrid"] = {abbrev = "RM", color = "#E9AE12", shortname = "",},
["Recrear"] = {abbrev = "", color = "#35649C", shortname = "",},
["Recreate Greece"] = {abbrev = "DX", color = "#F19914", shortname = "",},
["Recuperar Badajoz"] = {abbrev = "", color = "#6A1E5E", shortname = "",},
["Recuperemos El Ejido"] = {abbrev = "", color = "#01781E", shortname = "",},
["Red Current"] = {abbrev = "", color = "#CE1000", shortname = "",},
["Red Dot United"] = {abbrev = "RDU", color = "#DC6698", shortname = "",},
["Red Electoral Alliance"] = {abbrev = "", color = "#d4001a", shortname = "Red",},
["Red Flag Party"] = {abbrev = "", color = "red", shortname = "",},
["Red Front (UK)"] = {abbrev = "", color = "Red", shortname = "Red Front",},
["Red Lions (political party)"] = {abbrev = "", color = "#DC143C", shortname = "Red Lions",},
["Red Party (Dominican Republic)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Red Party (Norway)"] = {abbrev = "", color = "#EA0000", shortname = "Red",},
["Red-Green Alliance"] = {abbrev = "", color = "#D30B55", shortname = "",},
["Red-Greens (Sweden)"] = {abbrev = "", color = "#F0002D", shortname = "Red-Greens",},
["Red–Green Alliance (Denmark)"] = {abbrev = "", color = "#F7660D", shortname = "Red–Green",},
["Redondela Electors' Group"] = {abbrev = "", color = "#9A2428", shortname = "",},
["Redondela Pode"] = {abbrev = "", color = "#3C0C40", shortname = "",},
["Referendum Party"] = {abbrev = "", color = "#bf475c", shortname = "Referendum",},
["Reform and Development Party (Egypt)"] = {abbrev = "", color = "#C7A317", shortname = "",},
["Reform and Development Party (Morocco)"] = {abbrev = "", color = "#8CB803", shortname = "",},
["Reform Club of Hong Kong"] = {abbrev = "", color = "#D04627", shortname = "Reform",},
["Reform Front Party"] = {abbrev = "", color = "DodgerBlue", shortname = "",},
["Reform Group (Finland)"] = {abbrev = "", color = "#E6E600", shortname = "Reform",},
["Reform Jersey"] = {abbrev = "", color = "#01547C", shortname = "",},
["Reform Party (19th-century Wisconsin)"] = {abbrev = "", color = "#3333FF", shortname = "Reform",},
["Reform Party (Iceland)"] = {abbrev = "", color = "#FF7D14", shortname = "Reform",},
["Reform Party (Latvia)"] = {abbrev = "", color = "#10A5DF", shortname = "Reform",},
["Reform Party (Mauritania)"] = {abbrev = "", color = "#715331", shortname = "El Islah",},
["Reform Party (Minnesota)"] = {abbrev = "", color = "#6A287E", shortname = "Reform",},
["Reform Party (Mississippi)"] = {abbrev = "", color = "#6A287E", shortname = "Reform",},
["Reform Party (New York State)"] = {abbrev = "", color = "#6A287E", shortname = "Reform",},
["Reform Party (New Zealand)"] = {abbrev = "", color = "#00BB00", shortname = "Reform",},
["Reform Party (Philippines)"] = {abbrev = "", color = "#0000CD", shortname = "Reform",},
["Reform Party (Singapore)"] = {abbrev = "RP", color = "#FFC000", shortname = "",},
["Reform Party (Southern Rhodesia)"] = {abbrev = "", color = "#99FF99", shortname = "Reform",},
["Reform Party (US)"] = {abbrev = "RE", color = "#6A287E", shortname = "Reform",},
["Reform Party of Canada"] = {abbrev = "", color = "#3CB371", shortname = "Reform",},
["Reform PH - People's Party"] = {abbrev = "RP", color = "#800000", shortname = "",},
["Reform Progressive Party"] = {abbrev = "PPR", color = "#0000FF", shortname = "",},
["Reform Star Party"] = {abbrev = "PBR", color = "#BCDA00", shortname = "",},
["Reform UK"] = {abbrev = "", color = "#12B6CF", shortname = "",},
["Reformatory Political Federation"] = {abbrev = "RPF", color = "#7FD3E9", shortname = "",},
["Reformed Congress of Lesotho"] = {abbrev = "RCL", color = "#067a3e", shortname = "",},
["Reformed Democratic Party"] = {abbrev = "", color = "#F0E68C", shortname = "",},
["Reformed Political Alliance"] = {abbrev = "", color = "#f7af20", shortname = "",},
["Reformed Political League"] = {abbrev = "GPV", color = "#6CBFD9", shortname = "",},
["Reformed Political Party – Reformatory Political Federation – Reformed Political League"] = {abbrev = "SGP/RPF/GPV", color = "#00a7eb", shortname = "",},
["Reformed Political Party"] = {abbrev = "SGP", color = "#EA5B0B", shortname = "",},
["Reformers (Hungarian political party)"] = {abbrev = "", color = "#D19E33", shortname = "",},
["Reformist Bloc"] = {abbrev = "RB", color = "#2A3A79", shortname = "",},
["Reformist Canarian Centre"] = {abbrev = "", color = "#FDBB4A", shortname = "",},
["Reformist Coalition"] = {abbrev = "", color = "#00B1F0", shortname = "",},
["Reformist Movement"] = {abbrev = "MR", color = "#0047AB", shortname = "",},
["Reformist Movement (2023)"] = {abbrev = "MR", color = "#002EFF", shortname = "",},
["Reformist Party (Dominican Republic)"] = {abbrev = "", color = "#ff0000", shortname = "",},
["Reformist Party (Costa Rica)"] = {abbrev = "", color = "#8B0000", shortname = "Reformist",},
["Reformist Party (Portugal)"] = {abbrev = "", color = "#FB607F", shortname = "",},
["Reformist Party (Serbia)"] = {abbrev = "RS", color = "#FF6600", shortname = "",},
["Reformist Party (Spain)"] = {abbrev = "", color = "#F28500", shortname = "Reformist",},
["Reformist Party ORA"] = {abbrev = "", color = "#29106B", shortname = "",},
["Reformists of Vojvodina"] = {abbrev = "RV", color = "#E46713", shortname = "",},
["Reforms and Freedom"] = {abbrev = "", color = "red", shortname = "",},
["Reforms and Order Party"] = {abbrev = "PRP", color = "#2581CC", shortname = "",},
["Reform the Legal System"] = {abbrev = "RLS", color = "#FF6900", shortname = "Legal System Reform",},
["Regenerator Party"] = {abbrev = "", color = "#0054A5", shortname = "",},
["Regional Citizens' Coalition"] = {abbrev = "", color = "#CE1244", shortname = "",},
["Regional Murcianist Party"] = {abbrev = "", color = "#FAE800", shortname = "",},
["Regional Integration Movement"] = {abbrev = "MIR", color = "#ADEEF7", shortname = "",},
["Regional Unity Party"] = {abbrev = "", color = "#0066FF", shortname = "",},
["Regionalism (politics)"] = {abbrev = "REG", color = "#DDDD00", shortname = "Regionalists",},
["Regionalist (Restoration)"] = {abbrev = "", color = "#B4E0CA", shortname = "",},
["Regionalist Action Party of Chile"] = {abbrev = "", color = "#FDFA2F", shortname = "",},
["Regionalist Alicantine Party"] = {abbrev = "", color = "#095387", shortname = "",},
["Regionalist Call for Andalusia"] = {abbrev = "", color = "#08B618", shortname = "",},
["Regionalist Democracy of Castile and León"] = {abbrev = "", color = "#5DA923", shortname = "",},
["Regionalist Independent Party"] = {abbrev = "", color = "purple", shortname = "",},
["Regionalist League of Catalonia"] = {abbrev = "LRC", color = "#D5AD0F", shortname = "",},
["Regionalist League of the Balearic Islands"] = {abbrev = "", color = "#834098", shortname = "",},
["Regionalist Local Party"] = {abbrev = "", color = "#82CF05", shortname = "",},
["Regionalist Party for Eastern Andalusia"] = {abbrev = "", color = "#A6004D", shortname = "",},
["Regionalist Party of Cantabria"] = {abbrev = "PRC", color = "#C2CE0C", shortname = "",},
["Regionalist Party of Castilla-La Mancha"] = {abbrev = "", color = "#DC143C", shortname = "",},
["Regionalist Party of Castilla–La Mancha"] = {abbrev = "", color = "#DC143C", shortname = "",},
["Regionalist Party of El Bierzo"] = {abbrev = "", color = "#005DA1", shortname = "",},
["Regionalist Party of Guadalajara"] = {abbrev = "", color = "#7310AD", shortname = "",},
["Regionalist Party of Independents"] = {abbrev = "", color = "green", shortname = "",},
["Regionalist Party of the Independents"] = {abbrev = "", color = "#00FF00", shortname = "Regionalist",},
["Regionalist Party of the Leonese Country"] = {abbrev = "", color = "#D20062", shortname = "",},
["Regionalist Union of Castile and León"] = {abbrev = "", color = "#1E4D79", shortname = "",},
["Regionalist Unitary Party"] = {abbrev = "", color = "#882222", shortname = "",},
["Regionalist Unity of Castile and León"] = {abbrev = "", color = "#FE0000", shortname = "",},
["Regionalist Unity"] = {abbrev = "", color = "#C9286B", shortname = "",},
["Reich Party for Civil Rights and Deflation"] = {abbrev = "", color = "#0075EB", shortname = "",},
["Reich Party of the German Middle Class"] = {abbrev = "WP", color = "#CCAA7A", shortname = "",},
["Reigate and Banstead Residents Association"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Reinicia Sant Antoni"] = {abbrev = "", color = "#570D9E", shortname = "",},
["Reiwa Shinsengumi"] = {abbrev = "", color = "#ED008C", shortname = "Reiwa",},
["Rejoin EU"] = {abbrev = "", color = "#003399", shortname = "",},
["Religious Torah Front"] = {abbrev = "", color = "#000", shortname = "",},
["Religious Zionist Party"] = {abbrev = "", color = "#214785", shortname = "Religious Zionist",},
["Reload Bulgaria"] = {abbrev = "", color = "black", shortname = "",},
["Renaissance (French political party)"] = {abbrev = "RE", color = "#03215A", shortname = "",},
["Renaissance (Italian political party)"] = {abbrev = "", color = "#56A5EC", shortname = "Renaissance",},
["Renaissance and Union of Europe Party"] = {abbrev = "", color = "#000000", shortname = "",},
["Renaissance group"] = {abbrev = "RE", color = "#0089BF", shortname = "",},
["RENAMO"] = {abbrev = "", color = "#113077", shortname = "",},
["Renew Europe"] = {abbrev = "RE", color = "gold", shortname = "",},
["Renew Party"] = {abbrev = "", color = "#16C0D7", shortname = "Renew",},
["Renewal Bloc"] = {abbrev = "RB", color = "#092f56", shortname = "Renewal Bloc",},
["Renewal (Greece)"] = {abbrev = "", color = "#FAFF5F", shortname = "",},
["Renewal (political party)"] = {abbrev = "", color = "#2B4F32", shortname = "",},
["Renewal Crusade"] = {abbrev = "", color = "SkyBlue", shortname = "",},
["Renewal Front"] = {abbrev = "FR", color = "#0E3C61", shortname = "",},
["Renewal Liberal Centre"] = {abbrev = "", color = "#BD782D", shortname = "",},
["Renewal Party of Ibiza and Formentera"] = {abbrev = "", color = "#354B84", shortname = "",},
["Renewal–Nationalist Brotherhood"] = {abbrev = "", color = "#3EA3D2", shortname = "",},
["Renewed African Socialist Movement"] = {abbrev = "MSAR", color = "#EE403F", shortname = "",},
["Renewed Caledonian Union"] = {abbrev = "UC-R", color = "green", shortname = "",},
["Renewed Democratic Liberty"] = {abbrev = "LIDER", color = "#E20A17", shortname = "",},
["Renewed United Democratic Centre"] = {abbrev = "", color = "#009191", shortname = "",},
["Renewing Romania's European Project"] = {abbrev = "REPER", color = "#c40075", shortname = "",},
["Renewing Communist Ecological Left"] = {abbrev = "", color = "#FF4900", shortname = "",},
["Renmen Ayiti"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Renovating Action Party"] = {abbrev = "PAR", color = "#FDF38E", shortname = "",},
["Renovator Labour Party"] = {abbrev = "", color = "#E7393D", shortname = "",},
["Rent Is Too Damn High Party"] = {abbrev = "", color = "#703642", shortname = "Rent Is Too Damn High",},
["Renua"] = {abbrev = "Ren", color = "#FFA500", shortname = "Renua",},
["Repeal Association"] = {abbrev = "", color = "#DDFFDD", shortname = "Irish Repeal",},
["Repons Peyizan"] = {abbrev = "", color = "#009A17", shortname = "",},
["Republic (Faroe Islands)"] = {abbrev = "", color = "#BED630", shortname = "Republic",},
["Republic (Latvia)"] = {abbrev = "", color = "#075895", shortname = "",},
["Republic (Slovakia)"] = {abbrev = "", color = "#e30512", shortname = "Republic",},
["Republic (Transnistria)"] = {abbrev = "", color = "#990000", shortname = "Republic",},
["Republic National Independent Party"] = {abbrev = "RNIP", color = "#30347B", shortname = "",},
["Republic of Fiji Military Forces"] = {abbrev = "RFMF", color = "#C3B091", shortname = "",},
["Republican (Ireland, 1923)"] = {abbrev = "Rep", color = "#008800", shortname = "Republican",},
["Republican (Ireland)"] = {abbrev = "", color = "#66BB66", shortname = "",},
["Republican Action (Spain)"] = {abbrev = "AR", color = "#FF7028", shortname = "",},
["Republican Alternative (Spain)"] = {abbrev = "", color = "#75246C", shortname = "",},
["Republican Alternative Party (Azerbaijan)"] = {abbrev = "", color = "#EF3340", shortname = "",},
["Republican and Socialist Front"] = {abbrev = "FRS", color = "#FF2E3F", shortname = "",},
["Republican and Socialist Left (2018)"] = {abbrev = "", color = "#D23150", shortname = "",},
["Republican and Socialist Left"] = {abbrev = "", color = "#D53150", shortname = "",},
["Republican Bicentennial Vanguard"] = {abbrev = "", color = "#BE4736", shortname = "",},
["Republican Bloc"] = {abbrev = "BR", color = "", shortname = "",},
["Republican Candidacy"] = {abbrev = "", color = "#6C3E89", shortname = "",},
["Republican Catalan Action"] = {abbrev = "", color = "#E2A554", shortname = "",},
["Republican Clubs"] = {abbrev = "", color = "#EE0000", shortname = "",},
["Republican Coalition (Spain, 1901)"] = {abbrev = "CR", color = "#7A1B6A", shortname = "",},
["Republican Coalition (Spain, 1914)"] = {abbrev = "", color = "#864891", shortname = "",},
["Republican Constitutional Union"] = {abbrev = "UCR", color = "#A352A3", shortname = "",},
["Republican Democratic Movement"] = {abbrev = "", color = "#808080", shortname = "",},
["Republican Democratic Union"] = {abbrev = "UDR", color = "#0000BB", shortname = "",},
["Republican Equality Front"] = {abbrev = "FER", color = "#B9E16F", shortname = "",},
["Republican Fascist Party"] = {abbrev = "", color = "#000000", shortname = "",},
["Republican Federation (Spain)"] = {abbrev = "", color = "#804AB5", shortname = "",},
["Republican Federation"] = {abbrev = "", color = "#005ACA", shortname = "",},
["Republican Force"] = {abbrev = "", color = "#0070B8", shortname = "",},
["Republican Front (Catalonia)"] = {abbrev = "", color = "#EB2071", shortname = "",},
["Republican Front for Unity and Democracy"] = {abbrev = "FRUD", color = "#3080B7", shortname = "",},
["Republican Fusion"] = {abbrev = "", color = "#711A5B", shortname = "Republican",},
["Republican Group of Coslada"] = {abbrev = "", color = "#82177F", shortname = "",},
["Republican Labour Party"] = {abbrev = "RepLab", color = "#85de59", shortname = "Republican Labour",},
["Republican Left (Spain, 1977)"] = {abbrev = "", color = "#B5047B", shortname = "",},
["Republican Left (Spain)"] = {abbrev = "IR", color = "#E25822", shortname = "",},
["Republican Left of Catalonia"] = {abbrev = "ERC", color = "#FFB232", shortname = "",},
["Republican Liberal Party (Panama)"] = {abbrev = "PLR", color = "pink", shortname = "",},
["Republican Liberal Party (Portugal)"] = {abbrev = "PLR", color = "#FFD700", shortname = "",},
["Republican Moderate Party (Alaska)"] = {abbrev = "", color = "#DD4444", shortname = "Republican Moderate",},
["Republican Movement (Mauritius)"] = {abbrev = "", color = "red", shortname = "",},
["Republican Movement (Switzerland)"] = {abbrev = "", color = "#61380B", shortname = "Republican",},
["Republican Nation Party"] = {abbrev = "CMP", color = "#C83737", shortname = "",},
["Republican Nationalist Centre"] = {abbrev = "", color = "#CC9933", shortname = "",},
["Republican Nationalist Federal Union"] = {abbrev = "", color = "#993366", shortname = "Nationalist Federal",},
["Republican Nationalist Party of Ourense"] = {abbrev = "", color = "#4040C0", shortname = "",},
["Republican Network for Unity"] = {abbrev = "", color = "#004400", shortname = "Republican Network",},
["Republican Party (Belarus)"] = {abbrev = "", color = "#811F20", shortname = "Republican",},
["Republican Party (Bolivia)"] = {abbrev = "", color = "#3CB371", shortname = "",},
["Republican Party (Bosnia and Herzegovina)"] = {abbrev = "", color = "Lightblue", shortname = "",},
["Republican Party (Brazil)"] = {abbrev = "PR", color = "#009F3C", shortname = "",},
["Republican Party (Cambodia)"] = {abbrev = "", color = "#0000FF", shortname = "Republican",},
["Republican Party (Chile, 2019)"] = {abbrev = "", color = "#22446D", shortname = "",},
["Republican Party (China)"] = {abbrev = "", color = "#FFC500", shortname = "Republican",},
["Republican Party (Costa Rica)"] = {abbrev = "", color = "#0018A8", shortname = "Republican",},
["Republican Party (East Timor)"] = {abbrev = "", color = "#24A236", shortname = "",},
["Republican Party (France)"] = {abbrev = "", color = "#00CCCC", shortname = "",},
["Republican Party (Guatemala)"] = {abbrev = "PR", color = "#243467", shortname = "Republican Party",},
["Republican Party (Hungary)"] = {abbrev = "KP", color = "#0067A5", shortname = "",},
["Republican Party (Liberia)"] = {abbrev = "", color = "#FF0000", shortname = "Republican",},
["Republican Party (Maldives)"] = {abbrev = "", color = "#DC0A0A", shortname = "",},
["Republican Party (Namibia)"] = {abbrev = "RP", color = "#FFF100", shortname = "",},
["Republican Party (Pakistan)"] = {abbrev = "", color = "#6495ED", shortname = "Republican Party",},
["Republican Party (Panama)"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Republican Party (Philippines)"] = {abbrev = "", color = "#191970", shortname = "Republican",},
["Republican Party (Serbia)"] = {abbrev = "", color = "#c2121d", shortname = "",},
["Republican Party (Spain)"] = {abbrev = "", color = "#D69652", shortname = "",},
["Republican Party (Spain, 1913)"] = {abbrev = "", color = "#A83E90", shortname = "",},
["Republican Party (Tunisia)"] = {abbrev = "", color = "#CF171F", shortname = "",},
["Republican Party (United States)"] = {abbrev = "R", color = "#E81B23", shortname = "Republican",},
["Republican Party for Democracy and Renewal"] = {abbrev = "PRDS", color = "#981c24", shortname = "",},
["Republican Party for Independence and Development"] = {abbrev = "PRID", color = "#f8d568", shortname = "",},
["Republican Party of Afghanistan"] = {abbrev = "", color = "skyblue", shortname = "",},
["Republican Party of Agricultural and Smallholder People"] = {abbrev = "", color = "#008000", shortname = "",},
["Republican Party of Albania"] = {abbrev = "PR", color = "#20267A", shortname = "",},
["Republican Party of Armenia"] = {abbrev = "", color = "#D2691E", shortname = "Republican",},
["Republican Party of Dahomey"] = {abbrev = "", color = "#F38C22", shortname = "",},
["Republican Party of Farmers and Peasants"] = {abbrev = "RSZML", color = "#008000", shortname = "",},
["Republican Party of Havana"] = {abbrev = "", color = "#CD5C5C", shortname = "Republican",},
["Republican Party of India (Athawale)"] = {abbrev = "RPI(A)", color = "#000080", shortname = "",},
["Republican Party of India (Gavai)"] = {abbrev = "RPI(G)", color = "#6633EE", shortname = "",},
["Republican Party of India (Khobragade)"] = {abbrev = "RPI(K)", color = "darkblue", shortname = "",},
["Republican Party of India Ektavadi"] = {abbrev = "RPIE", color = "#BFFF00", shortname = "",},
["Republican Party of India"] = {abbrev = "RPI", color = "#000066", shortname = "",},
["Republican Party of Labour and Justice"] = {abbrev = "RPTS", color = "#DE7673", shortname = "",},
["Republican Party of Liberty"] = {abbrev = "PRL", color = "#4CA2E7", shortname = "",},
["Republican Party of Minas Gerais"] = {abbrev = "PRM", color = "#ED1C24", shortname = "",},
["Republican Party of Paraná"] = {abbrev = "", color = "#768000", shortname = "PR Paraná",},
["Republican Party of Puerto Rico"] = {abbrev = "", color = "#E81B23", shortname = "Republican",},
["Republican Party of Russia"] = {abbrev = "RPR", color = "#FE4801", shortname = "",},
["Republican Party of Russia – People's Freedom Party"] = {abbrev = "RPR–PARNAS", color = "#8A1739", shortname = "",},
["Republican Party of the Social Order"] = {abbrev = "PROS", color = "#F68F22", shortname = "",},
["Republican Patriotic Rally"] = {abbrev = "RPR", color = "", shortname = "",},
["Republican People's Party (Egypt)"] = {abbrev = "RPP", color = "#B7800B", shortname = "Republican People's",},
["Republican People's Party"] = {abbrev = "CHP", color = "#ED1C24", shortname = "",},
["Republican Peronism"] = {abbrev = "", color = "#007FFF", shortname = "",},
["Republican Platform"] = {abbrev = "", color = "#0066FF", shortname = "",},
["Republican Progressive Democratic Front"] = {abbrev = "FDPR", color = "#EE2C21", shortname = "",},
["Republican Proposal"] = {abbrev = "PRO", color = "#ffd700", shortname = "",},
["Republican Reliance Party"] = {abbrev = "CGP", color = "#FF4500", shortname = "",},
["Republican Sinn Féin"] = {abbrev = "RSF", color = "#008800", shortname = "Republican Sinn Féin",},
["Republican Social Movement"] = {abbrev = "", color = "#313439", shortname = "",},
["Republican Socialist Unity Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Republican Turkish Party"] = {abbrev = "CTP", color = "#008000", shortname = "",},
["Republican Union (France)"] = {abbrev = "", color = "#C0504D", shortname = "",},
["Republican Union (Portugal)"] = {abbrev = "PUR", color = "#A52A2A", shortname = "Republican Union",},
["Republican Union (Puerto Rico)"] = {abbrev = "", color = " ", shortname = "Republican Union",},
["Republican Union (Spain, 1934)"] = {abbrev = "", color = "#672F6C", shortname = "",},
["Republican Union (Guatemala)"] = {abbrev = "UR", color = "#2c3592", shortname = "Republican Union",},
["Republican Union Party (Colombia)"] = {abbrev = "", color = "#FBCEB1", shortname = "",},
["Republican Union Party (Ecuador)"] = {abbrev = "PUR", color = "#D0FF14", shortname = "",},
["Republican Union Party (Spain)"] = {abbrev = "PUR", color = "#931585", shortname = "",},
["Republican Union Party"] = {abbrev = "", color = "#ADD8E6", shortname = "",},
["Republican Unity Party"] = {abbrev = "", color = "#D0FF14", shortname = "",},
["Republican Villagers Nation Party"] = {abbrev = "CKMP", color = "#C83737", shortname = "",},
["Republican-Socialist Party"] = {abbrev = "PRS", color = "#DE3163", shortname = "",},
["Republican–Socialist Conjunction"] = {abbrev = "", color = "#C11956", shortname = "Republican–Socialist",},
["Republican, Ecologist and Social Alliance"] = {abbrev = "ARES", color = "#4169E1", shortname = "",},
["Republican/Hold"] = {abbrev = "", color = "#FFF1EE", shortname = "",},
["Republicans (Brazil)"] = {abbrev = "", color = "#0070C5", shortname = "Republicanos",},
["Republicans for Bulgaria"] = {abbrev = "RzB", color = "#2B4A99", shortname = "",},
["Republicans"] = {abbrev = "", color = "#AB0EA7", shortname = "",},
["Res Publica Party"] = {abbrev = "", color = "#04427C", shortname = "Res Publica",},
["Residents Action Movement"] = {abbrev = "RAM", color = "#467CFA", shortname = "",},
["Residents Association of London"] = {abbrev = "", color = "teal", shortname = "Residents",},
["Residents Association"] = {abbrev = "", color = "#d3d3d3", shortname = "Residents",},
["Residents Associations of Epsom and Ewell"] = {abbrev = "", color = "pink", shortname = "Residents Association",},
["Residents for Guildford and Villages"] = {abbrev = "R4GV", color = "#CA1F7B", shortname = "",},
["Residents for Uttlesford"] = {abbrev = "R4U", color = "#00a88f", shortname = "",},
["Residents' Association of Barnet"] = {abbrev = "", color = "#669966", shortname = "Residents' Association",},
["Residents' Association of London"] = {abbrev = "", color = "gray", shortname = "",},
["Residents' association"] = {abbrev = "RA", color = "#666666", shortname = "",},
["RESIST (electoral list)"] = {abbrev = "", color = "#00A94F", shortname = "",},
["Resistance Front of Islamic Iran"] = {abbrev = "RFII", color = "#23aba1", shortname = "",},
["Resistance of Guinea-Bissau-Bafatá Movement"] = {abbrev = "", color = "#0A86F8", shortname = "",},
["Resistance Party (France)"] = {abbrev = "", color = "#0072BB", shortname = "",},
["Résistons!"] = {abbrev = "", color = "#034EA1", shortname = "",},
["Resni.ca"] = {abbrev = "", color = "#7C5199", shortname = "",},
["Résoatao Party"] = {abbrev = "", color = "#154FE6", shortname = "",},
["Respect (Haiti)"] = {abbrev = "", color = "#0000FF", shortname = "Respect",},
["Respect Party"] = {abbrev = "", color = "#46801c", shortname = "Respect",},
["Respeto"] = {abbrev = "", color = "#8E1919", shortname = "",},
["Responsibility – Social Democratic Alliance of Political Parties"] = {abbrev = "", color = "#ADD8E6", shortname = "",},
["Responsible Future (Iceland)"] = {abbrev = "", color = "#322757", shortname = "",},
["Responsible Government Association"] = {abbrev = "", color = "#FF7F00", shortname = "",},
["Respublica (Kazakh political party)"] = {abbrev = "", color = "#4A78EC", shortname = "Respublica",},
["Respublika (political party)"] = {abbrev = "", color = "#20959E", shortname = "Respublika",},
["Respublika–Ata Zhurt"] = {abbrev = "", color = "#FFCF06", shortname = "",},
["Restart Coalition"] = {abbrev = "", color = "#e00f20", shortname = "Restart",},
["Restoration of Ukraine"] = {abbrev = "", color = "#FFDD00", shortname = "Restoration",},
["Restore and Build Kenya"] = {abbrev = "", color = "#0000ff", shortname = "",},
["Restore Democracy Sack Dan Andrews Party"] = {abbrev = "RDSD", color = "#C72C32", shortname = "Restore Democracy",},
["Restore Scotland"] = {abbrev = "", color = "#006EB6", shortname = "",},
["Restore the Family for Children's Sake"] = {abbrev = "", color = "Goldenrod", shortname = "",},
["RETE Movement"] = {abbrev = "RETE", color = "#275956", shortname = "",},
["Retirees Party for the Future"] = {abbrev = "", color = "#59A35A", shortname = "",},
["RETO Movement"] = {abbrev = "RETO", color = "#012F71", shortname = "",},
["Reunification Democratic Party"] = {abbrev = "RDP", color = "#E60026", shortname = "Reunification Democratic",},
["Reunification Movement for Change"] = {abbrev = "RMC", color = "#F16A26", shortname = "",},
["Reus Independent Coordinator"] = {abbrev = "", color = "#A71F21", shortname = "",},
["Revenue Tariff Party (Tasmania)"] = {abbrev = "", color = "#FFDB58", shortname = "Revenue Tariff",},
["Revival (Bulgarian political party)"] = {abbrev = "", color = "#C09F62", shortname = "Revival",},
["Revival (Ukraine)"] = {abbrev = "", color = "#90BEDC", shortname = "Revival",},
["Revival Party"] = {abbrev = "", color = "Crimson", shortname = "",},
["Revival Party (Moldova)"] = {abbrev = "Revival", color = "#FF0000", shortname = "",},
["Revolutionary Action Party"] = {abbrev = "PAR", color = "#4682b4", shortname = "",},
["Revolutionary Anticapitalist Left"] = {abbrev = "", color = "#B41E17", shortname = "",},
["Revolutionary Civic Union"] = {abbrev = "UCR", color = "#6B8E23", shortname = "",},
["Revolutionary Agrarian Movement of the Bolivian Peasantry"] = {abbrev = "MARC", color = "#D29D7D", shortname = "",},
["Revolutionary Committee of the Chinese Kuomintang"] = {abbrev = "RCCK", color = "#1b65af", shortname = "",},
["Revolutionary Communist League (France)"] = {abbrev = "LCR", color = "#C41E3A", shortname = "",},
["Revolutionary Communist League (Spain)"] = {abbrev = "", color = "#DF0101", shortname = "",},
["Revolutionary Communist Movement of Greece"] = {abbrev = "EKKE", color = "red", shortname = "",},
["Revolutionary Communist Party (Argentina)"] = {abbrev = "PCR", color = "#E00000", shortname = "Revolutionary Communist Party",},
["Revolutionary Communist Party (Spain)"] = {abbrev = "", color = "#DF0101", shortname = "Revolutionary Communist Party",},
["Revolutionary Communist Party (UK, 1978)"] = {abbrev = "", color = "#880000", shortname = "Revolutionary Communist",},
["Revolutionary Communist Party of Britain (Marxist-Leninist)"] = {abbrev = "", color = "red", shortname = "",},
["Revolutionary Communist Party of Britain (Marxist–Leninist)"] = {abbrev = "RCP (GB) (ML)", color = "#660000", shortname = "",},
["Revolutionary Communist Party of India"] = {abbrev = "RCPI", color = "Red", shortname = "",},
["Revolutionary Communist Party, USA"] = {abbrev = "", color = "#C80815", shortname = "",},
["Revolutionary Democratic Coalition"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Revolutionary Democratic Party of India"] = {abbrev = "RDP(I)", color = "#F78181", shortname = "",},
["Revolutionary Febrerista Party"] = {abbrev = "PRF", color = "#01a755", shortname = "",},
["Revolutionary Goans Party"] = {abbrev = "RGP", color = "#E3C773", shortname = "",},
["Revolutionary Left Front (Bolivia)"] = {abbrev = "", color = "red", shortname = "",},
["Revolutionary Left Front"] = {abbrev = "", color = "#0500BE", shortname = "",},
["Revolutionary Left Movement (Bolivia)"] = {abbrev = "", color = "#FF8000", shortname = "",},
["Revolutionary Left Movement (Venezuela)"] = {abbrev = "", color = "red", shortname = "",},
["Revolutionary Left Party"] = {abbrev = "", color = "darkred", shortname = "",},
["Revolutionary Liberation Movement Túpac Katari"] = {abbrev = "MRTKL", color = "#A57DAD", shortname = "",},
["Revolutionary Marxist Party of India"] = {abbrev = "RMPI", color = "red", shortname = "",},
["Revolutionary Middle Class"] = {abbrev = "", color = "Black", shortname = "",},
["Revolutionary Nationalist Movement"] = {abbrev = "MNR", color = "#F19CBB", shortname = "",},
["Revolutionary Organization"] = {abbrev = "RO", color = "#ee1c25", shortname = "",},
["Revolutionary Party (Guatemala)"] = {abbrev = "", color = "#964B00", shortname = "",},
["Revolutionary Party of Democratic Unification"] = {abbrev = "PRUD", color = "#FAAFBE", shortname = "",},
["Revolutionary Party of the Nationalist Left"] = {abbrev = "", color = "#D62222", shortname = "",},
["Revolutionary People's Liberation Party/Front"] = {abbrev = "DHKP-C", color = "#D40000", shortname = "",},
["Revolutionary Social Democratic Party"] = {abbrev = "", color = "#200040", shortname = "",},
["Revolutionary Socialist Party (Bolshevik)"] = {abbrev = "RSP(B)", color = "#FF0000", shortname = "",},
["Revolutionary Socialist Party (India)"] = {abbrev = "RSP", color = "#FF4A4A", shortname = "",},
["Revolutionary Socialist Party (Leninist)"] = {abbrev = "RSP(L)", color = "#FF0000", shortname = "",},
["Revolutionary Socialist Party (Luxembourg)"] = {abbrev = "", color = "#960018", shortname = "",},
["Revolutionary Socialist Party (Netherlands)"] = {abbrev = "", color = "#990000", shortname = "",},
["Revolutionary Socialist Party (Peru)"] = {abbrev = "", color = "Red", shortname = "",},
["Revolutionary Socialist Party (Portugal)"] = {abbrev = "PSR", color = "#780000", shortname = "",},
["Revolutionary Socialist Party of Kerala (Bolshevik)"] = {abbrev = "", color = "red", shortname = "",},
["Revolutionary Socialist Workers' Party (Turkey)"] = {abbrev = "DSİP", color = "#000000", shortname = "",},
["Revolutionary Socialists (Egypt)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Revolutionary Union (Peru)"] = {abbrev = "", color = "black", shortname = "",},
["Revolutionary United Front"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Revolutionary Workers Party (Chile)"] = {abbrev = "", color = "#BE0411", shortname = "",},
["Revolutionary Workers Party (US)"] = {abbrev = "", color = "#aa0000", shortname = "Revolutionary Workers",},
["Revolutionary Workers Party of Bangladesh"] = {abbrev = "BRWP", color = "#E38B9F", shortname = "",},
["Revolutionary Workers' Party (Bolivia)"] = {abbrev = "", color = "#8B0000", shortname = "",},
["Revolutionary Workers' Party (Russia)"] = {abbrev = "", color = "#DE0403", shortname = "",},
["Revolutionary Workers' Party (Spain)"] = {abbrev = "", color = "#B22222", shortname = "",},
["Revolutionary Workers' Party (Uruguay)"] = {abbrev = "POR", color = "#fff44f", shortname = "",},
["Revolution for Prosperity"] = {abbrev = "RFP", color = "#411144", shortname = "",},
["Rewmi"] = {abbrev = "", color = "#E68F3F", shortname = "",},
["Rex Patrick Team"] = {abbrev = "", color = "#16b7cd", shortname = "",},
["Rexist Party"] = {abbrev = "", color = "#D31212", shortname = "Rexist",},
["Rezistans ek Alternativ"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Rhinoceros Party"] = {abbrev = "", color = "#D8BFD8", shortname = "Rhinoceros",},
["Rhodesia Labour Party"] = {abbrev = "", color = "#DC241f", shortname = "Labour",},
["Rhodesia Party"] = {abbrev = "", color = "#FF7F00", shortname = "",},
["Rhodesian Action Party"] = {abbrev = "RAP", color = "#ffd700", shortname = "",},
["Rhodesian Front"] = {abbrev = "RF", color = "#C247C2", shortname = "",},
["Rhodesian Party"] = {abbrev = "", color = "Orange", shortname = "",},
["Rhuddlan Debt Protest Campaign"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Right Alliance (Belarus)"] = {abbrev = "", color = "#959492", shortname = "",},
["Right Bloc"] = {abbrev = "PB", color = "#8DB600", shortname = "",},
["Right Cause"] = {abbrev = "", color = "#F0BD48", shortname = "",},
["Right-Green People's Party"] = {abbrev = "", color = "#008000", shortname = "",},
["Right Person Electorate Coalition"] = {abbrev = "RPEC", color = "#6D3290", shortname = "",},
["Right Romania Alliance"] = {abbrev = "ARD", color = "#318CE7", shortname = "",},
["Right Sector"] = {abbrev = "", color = "#110C17", shortname = "",},
["Right to Change"] = {abbrev = "RTOC", color = "#EE4035", shortname = "Right to Change",},
["Right Wing of the Republic"] = {abbrev = "", color = "#BE282D", shortname = "",},
["Right-wing independent"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Righteous Party"] = {abbrev = "", color = "#901380", shortname = "",},
["Rightist Opposition"] = {abbrev = "", color = "#7C1F3C", shortname = "Right Opposition",},
["Right Socialist Party of Japan"] = {abbrev = "", color = "#EE5807", shortname = "Right Socialist",},
["Right to Recall Party"] = {abbrev = "RRP", color = "#FFFF00", shortname = "",},
["Rights and Equality Party"] = {abbrev = "HEPAR", color = "#000000", shortname = "",},
["Rights and Freedoms Party (Turkey)"] = {abbrev = "", color = "#FFDB4D", shortname = "",},
["Rights and Freedoms Party"] = {abbrev = "HAK-PAR", color = "#E6E600", shortname = "",},
["Rights and Justice Party"] = {abbrev = "HAP", color = "#996633", shortname = "",},
["Rights and Liberties Party"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Rights Party"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Rikken Doshikai"] = {abbrev = "", color = "#DA7B8B", shortname = "",},
["Rikken Kaishintō"] = {abbrev = "", color = "#cd5c5c", shortname = "",},
["Rikken Kakushintō"] = {abbrev = "", color = "#00AE9D", shortname = "",},
["Rikken Kokumintō"] = {abbrev = "", color = "#A090E0", shortname = "",},
["Rikken Seiyūkai"] = {abbrev = "", color = "#2E980F", shortname = "",},
["Rikken Yōseikai"] = {abbrev = "", color = "#B0313F", shortname = "",},
["Rio-grandense Republican Party"] = {abbrev = "PRR", color = "#DE2910", shortname = "",},
["Rinnovu"] = {abbrev = "", color = "#500F0B", shortname = "",},
["Riojan Party"] = {abbrev = "PR+", color = "#00AA42", shortname = "",},
["Rionegrin Provincial Party"] = {abbrev = "", color = "#EB3721", shortname = "",},
["RISE – Scotland's Left Alliance"] = {abbrev = "RISE", color = "#f15723", shortname = "",},
["RISE (Ireland)"] = {abbrev = "", color = "#ED161F", shortname = "RISE",},
["Rise Party"] = {abbrev = "", color = "#2E127D", shortname = "",},
["Rise Up Australia Party"] = {abbrev = "RUA", color = "#0080FF", shortname = "Rise Up",},
["Rising Sun Party"] = {abbrev = "RIS", color = "#FFB040", shortname = "",},
["Ritō (government supporters)"] = {abbrev = "", color = "#009933", shortname = "",},
["Rivas Puede"] = {abbrev = "", color = "#812868", shortname = "",},
["Rivers State Peoples Democratic Party"] = {abbrev = "PDP", color = "#FF0000", shortname = "",},
["Robbie the Pict (Independent)"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Rochford District Residents"] = {abbrev = "", color = "#930000", shortname = "Rochford Resident",},
["Rock 'n' Roll Loony Party"] = {abbrev = "", color = "#c71585", shortname = "Rock 'n' Roll Loony",},
["Rock The Vote NZ"] = {abbrev = "", color = "#012268", shortname = "",},
["Rockingham Whigs"] = {abbrev = "", color = "#F0DC82", shortname = "",},
["Rodina (political party)"] = {abbrev = "", color = "#E61B23", shortname = "Rodina",},
["Rodney First"] = {abbrev = "", color = "#009999", shortname = "",},
["Rodrigues Movement"] = {abbrev = "", color = "#21FF21", shortname = "",},
["Rodrigues People's Organisation"] = {abbrev = "OPR", color = "#8B664B", shortname = "",},
["Roma Civic Initiative"] = {abbrev = "ROI", color = "brown", shortname = "",},
["Roma Party"] = {abbrev = "RP", color = "#016830", shortname = "",},
["Roma Union of Serbia"] = {abbrev = "URS", color = "#A3C5EA", shortname = "",},
["Roman Catholic Party of the Netherlands"] = {abbrev = "RKPN", color = "#0033BB", shortname = "",},
["Roman Catholic People's Party"] = {abbrev = "RKVP", color = "#7F7F99", shortname = "",},
["Roman Catholic State Party"] = {abbrev = "RKSP", color = "#003319", shortname = "",},
["Romanian Communist Party"] = {abbrev = "PCR", color = "#CC0000", shortname = "",},
["Romanian Democratic Convention"] = {abbrev = "CDR", color = "#004A92", shortname = "",},
["Romanian ethnic minority parties"] = {abbrev = "", color = "#000000", shortname = "Minority parties",},
["Romanian National Party"] = {abbrev = "PNR", color = "#5087B2", shortname = "",},
["Romanian National Unity Party"] = {abbrev = "PUNR", color = "#1BB0E8", shortname = "",},
["Romanian Nationhood Party"] = {abbrev = "NR", color = "#F7D117", shortname = "",},
["Romanian People's Party"] = {abbrev = "VNS", color = "#FFFF00", shortname = "",},
["Romanian Popular Party"] = {abbrev = "PPR", color = "#FFFF00", shortname = "",},
["Romanian Social Democratic Party (1927–1948)"] = {abbrev = "PSD", color = "#D40000", shortname = "",},
["Romanian Social Democratic Party (1990–2001)"] = {abbrev = "", color = "pink", shortname = "PSDR (Social)",},
["Romanian Social Party"] = {abbrev = "", color = "#ff0000", shortname = "",},
["Romanian Socialist Democratic Party"] = {abbrev = "", color = "#ED2128", shortname = "PSDR (Socialist)",},
["Romanian Socialist Party (1992–2015)"] = {abbrev = "PSR", color = "#CC0000", shortname = "",},
["Romanian Socialist Party (2003)"] = {abbrev = "", color = "#E30615", shortname = "",},
["Romanian Sovereigntist Bloc"] = {abbrev = "BSR", color = "#2A50A1", shortname = "",},
["Romantic Mutual Support Party"] = {abbrev = "", color = "#FFC0CB", shortname = "",},
["Ronda Green Space"] = {abbrev = "", color = "#52886E", shortname = "",},
["Ronda Sí Se Puede"] = {abbrev = "", color = "#63376A", shortname = "",},
["Rondeños por Ronda"] = {abbrev = "", color = "#7F7F7F", shortname = "",},
["Roos Party"] = {abbrev = "", color = "#FFD700", shortname = "Roos",},
["Roots in Macau"] = {abbrev = "", color = "#33FF00", shortname = "",},
["Roots Party of Kenya"] = {abbrev = "", color = "#EC3237", shortname = "",},
["Roque Aguayro"] = {abbrev = "", color = "#D93224", shortname = "",},
["Roque de Gando"] = {abbrev = "", color = "#FFF200", shortname = "",},
["Rose in the Fist"] = {abbrev = "", color = "gold", shortname = "",},
["ROSSEM"] = {abbrev = "", color = "#B7007D", shortname = "",},
["Rother Association of Independent Councillors"] = {abbrev = "RAOIC", color = "#BD8E00", shortname = "",},
["Round Table—Free Georgia"] = {abbrev = "", color = "#BA2B27", shortname = "Round Table",},
["Roundhead"] = {abbrev = "", color = "white", shortname = "",},
["Roundtable (Hong Kong)"] = {abbrev = "", color = "#509ccd", shortname = "Roundtable",},
["Royalist"] = {abbrev = "", color = "#66023C", shortname = "",},
["Royal Italy"] = {abbrev = "IR", color = "#0C0066", shortname = "",},
["RPR-UDF"] = {abbrev = "", color = "#0066CC", shortname = "",},
["Ruam Jai Thai Party"] = {abbrev = "", color = "#F07F07", shortname = "",},
["Ruiz-Mateos Group"] = {abbrev = "", color = "#28365D", shortname = "Ruiz-Mateos",},
["Rukhaniyat Party"] = {abbrev = "", color = "green", shortname = "Rukhaniyat",},
["Ruktam Party"] = {abbrev = "", color = "#799C44", shortname = "Ruktam",},
["Runnymede Independent Residents' Group"] = {abbrev = "RIRG", color = "#264404", shortname = "",},
["Rural Development Party"] = {abbrev = "RDP", color = "", shortname = "",},
["Rural Development Party (Vanuatu)"] = {abbrev = "RDP", color = "#000000", shortname = "Rural Development",},
["Rural Independents Group"] = {abbrev = "", color = "#CCFFCC", shortname = "",},
["Rural Nationalist Bloc"] = {abbrev = "", color = "#048043", shortname = "",},
["Rural Party"] = {abbrev = "", color = "#808000", shortname = "",},
["Rural Party (Iceland)"] = {abbrev = "", color = "purple", shortname = "",},
["Rurality Movement"] = {abbrev = "LMR", color = "#0049A1", shortname = "",},
["Rushcliffe Independents"] = {abbrev = "RI", color = "pink", shortname = "Rushcliffe Ind."},
["Russellite Unionist"] = {abbrev = "", color = "orange", shortname = "",},
["Russia of the Future"] = {abbrev = "", color = "#44B4E3", shortname = "",},
["Russian All-National Union"] = {abbrev = "RONS", color = "#322E2E", shortname = "",},
["Russian All-People's Union"] = {abbrev = "ROS", color = "#FF9C00", shortname = "",},
["Russian Communist Workers Party"] = {abbrev = "", color = "#D50000", shortname = "",},
["Russian Communist Workers' Party of the Communist Party of the Soviet Union"] = {abbrev = "", color = "#A9231B", shortname = "",},
["Russian Democratic Reform Movement"] = {abbrev = "RDDR", color = "#E9E26E", shortname = "",},
["Russian Ecological Party \"The Greens\""] = {abbrev = "", color = "#00953B", shortname = "The Greens",},
["Russian Labour Front"] = {abbrev = "RTF", color = "#34499A", shortname = "",},
["Russian National Party"] = {abbrev = "RNP", color = "blue", shortname = "",},
["Russian Opposition Coordination Council"] = {abbrev = "KSO", color = "#737587", shortname = "",},
["Russian Party (Serbia)"] = {abbrev = "RS", color = "#0D3B66", shortname = "",},
["Russian Party in Estonia"] = {abbrev = "", color = "#2b677f", shortname = "",},
["Russian Party of Freedom and Justice"] = {abbrev = "RPSS", color = "#AC0907", shortname = "",},
["Russian Party of Life"] = {abbrev = "RPL", color = "#D82828", shortname = "",},
["Russian Party of Pensioners for Social Justice"] = {abbrev = "RPPSJ", color = "#C52030", shortname = "",},
["Russian Party of Social Democracy"] = {abbrev = "", color = "#D51F76", shortname = "",},
["Russian Party"] = {abbrev = "", color = "#3CB371", shortname = "",},
["Russian People's Democratic Union"] = {abbrev = "", color = "#D00032", shortname = "",},
["Russian Social Democratic Labour Party"] = {abbrev = "RSDLP", color = "#D40000", shortname = "",},
["Russian Social Democratic Labour Party (Mensheviks)"] = {abbrev = "", color = "#ED1B34", shortname = "Mensheviks",},
["Russian Socialist Movement"] = {abbrev = "", color = "#D62B24", shortname = "",},
["Russian Socialist Party"] = {abbrev = "", color = "#020266", shortname = "",},
["Ruthenian Peasants Party"] = {abbrev = "PKP", color = "#36454F", shortname = "",},
["Russian Bloc (party)"] = {abbrev = "", color = "#0A347C", shortname = "",},
["Russian Unity"] = {abbrev = "", color = "#054C9F", shortname = "",},
["Russophiles for the Revival of the Fatherland"] = {abbrev = "", color = "#3EB149", shortname = "",},
["Rwandan Patriotic Front"] = {abbrev = "RPF", color = "#0087DC", shortname = "",},
["Rwandan Socialist Party"] = {abbrev = "", color = "#FFC0CB", shortname = "",},
["Ryokufūkai (1947–1960)"] = {abbrev = "", color = "#9ACBAB", shortname = "Ryokufūkai",},
}
return {
full = full,
alternate = alternate,
}
fd474360fdb6e088eda2ff6c02fa02da083cdc9d
Template:Start date
10
1469
3002
3001
2024-03-13T05:24:21Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#if: {{{4|}}}
|{{#if: {{{5|}}}
|{{padleft:{{{4}}}|2|0}}:{{padleft:{{{5}}}|2|0}}{{#if: {{{6|}}}
|:{{padleft:{{{6}}}|2|0}} }}, }} }}<!--ABOVE FOR TIME; BELOW FOR DATE
-->{{#if: {{{1|}}}
|{{#if: {{{2|}}}
|{{#if: {{{3|}}}
|{{#if: {{{df|}}}|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},}} {{{1}}}|{{MONTHNAME|{{{2}}}}} {{{1}}}}}|{{{1}}}}}}}{{#if: {{{7|}}}
| ({{#ifeq: {{{7}}}|Z|UTC|{{{7}}}}})}}<!-- BELOW FOR hCalendar
--><span style="display:none"> (<span class="bday dtstart published updated itvstart">{{#if: {{{1|}}}
| {{{1}}}{{#if: {{{2|}}}
| -{{padleft:{{{2}}}|2|0}}{{#if: {{{3|}}}
| -{{padleft:{{{3}}}|2|0}} }} }}<!--
-->{{#if: {{{4|}}}
| T{{padleft:{{{4}}}|2|0}}{{#if: {{{5|}}}
| :{{padleft:{{{5}}}|2|0}}{{#if: {{{6|}}}
| :{{padleft:{{{6}}}|2|0}} }} }} }} }}{{{7|}}}</span>)</span></includeonly><noinclude>
{{documentation}}
</noinclude>
88d4eb5ec3ed1ab1bc474ddc978cc58ffa5946c4
Module:Ustring
828
1470
3004
3003
2024-03-13T05:24:22Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
require('strict')
return setmetatable({}, {
__index = function(t, k)
local what = mw.ustring[k]
if type(what) ~= "function" then
return what
end
return function(frame)
local fargs = frame.args
local fargsused = { tag = true }
local args = {}
local str_i = 1
while fargs['s' .. str_i] do
fargsused['s' .. str_i] = true
args[str_i] = fargs['s' .. str_i]
str_i = str_i + 1
end
for i, v in ipairs(fargs) do
fargsused[i] = true
args[i + str_i - 1] = tonumber(v) or v:gsub("^\\", "", 1)
end
if not fargs.tag then
return (what(unpack(args))) -- Outside parens truncate to first result avoiding tail call
end
local tagargs = {}
for x, y in pairs(fargs) do
if not fargsused[x] then tagargs[x] = y end
end
return frame:extensionTag{name = fargs.tag, content = what(unpack(args)), args = tagargs}
end
end
})
e0455dab4b66831f7596e77432ad865faeef506c
Template:Para
10
1471
3006
3005
2024-03-13T05:24:22Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<code class="tpl-para" style="word-break:break-word;{{SAFESUBST:<noinclude />#if:{{{plain|}}}|border: none; background-color: inherit;}} {{SAFESUBST:<noinclude />#if:{{{plain|}}}{{{mxt|}}}{{{green|}}}{{{!mxt|}}}{{{red|}}}|color: {{SAFESUBST:<noinclude />#if:{{{mxt|}}}{{{green|}}}|#006400|{{SAFESUBST:<noinclude />#if:{{{!mxt|}}}{{{red|}}}|#8B0000|inherit}}}};}} {{SAFESUBST:<noinclude />#if:{{{style|}}}|{{{style}}}}}">|{{SAFESUBST:<noinclude />#if:{{{1|}}}|{{{1}}}=}}{{{2|}}}</code><noinclude>
{{Documentation}}
<!--Categories and interwikis go near the bottom of the /doc subpage.-->
</noinclude>
06006deea2ed5d552aab61b4332321ab749ae7e8
Template:Navbar
10
1472
3008
3007
2024-03-13T05:24:22Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#invoke:Navbar|navbar}}</includeonly><noinclude>
{{documentation}}
</noinclude>
868e3566b7e8a9a5a7f3dac75cac429c47de10d3
Template:Sup
10
1473
3010
3009
2024-03-13T05:24:23Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly><sup>{{{1}}}</sup></includeonly><noinclude>
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
d7d0f30bf52c68f2f488db57534de2552c40c938
Template:Country data United Kingdom
10
1474
3012
3011
2024-03-13T05:24:23Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = United Kingdom
| flag alias = Flag of the United Kingdom.svg
| flag alias-1707 = Naval ensign of Great Britain (1707–1800).svg
| flag alias-air force = Ensign of the Royal Air Force.svg
| flag alias-army = Flag of the British Army.svg
| flag alias-civil = Civil Ensign of the United Kingdom.svg
| flag alias-civil-air = Civil Air Ensign of the United Kingdom.svg
| flag alias-coast guard = Flag of Her Majesty's Coastguard.svg
| flag alias-consulate = UK-Consular.svg
| flag alias-embassy = British Ambassador Ensign.svg
| flag alias-government = Government Ensign of the United Kingdom.svg
| flag alias-marines = Flag of the Royal Marines.svg
| flag alias-military = Flag of the United Kingdom (3-5).svg
| flag alias-naval = Naval Ensign of the United Kingdom.svg
| flag alias-GS = Government Service Ensign.svg
| flag alias-merchant = Civil Ensign of the United Kingdom.svg
| flag alias-RFA = British-Royal-Fleet-Auxiliary-Ensign.svg
| flag alias-RMAS = British Royal Maritime Auxiliary Ensign.svg
| flag alias-RNLI = Flag of the Royal National Lifeboat Institution.svg
| flag alias-naval-1707 = Naval ensign of Great Britain (1707–1800).svg
| flag alias-naval-GS = Government Service Ensign.svg
| flag alias-naval-merchant = Civil Ensign of the United Kingdom.svg
| flag alias-naval-RFA = British-Royal-Fleet-Auxiliary-Ensign.svg
| flag alias-naval-RMAS = British Royal Maritime Auxiliary Ensign.svg
| flag alias-naval-RNLI = Flag of the Royal National Lifeboat Institution.svg
| flag alias-navy = Naval Ensign of the United Kingdom.svg
| link alias-air force = Royal Air Force
| link alias-army = British Army
| link alias-coast guard = His Majesty's Coastguard
| link alias-marines = Royal Marines
| link alias-military = British Armed Forces
| link alias-navy = Royal Navy
| link alias-naval = {{#switch:{{{variant|}}}
| merchant = Merchant Navy (United Kingdom){{!}}Merchant Navy
| reserve = Royal Naval Reserve
| RFA = Royal Fleet Auxiliary
| RMAS = Royal Maritime Auxiliary Service
| RNLI = Royal National Lifeboat Institution
| naval-merchant = Merchant Navy (United Kingdom){{!}}Merchant Navy
| naval-reserve = Royal Naval Reserve
| naval-RFA = Royal Fleet Auxiliary
| naval-RMAS = Royal Maritime Auxiliary Service
| naval-RNLI = Royal National Lifeboat Institution
| #default = Royal Navy
}}
| size = {{{size|}}}
| name = {{#ifeq:{{{name|}}}|Britain|United Kingdom|{{{name|}}}}}
| altlink = {{{altlink|}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = civil
| var2 = government
| var3 = 1707
| var4 = civil-air
| var5 = embassy
| var6 = consulate
| var7 = GS
| var8 = merchant
| var9 = RFA
| var10 = RMAS
| var11 = RNLI
| var12 = naval-1707
| var13 = naval-GS
| var14 = naval-merchant
| var15 = naval-RFA
| var16 = naval-RMAS
| var17 = naval-RNLI
| redir1 = UK
| redir2 = U.K.
| redir3 = the United Kingdom
| related1 = Great Britain
| related2 = London
| related3 = Kingdom of Great Britain
| related4 = British Empire
| related5 = United Kingdom of Great Britain and Ireland
| related6 = Kingdom of England
| related7 = Kingdom of Scotland
</noinclude>
}}
f35f7e64c499db65b9894d7fb917c4c07d791aa4
Template:Decrease
10
1475
3014
3013
2024-03-13T05:24:23Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
[[File:Decrease2.svg|{{{size|11px}}}|alt={{{1|Decrease}}}|link=|{{{1|Decrease}}}]]<noinclude>
{{Documentation}}
</noinclude>
ca2c92f64202d1cd0c9115430a0130fe02c27ae0
Template:Max
10
1476
3016
3015
2024-03-13T05:24:24Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#invoke:Math|max}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
f052e3a9b5b08740be624045e49f31d86e09f0ad
Module:Political party/L
828
1477
3018
3017
2024-03-13T05:24:24Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["La France insoumise"] = "La France Insoumise",
["Labor Front"] = "Labour Front",
["Labor Party (United States, 1996)"] = "Labor Party (US, 1996)",
["Labor Party (United States)"] = "Labor Party (US)",
["Labor Party (US, 19th century)"] = "Labor Party (United States, 19th century)",
["Labor Party"] = "Labour Party",
["Labour Party–GroenLinks"] = "GroenLinks–PvdA",
["Labor-Farm Party of Wisconsin"] = "Labor–Farm Party of Wisconsin",
["Labour '87"] = "Labour Party of Northern Ireland",
["Labour Co-operative"] = "Labour and Co-operative Party",
["Labour and Co-operative"] = "Labour and Co-operative Party",
["Labour Coalition"] = "Labour coalition",
["Labour (Ireland)"] = "Labour Party (Ireland)",
["Labour Party (Mexico)"] = "Labor Party (Mexico)",
["Labour Party (Portugal)"] = "Worker–Peasant Alliance",
["Lakas Kampi CMD"] = "Lakas–Kampi",
["Lakas-Kampi-CMD"] = "Lakas–Kampi",
["Lakas-Christian Muslim Democrats"] = "Lakas–CMD",
["Lakas-CMD"] = "Lakas–CMD",
["Lakas-CMD (1991)"] = "Lakas–CMD (1991)",
["Lakas-CMD (2009)"] = "Lakas–CMD",
["Lakas-Kampi-CMD"] = "Lakas–Kampi",
["Lakas-NUCD-UMDP"] = "Lakas–CMD (1991)",
["Lakas-NUCD"] = "Lakas–CMD (1991)",
["Lakas–Christian Muslim Democrats"] = "Lakas–CMD",
["Lakas–CMD"] = "Lakas–CMD",
["Lakas–CMD (1991)"] = "Lakas–CMD (1991)",
["Lakas–CMD (2009)"] = "Lakas–CMD",
["Lakas–Kampi–CMD"] = "Lakas–Kampi",
["Lakas–NUCD–UMDP"] = "Lakas–CMD (1991)",
["Lakas–NUCD"] = "Lakas–CMD (1991)",
["Lalit"] = "Lalit (Mauritius)",
["Lanka Democratic Party"] = "Lanka Prajathanthravadi Pakshaya",
["Lantmannapartiet"] = "Lantmanna Party",
["LaRouche movement"] = "National Democratic Policy Committee",
["Latvian Centrist Party"] = "Centre Party (Latvia)",
["Latvian Social Democratic Alliance"] = "Latvian Social Democratic Workers' Party",
["Law and Order (Latvia)"] = "For Each and Every One",
["Law and Order Party (United States)"] = "Law and Order Party (US)",
["LDPR (political party)"] = "Liberal Democratic Party of Russia",
["Left for the Right to Decide"] = "Republican Left of Catalonia",
["Left Front (India)"] = "Left Front",
["Left Front (Sri Lanka)"] = "Left Liberation Front",
["Left of the Peoples (1987)"] = "Left of the Peoples",
["Left of the Peoples (1989)"] = "Left of the Peoples",
["Left Option"] = "Estonian Left Party",
["Left Party – Communists"] = "Left Party (Sweden)",
["Left Party-Communists"] = "Left Party (Sweden)",
["Left Radical Party"] = "Radical Party of the Left",
["Left Revolutionary Front (Portugal)"] = "Socialist Alternative Movement",
["Left Unity (European Parliament)"] = "European United Left–Nordic Green Left",
["Leftist Socialist Party of Japan"] = "Left Socialist Party of Japan",
["Leftist Workers and Farm Labourers"] = "Communist Party of Latvia",
["Lega per Salvini Premier"] = "Lega (political party)",
["Les Engagés"] = "Les Engagés (political party)",
["Libertarian Party (Alaska)"] = "Libertarian Party (US)",
["Liberal–Democratic List"] = "Liberal League (Luxembourg)",
["Liberal/Country Coalition"] = "Coalition (Australia)",
["Liberal-Country Coalition"] = "Coalition (Australia)",
["Liberal–Country Coalition"] = "Coalition (Australia)",
["Liberal/National Coalition"] = "Coalition (Australia)",
["Liberal-National Coalition"] = "Coalition (Australia)",
["Liberal–National Coalition"] = "Coalition (Australia)",
["Lib-Lab"] = "Liberal-Labour (UK)",
["Liberal Coalition Party"] = "Liberals (Sweden)",
["Liberal Constitutional Party (Italy)"] = "Historical Right (Italy)",
["Liberal Democratic Party (Chile)"] = "Liberal Democratic Party (Chile, 1893)",
["Liberal Democratic Party (Italy)"] = "Italian Democratic Liberal Party",
["Liberal Democratic Party (Lithuania)"] = "Order and Justice",
["Liberal Democratic Party (Serbia 2005)"] = "Liberal Democratic Party (Serbia)",
["Liberal Democratic Party (Spain)"] = "Liberal Democratic Party (Spain, 1982)",
["Liberal Democratic Party of Japan"] = "Liberal Democratic Party (Japan)",
["Liberal Democratic Party of Switzerland"] = "Liberal Party of Switzerland",
["Liberal Democrats"] = "Liberal Democrats (UK)",
["Liberal Movement"] = "Liberal Movement (Australia)",
["Liberal Movement (Lithuania)"] = "Liberals' Movement (Lithuania)",
["Liberal National Party (UK, 1931)"] = "National Liberal Party (UK, 1931)",
["Liberal Party (Japan, 1945)"] = "Liberal Party (Japan, 1950)",
["Liberal Party (Luxembourg)"] = "Liberal League (Luxembourg)",
["Liberal Party (Scotland)"] = "Scottish Liberal Party",
["Liberal Party (Serbia, 1989)"] = "Liberal Democratic Party (Serbia, 1989)",
["Liberal Party of Australia (Australian Capital Territory Division)"] = "Liberal Party of Australia (A.C.T. Division)",
["Liberal Party of New York"] = "Liberal Party (New York)",
["Liberal Party of Sweden"] = "Liberals (Sweden)",
["Liberal Party"] = "Democratic Liberal Party (Japan)",
["Liberal People's Party (Sweden)"] = "Liberals (Sweden)",
["Liberal People's Party"] = "Liberals (Sweden)",
["Liberal Reformist Party + Democratic Front of Francophones"] = "Reformist Movement",
["Liberal Reformist Party"] = "Liberal Reformist Party (Belgium)",
["Liberal Republican Party (United States)"] = "Liberal Republican Party (US)",
["Liberal Socialist Party"] = "Liberal Socialist Party (Singapore)",
["Liberal Socialists Party"] = "Liberal Socialists Party (Egypt)",
["Liberal Unionist"] = "Liberal Unionist Party",
["Liberal Unionist Party (UK)"] = "Liberal Unionist Party",
["Liberal-Labour (New Zealand)"] = "Liberal–Labour (New Zealand)",
["Liberals (Italy)"] = "Liberal Union (Italy)",
["Liberals–Democrats–Radicals"] = "Liberals, Democrats and Radicals",
["Liberals' Movement of the Republic of Lithuania"] = "Liberals' Movement (Lithuania)",
["Liberal Party of Andorra"] = "Liberals of Andorra",
["Libertad y Refundación"] = "Liberty and Refoundation",
["Libertarian, Direct, Democratic"] = "Libertair, Direct, Democratisch",
["Libertarian Party UK"] = "Libertarian Party (UK)",
["Libertarian Party (United Kingdom)"] = "Libertarian Party (UK)",
["Libertarian Party (United States)"] = "Libertarian Party (US)",
["Libertarian Party (Alaska)"] = "Libertarian Party (US)",
["Libertarian Party (Arizona)"] = "Libertarian Party (US)",
["Libertarian Party (California)"] = "Libertarian Party (US)",
["Libertarian Party (Colorado)"] = "Libertarian Party (US)",
["Libertarian Party (Connecticut)"] = "Libertarian Party (US)",
["Libertarian Party (Delaware)"] = "Libertarian Party (US)",
["Libertarian Party (Iowa)"] = "Libertarian Party (US)",
["Libertarian Party (Massachusetts)"] = "Libertarian Party (US)",
["Libertarian Party (Michigan)"] = "Libertarian Party (US)",
["Libertarian Party (Missouri)"] = "Libertarian Party (US)",
["Libertarian Party (Nevada)"] = "Libertarian Party (US)",
["Libertarian Party (New Mexico)"] = "Libertarian Party (US)",
["Libertarian Party (New York)"] = "Libertarian Party (US)",
["Libertarian Party (Oregon)"] = "Libertarian Party (US)",
["Libertarian Party (Vermont)"] = "Libertarian Party (US)",
["Libertarian Party (Washington)"] = "Libertarian Party (US)",
["Libertarian Party of Arizona"] = "Libertarian Party (US)",
["Libertarian Party of California"] = "Libertarian Party (US)",
["Libertarian Party of Colorado"] = "Libertarian Party (US)",
["Libertarian Party of Connecticut"] = "Libertarian Party (US)",
["Libertarian Party of Delaware"] = "Libertarian Party (US)",
["Libertarian Party of the District of Columbia"] = "Libertarian Party (US)",
["Libertarian Party of Florida"] = "Libertarian Party (US)",
["Libertarian Party of Georgia"] = "Libertarian Party (US)",
["Libertarian Party of Hawaii"] = "Libertarian Party (US)",
["Libertarian Party of Kentucky"] = "Libertarian Party (US)",
["Libertarian Party of Maryland"] = "Libertarian Party (US)",
["Libertarian Party of Massachusetts"] = "Libertarian Party (US)",
["Libertarian Party of Michigan"] = "Libertarian Party (US)",
["Libertarian Party of Minnesota"] = "Libertarian Party (US)",
["Libertarian Party of Missouri"] = "Libertarian Party (US)",
["Libertarian Party of Montana"] = "Libertarian Party (US)",
["Libertarian Party of Nevada"] = "Libertarian Party (US)",
["Libertarian Party of New Mexico"] = "Libertarian Party (US)",
["Libertarian Party of New York"] = "Libertarian Party (US)",
["Libertarian Party of North Carolina"] = "Libertarian Party (US)",
["Libertarian Party of North Dakota"] = "Libertarian Party (US)",
["Libertarian Party of Ohio"] = "Libertarian Party (US)",
["Libertarian Party of Oklahoma"] = "Libertarian Party (US)",
["Libertarian Party of Oregon"] = "Libertarian Party (US)",
["Libertarian Party of Pennsylvania"] = "Libertarian Party (US)",
["Libertarian Party of Texas"] = "Libertarian Party (US)",
["Libertarian Party of Utah"] = "Libertarian Party (US)",
["Libertarian Party of Washington"] = "Libertarian Party (US)",
["Libertarian Party of Wisconsin"] = "Libertarian Party (US)",
["Libertas (lobby group)"] = "Libertas.eu",
["Libertas Spain"] = "Libertas.eu",
["Liberty Forward Party"] = "Advancement Unification Party",
["Liberty Party (United States, 1840)"] = "Liberty Party (US)",
["Liberty Party (United States, 1932)"] = "Liberty Party (US)",
["Liberty Party (United States)"] = "Liberty Party (US)",
["Liberty Party (US, 1840)"] = "Liberty Party (US)",
["Liberty Party"] = "Liberty Party (US)",
["Liberal People's Party (Finland)"] = "Liberals (Finland)",
["Libra Party (Albania)"] = "Libra Party",
["Libyan Arab Socialist Union"] = "Arab Socialist Union (Libya)",
["LID"] = "Left and Democrats",
["Ligue du Midi"] = "Ligue du Sud",
["Local"] = "Localist",
["Lok Dal"] = "Lokdal",
["Lok Jan Shakti Party"] = "Lok Janshakti Party",
["Long Live Tunisia"] = "Tahya Tounes",
["Louisiana Democratic Party"] = "Democratic Party (United States)",
["LPHK"] = "Liberal Party (Hong Kong)",
["LPR"] = "League of Polish Families",
["LSSP"] = "Lanka Sama Samaja Party",
["Luxembourg Workers' Party"] = "Luxembourg Socialist Workers' Party",
["Luys Alliance"] = "Bright Alliance",
}
local full = {
["L'Alternativa c'è"] = {abbrev = "", color = "#FE9F07", shortname = "",},
["L'Hospitalet Left Alternative"] = {abbrev = "", color = "#42837D", shortname = "",},
["La Axarquía Progress"] = {abbrev = "", color = "#FF990E", shortname = "",},
["La España en Marcha"] = {abbrev = "", color = "#111011", shortname = "",},
["La Falange (1999)"] = {abbrev = "", color = "#29191E", shortname = "",},
["La France En Action"] = {abbrev = "", color = "#F8F1BB", shortname = "",},
["La France Insoumise"] = {abbrev = "LFI", color = "#E53D40", shortname = "",},
["La Fresneda Local Platform"] = {abbrev = "", color = "#004D21", shortname = "",},
["La Fuerza de Santa Fe"] = {abbrev = "", color = "#5F8748", shortname = "",},
["La Libertad Avanza"] = {abbrev = "LLA", color = "#6C4C99", shortname = "",},
["La Línea 100x100"] = {abbrev = "", color = "#FA5841", shortname = "",},
["La Palma Group of Independents"] = {abbrev = "", color = "#072357", shortname = "",},
["La République En Marche!"] = {abbrev = "LREM", color = "#FFD600", shortname = "",},
["Laban ng Demokratikong Pilipino"] = {abbrev = "LDP", color = "#0000CD", shortname = "",},
["Laban ng Makabayang Masang Pilipino"] = {abbrev = "LAMMP", color = "#ffa500", shortname = "",},
["Labor and Agrarian Party"] = {abbrev = "PALA", color = "royalblue", shortname = "",},
["Labor Party (Mexico)"] = {abbrev = "PT", color = "#DB2017", shortname = "",},
["Labor Party (South Korea)"] = {abbrev = "", color = "#DC143C", shortname = "Labor",},
["Labor Party (Taiwan)"] = {abbrev = "", color = "red", shortname = "",},
["Labor Party (United States, 19th century)"] = {abbrev = "", color = "#FF6347", shortname = "Labor",},
["Labor Party (US, 1996)"] = {abbrev = "", color = "#FF6347", shortname = "Labor",},
["Labor Party (US)"] = {abbrev = "", color = "#FF6347", shortname = "Labor",},
["Labor Party of the United States"] = {abbrev = "", color = "#FF6347", shortname = "Labor",},
["Labor Party Philippines"] = {abbrev = "WPP", color = "#00039F", shortname = "",},
["Labor Solidarity"] = {abbrev = "SL", color = "purple", shortname = "",},
["Labor Union of Games and Gambling in Macau"] = {abbrev = "", color = "#B2FFFF", shortname = "",},
["Labor–Farm Party of Wisconsin"] = {abbrev = "", color = "#17aa5c", shortname = "Labor–Farm",},
["Labor-Gesher-Meretz"] = {abbrev = "", color = "#ED1B25", shortname = "Emet",},
["Labor-Gesher"] = {abbrev = "", color = "#EE161F", shortname = "",},
["Labor"] = {abbrev = "", color = "#FF6347", shortname = "",},
["Laboring People's Party"] = {abbrev = "", color = "red", shortname = "",},
["Laborious Ukraine Electoral Bloc"] = {abbrev = "", color = "#872558", shortname = "Labour Ukraine",},
["Laborist Party (Mexico)"] = {abbrev = "", color = "#CE1126", shortname = "Laborist",},
["Laborista Party"] = {abbrev = "", color = "green", shortname = "Laborista",},
["Labor Party (El Salvador)"] = {abbrev = "PL", color = "#FFD700", shortname = "",},
["Labour and Co-operative Party"] = {abbrev = "", color = "#E4003B", shortname = "Labour Co-op",},
["Labour and Equity Party"] = {abbrev = "", color = "#4e92d3", shortname = "",},
["Labour and Freedom Alliance"] = {abbrev = "", color = "#90268F", shortname = "Labour and Freedom",},
["Labour and Justice Party (Spain)"] = {abbrev = "", color = "#AD0000", shortname = "",},
["Labour and Social Justice – The Electoral Alternative"] = {abbrev = "WASG", color = "#FF8000", shortname = "Labour and Social Justice",},
["Labour and Solidarity Party"] = {abbrev = "", color = "#5963cf", shortname = "",},
["Labour and Trade Union Group"] = {abbrev = "", color = "#D44442", shortname = "Labour and Trade Union",},
["Labour Cause's Party"] = {abbrev = "", color = "#9F030A", shortname = "",},
["Labour coalition"] = {abbrev = "", color = "#cd5c5c", shortname = "",},
["Labour Democrat Party"] = {abbrev = "", color = "", shortname = "Labour Democrat",},
["Labour Democratic Party"] = {abbrev = "", color = "Pink", shortname = "Labour Democracy",},
["Labour Democrats"] = {abbrev = "", color = "#59A421", shortname = "",},
["Labour Electoral Association"] = {abbrev = "LEA", color = "#B22222", shortname = "",},
["Labour Faction (1937)"] = {abbrev = "SP", color = "#1693F4", shortname = "",},
["Labour Front"] = {abbrev = "LF", color = "#AA5634", shortname = "",},
["Labour Gathering Party"] = {abbrev = "", color = "#8B0000", shortname = "",},
["Labour Independent Group"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Labour Party (Argentina)"] = {abbrev = "PL", color = "#00708B", shortname = "Labour Party",},
["Labour Party (Greenland)"] = {abbrev = "", color = "pink", shortname = "Labour",},
["Labour Party (Hong Kong)"] = {abbrev = "", color = "#F7941E", shortname = "Labour",},
["Labour Party (Indonesia, 1949)"] = {abbrev = "PB", color = "red", shortname = "",},
["Labour Party (Indonesia, 1998)"] = {abbrev = "PB", color = "#000080", shortname = "",},
["Labour Party (Indonesia, 2021)"] = {abbrev = "PB", color = "#ff6800", shortname = "",},
["Labour Party (Ireland)"] = {abbrev = "Lab", color = "#CC0000", shortname = "Labour",},
["Labour Party (Lithuania)"] = {abbrev = "DP", color = "#1D578C", shortname = "",},
["Labour Party (Malta)"] = {abbrev = "", color = "#EE3224", shortname = "Labour",},
["Labour Party (Mauritius)"] = {abbrev = "", color = "#FF0000", shortname = "Labour Party",},
["Labour Party (Morocco)"] = {abbrev = "", color = "#D04933", shortname = "",},
["Labour Party (Netherlands)"] = {abbrev = "PvdA", color = "#DF111A", shortname = "",},
["Labour Party (New Caledonia)"] = {abbrev = "PT", color = "#9A0000", shortname = "",},
["Labour Party (Nigeria)"] = {abbrev = "LP", color = "#DA251C", shortname = "",},
["Labour Party (Norway)"] = {abbrev = "", color = "#D70926", shortname = "Labour",},
["Labour Party (Poland)"] = {abbrev = "SP", color = "#083A7F", shortname = "",},
["Labour Party (Secular)"] = {abbrev = "LP(S)", color = "#2E64FE", shortname = "",},
["Labour Party (Singapore)"] = {abbrev = "", color = "#CC8955", shortname = "Labour Party",},
["Labour Party (Slovakia)"] = {abbrev = "SP", color = "#C31B3E", shortname = "",},
["Labour Party (South Africa, 1969)"] = {abbrev = "", color = "#8D0000", shortname = "Labour",},
["Labour Party (South Africa)"] = {abbrev = "", color = "#FF0000", shortname = "Labour",},
["Labour Party (Thailand)"] = {abbrev = "", color = "#FF0000", shortname = "Labour",},
["Labour Party (Turkey)"] = {abbrev = "", color = "#FFDE4D", shortname = "Labour",},
["Labour Party (UK)"] = {abbrev = "Lab", color = "#E4003B", shortname = "Labour",},
["Labour Party in Northern Ireland"] = {abbrev = "", color = "#DC241F", shortname = "",},
["Labour Party of Bosnia and Herzegovina"] = {abbrev = "", color = "#013971", shortname = "",},
["Labour Party of Brazil"] = {abbrev = "PTdoB", color = "#00FF00", shortname = "",},
["Labour Party of Hong Kong"] = {abbrev = "", color = "#DE2910", shortname = "Labour",},
["Labour Party of India (V V Prasad)"] = {abbrev = "LPI(V)", color = "#4C81B6", shortname = "",},
["Labour Party of India"] = {abbrev = "LPI", color = "#E0E6F8", shortname = "",},
["Labour Party of Malaya"] = {abbrev = "", color = "#FAAFBA", shortname = "",},
["Labour Party of Northern Ireland"] = {abbrev = "", color = "#DC241f", shortname = "Labour Party NI",},
["Labour Party of Serbia"] = {abbrev = "LPS", color = "#2274A5", shortname = "",},
["Labour Party Pakistan"] = {abbrev = "", color = "#FE2712", shortname = "",},
["Labour Party"] = {abbrev = "", color = "#FF0000", shortname = "Labour",},
["Labour Progressive"] = {abbrev = "", color = "red", shortname = "",},
["Labour Renewal Movement"] = {abbrev = "", color = "#23FF00", shortname = "",},
["Labour Representation Committee (1900)"] = {abbrev = "", color = "#b22222", shortname = "Labour Repr. Cmte.",},
["Labour Representation Committee"] = {abbrev = "", color = "#b22222", shortname = "Labour",},
["Labour Republican Party"] = {abbrev = "", color = "#FF9340", shortname = "",},
["Labour Solidarity"] = {abbrev = "SP", color = "#D33F49", shortname = "",},
["Labour Ukraine"] = {abbrev = "", color = "Purple", shortname = "",},
["Labour Union (Poland)"] = {abbrev = "UP", color = "#ED1C24", shortname = "",},
["Labour Unionist"] = {abbrev = "", color = "#DDEEFF", shortname = "",},
["Labour-Farmer Party"] = {abbrev = "", color = "#FF5C85", shortname = "",},
["Labour-Farmer Masses Party"] = {abbrev = "", color = "#FF5C85", shortname = "",},
["Labour, Co-operative and Trade Union"] = {abbrev = "", color = "white", shortname = "Labour, Co-op & Trade Union",},
["Labourers and Farmers Party"] = {abbrev = "", color = "#FE7580", shortname = "Labourers and Farmers",},
["Labourist Movement Party"] = {abbrev = "EHP", color = "#FF0000", shortname = "",},
["Ladlad"] = {abbrev = "", color = "#FFC0CB", shortname = "",},
["Lahu National Development Party"] = {abbrev = "LHNDP", color = "#A66971", shortname = "",},
["Lakas ng Bansa"] = {abbrev = "LnB", color = "#0000CD", shortname = "Lakas (LnB)",},
["Lakas ng Bayan Coalition"] = {abbrev = "LABAN", color = "#FFFF40", shortname = "",},
["Lakas ng Bayan"] = {abbrev = "LABAN", color = "#FFFF00", shortname = "",},
["Lakas–CMD"] = {abbrev = "", color = "#B0E0E6", shortname = "Lakas",},
["Lakas–CMD (1991)"] = {abbrev = "", color = "#B0E0E6", shortname = "Lakas",},
["Lakas–Kampi"] = {abbrev = "LKS-KAM", color = "#B0E0E6", shortname = "Lakas–Kampi",},
["Lakas-Laban Coalition"] = {abbrev = "L–L", color = "#B0E0E6", shortname = "Lakas–Laban",},
["Lalit (Mauritius)"] = {abbrev = "", color = "#F7CC06", shortname = "",},
["Land and Justice Party"] = {abbrev = "", color = "#DC261B", shortname = "Land & Justice",},
["Land development"] = {abbrev = "", color = "#CDB79E", shortname = "",},
["Land Justice League"] = {abbrev = "", color = "#73BC7C", shortname = "",},
["Land of Dharma Party"] = {abbrev = "", color = "#593012", shortname = "",},
["Land Party (South Africa)"] = {abbrev = "", color = "#7e803e", shortname = "Land Party",},
["Land Party"] = {abbrev = "", color = "#4898B9", shortname = "",},
["Landbund"] = {abbrev = "", color = "#385A38", shortname = "",},
["Landless People's Movement (Namibia)"] = {abbrev = "LPM", color = "#FC7B2C", shortname = "",},
["Lang Labor"] = {abbrev = "", color = "#E2725B", shortname = "",},
["Lanka Prajathanthravadi Pakshaya"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Lanka Sama Samaja Party"] = {abbrev = "LSSP", color = "#FF0000", shortname = "",},
["Lantmanna and Bourgeois Party"] = {abbrev = "", color = "#ff9933", shortname = "Lantmanna and Bourgeois",},
["Lantmanna Party"] = {abbrev = "", color = "#00529C", shortname = "Lantmanna",},
["Lanzarote Avanza"] = {abbrev = "", color = "#037468", shortname = "",},
["Lanzarote En Pie"] = {abbrev = "", color = "#238EAD", shortname = "",},
["Lanzarote Independents Party"] = {abbrev = "", color = "#31B404", shortname = "",},
["Lanzarote Neighborhood Force"] = {abbrev = "", color = "#98CCFE", shortname = "",},
["Lao National Union Party"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Lao Patriotic Front"] = {abbrev = "", color = "#CE1126", shortname = "",},
["Lao People's Revolutionary Party"] = {abbrev = "LPRP", color = "#CE1126", shortname = "",},
["Lapian ng Masang Pilipino"] = {abbrev = "LAMP", color = "#ffa500", shortname = "",},
["Lapiang Manggagawa"] = {abbrev = "LM", color = "#00039f", shortname = "",},
["LaPrimaire.org"] = {abbrev = "", color = "#800080", shortname = "",},
["Las Palmas de Gran Canaria Puede"] = {abbrev = "", color = "#96CA2D", shortname = "",},
["Latgale Party"] = {abbrev = "", color = "#004B84", shortname = "",},
["Latvia First"] = {abbrev = "LPV", color = "#A8343C", shortname = "",},
["Latvia's First Party"] = {abbrev = "", color = "#582B64", shortname = "",},
["Latvia's First Party/Latvian Way"] = {abbrev = "", color = "#682376", shortname = "",},
["Latvian Association of Regions"] = {abbrev = "LRA", color = "#0E3267", shortname = "",},
["Latvian Farmers' Union"] = {abbrev = "LZS", color = "#D5D900", shortname = "",},
["Latvian Green Party"] = {abbrev = "", color = "#00683A", shortname = "",},
["Latvian National Independence Movement"] = {abbrev = "", color = "#902E3B", shortname = "",},
["Latvian Nationalists"] = {abbrev = "", color = "#9E2B38", shortname = "",},
["Latvian Russian Union"] = {abbrev = "", color = "#3560A9", shortname = "",},
["Latvian Social Democratic Workers' Party"] = {abbrev = "LSDSP", color = "#830D30", shortname = "",},
["Latvian Unity Party"] = {abbrev = "", color = "#DC5356", shortname = "",},
["Latvian Way"] = {abbrev = "", color = "#FFE200", shortname = "",},
["Lauredian Union"] = {abbrev = "UL", color = "#000000", shortname = "",},
["Law and Justice (Georgia)"] = {abbrev = "", color = "#01FFFF", shortname = "",},
["Law and Justice"] = {abbrev = "PiS", color = "#263778", shortname = "",},
["Law and Order Party (US)"] = {abbrev = "", color = "#00DDDD", shortname = "Law and Order",},
["Law Preservation Party"] = {abbrev = "", color = "#FF00FF", shortname = "Law Preservation",},
["Le Trèfle"] = {abbrev = "", color = "#77FF77", shortname = "",},
["Leaders Party of Vanuatu"] = {abbrev = "", color = "#3DAB48", shortname = "Leaders Party",},
["Leading Thai Party"] = {abbrev = "", color = "#DEB887", shortname = "Leading Thai",},
["League Against Usury"] = {abbrev = "LCC", color = "lightgreen", shortname = "",},
["League for Democracy Party"] = {abbrev = "", color = "#3BB9FF", shortname = "",},
["League Nepal Shanti Ekta Party"] = {abbrev = "", color = "#E6DBCF", shortname = "",},
["League of Albanians of Romania"] = {abbrev = "LSR", color = "#444444", shortname = "",},
["League of Anti-Corruption Governors"] = {abbrev = "LIGA", color = "#F5EC49", shortname = "",},
["League of Catalonia–Catalan Liberal Party"] = {abbrev = "", color = "#99FF00", shortname = "",},
["League of Communists – Movement for Yugoslavia"] = {abbrev = "", color = "#FF0000", shortname = "",},
["League of Communists of Bosnia and Herzegovina"] = {abbrev = "SK BiH", color = "#DD0000", shortname = "",},
["League of Communists of Croatia"] = {abbrev = "SKH", color = "#DD0000", shortname = "",},
["League of Communists of Montenegro"] = {abbrev = "SKCG", color = "#DD0000", shortname = "",},
["League of Communists of Serbia"] = {abbrev = "SKS", color = "#DD0000", shortname = "",},
["League of Communists of Slovenia"] = {abbrev = "ZKS", color = "#DD0000", shortname = "",},
["League of Communists of Yugoslavia"] = {abbrev = "SKJ", color = "#DD0000", shortname = "",},
["League of Communists of Yugoslavia in Serbia"] = {abbrev = "SKJS", color = "red", shortname = "",},
["League of Democratic Socialists"] = {abbrev = "BDS", color = "red", shortname = "",},
["League of Free Liberals"] = {abbrev = "BVL", color = "#3399FF", shortname = "",},
["League of Polish Families"] = {abbrev = "LPR", color = "#2DA0D2", shortname = "",},
["League of Social Democrats of Vojvodina"] = {abbrev = "LSV", color = "#03C03C", shortname = "",},
["League of Social Democrats"] = {abbrev = "LSD", color = "#e0050d", shortname = "",},
["League of Socialist Youth of Bosnia and Herzegovina"] = {abbrev = "", color = "#FF6347", shortname = "",},
["League of Supporters of Indonesian Independence"] = {abbrev = "IPKI", color = "#D1E231", shortname = "",},
["League of the South (France)"] = {abbrev = "", color = "#C60B27", shortname = "",},
["League of West German Communists"] = {abbrev = "BWK", color = "red", shortname = "",},
["Lebanese Forces"] = {abbrev = "LF", color = "#ED2027", shortname = "Lebanese Forces",},
["Lecompton Democrat"] = {abbrev = "", color = "#ACCCFE", shortname = "Lecompton Democratic",},
["Leeds Left Alliance"] = {abbrev = "", color = "#00A86B", shortname = "",},
["LEF – For the New Generation"] = {abbrev = "LEF", color = "#6B6BFF", shortname = "",},
["Left (Austria)"] = {abbrev = "", color = "#FF0000", shortname = "Left",},
["Left Alliance (Finland)"] = {abbrev = "Vas.", color = "#F00A64", shortname = "Left Alliance",},
["Left Alternative"] = {abbrev = "", color = "red", shortname = "",},
["Left and Democrats"] = {abbrev = "LiD", color = "#D22833", shortname = "",},
["Left Andalusian Bloc"] = {abbrev = "", color = "#32754C", shortname = "",},
["Left Assembly of Tudela"] = {abbrev = "", color = "#CC7EAE", shortname = "",},
["Left Assembly–Initiative for Andalusia"] = {abbrev = "", color = "#ADA0A3", shortname = "",},
["Left Bloc (Portugal)"] = {abbrev = "BE", color = "#8B0000", shortname = "",},
["Left Bloc for National Liberation"] = {abbrev = "", color = "#FF9933", shortname = "",},
["Left Bloc"] = {abbrev = "", color = "#8B0000", shortname = "",},
["Left Camp of Israel"] = {abbrev = "Sheli", color = "#DC241F", shortname = "",},
["Left Centre"] = {abbrev = "", color = "#2CBFE3", shortname = "",},
["Left Coalition (Serbia)"] = {abbrev = "LK", color = "#A60C19", shortname = "",},
["Left Communists (Weimar Republic)"] = {abbrev = "LK", color = "red", shortname = "",},
["Left Democratic Front (Kerala)"] = {abbrev = "LDF", color = "#EE0000", shortname = "",},
["Left and Democratic Front (India)"] = {abbrev = "LDF", color = "#FF0000", shortname = "",},
["Left Ecology Freedom"] = {abbrev = "", color = "#C80815", shortname = "",},
["Left for Almería"] = {abbrev = "", color = "#037949", shortname = "",},
["Left for Independence"] = {abbrev = "", color = "#DAC125", shortname = "",},
["Left Front (Asturias)"] = {abbrev = "", color = "#76319B", shortname = "",},
["Left Front (France)"] = {abbrev = "FG", color = "#D6232B", shortname = "",},
["Left Front (Russia)"] = {abbrev = "Left Front", color = "#FF131C", shortname = "",},
["Left Front (West Bengal)"] = {abbrev = "LF", color = "#FF0000", shortname = "",},
["Left Front"] = {abbrev = "LF", color = "red", shortname = "",},
["Left in Positive"] = {abbrev = "", color = "#9B0F3B", shortname = "",},
["Left Independentists"] = {abbrev = "", color = "#AF1B1D", shortname = "",},
["Left Liberals"] = {abbrev = "", color = "#00FF00", shortname = "",},
["Left Liberation Front"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Left List"] = {abbrev = "", color = "red", shortname = "",},
["Left Movement"] = {abbrev = "", color = "#BD1928", shortname = "",},
["Left Nationalists"] = {abbrev = "", color = "#E53E13", shortname = "",},
["Left of Catalonia–Democratic Electoral Front"] = {abbrev = "", color = "#EFF24C", shortname = "",},
["Left of Galicia"] = {abbrev = "", color = "#E80810", shortname = "",},
["Left of the Peoples"] = {abbrev = "", color = "#D56545", shortname = "",},
["Left Party - Communists"] = {abbrev = "", color = "#b00000", shortname = "Left-Communist",},
["Left Party (France)"] = {abbrev = "", color = "#AA0000", shortname = "Left Party",},
["Left Party (Sweden)"] = {abbrev = "V", color = "#B00000", shortname = "Left",},
["Left Party (Turkey)"] = {abbrev = "", color = "#0069B4", shortname = "SOL",},
["Left Peraltese Union"] = {abbrev = "", color = "#A1138C", shortname = "",},
["Left Platform of Coslada"] = {abbrev = "", color = "#244E0E", shortname = "",},
["Left Republican Party (Spain)"] = {abbrev = "", color = "#7F1E6D", shortname = "",},
["Left Segovia"] = {abbrev = "", color = "#F53000", shortname = "",},
["Left Socialist Initiative"] = {abbrev = "", color = "#DE0929", shortname = "",},
["Left Socialist Party (Belgium)"] = {abbrev = "", color = "red", shortname = "",},
["Left Socialist Party (Sweden)"] = {abbrev = "", color = "red", shortname = "Left Socialist",},
["Left Socialists"] = {abbrev = "", color = "#E72240", shortname = "",},
["Left Socialist Party of Japan"] = {abbrev = "", color = "#EC1B27", shortname = "Left Socialist",},
["Left Struggle"] = {abbrev = "MA", color = "red", shortname = "",},
["Left Together"] = {abbrev = "", color = "#870f57", shortname = "",},
["Left Union for a Clean and Holy Republic"] = {abbrev = "", color = "#F11928", shortname = "",},
["Left Unity (UK)"] = {abbrev = "", color = "red", shortname = "Left Unity",},
["Left Unity"] = {abbrev = "", color = "#990000", shortname = "",},
["Left-Green Movement"] = {abbrev = "", color = "#00B878", shortname = "Left-Green",},
["Left-wing Workers"] = {abbrev = "PTK", color = "#FF0000", shortname = "",},
["Left-wing Revolutionary Nationalist Movement"] = {abbrev = "MNRI", color = "#E34234", shortname = "",},
["Left-wing Revolutionary Nationalist Movement – 1"] = {abbrev = "MNRI-1", color = "#EF86B5", shortname = "",},
["Left-wing Union for the Socialist Democracy"] = {abbrev = "UEDS", color = "Red", shortname = "",},
["Lega Alpina Lumbarda"] = {abbrev = "LAL", color = "green", shortname = "",},
["Lega Autonomia Veneta"] = {abbrev = "LAV", color = "gold", shortname = "",},
["Lega Lombarda"] = {abbrev = "", color = "green", shortname = "",},
["Lega Marche"] = {abbrev = "", color = "#008000", shortname = "",},
["Lega Nord"] = {abbrev = "", color = "#008000", shortname = "",},
["Lega Piemonte"] = {abbrev = "", color = "#008000", shortname = "",},
["Lega (political party)"] = {abbrev = "", color = "#008000", shortname = "Lega",},
["Legal Marijuana Now Party"] = {abbrev = "", color = "#50C878", shortname = "Legal Marijuana Now",},
["Legalise Cannabis Australia"] = {abbrev = "", color = "#6fc442", shortname = "",},
["Legalise Cannabis Alliance"] = {abbrev = "", color = "#669966", shortname = "Legalise Cannabis",},
["Legality Movement Party"] = {abbrev = "PLL", color = "#FFFF05", shortname = "",},
["Leganemos"] = {abbrev = "", color = "#8183D8", shortname = "",},
["Legitimists"] = {abbrev = "", color = "#1F497D", shortname = "",},
["Lelo for Georgia"] = {abbrev = "", color = "#F0CE0D", shortname = "Lelo",},
["Leighton Baker Party"] = {abbrev = "", color = "#26A805", shortname = "",},
["León Despierta"] = {abbrev = "", color = "#4B244C", shortname = "",},
["León en Común"] = {abbrev = "", color = "#9D181D", shortname = "",},
["Leonese Autonomist Party–Leonesist Unity"] = {abbrev = "", color = "#D44F0C", shortname = "",},
["Leonese Convergence"] = {abbrev = "", color = "#FFCBDB", shortname = "",},
["Leonese People's Union"] = {abbrev = "UPL", color = "#B41062", shortname = "",},
["Leonid Chernovetskyi Bloc"] = {abbrev = "", color = "Gold", shortname = "",},
["Lepsza Polska"] = {abbrev = "", color = "white", shortname = "",},
["Les Centristes"] = {abbrev = "LC", color = "#6F97CF", shortname = "",},
["Les Écologistes"] = {abbrev = "LE", color = "#1F7B52", shortname = "",},
["Les Engagés (political party)"] = {abbrev = "LE", color = "#02E5D2", shortname = "",},
["Les Verts Fraternels"] = {abbrev = "", color = "#32CD32", shortname = "",},
["Lesotho Congress for Democracy"] = {abbrev = "LCD", color = "#78a22c", shortname = "",},
["Lesotho People's Congress"] = {abbrev = "LPC", color = "", shortname = "",},
["Lesotho Workers' Party"] = {abbrev = "LWP", color = "", shortname = "",},
["Lespwa"] = {abbrev = "", color = "#30B700", shortname = "",},
["Let Every Child Have Both Parents"] = {abbrev = "", color = "#DAA520", shortname = "",},
["Let London Live"] = {abbrev = "", color = "#2d1e6d", shortname = "",},
["Let us Give the Change"] = {abbrev = "", color = "#F7D102", shortname = "",},
["Let's Connect Slovenia"] = {abbrev = "PoS", color = "#FDB92E", shortname = "",},
["Let's Go Peru"] = {abbrev = "", color = "#FA8072", shortname = "",},
["Letterkenny Residents Party"] = {abbrev = "", color = "#9900CC", shortname = "",},
["Levantemos El Puerto"] = {abbrev = "", color = "#93117E", shortname = "",},
["Leviathan Movement"] = {abbrev = "", color = "#000000", shortname = "",},
["Lewisham People Before Profit"] = {abbrev = "", color = "#9400d3", shortname = "People Before Profit",},
["Lewisham Peoples' Alliance"] = {abbrev = "", color = "#CCCCCC", shortname = "",},
["Liaison Committee for the Presidential Majority"] = {abbrev = "", color = "#0047AB", shortname = "Presidential Majority",},
["Libera San Marino"] = {abbrev = "", color = "#14AABC", shortname = "Libera",},
["Liberal (Costa Rica)"] = {abbrev = "", color = "#BF1313", shortname = "Liberal",},
["Liberal (South Korea)"] = {abbrev = "", color = "#004EA2", shortname = "",},
["Liberal Alliance (Brazil)"] = {abbrev = "AL", color = "#FF8C00", shortname = "",},
["Liberal Alliance (Chile)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Alliance (Denmark)"] = {abbrev = "", color = "#3FB2BE", shortname = "Liberal Alliance",},
["Liberal Alliance (Denmark, 2021)"] = {abbrev = "", color = "#18354B", shortname = "Liberal Alliance",},
["Liberal Alliance (Greece)"] = {abbrev = "FISY", color = "#800080", shortname = "",},
["Liberal Alliance (Spain)"] = {abbrev = "", color = "#99FF00", shortname = "",},
["Liberal Alliance Focus Team"] = {abbrev = "LIBAFT", color = "#FDBB30", shortname = "Liberal Alliance FT",},
["Liberal Alliance of Montenegro"] = {abbrev = "LSCG", color = "#007F00", shortname = "",},
["Liberal Alternative for Manacor"] = {abbrev = "", color = "#291562", shortname = "",},
["Liberal Alternative"] = {abbrev = "", color = "#846394", shortname = "",},
["Liberal and Centre Union"] = {abbrev = "LiCS", color = "#FFD126", shortname = "",},
["Liberal and Country League (SA)"] = {abbrev = "", color = "#0095B6", shortname = "",},
["Liberal and Country League"] = {abbrev = "", color = "#0095B6", shortname = "",},
["Liberal and Country Party"] = {abbrev = "", color = "#080CAB", shortname = "Liberal and Country",},
["Liberal and Democratic Union"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Liberal and Social Alternative"] = {abbrev = "", color = "#4A4999", shortname = "",},
["Liberal Appeal"] = {abbrev = "", color = "#4A48CF", shortname = "",},
["Liberal bloc (Hong Kong)"] = {abbrev = "", color = "#297329", shortname = "Liberal",},
["Liberal Coalition (Spain)"] = {abbrev = "", color = "#ACAE34", shortname = "",},
["Liberal Centre (Spain)"] = {abbrev = "", color = "#0DB85E", shortname = "",},
["Liberal Centre"] = {abbrev = "", color = "#00CCA3", shortname = "",},
["Liberal Centrist Union (Spain)"] = {abbrev = "", color = "#3399FF", shortname = "",},
["Liberal Citizens Action"] = {abbrev = "", color = "#F96611", shortname = "",},
["Liberal Conservative Reformers"] = {abbrev = "LKR", color = "#F29200", shortname = "",},
["Liberal Constitutional Party (Egypt)"] = {abbrev = "", color = "#483D8B", shortname = "Liberal Constitutional",},
["Liberal Constitutionalist Party (Mexico)"] = {abbrev = "PLC", color = "#D4AA00", shortname = "",},
["Liberal Democracy (France)"] = {abbrev = "DL", color = "#004B8C", shortname = "",},
["Liberal Democracy of Slovenia"] = {abbrev = "LDS", color = "#00BBF0", shortname = "",},
["Liberal Democrat Party (Turkey)"] = {abbrev = "", color = "#00008B", shortname = "Liberal Democrat",},
["Liberal Democrat Party of Chile"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Democratic Alliance for Italy"] = {abbrev = "ALI", color = "#195385", shortname = "",},
["Liberal Democratic Centre"] = {abbrev = "", color = "#21A631", shortname = "",},
["Liberal Democratic Congress"] = {abbrev = "KLD", color = "#007FB2", shortname = "",},
["Liberal Democratic Federation of Hong Kong"] = {abbrev = "LDF", color = "#DC2A2A", shortname = "",},
["Liberal Democratic Focus Team"] = {abbrev = "", color = "#FDBB30", shortname = "Lib Dem Focus Team",},
["Liberal Democratic Party (Angola)"] = {abbrev = "PLD", color = "#FFCB48", shortname = "",},
["Liberal Democratic Party (Australia)"] = {abbrev = "", color = "#FEC327", shortname = "Liberal Democrats",},
["Liberal Democratic Party (Bangladesh)"] = {abbrev = "LDP", color = "#2e3192", shortname = "",},
["Liberal Democratic Party (Bosnia and Herzegovina)"] = {abbrev = "LDS BiH", color = "#28166F", shortname = "",},
["Liberal Democratic Party (Cambodia)"] = {abbrev = "", color = "blue", shortname = "",},
["Liberal Democratic Party (Chile, 1893)"] = {abbrev = "", color = "#00CCCC", shortname = "Liberal Democratic",},
["Liberal Democratic Party (El Salvador)"] = {abbrev = "PDL", color = "#E7D055", shortname = "",},
["Liberal Democratic Party (France)"] = {abbrev = "PLD", color = "#0080FF", shortname = "",},
["Liberal Democratic Party (Iceland)"] = {abbrev = "", color = "#3466E4", shortname = "",},
["Liberal Democratic Party (Japan)"] = {abbrev = "LDP", color = "#3CA324", shortname = "Liberal Democratic",},
["Liberal Democratic Party (Japan, 2017)"] = {abbrev = "LDP", color = "#D7003A", shortname = "",},
["Liberal Democratic Party (Kenya)"] = {abbrev = "", color = "yellow", shortname = "",},
["Liberal Democratic Party (Malaysia)"] = {abbrev = "", color = "#FF7F00", shortname = "",},
["Liberal Democratic Party (Netherlands)"] = {abbrev = "", color = "#333399", shortname = "",},
["Liberal Democratic Party (North Macedonia)"] = {abbrev = "LDP", color = "#2B2F7D", shortname = "",},
["Liberal Democratic Party (Romania)"] = {abbrev = "PLD", color = "#ff6633", shortname = "",},
["Liberal Democratic Party (Serbia)"] = {abbrev = "LDP", color = "#6901d4", shortname = "",},
["Liberal Democratic Party (Serbia, 1989)"] = {abbrev = "LDS", color = "#D85313", shortname = "",},
["Liberal Democratic Party (Slovenia)"] = {abbrev = "LDS", color = "#139BEA", shortname = "",},
["Liberal Democratic Party (Spain, 1913)"] = {abbrev = "", color = "#009933", shortname = "Liberal Democratic",},
["Liberal Democratic Party (Spain, 1982)"] = {abbrev = "PDL", color = "#339CD5", shortname = "",},
["Liberal Democratic Party (Sri Lanka)"] = {abbrev = "LDP", color = "#FFDE17", shortname = "Liberal Democratic Party",},
["Liberal Democratic Party (Thailand)"] = {abbrev = "", color = "#ffd700", shortname = "Liberal Democratic",},
["Liberal Democratic Party (Turkey)"] = {abbrev = "LDP", color = "#000099", shortname = "",},
["Liberal Democratic Party of the Soviet Union"] = {abbrev = "LDPSU", color = "#7295DB", shortname = "",},
["Liberal Democratic Party of Belarus"] = {abbrev = "LDPB", color = "#011E41", shortname = "",},
["Liberal Democratic Party of Germany"] = {abbrev = "LDPD", color = "#FFA500", shortname = "",},
["Liberal Democratic Party of Moldova"] = {abbrev = "PLDM", color = "#0E8A4A", shortname = "",},
["Liberal Democratic Party of Russia"] = {abbrev = "LDPR", color = "#48C", shortname = "",},
["Liberal Democratic Party of Ukraine"] = {abbrev = "", color = "orange", shortname = "Liberal Democratic",},
["Liberal Democratic Republican Party"] = {abbrev = "", color = "#1DACD6", shortname = "",},
["Liberal Democratic Union (Albania)"] = {abbrev = "BLD", color = "#2EA5E9", shortname = "",},
["Liberal Democrats (Germany)"] = {abbrev = "LD", color = "#F98113", shortname = "",},
["Liberal Democrats (UK)"] = {abbrev = "Lib Dem", color = "#FAA61A", shortname = "Liberal Democrats",},
["Liberal Democrats' Rally for National Reconstruction – Vivoten"] = {abbrev = "", color = "yellow", shortname = "",},
["Liberal Egyptian Party"] = {abbrev = "", color = "#FF3333", shortname = "",},
["Liberal Federation"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Liberal Focus Team"] = {abbrev = "LIBFT", color = "#FDBB30", shortname = "Liberal FT",},
["Liberal Force"] = {abbrev = "FL", color = "#FFDD93", shortname = "",},
["Liberal Forum"] = {abbrev = "LiF", color = "#FFDC00", shortname = "",},
["Liberal Front Party"] = {abbrev = "PFL", color = "#8CC63E", shortname = "",},
["Liberal Group of Andratx"] = {abbrev = "", color = "#6699CC", shortname = "",},
["Liberal Group Sanxenxo"] = {abbrev = "", color = "#0078B3", shortname = "",},
["Liberal Independent Group"] = {abbrev = "", color = "#009B31", shortname = "",},
["Liberal Initiative"] = {abbrev = "IL", color = "#00ADEF", shortname = "",},
["Liberal Integrity Party"] = {abbrev = "", color = "#ff69b4", shortname = "Liberal Integrity",},
["Liberal League (Finland)"] = {abbrev = "", color = "mediumblue", shortname = "",},
["Liberal League (Japan)"] = {abbrev = "", color = "#FFDF00", shortname = "Liberal League",},
["Liberal League (Luxembourg)"] = {abbrev = "", color = "yellow", shortname = "",},
["Liberal Left (France)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Left (Spain)"] = {abbrev = "", color = "#007138", shortname = "Liberal Left",},
["Liberal Left Coalition"] = {abbrev = "", color = "#6EBD57", shortname = "Liberal Left",},
["Liberal Movement (Australia)"] = {abbrev = "", color = "#8B008B", shortname = "Liberal Movement",},
["Liberal National Party of Queensland"] = {abbrev = "", color = "#1456F1", shortname = "Liberal National",},
["Liberal Opening Movement"] = {abbrev = "", color = "yellow", shortname = "",},
["Liberal Oppositionist"] = {abbrev = "", color = "#FFBF00", shortname = "Oppositionist",},
["Liberal Party – Freedom to Choose"] = {abbrev = "Lib.", color = "#F19321", shortname = "Liberal Party",},
["Liberal Party (Armenia)"] = {abbrev = "", color = "#EB5F10", shortname = "",},
["Liberal Party (Belgium)"] = {abbrev = "", color = "#3C40D2", shortname = "Liberal",},
["Liberal Party (Bolivia)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Party (Bourbon Restoration)"] = {abbrev = "", color = "#FDEE00", shortname = "",},
["Liberal Party (Brazil, 1831)"] = {abbrev = "", color = "#F7C100", shortname = "Liberal",},
["Liberal Party (Brazil, 1985)"] = {abbrev = "PL", color = "#080074", shortname = "",},
["Liberal Party (Brazil, 2006)"] = {abbrev = "PL", color = "#015AAA", shortname = "",},
["Liberal Party (Bulgaria)"] = {abbrev = "", color = "#EAC117", shortname = "",},
["Liberal Party (Cambodia)"] = {abbrev = "", color = "#FAAC58", shortname = "Liberal",},
["Liberal Party (Chile)"] = {abbrev = "", color = "#FFAE34", shortname = "",},
["Liberal Party (Chile, 1849)"] = {abbrev = "", color = "#FFD700", shortname = "Liberal",},
["Liberal Party (Chile, 1988)"] = {abbrev = "", color = "#F5D60A", shortname = "",},
["Liberal Party (Chile, 1998)"] = {abbrev = "", color = "#FFEE00", shortname = "",},
["Liberal Party (Croatia)"] = {abbrev = "", color = "#0303fa", shortname = "",},
["Liberal Party (East Timor)"] = {abbrev = "", color = "#2C43DB", shortname = "Liberal",},
["Liberal Party (Greece)"] = {abbrev = "", color = "#FFA500", shortname = "Liberal",},
["Liberal Party (Greece, modern)"] = {abbrev = "", color = "orange", shortname = "Liberal",},
["Liberal Party (Guatemala)"] = {abbrev = "", color = "#0000ff", shortname = "Liberal",},
["Liberal Party (Haiti)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Party (Hong Kong)"] = {abbrev = "", color = "#00aeef", shortname = "Liberal",},
["Liberal Party (Hungary)"] = {abbrev = "", color = "#AAD8E6", shortname = "Liberal",},
["Liberal Party (Iceland, historical)"] = {abbrev = "", color = "#00C6FF", shortname = "Liberal",},
["Liberal Party (Iceland)"] = {abbrev = "", color = "#406899", shortname = "Liberal",},
["Liberal Party (Israel)"] = {abbrev = "", color = "#FFCC00", shortname = "Liberal",},
["Liberal Party (Japan, 1890)"] = {abbrev = "", color = "#EFAB93", shortname = "Liberal",},
["Liberal Party (Japan, 1950)"] = {abbrev = "", color = "#128A45", shortname = "Liberal",},
["Liberal Party (Japan, 1998)"] = {abbrev = "", color = "#000099", shortname = "Liberal",},
["Liberal Party (Japan, 2016)"] = {abbrev = "", color = "#0950A0", shortname = "Liberal",},
["Liberal Party (Kingdom of Serbia)"] = {abbrev = "", color = "#FFDF00", shortname = "Liberal",},
["Liberal Party (Mexico)"] = {abbrev = "PL", color = "#FF3333", shortname = "Liberal",},
["Liberal Party (Moldova)"] = {abbrev = "PL", color = "#73C2FB", shortname = "",},
["Liberal Party (New York)"] = {abbrev = "", color = "#CC0000", shortname = "Liberal",},
["Liberal Party (Nicaragua)"] = {abbrev = "", color = "#800000", shortname = "Liberal",},
["Liberal Party (Norway)"] = {abbrev = "", color = "#006666", shortname = "Liberal",},
["Liberal Party (Panama)"] = {abbrev = "", color = "#FF0000", shortname = "Liberal",},
["Liberal Party (Papua New Guinea)"] = {abbrev = "LP", color = "#1F509F", shortname = "Liberal",},
["Liberal Party (Paraguay)"] = {abbrev = "", color = "#0000FF", shortname = "Liberal",},
["Liberal Party (Philippines)"] = {abbrev = "LP", color = "#f0e68c", shortname = "Liberal",},
["Liberal Party (Radoslavists)"] = {abbrev = "", color = "maroon", shortname = "",},
["Liberal Party (Rwanda)"] = {abbrev = "PL", color = "#03b464", shortname = "",},
["Liberal Party (Serbia)"] = {abbrev = "", color = "#FAFC38", shortname = "",},
["Liberal Party (Slovenia)"] = {abbrev = "", color = "#FFCC00", shortname = "",},
["Liberal Party (South Korea)"] = {abbrev = "", color = "#254170", shortname = "Liberal",},
["Liberal Party (South Korea, 1963)"] = {abbrev = "", color = "#485142", shortname = "Liberal",},
["Liberal Party (Spain, 1880)"] = {abbrev = "", color = "#83C53A", shortname = "Liberal",},
["Liberal Party (Spain, 1976)"] = {abbrev = "", color = "#006C95", shortname = "",},
["Liberal Party (Thailand)"] = {abbrev = "", color = "#00008B", shortname = "Liberal",},
["Liberal Party (UK, 1989)"] = {abbrev = "", color = "#EB7A43", shortname = "Liberal",},
["Liberal Party (UK)"] = {abbrev = "Lib", color = "#FFD700", shortname = "Liberal",},
["Liberal Party (Uruguay)"] = {abbrev = "", color = "#1047a1", shortname = "Liberal",},
["Liberal Party (Venezuela)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Party–Hatoyama"] = {abbrev = "", color = "#8DA405", shortname = "",},
["Liberal Party Bangladesh"] = {abbrev = "", color = "#EA6D6A", shortname = "",},
["Liberal Party of Albania"] = {abbrev = "", color = "#F2D863", shortname = "",},
["Liberals of Andorra"] = {abbrev = "L'A", color = "#019DC5", shortname = "",},
["Liberal Party of Australia (A.C.T. Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia (New South Wales Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia (Queensland Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia (South Australian Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia (Tasmanian Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia (Victorian Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia (Western Australian Division)"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Australia"] = {abbrev = "LP", color = "#0047AB", shortname = "Liberal",},
["Liberal Party of Chile (2013)"] = {abbrev = "", color = "#FF432C", shortname = "Liberal",},
["Liberal Party of Canada"] = {abbrev = "", color = "#D71920", shortname = "Liberal",},
["Liberal Party of Corrientes"] = {abbrev = "", color = "#35AAE0", shortname = "",},
["Liberal Party of Cuba"] = {abbrev = "", color = "#75AADB", shortname = "Liberal",},
["Liberal Party of Ghana"] = {abbrev = "", color = "#F96128", shortname = "",},
["Liberal Party of Gibraltar"] = {abbrev = "", color = "#EF4135", shortname = "Liberal",},
["Liberal Party of Honduras"] = {abbrev = "", color = "#CE2029", shortname = "Liberal",},
["Liberal Party of Ireland"] = {abbrev = "LPI", color = "#ADD8E6", shortname = "Liberal",},
["Liberal Party of Kosovo"] = {abbrev = "", color = "brown", shortname = "",},
["Liberal Party of Macedonia"] = {abbrev = "LPM", color = "#FFFF00", shortname = "",},
["Liberal Party of Montenegro"] = {abbrev = "LPCG", color = "#87CEEB", shortname = "",},
["Liberal Party of Norway"] = {abbrev = "", color = "#8CD600", shortname = "Liberal",},
["Liberal Party of South Africa"] = {abbrev = "", color = "#FED86F", shortname = "",},
["Liberal Party of Sri Lanka"] = {abbrev = "", color = "#FFDE17", shortname = "",},
["Liberal Party of State Employment and Housing"] = {abbrev = "", color = "#311829", shortname = "",},
["Liberal Party of Switzerland"] = {abbrev = "", color = "#134B94", shortname = "Liberals",},
["Liberal Party of the Right"] = {abbrev = "", color = "#4955A1", shortname = "",},
["Liberal Party of Ukraine"] = {abbrev = "", color = "blue", shortname = "Liberal",},
["Liberal People's Party (Norway)"] = {abbrev = "", color = "purple", shortname = "",},
["Liberal People's Party (Norway, 1972)"] = {abbrev = "", color = "red", shortname = "",},
["Liberal Poland – Entrepreneurs' Strike"] = {abbrev = "PL!SP", color = "#FFD900", shortname = "",},
["Liberal Popular Alliance"] = {abbrev = "", color = "#3366FF", shortname = "",},
["Liberal Progressive Party (Costa Rica)"] = {abbrev = "PLP", color = "#ff7300", shortname = "",},
["Liberal-Radical Party"] = {abbrev = "", color = "#ffcc00", shortname = "Liberal-Radical",},
["Liberal Reform Party (Australia)"] = {abbrev = "", color = "#00CED1", shortname = "Liberal Reform",},
["Liberal Reform Party (Czech Republic)"] = {abbrev = "LiRA", color = "yellow", shortname = "",},
["Liberal Reformist Party (Belgium)"] = {abbrev = "PRL", color = "blue", shortname = "",},
["Liberal Reformist Party (Dominican Republic)"] = {abbrev = "", color = "#32cd32", shortname = "",},
["Liberal Reformist Party (Puerto Rico)"] = {abbrev = "", color = "#B9245D", shortname = "",},
["Liberal Reformist Party (Romania)"] = {abbrev = "", color = "#1A92D0", shortname = "",},
["Liberal Reformist Party (Spain)"] = {abbrev = "", color = "#13CED2", shortname = "Liberal Reformist",},
["Liberal Regenerator Party"] = {abbrev = "", color = "#1935D0", shortname = "",},
["Liberal–Republican Coalition (Spain)"] = {abbrev = "", color = "#B1855B", shortname = "",},
["Liberal Republican Party (Turkey)"] = {abbrev = "", color = "#348AC9", shortname = "",},
["Liberal Republican Party (US)"] = {abbrev = "", color = "#FF69B4", shortname = "Liberal Republican",},
["Liberal Republican Right"] = {abbrev = "DLR", color = "#4EC766", shortname = "",},
["Liberal Samajbadi Party"] = {abbrev = "", color = "yellow", shortname = "",},
["Liberal Socialist Party (Singapore)"] = {abbrev = "LSP", color = "#EE5533", shortname = "",},
["Liberal Socialist Party (Switzerland)"] = {abbrev = "PLSS", color = "#F0D90B", shortname = "",},
["Liberal Socialists Party (Egypt)"] = {abbrev = "", color = "#00EE00", shortname = "",},
["Liberal State Party"] = {abbrev = "LSP", color = "#5A5CBD", shortname = "",},
["Liberal Swedish Party"] = {abbrev = "", color = "Blue", shortname = "",},
["Liberal Unification Party"] = {abbrev = "", color = "#013792", shortname = "Liberal Unification",},
["Liberal Union (Australia)"] = {abbrev = "", color = "#0000FF", shortname = "Liberal Union",},
["Liberal Union (Germany)"] = {abbrev = "LV", color = "#EEDC82", shortname = "",},
["Liberal Union (Italy)"] = {abbrev = "", color = "#0047AB", shortname = "Liberal Union",},
["Liberal Union (Netherlands)"] = {abbrev = "LU", color = "#5873DF", shortname = "",},
["Liberal Union (Spain, 1983)"] = {abbrev = "", color = "#1E90FF", shortname = "",},
["Liberal Union (Spain)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Liberal Union–Brătianu"] = {abbrev = "UL–B", color = "#FFDD00", shortname = "",},
["Liberal Union of Lithuania"] = {abbrev = "LLS", color = "#E8CA58", shortname = "",},
["Liberal Unionist Party"] = {abbrev = "LibU", color = "#2061A2", shortname = "Liberal Unionist",},
["Liberal Unity"] = {abbrev = "", color = "#FFD300", shortname = "",},
["Liberal Vannin Party"] = {abbrev = "", color = "#FA8000", shortname = "Liberal Vannin",},
["Liberal-Labour (UK)"] = {abbrev = "Lib-Lab", color = "orange", shortname = "",},
["Liberal-Labour"] = {abbrev = "", color = "orange", shortname = "",},
["Liberal–Labour (New Zealand)"] = {abbrev = "", color = "#FFA500", shortname = "Liberal–Labour",},
["Liberal-Social Union"] = {abbrev = "LSU", color = "#50C878", shortname = "",},
["Liberal–Socialist Kartels"] = {abbrev = "", color = "#800080", shortname = "Liberal–Socialist",},
["Liberal/Country coalition"] = {abbrev = "", color = "#0047AB", shortname = "",},
["Liberal/National coalition"] = {abbrev = "", color = "#0047AB", shortname = "",},
["Liberal/NCP coalition"] = {abbrev = "", color = "#0047AB", shortname = "",},
["Liberal"] = {abbrev = "", color = "#FFFF00", shortname = "",}, -- Generic color, not a party color; specify the actual party
["Liberalism in the Netherlands"] = {abbrev = "", color = "#e7cf25", shortname = "",},
["Liberalism"] = {abbrev = "", color = "#FFFF00", shortname = "Liberal",},
["Liberals (Finland)"] = {abbrev = "", color = "gold", shortname = "Liberals",},
["Liberals (Sweden)"] = {abbrev = "L", color = "#006AB3", shortname = "Liberals",},
["Liberals for Åland"] = {abbrev = "", color = "#1F66CA", shortname = "",},
["Liberals for Forests"] = {abbrev = "LFF", color = "#05A593", shortname = "Liberals for Forests",},
["Liberals of Benidorm"] = {abbrev = "", color = "#359E74", shortname = "",},
["Liberals of Serbia"] = {abbrev = "LS", color = "#FF4F00", shortname = "",},
["Liberals' Movement (Lithuania)"] = {abbrev = "LRLS", color = "#F48100", shortname = "",},
["Liberals, Democrats and Radicals"] = {abbrev = "LDR", color = "Gold", shortname = "",},
["Liberate the People"] = {abbrev = "YAW", color = "#FF1493", shortname = "",},
["Liberation Rally"] = {abbrev = "", color = "#CD7F32", shortname = "",},
["Liberation Movement (Serbia)"] = {abbrev = "O", color = "#18478e", shortname = "",},
["Liberator Party (Brazil)"] = {abbrev = "", color = "#F9AF1E", shortname = "",},
["Liberia Destiny Party"] = {abbrev = "LDP", color = "#BEC2CB", shortname = "",},
["Liberia National Union"] = {abbrev = "LNU", color = "#2E7286", shortname = "",},
["Liberia Restoration Party"] = {abbrev = "LRP", color = "#008000", shortname = "",},
["Liberia Transformation Party"] = {abbrev = "LTP", color = "#330104", shortname = "",},
["Liberian Action Party"] = {abbrev = "LAP", color = "#00FFFF", shortname = "",},
["Liberian People's Party"] = {abbrev = "LPP", color = "#DC143C", shortname = "",},
["Libertair, Direct, Democratisch"] = {abbrev = "LDD", color = "#6DCFF6", shortname = "",},
["Libertarian Left (Chile)"] = {abbrev = "", color = "#451255", shortname = "",},
["Libertarian Movement (Costa Rica)"] = {abbrev = "PML", color = "#DC143C", shortname = "",},
["Libertarian Movement Party"] = {abbrev = "", color = "#BA151B", shortname = "",},
["Libertarian Party (Argentina)"] = {abbrev = "PL", color = "#7D03FE", shortname = "",},
["Libertarian Party (Netherlands)"] = {abbrev = "", color = "#1170ce", shortname = "",},
["Libertarian Party (Spain)"] = {abbrev = "", color = "#C9A900", shortname = "",},
["Libertarian Party (Switzerland)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["Libertarian Party (US)"] = {abbrev = "LI", color = "#FED105", shortname = "Libertarian",},
["Libertarian Party (UK)"] = {abbrev = "", color = "#FCC820", shortname = "Libertarian",},
["Libertarian Party of Australia"] = {abbrev = "", color = "#E5C601", shortname = "",},
["Libertarian Party of Canada"] = {abbrev = "", color = "#F2BA00", shortname = "",},
["Libertarian Party of Russia"] = {abbrev = "LPR", color = "#C5A664", shortname = "Libertarian",},
["Libertarian Party of South Africa"] = {abbrev = "", color = "#BE9F4D", shortname = "",},
["Libertarianz"] = {abbrev = "", color = "#09296B", shortname = "",},
["Libertas Estonia"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Libertas France"] = {abbrev = "", color = "#003366", shortname = "Libertas",},
["Libertas Ireland"] = {abbrev = "", color = "#3333CC", shortname = "Libertas",},
["Libertas United Kingdom"] = {abbrev = "", color = "#900020", shortname = "Pro-Democracy: Libertas.eu",},
["Libertas.eu"] = {abbrev = "Lib.eu", color = "#2c296e", shortname = "",},
["Liberties, Independents, Overseas and Territories"] = {abbrev = "", color = "#38D4C7", shortname = "LIOT",},
["Liberty (political party, Palestine)"] = {abbrev = "", color = "#C69F14", shortname = "",},
["Liberty (political party)"] = {abbrev = "", color = "#1882C5", shortname = "Volia",},
["Liberty and Lawfulness"] = {abbrev = "WiP", color = "grey", shortname = "",},
["Liberty and Refoundation"] = {abbrev = "", color = "#8B0000", shortname = "Libre",},
["Liberty GB"] = {abbrev = "", color = "#000168", shortname = "",},
["Liberty Korea Party"] = {abbrev = "", color = "#C9151E", shortname = "Liberty Korea",},
["Liberty Party (Liberia)"] = {abbrev = "LP", color = "#FFD600", shortname = "",},
["Liberty Party (Turkey)"] = {abbrev = "HP", color = "#C1F711", shortname = "",},
["Liberty Party (US, 1932)"] = {abbrev = "", color = "#00DDDD", shortname = "Liberty",},
["Liberty Party (US)"] = {abbrev = "", color = "#00DDDD", shortname = "Liberty",},
["Liberty Republican Party"] = {abbrev = "", color = "#009944", shortname = "",},
["Liberty Unification Party"] = {abbrev = "", color = "#E12F33", shortname = "Liberty Unification",},
["Liberty Union Party"] = {abbrev = "", color = "#D6FF33", shortname = "Liberty Union",},
["Liberty, Worth Voting For"] = {abbrev = "", color = "#DDDDDD", shortname = "Liberty",},
["Libra Party"] = {abbrev = "", color = "#F8D308", shortname = "",},
["Libre (Guatemala)"] = {abbrev = "", color = "#3467A1", shortname = "Libre",},
["Libres"] = {abbrev = "", color = "#194955", shortname = "",},
["Lider (political party)"] = {abbrev = "", color = "#00AFF0", shortname = "",},
["Liepāja Party"] = {abbrev = "", color = "#50A640", shortname = "",},
["Life – National Party"] = {abbrev = "Život–NS", color = "#032F67", shortname = "",},
["Life and Liberty Party"] = {abbrev = "", color = "black", shortname = "Life and Liberty",},
["Liga Veneta"] = {abbrev = "", color = "#0030AA", shortname = "",},
["LiGanDo"] = {abbrev = "", color = "#02A24A", shortname = "",},
["Light Blue and White Union"] = {abbrev = "", color = "blue", shortname = "",},
["Light of Faith (political party)"] = {abbrev = "", color = "#10C8DF", shortname = "Yiman Nuru",},
["Ligue du Sud"] = {abbrev = "LS", color = "#404040", shortname = "",},
["Likud Yisrael Beiteinu"] = {abbrev = "", color = "#1f5aa5", shortname = "",},
["Likud"] = {abbrev = "", color = "#1f5aa5", shortname = "",},
["Linares First"] = {abbrev = "", color = "#1F1715", shortname = "",},
["Lincoln Democratic Labour Association"] = {abbrev = "", color = "#FF6600", shortname = "Democratic Labour",},
["Lincolnshire Independents"] = {abbrev = "", color = "#000000", shortname = "Lincolnshire Independent",},
["Linese Alternative"] = {abbrev = "", color = "#0CB7F2", shortname = "",},
["Lingkod Taguig"] = {abbrev = "", color = "#0051B0", shortname = "",},
["Linyon Demokratik Seselwa"] = {abbrev = "", color = "#2C50A4", shortname = "",},
["List Burgenland"] = {abbrev = "", color = "#F8D323", shortname = "",},
["List Dedecker"] = {abbrev = "", color = "#000080", shortname = "",},
["List for Fiume"] = {abbrev = "", color = "#545AA7", shortname = "",},
["List for Sandžak"] = {abbrev = "LZS", color = "#307A4D", shortname = "",},
["List for Trieste"] = {abbrev = "", color = "#4CBB17", shortname = "",},
["List of Decency"] = {abbrev = "", color = "#CC00CC", shortname = "",},
["List of Marjan Šarec"] = {abbrev = "LMŠ", color = "#005AAB", shortname = "",},
["Lists of Slavs and Germans"] = {abbrev = "LST", color = "#B00000", shortname = "",},
["Lista del Apruebo"] = {abbrev = "", color = "#6F4D9A", shortname = "",},
["Lista Niun Paso Atras"] = {abbrev = "", color = "gold", shortname = "",},
["Lisu National Development Party"] = {abbrev = "LNDP", color = "#DC0723", shortname = "",},
["Lithuania – For Everyone"] = {abbrev = "L–V", color = "#0FC65E", shortname = "",},
["Lithuanian Centre Party"] = {abbrev = "", color = "#0CA13B", shortname = "",},
["Lithuanian Centre Union"] = {abbrev = "LCS", color = "#D6D40F", shortname = "",},
["Lithuanian Christian Democratic Party"] = {abbrev = "LKDP", color = "#3D6DBF", shortname = "",},
["Lithuanian Christian Democrats"] = {abbrev = "", color = "#3333CC", shortname = "",},
["Lithuanian Citizens' Alliance"] = {abbrev = "LPA", color = "#799B6F", shortname = "",},
["Lithuanian Democratic Party"] = {abbrev = "LDP", color = "#007272", shortname = "",},
["Lithuanian Farmers and Greens Union"] = {abbrev = "LVŽS", color = "#00A651", shortname = "",},
["Lithuanian Green Party"] = {abbrev = "LŽP", color = "#92C83E", shortname = "",},
["Lithuanian Labour Federation"] = {abbrev = "", color = "#2C6BC7", shortname = "Labour Federation",},
["Lithuanian Liberty Union"] = {abbrev = "LLS", color = "#FBB800", shortname = "",},
["Lithuanian List"] = {abbrev = "LS", color = "#810305", shortname = "",},
["Lithuanian Nationalist and Republican Union"] = {abbrev = "", color = "#FDC52A", shortname = "",},
["Lithuanian Nationalist Union"] = {abbrev = "LTS", color = "#FFD700", shortname = "",},
["Lithuanian Peasant Popular Union"] = {abbrev = "", color = "#BBFF02", shortname = "",},
["Lithuanian Peasants Party"] = {abbrev = "LVP", color = "#BAD759", shortname = "",},
["Lithuanian People's Party"] = {abbrev = "LLP", color = "#E6AD1E", shortname = "",},
["Lithuanian Popular Peasants' Union"] = {abbrev = "LVLS", color = "green", shortname = "",},
["Lithuanian Popular Socialist Democratic Party"] = {abbrev = "LSLDP", color = "pink", shortname = "",},
["Lithuanian Regions Party"] = {abbrev = "LRP", color = "#CE2C29", shortname = "",},
["Lithuanian Russian Union"] = {abbrev = "SRL", color = "red", shortname = "",},
["Lithuanian Social Democratic Union"] = {abbrev = "LSDS", color = "#901d78", shortname = "",},
["Lithuanian Union of Political Prisoners and Deportees"] = {abbrev = "LPKTS", color = "#216319", shortname = "",},
["Livable Netherlands"] = {abbrev = "LN", color = "#FF4400", shortname = "",},
["Liverpool Community Independents"] = {abbrev = "", color = "#800000", shortname = "Community Independents",},
["Liverpool Independent Party"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Liverpool Protestant Party"] = {abbrev = "", color = "#F88017", shortname = "Protestant",},
["Living Ourense"] = {abbrev = "", color = "#0082CD", shortname = "",},
["Living Unified Socialist Party of Catalonia"] = {abbrev = "PSUC viu", color = "#C40C34", shortname = "",},
["LIVRE"] = {abbrev = "", color = "#C2D216", shortname = "",},
["Llais Gwynedd"] = {abbrev = "", color = "#006400", shortname = "",},
["Llantwit First Independents"] = {abbrev = "", color = "#999999", shortname = "Llantwit First Independent",},
["Lliures"] = {abbrev = "", color = "#E75C73", shortname = "",},
["Lloc Espai Independent"] = {abbrev = "", color = "#E6302B", shortname = "",},
["LMP – Hungary's Green Party"] = {abbrev = "LMP", color = "#36CA8B", shortname = "",},
["Lower Hutt Citizens' Association"] = {abbrev = "", color = "#B8BFFE", shortname = "Citizens'",},
["Local Alliance"] = {abbrev = "", color = "#000000", shortname = "",},
["Local and Rural Issues"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Local Danish parties"] = {abbrev = "", color = "#C7C3BF", shortname = "",},
["Local Education Action by Parents"] = {abbrev = "", color = "#CCCCCC", shortname = "",},
["Local Option"] = {abbrev = "", color = "silver", shortname = "",},
["Local Progressive Party"] = {abbrev = "", color = "#FF4500", shortname = "",},
["Localist Bloc of Melilla"] = {abbrev = "", color = "#217118", shortname = "",},
["Localist"] = {abbrev = "", color = "#bb00bb", shortname = "",},
["Localist groups (Hong Kong)"] = {abbrev = "", color = "#002366", shortname = "Localist",},
["Loktantrik Morcha (Rajasthan)"] = {abbrev = "LM", color = "#FF1D15", shortname = "",},
["Lok Bhalai Party"] = {abbrev = "LBP", color = "#386059", shortname = "",},
["Lok Insaaf Party"] = {abbrev = "LIP", color = "Maroon", shortname = "",},
["Lok Janshakti Party (Ram Vilas)"] = {abbrev = "LJP(RV)", color = "#5B006A", shortname = "",},
["Lok Janshakti Party"] = {abbrev = "LJP", color = "#0093DD", shortname = "",},
["Lok Kalayankari Janata Party Nepal"] = {abbrev = "", color = "#FFEFD5", shortname = "Lok Kalayankari Janata Party",},
["Lok Paritran"] = {abbrev = "LKPT", color = "#f3c0f3", shortname = "",},
["Lok Raj Party Himachal Pradesh"] = {abbrev = "LRP", color = "indigo", shortname = "",},
["Lok Rajya Party"] = {abbrev = "", color = "#9900FF", shortname = "",},
["Lok Satta Party"] = {abbrev = "LSP", color = "#FF1493", shortname = "",},
["Lok Sewak Dal"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Lok Sewak Sangh"] = {abbrev = "", color = "#00FF00", shortname = "",},
["Lok Shakti"] = {abbrev = "", color = "#336600", shortname = "",},
["Lokdal"] = {abbrev = "LKD", color = "#00FF66", shortname = "",},
["Lokpriya Samaj Party"] = {abbrev = "LPSP", color = "#66FF99", shortname = "",},
["Loktanter Suraksha Party"] = {abbrev = "LSP", color = "#FF9900", shortname = "",},
["Loktantra Suraksha Party"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Loktantrik Jan Samta Party"] = {abbrev = "LJSP", color = "grey", shortname = "",},
["Loktantrik Janata Dal"] = {abbrev = "LJD", color = "#2E8B57", shortname = "",},
["Loktantrik Janata Party (Secular)"] = {abbrev = "LJP(S)", color = "pink", shortname = "",},
["Loktantrik Morcha Himachal Pradesh"]={abbrev="LHMP",color="",shortname=""},
["Loktantrik Samajwadi Party, Nepal"] = {abbrev = "LSWP", color = "#c7f884 ", shortname = "Loktantrik Samajwadi",},
["Londependence Party"] = {abbrev = "", color = "#751056", shortname = "Londependence",},
["London Real Party"] = {abbrev = "", color = "#af0823", shortname = "London Real",},
["London Socialist Alliance"] = {abbrev = "", color = "red", shortname = "London Socialist",},
["Longthornton and Tamworth Residents Association"] = {abbrev = "", color = "#000000", shortname = "Longthornton and Tamworth Residents",},
["Lord Fusituʻa"] = {abbrev = "", color = "#D3D3D3", shortname = "",},
["Lord Nuku"] = {abbrev = "", color = "#D3D3D3", shortname = "",},
["Lord Speaker"] = {abbrev = "", color = "black", shortname = "",},
["Lord Tuʻiʻafitu"] = {abbrev = "", color = "#D3D3D3", shortname = "",},
["Lords Spiritual"] = {abbrev = "", color = "#7F00FF", shortname = "",},
["Loss"] = {abbrev = "", color = "#999999", shortname = "",},
["Loughton Residents Association"] = {abbrev = "", color = "#50C878", shortname = "Loughton Residents",},
["Love Malaysia Party"] = {abbrev = "", color = "#DAE2EA", shortname = "",},
["Love Party (Italy)"] = {abbrev = "", color = "#FF91AF", shortname = "",},
["Love Sabah Party"] = {abbrev = "", color = "#FB5B47", shortname = "",},
["Love, Faith, Hope"] = {abbrev = "", color = "#BC413C", shortname = "",},
["Lower Cinca Between Everyone"] = {abbrev = "ETXSBC", color = "#F57D02", shortname = "",},
["Lower Minho Independents"] = {abbrev = "", color = "#824941", shortname = "",},
["Loyalty and Dignity"] = {abbrev = "", color = "#1e90ff", shortname = "",},
["Luen Wo United"] = {abbrev = "", color = "#000000", shortname = "",},
["Lugonovo"] = {abbrev = "", color = "#E5432C", shortname = "",},
["Luhansk Economic Union"] = {abbrev = "LES", color = "#76C5F0", shortname = "",},
["Lung Mun Concern Group"] = {abbrev = "LMCG", color = "#11A0B4", shortname = "",},
["Lutte Ouvrière"] = {abbrev = "LO", color = "#AA0000", shortname = "",},
["Luxembourg Socialist Workers' Party"] = {abbrev = "LSAP", color = "#F10035", shortname = "",},
["LXE"] = {abbrev = "", color = "#47B9AF", shortname = "",},
["Lytvyn Bloc"] = {abbrev = "", color = "#01B8A4", shortname = "",},
["Lytyn Bloc"] = {abbrev = "", color = "Green", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
749812df560acd286329cf8da3ac6f289b7e7d9a
Template:Country data Bolivia
10
1478
3020
3019
2024-03-13T05:24:24Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{ {{{1<noinclude>|country showdata</noinclude>}}}
| alias = Bolivia
| flag alias = Bandera de Bolivia (Estado).svg
| flag alias-state = Bandera de Bolivia (Estado).svg
| flag alias-football = Flag of Bolivia.svg
| flag alias-spain = Flag of Cross of Burgundy.svg
| flag alias-1825 = State flag of Bolivia (1825-1826).svg
| flag alias-1825a = Civil flag of Bolivia (1825-1826).svg
| flag alias-1831 = Flag of Bolivia (state, 1826-1851).svg
| flag alias-1831a = Flag of Bolivia (1826-1851).svg
| flag alias-confederation = Flag of the Peru-Bolivian Confederation.svg
| flag alias-wiphala = Banner of the Qulla Suyu.svg
| flag alias-patuju =
| flag alias-army=Flag of Bolivia (military).svg
| link alias-army=Bolivian Army
| flag alias-air force=Flag of Bolivia (military).svg
| link alias-air force=Bolivian Air Force
| flag alias-naval = Naval Ensign of Bolivia.svg
| link alias-naval = Bolivian Naval Force
| flag alias-naval old = Naval Ensign of Bolivia (1966-2013).svg
| flag alias-naval jack = Naval Jack of Bolivia.svg
| flag alias-military = Flag of Bolivia (military).svg
| link alias-military = Bolivian Armed Forces
| flag alias-navy = Naval Ensign of Bolivia.svg
| link alias-navy = Bolivian Naval Force
| flag alias-civil = Flag of Bolivia.svg
| size = {{{size|}}}
| name = {{{name|}}}
| altvar = {{{altvar|}}}
| altlink = {{{altlink|}}}
| variant = {{{variant|}}}
<noinclude>
| var1 = state
| var2 = football
| var3 = spain
| var4 = 1825
| var5 = 1825a
| var6 = 1831
| var7 = 1831a
| var8 = confederation
| var9 = wiphala
| var10 = patuju
| var11 = naval old
| var12 = naval jack
| var13 = civil
| redir1 = BOL
</noinclude>
}}
fc39b1f8371694f21ce6a216dd3737657a3ebd07
Template:Large
10
1479
3022
3021
2024-03-13T05:24:24Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<span style="font-size:120%">{{{1}}}</span><noinclude>
{{Documentation}}
</noinclude>
8ba6ec8c3178e22dc1f05aa239df8a2b052be668
Template:Documentation
10
1480
3024
3023
2024-03-13T05:24:25Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}<noinclude>
<!-- Add categories to the /doc subpage -->
</noinclude>
9e62b964e96c4e3d478edecbfcb3c0338ae8a276
Module:Documentation
828
1481
3026
3025
2024-03-13T05:24:25Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- This module implements {{documentation}}.
-- Get required modules.
local getArgs = require('Module:Arguments').getArgs
-- Get the config table.
local cfg = mw.loadData('Module:Documentation/config')
local p = {}
-- Often-used functions.
local ugsub = mw.ustring.gsub
local format = mw.ustring.format
----------------------------------------------------------------------------
-- Helper functions
--
-- These are defined as local functions, but are made available in the p
-- table for testing purposes.
----------------------------------------------------------------------------
local function message(cfgKey, valArray, expectType)
--[[
-- Gets a message from the cfg table and formats it if appropriate.
-- The function raises an error if the value from the cfg table is not
-- of the type expectType. The default type for expectType is 'string'.
-- If the table valArray is present, strings such as $1, $2 etc. in the
-- message are substituted with values from the table keys [1], [2] etc.
-- For example, if the message "foo-message" had the value 'Foo $2 bar $1.',
-- message('foo-message', {'baz', 'qux'}) would return "Foo qux bar baz."
--]]
local msg = cfg[cfgKey]
expectType = expectType or 'string'
if type(msg) ~= expectType then
error('message: type error in message cfg.' .. cfgKey .. ' (' .. expectType .. ' expected, got ' .. type(msg) .. ')', 2)
end
if not valArray then
return msg
end
local function getMessageVal(match)
match = tonumber(match)
return valArray[match] or error('message: no value found for key $' .. match .. ' in message cfg.' .. cfgKey, 4)
end
return ugsub(msg, '$([1-9][0-9]*)', getMessageVal)
end
p.message = message
local function makeWikilink(page, display)
if display then
return format('[[%s|%s]]', page, display)
else
return format('[[%s]]', page)
end
end
p.makeWikilink = makeWikilink
local function makeCategoryLink(cat, sort)
local catns = mw.site.namespaces[14].name
return makeWikilink(catns .. ':' .. cat, sort)
end
p.makeCategoryLink = makeCategoryLink
local function makeUrlLink(url, display)
return format('[%s %s]', url, display)
end
p.makeUrlLink = makeUrlLink
local function makeToolbar(...)
local ret = {}
local lim = select('#', ...)
if lim < 1 then
return nil
end
for i = 1, lim do
ret[#ret + 1] = select(i, ...)
end
-- 'documentation-toolbar'
return format(
'<span class="%s">(%s)</span>',
message('toolbar-class'),
table.concat(ret, ' | ')
)
end
p.makeToolbar = makeToolbar
----------------------------------------------------------------------------
-- Argument processing
----------------------------------------------------------------------------
local function makeInvokeFunc(funcName)
return function (frame)
local args = getArgs(frame, {
valueFunc = function (key, value)
if type(value) == 'string' then
value = value:match('^%s*(.-)%s*$') -- Remove whitespace.
if key == 'heading' or value ~= '' then
return value
else
return nil
end
else
return value
end
end
})
return p[funcName](args)
end
end
----------------------------------------------------------------------------
-- Entry points
----------------------------------------------------------------------------
function p.nonexistent(frame)
if mw.title.getCurrentTitle().subpageText == 'testcases' then
return frame:expandTemplate{title = 'module test cases notice'}
else
return p.main(frame)
end
end
p.main = makeInvokeFunc('_main')
function p._main(args)
--[[
-- This function defines logic flow for the module.
-- @args - table of arguments passed by the user
--]]
local env = p.getEnvironment(args)
local root = mw.html.create()
root
:wikitext(p._getModuleWikitext(args, env))
:wikitext(p.protectionTemplate(env))
:wikitext(p.sandboxNotice(args, env))
:tag('div')
-- 'documentation-container'
:addClass(message('container'))
:attr('role', 'complementary')
:attr('aria-labelledby', args.heading ~= '' and 'documentation-heading' or nil)
:attr('aria-label', args.heading == '' and 'Documentation' or nil)
:newline()
:tag('div')
-- 'documentation'
:addClass(message('main-div-classes'))
:newline()
:wikitext(p._startBox(args, env))
:wikitext(p._content(args, env))
:tag('div')
-- 'documentation-clear'
:addClass(message('clear'))
:done()
:newline()
:done()
:wikitext(p._endBox(args, env))
:done()
:wikitext(p.addTrackingCategories(env))
-- 'Module:Documentation/styles.css'
return mw.getCurrentFrame():extensionTag (
'templatestyles', '', {src=cfg['templatestyles']
}) .. tostring(root)
end
----------------------------------------------------------------------------
-- Environment settings
----------------------------------------------------------------------------
function p.getEnvironment(args)
--[[
-- Returns a table with information about the environment, including title
-- objects and other namespace- or path-related data.
-- @args - table of arguments passed by the user
--
-- Title objects include:
-- env.title - the page we are making documentation for (usually the current title)
-- env.templateTitle - the template (or module, file, etc.)
-- env.docTitle - the /doc subpage.
-- env.sandboxTitle - the /sandbox subpage.
-- env.testcasesTitle - the /testcases subpage.
--
-- Data includes:
-- env.protectionLevels - the protection levels table of the title object.
-- env.subjectSpace - the number of the title's subject namespace.
-- env.docSpace - the number of the namespace the title puts its documentation in.
-- env.docpageBase - the text of the base page of the /doc, /sandbox and /testcases pages, with namespace.
-- env.compareUrl - URL of the Special:ComparePages page comparing the sandbox with the template.
--
-- All table lookups are passed through pcall so that errors are caught. If an error occurs, the value
-- returned will be nil.
--]]
local env, envFuncs = {}, {}
-- Set up the metatable. If triggered we call the corresponding function in the envFuncs table. The value
-- returned by that function is memoized in the env table so that we don't call any of the functions
-- more than once. (Nils won't be memoized.)
setmetatable(env, {
__index = function (t, key)
local envFunc = envFuncs[key]
if envFunc then
local success, val = pcall(envFunc)
if success then
env[key] = val -- Memoise the value.
return val
end
end
return nil
end
})
function envFuncs.title()
-- The title object for the current page, or a test page passed with args.page.
local title
local titleArg = args.page
if titleArg then
title = mw.title.new(titleArg)
else
title = mw.title.getCurrentTitle()
end
return title
end
function envFuncs.templateTitle()
--[[
-- The template (or module, etc.) title object.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
-- 'testcases-subpage' --> 'testcases'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local subpage = title.subpageText
if subpage == message('sandbox-subpage') or subpage == message('testcases-subpage') then
return mw.title.makeTitle(subjectSpace, title.baseText)
else
return mw.title.makeTitle(subjectSpace, title.text)
end
end
function envFuncs.docTitle()
--[[
-- Title object of the /doc subpage.
-- Messages:
-- 'doc-subpage' --> 'doc'
--]]
local title = env.title
local docname = args[1] -- User-specified doc page.
local docpage
if docname then
docpage = docname
else
docpage = env.docpageBase .. '/' .. message('doc-subpage')
end
return mw.title.new(docpage)
end
function envFuncs.sandboxTitle()
--[[
-- Title object for the /sandbox subpage.
-- Messages:
-- 'sandbox-subpage' --> 'sandbox'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('sandbox-subpage'))
end
function envFuncs.testcasesTitle()
--[[
-- Title object for the /testcases subpage.
-- Messages:
-- 'testcases-subpage' --> 'testcases'
--]]
return mw.title.new(env.docpageBase .. '/' .. message('testcases-subpage'))
end
function envFuncs.protectionLevels()
-- The protection levels table of the title object.
return env.title.protectionLevels
end
function envFuncs.subjectSpace()
-- The subject namespace number.
return mw.site.namespaces[env.title.namespace].subject.id
end
function envFuncs.docSpace()
-- The documentation namespace number. For most namespaces this is the
-- same as the subject namespace. However, pages in the Article, File,
-- MediaWiki or Category namespaces must have their /doc, /sandbox and
-- /testcases pages in talk space.
local subjectSpace = env.subjectSpace
if subjectSpace == 0 or subjectSpace == 6 or subjectSpace == 8 or subjectSpace == 14 then
return subjectSpace + 1
else
return subjectSpace
end
end
function envFuncs.docpageBase()
-- The base page of the /doc, /sandbox, and /testcases subpages.
-- For some namespaces this is the talk page, rather than the template page.
local templateTitle = env.templateTitle
local docSpace = env.docSpace
local docSpaceText = mw.site.namespaces[docSpace].name
-- Assemble the link. docSpace is never the main namespace, so we can hardcode the colon.
return docSpaceText .. ':' .. templateTitle.text
end
function envFuncs.compareUrl()
-- Diff link between the sandbox and the main template using [[Special:ComparePages]].
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
if templateTitle.exists and sandboxTitle.exists then
local compareUrl = mw.uri.canonicalUrl(
'Special:ComparePages',
{ page1 = templateTitle.prefixedText, page2 = sandboxTitle.prefixedText}
)
return tostring(compareUrl)
else
return nil
end
end
return env
end
----------------------------------------------------------------------------
-- Auxiliary templates
----------------------------------------------------------------------------
p.getModuleWikitext = makeInvokeFunc('_getModuleWikitext')
function p._getModuleWikitext(args, env)
local currentTitle = mw.title.getCurrentTitle()
if currentTitle.contentModel ~= 'Scribunto' then return end
pcall(require, currentTitle.prefixedText) -- if it fails, we don't care
local moduleWikitext = package.loaded["Module:Module wikitext"]
if moduleWikitext then
return moduleWikitext.main()
end
end
function p.sandboxNotice(args, env)
--[=[
-- Generates a sandbox notice for display above sandbox pages.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-notice-image' --> '[[File:Sandbox.svg|50px|alt=|link=]]'
-- 'sandbox-notice-blurb' --> 'This is the $1 for $2.'
-- 'sandbox-notice-diff-blurb' --> 'This is the $1 for $2 ($3).'
-- 'sandbox-notice-pagetype-template' --> '[[Wikipedia:Template test cases|template sandbox]] page'
-- 'sandbox-notice-pagetype-module' --> '[[Wikipedia:Template test cases|module sandbox]] page'
-- 'sandbox-notice-pagetype-other' --> 'sandbox page'
-- 'sandbox-notice-compare-link-display' --> 'diff'
-- 'sandbox-notice-testcases-blurb' --> 'See also the companion subpage for $1.'
-- 'sandbox-notice-testcases-link-display' --> 'test cases'
-- 'sandbox-category' --> 'Template sandboxes'
-- 'module-sandbox-category' --> 'Module sandboxes'
-- 'other-sandbox-category' --> 'Sandboxes outside of template or module namespace'
--]=]
local title = env.title
local sandboxTitle = env.sandboxTitle
local templateTitle = env.templateTitle
local subjectSpace = env.subjectSpace
if not (subjectSpace and title and sandboxTitle and templateTitle
and mw.title.equals(title, sandboxTitle)) then
return nil
end
-- Build the table of arguments to pass to {{ombox}}. We need just two fields, "image" and "text".
local omargs = {}
omargs.image = message('sandbox-notice-image')
-- Get the text. We start with the opening blurb, which is something like
-- "This is the template sandbox for [[Template:Foo]] (diff)."
local text = ''
local pagetype, sandboxCat
if subjectSpace == 10 then
pagetype = message('sandbox-notice-pagetype-template')
sandboxCat = message('sandbox-category')
elseif subjectSpace == 828 then
pagetype = message('sandbox-notice-pagetype-module')
sandboxCat = message('module-sandbox-category')
else
pagetype = message('sandbox-notice-pagetype-other')
sandboxCat = message('other-sandbox-category')
end
local templateLink = makeWikilink(templateTitle.prefixedText)
local compareUrl = env.compareUrl
if compareUrl then
local compareDisplay = message('sandbox-notice-compare-link-display')
local compareLink = makeUrlLink(compareUrl, compareDisplay)
text = text .. message('sandbox-notice-diff-blurb', {pagetype, templateLink, compareLink})
else
text = text .. message('sandbox-notice-blurb', {pagetype, templateLink})
end
-- Get the test cases page blurb if the page exists. This is something like
-- "See also the companion subpage for [[Template:Foo/testcases|test cases]]."
local testcasesTitle = env.testcasesTitle
if testcasesTitle and testcasesTitle.exists then
if testcasesTitle.contentModel == "Scribunto" then
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesRunLinkDisplay = message('sandbox-notice-testcases-run-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-run-blurb', {testcasesLink, testcasesRunLink})
else
local testcasesLinkDisplay = message('sandbox-notice-testcases-link-display')
local testcasesLink = makeWikilink(testcasesTitle.prefixedText, testcasesLinkDisplay)
text = text .. '<br />' .. message('sandbox-notice-testcases-blurb', {testcasesLink})
end
end
-- Add the sandbox to the sandbox category.
omargs.text = text .. makeCategoryLink(sandboxCat)
-- 'documentation-clear'
return '<div class="' .. message('clear') .. '"></div>'
.. require('Module:Message box').main('ombox', omargs)
end
function p.protectionTemplate(env)
-- Generates the padlock icon in the top right.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'protection-template' --> 'pp-template'
-- 'protection-template-args' --> {docusage = 'yes'}
local protectionLevels = env.protectionLevels
if not protectionLevels then
return nil
end
local editProt = protectionLevels.edit and protectionLevels.edit[1]
local moveProt = protectionLevels.move and protectionLevels.move[1]
if editProt then
-- The page is edit-protected.
return require('Module:Protection banner')._main{
message('protection-reason-edit'), small = true
}
elseif moveProt and moveProt ~= 'autoconfirmed' then
-- The page is move-protected but not edit-protected. Exclude move
-- protection with the level "autoconfirmed", as this is equivalent to
-- no move protection at all.
return require('Module:Protection banner')._main{
action = 'move', small = true
}
else
return nil
end
end
----------------------------------------------------------------------------
-- Start box
----------------------------------------------------------------------------
p.startBox = makeInvokeFunc('_startBox')
function p._startBox(args, env)
--[[
-- This function generates the start box.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- The actual work is done by p.makeStartBoxLinksData and p.renderStartBoxLinks which make
-- the [view] [edit] [history] [purge] links, and by p.makeStartBoxData and p.renderStartBox
-- which generate the box HTML.
--]]
env = env or p.getEnvironment(args)
local links
local content = args.content
if not content or args[1] then
-- No need to include the links if the documentation is on the template page itself.
local linksData = p.makeStartBoxLinksData(args, env)
if linksData then
links = p.renderStartBoxLinks(linksData)
end
end
-- Generate the start box html.
local data = p.makeStartBoxData(args, env, links)
if data then
return p.renderStartBox(data)
else
-- User specified no heading.
return nil
end
end
function p.makeStartBoxLinksData(args, env)
--[[
-- Does initial processing of data to make the [view] [edit] [history] [purge] links.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'view-link-display' --> 'view'
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'purge-link-display' --> 'purge'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'docpage-preload' --> 'Template:Documentation/preload'
-- 'create-link-display' --> 'create'
--]]
local subjectSpace = env.subjectSpace
local title = env.title
local docTitle = env.docTitle
if not title or not docTitle then
return nil
end
if docTitle.isRedirect then
docTitle = docTitle.redirectTarget
end
-- Create link if /doc doesn't exist.
local preload = args.preload
if not preload then
if subjectSpace == 828 then -- Module namespace
preload = message('module-preload')
else
preload = message('docpage-preload')
end
end
return {
title = title,
docTitle = docTitle,
-- View, display, edit, and purge links if /doc exists.
viewLinkDisplay = message('view-link-display'),
editLinkDisplay = message('edit-link-display'),
historyLinkDisplay = message('history-link-display'),
purgeLinkDisplay = message('purge-link-display'),
preload = preload,
createLinkDisplay = message('create-link-display')
}
end
function p.renderStartBoxLinks(data)
--[[
-- Generates the [view][edit][history][purge] or [create][purge] links from the data table.
-- @data - a table of data generated by p.makeStartBoxLinksData
--]]
local docTitle = data.docTitle
-- yes, we do intend to purge the template page on which the documentation appears
local purgeLink = makeWikilink("Special:Purge/" .. data.title.prefixedText, data.purgeLinkDisplay)
if docTitle.exists then
local viewLink = makeWikilink(docTitle.prefixedText, data.viewLinkDisplay)
local editLink = makeWikilink("Special:EditPage/" .. docTitle.prefixedText, data.editLinkDisplay)
local historyLink = makeWikilink("Special:PageHistory/" .. docTitle.prefixedText, data.historyLinkDisplay)
return "[" .. viewLink .. "] [" .. editLink .. "] [" .. historyLink .. "] [" .. purgeLink .. "]"
else
local createLink = makeUrlLink(docTitle:canonicalUrl{action = 'edit', preload = data.preload}, data.createLinkDisplay)
return "[" .. createLink .. "] [" .. purgeLink .. "]"
end
return ret
end
function p.makeStartBoxData(args, env, links)
--[=[
-- Does initial processing of data to pass to the start-box render function, p.renderStartBox.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- @links - a string containing the [view][edit][history][purge] links - could be nil if there's an error.
--
-- Messages:
-- 'documentation-icon-wikitext' --> '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- 'template-namespace-heading' --> 'Template documentation'
-- 'module-namespace-heading' --> 'Module documentation'
-- 'file-namespace-heading' --> 'Summary'
-- 'other-namespaces-heading' --> 'Documentation'
-- 'testcases-create-link-display' --> 'create'
--]=]
local subjectSpace = env.subjectSpace
if not subjectSpace then
-- Default to an "other namespaces" namespace, so that we get at least some output
-- if an error occurs.
subjectSpace = 2
end
local data = {}
-- Heading
local heading = args.heading -- Blank values are not removed.
if heading == '' then
-- Don't display the start box if the heading arg is defined but blank.
return nil
end
if heading then
data.heading = heading
elseif subjectSpace == 10 then -- Template namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('template-namespace-heading')
elseif subjectSpace == 828 then -- Module namespace
data.heading = message('documentation-icon-wikitext') .. ' ' .. message('module-namespace-heading')
elseif subjectSpace == 6 then -- File namespace
data.heading = message('file-namespace-heading')
else
data.heading = message('other-namespaces-heading')
end
-- Heading CSS
local headingStyle = args['heading-style']
if headingStyle then
data.headingStyleText = headingStyle
else
-- 'documentation-heading'
data.headingClass = message('main-div-heading-class')
end
-- Data for the [view][edit][history][purge] or [create] links.
if links then
-- 'mw-editsection-like plainlinks'
data.linksClass = message('start-box-link-classes')
data.links = links
end
return data
end
function p.renderStartBox(data)
-- Renders the start box html.
-- @data - a table of data generated by p.makeStartBoxData.
local sbox = mw.html.create('div')
sbox
-- 'documentation-startbox'
:addClass(message('start-box-class'))
:newline()
:tag('span')
:addClass(data.headingClass)
:attr('id', 'documentation-heading')
:cssText(data.headingStyleText)
:wikitext(data.heading)
local links = data.links
if links then
sbox:tag('span')
:addClass(data.linksClass)
:attr('id', data.linksId)
:wikitext(links)
end
return tostring(sbox)
end
----------------------------------------------------------------------------
-- Documentation content
----------------------------------------------------------------------------
p.content = makeInvokeFunc('_content')
function p._content(args, env)
-- Displays the documentation contents
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
local content = args.content
if not content and docTitle and docTitle.exists then
content = args._content or mw.getCurrentFrame():expandTemplate{title = docTitle.prefixedText}
end
-- The line breaks below are necessary so that "=== Headings ===" at the start and end
-- of docs are interpreted correctly.
return '\n' .. (content or '') .. '\n'
end
p.contentTitle = makeInvokeFunc('_contentTitle')
function p._contentTitle(args, env)
env = env or p.getEnvironment(args)
local docTitle = env.docTitle
if not args.content and docTitle and docTitle.exists then
return docTitle.prefixedText
else
return ''
end
end
----------------------------------------------------------------------------
-- End box
----------------------------------------------------------------------------
p.endBox = makeInvokeFunc('_endBox')
function p._endBox(args, env)
--[=[
-- This function generates the end box (also known as the link box).
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
--]=]
-- Get environment data.
env = env or p.getEnvironment(args)
local subjectSpace = env.subjectSpace
local docTitle = env.docTitle
if not subjectSpace or not docTitle then
return nil
end
-- Check whether we should output the end box at all. Add the end
-- box by default if the documentation exists or if we are in the
-- user, module or template namespaces.
local linkBox = args['link box']
if linkBox == 'off'
or not (
docTitle.exists
or subjectSpace == 2
or subjectSpace == 828
or subjectSpace == 10
)
then
return nil
end
-- Assemble the link box.
local text = ''
if linkBox then
text = text .. linkBox
else
text = text .. (p.makeDocPageBlurb(args, env) or '') -- "This documentation is transcluded from [[Foo]]."
if subjectSpace == 2 or subjectSpace == 10 or subjectSpace == 828 then
-- We are in the user, template or module namespaces.
-- Add sandbox and testcases links.
-- "Editors can experiment in this template's sandbox and testcases pages."
text = text .. (p.makeExperimentBlurb(args, env) or '') .. '<br />'
if not args.content and not args[1] then
-- "Please add categories to the /doc subpage."
-- Don't show this message with inline docs or with an explicitly specified doc page,
-- as then it is unclear where to add the categories.
text = text .. (p.makeCategoriesBlurb(args, env) or '')
end
text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '') --"Subpages of this template"
end
end
local box = mw.html.create('div')
-- 'documentation-metadata'
box:attr('role', 'note')
:addClass(message('end-box-class'))
-- 'plainlinks'
:addClass(message('end-box-plainlinks'))
:wikitext(text)
:done()
return '\n' .. tostring(box)
end
function p.makeDocPageBlurb(args, env)
--[=[
-- Makes the blurb "This documentation is transcluded from [[Template:Foo]] (edit, history)".
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'edit-link-display' --> 'edit'
-- 'history-link-display' --> 'history'
-- 'transcluded-from-blurb' -->
-- 'The above [[Wikipedia:Template documentation|documentation]]
-- is [[Help:Transclusion|transcluded]] from $1.'
-- 'module-preload' --> 'Template:Documentation/preload-module-doc'
-- 'create-link-display' --> 'create'
-- 'create-module-doc-blurb' -->
-- 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'
--]=]
local docTitle = env.docTitle
if not docTitle then
return nil
end
if docTitle.exists then
-- /doc exists; link to it.
local docLink = makeWikilink(docTitle.prefixedText)
local editDisplay = message('edit-link-display')
local editLink = makeWikilink("Special:EditPage/" .. docTitle.prefixedText, editDisplay)
local historyDisplay = message('history-link-display')
local historyLink = makeWikilink("Special:PageHistory/" .. docTitle.prefixedText, historyDisplay)
return message('transcluded-from-blurb', {docLink})
.. ' '
.. makeToolbar(editLink, historyLink)
.. '<br />'
elseif env.subjectSpace == 828 then
-- /doc does not exist; ask to create it.
local createUrl = docTitle:canonicalUrl{action = 'edit', preload = message('module-preload')}
local createDisplay = message('create-link-display')
local createLink = makeUrlLink(createUrl, createDisplay)
return message('create-module-doc-blurb', {createLink})
.. '<br />'
end
end
function p.makeExperimentBlurb(args, env)
--[[
-- Renders the text "Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
--
-- Messages:
-- 'sandbox-link-display' --> 'sandbox'
-- 'sandbox-edit-link-display' --> 'edit'
-- 'compare-link-display' --> 'diff'
-- 'module-sandbox-preload' --> 'Template:Documentation/preload-module-sandbox'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'sandbox-create-link-display' --> 'create'
-- 'mirror-edit-summary' --> 'Create sandbox version of $1'
-- 'mirror-link-display' --> 'mirror'
-- 'mirror-link-preload' --> 'Template:Documentation/mirror'
-- 'sandbox-link-display' --> 'sandbox'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display'--> 'edit'
-- 'template-sandbox-preload' --> 'Template:Documentation/preload-sandbox'
-- 'testcases-create-link-display' --> 'create'
-- 'testcases-link-display' --> 'testcases'
-- 'testcases-edit-link-display' --> 'edit'
-- 'module-testcases-preload' --> 'Template:Documentation/preload-module-testcases'
-- 'template-testcases-preload' --> 'Template:Documentation/preload-testcases'
-- 'experiment-blurb-module' --> 'Editors can experiment in this module's $1 and $2 pages.'
-- 'experiment-blurb-template' --> 'Editors can experiment in this template's $1 and $2 pages.'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
local sandboxTitle = env.sandboxTitle
local testcasesTitle = env.testcasesTitle
local templatePage = templateTitle.prefixedText
if not subjectSpace or not templateTitle or not sandboxTitle or not testcasesTitle then
return nil
end
-- Make links.
local sandboxLinks, testcasesLinks
if sandboxTitle.exists then
local sandboxPage = sandboxTitle.prefixedText
local sandboxDisplay = message('sandbox-link-display')
local sandboxLink = makeWikilink(sandboxPage, sandboxDisplay)
local sandboxEditDisplay = message('sandbox-edit-link-display')
local sandboxEditLink = makeWikilink("Special:EditPage/" .. sandboxPage, sandboxEditDisplay)
local compareUrl = env.compareUrl
local compareLink
if compareUrl then
local compareDisplay = message('compare-link-display')
compareLink = makeUrlLink(compareUrl, compareDisplay)
end
sandboxLinks = sandboxLink .. ' ' .. makeToolbar(sandboxEditLink, compareLink)
else
local sandboxPreload
if subjectSpace == 828 then
sandboxPreload = message('module-sandbox-preload')
else
sandboxPreload = message('template-sandbox-preload')
end
local sandboxCreateUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = sandboxPreload}
local sandboxCreateDisplay = message('sandbox-create-link-display')
local sandboxCreateLink = makeUrlLink(sandboxCreateUrl, sandboxCreateDisplay)
local mirrorSummary = message('mirror-edit-summary', {makeWikilink(templatePage)})
local mirrorPreload = message('mirror-link-preload')
local mirrorUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = mirrorPreload, summary = mirrorSummary}
if subjectSpace == 828 then
mirrorUrl = sandboxTitle:canonicalUrl{action = 'edit', preload = templateTitle.prefixedText, summary = mirrorSummary}
end
local mirrorDisplay = message('mirror-link-display')
local mirrorLink = makeUrlLink(mirrorUrl, mirrorDisplay)
sandboxLinks = message('sandbox-link-display') .. ' ' .. makeToolbar(sandboxCreateLink, mirrorLink)
end
if testcasesTitle.exists then
local testcasesPage = testcasesTitle.prefixedText
local testcasesDisplay = message('testcases-link-display')
local testcasesLink = makeWikilink(testcasesPage, testcasesDisplay)
local testcasesEditUrl = testcasesTitle:canonicalUrl{action = 'edit'}
local testcasesEditDisplay = message('testcases-edit-link-display')
local testcasesEditLink = makeWikilink("Special:EditPage/" .. testcasesPage, testcasesEditDisplay)
-- for Modules, add testcases run link if exists
if testcasesTitle.contentModel == "Scribunto" and testcasesTitle.talkPageTitle and testcasesTitle.talkPageTitle.exists then
local testcasesRunLinkDisplay = message('testcases-run-link-display')
local testcasesRunLink = makeWikilink(testcasesTitle.talkPageTitle.prefixedText, testcasesRunLinkDisplay)
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink, testcasesRunLink)
else
testcasesLinks = testcasesLink .. ' ' .. makeToolbar(testcasesEditLink)
end
else
local testcasesPreload
if subjectSpace == 828 then
testcasesPreload = message('module-testcases-preload')
else
testcasesPreload = message('template-testcases-preload')
end
local testcasesCreateUrl = testcasesTitle:canonicalUrl{action = 'edit', preload = testcasesPreload}
local testcasesCreateDisplay = message('testcases-create-link-display')
local testcasesCreateLink = makeUrlLink(testcasesCreateUrl, testcasesCreateDisplay)
testcasesLinks = message('testcases-link-display') .. ' ' .. makeToolbar(testcasesCreateLink)
end
local messageName
if subjectSpace == 828 then
messageName = 'experiment-blurb-module'
else
messageName = 'experiment-blurb-template'
end
return message(messageName, {sandboxLinks, testcasesLinks})
end
function p.makeCategoriesBlurb(args, env)
--[[
-- Generates the text "Please add categories to the /doc subpage."
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'doc-link-display' --> '/doc'
-- 'add-categories-blurb' --> 'Please add categories to the $1 subpage.'
--]]
local docTitle = env.docTitle
if not docTitle then
return nil
end
local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display'))
return message('add-categories-blurb', {docPathLink})
end
function p.makeSubpagesBlurb(args, env)
--[[
-- Generates the "Subpages of this template" link.
-- @args - a table of arguments passed by the user
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'template-pagetype' --> 'template'
-- 'module-pagetype' --> 'module'
-- 'default-pagetype' --> 'page'
-- 'subpages-link-display' --> 'Subpages of this $1'
--]]
local subjectSpace = env.subjectSpace
local templateTitle = env.templateTitle
if not subjectSpace or not templateTitle then
return nil
end
local pagetype
if subjectSpace == 10 then
pagetype = message('template-pagetype')
elseif subjectSpace == 828 then
pagetype = message('module-pagetype')
else
pagetype = message('default-pagetype')
end
local subpagesLink = makeWikilink(
'Special:PrefixIndex/' .. templateTitle.prefixedText .. '/',
message('subpages-link-display', {pagetype})
)
return message('subpages-blurb', {subpagesLink})
end
----------------------------------------------------------------------------
-- Tracking categories
----------------------------------------------------------------------------
function p.addTrackingCategories(env)
--[[
-- Check if {{documentation}} is transcluded on a /doc or /testcases page.
-- @env - environment table containing title objects, etc., generated with p.getEnvironment
-- Messages:
-- 'display-strange-usage-category' --> true
-- 'doc-subpage' --> 'doc'
-- 'testcases-subpage' --> 'testcases'
-- 'strange-usage-category' --> 'Wikipedia pages with strange ((documentation)) usage'
--
-- /testcases pages in the module namespace are not categorised, as they may have
-- {{documentation}} transcluded automatically.
--]]
local title = env.title
local subjectSpace = env.subjectSpace
if not title or not subjectSpace then
return nil
end
local subpage = title.subpageText
if message('display-strange-usage-category', nil, 'boolean')
and (
subpage == message('doc-subpage')
or subjectSpace ~= 828 and subpage == message('testcases-subpage')
)
then
return makeCategoryLink(message('strange-usage-category'))
end
return ''
end
return p
d6c1bffca24be2d81fa882315ac613f5bb6b227c
Module:Documentation/config
828
1482
3028
3027
2024-03-13T05:24:25Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
----------------------------------------------------------------------------------------------------
--
-- Configuration for Module:Documentation
--
-- Here you can set the values of the parameters and messages used in Module:Documentation to
-- localise it to your wiki and your language. Unless specified otherwise, values given here
-- should be string values.
----------------------------------------------------------------------------------------------------
local cfg = {} -- Do not edit this line.
----------------------------------------------------------------------------------------------------
-- Protection template configuration
----------------------------------------------------------------------------------------------------
-- cfg['protection-reason-edit']
-- The protection reason for edit-protected templates to pass to
-- [[Module:Protection banner]].
cfg['protection-reason-edit'] = 'template'
--[[
----------------------------------------------------------------------------------------------------
-- Sandbox notice configuration
--
-- On sandbox pages the module can display a template notifying users that the current page is a
-- sandbox, and the location of test cases pages, etc. The module decides whether the page is a
-- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the
-- messages that the notices contains.
----------------------------------------------------------------------------------------------------
--]]
-- cfg['sandbox-notice-image']
-- The image displayed in the sandbox notice.
cfg['sandbox-notice-image'] = '[[File:Sandbox.svg|50px|alt=|link=]]'
--[[
-- cfg['sandbox-notice-pagetype-template']
-- cfg['sandbox-notice-pagetype-module']
-- cfg['sandbox-notice-pagetype-other']
-- The page type of the sandbox page. The message that is displayed depends on the current subject
-- namespace. This message is used in either cfg['sandbox-notice-blurb'] or
-- cfg['sandbox-notice-diff-blurb'].
--]]
cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Template test cases|module sandbox]] page'
cfg['sandbox-notice-pagetype-other'] = 'sandbox page'
--[[
-- cfg['sandbox-notice-blurb']
-- cfg['sandbox-notice-diff-blurb']
-- cfg['sandbox-notice-diff-display']
-- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence
-- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page
-- type, which is either cfg['sandbox-notice-pagetype-template'],
-- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what
-- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between
-- the sandbox and the main template. The display value of the diff link is set by
-- cfg['sandbox-notice-compare-link-display'].
--]]
cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.'
cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).'
cfg['sandbox-notice-compare-link-display'] = 'diff'
--[[
-- cfg['sandbox-notice-testcases-blurb']
-- cfg['sandbox-notice-testcases-link-display']
-- cfg['sandbox-notice-testcases-run-blurb']
-- cfg['sandbox-notice-testcases-run-link-display']
-- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit. $1 is a link to the test cases page.
-- cfg['sandbox-notice-testcases-link-display'] is the display value for that link.
-- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test
-- cases page, and $2 is a link to the page to run it.
-- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test
-- cases.
--]]
cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.'
cfg['sandbox-notice-testcases-link-display'] = 'test cases'
cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).'
cfg['sandbox-notice-testcases-run-link-display'] = 'run'
-- cfg['sandbox-category'] - A category to add to all template sandboxes.
-- cfg['module-sandbox-category'] - A category to add to all module sandboxes.
-- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules.
cfg['sandbox-category'] = 'Template sandboxes'
cfg['module-sandbox-category'] = 'Module sandboxes'
cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace'
----------------------------------------------------------------------------------------------------
-- Start box configuration
----------------------------------------------------------------------------------------------------
-- cfg['documentation-icon-wikitext']
-- The wikitext for the icon shown at the top of the template.
cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]'
-- cfg['template-namespace-heading']
-- The heading shown in the template namespace.
cfg['template-namespace-heading'] = 'Template documentation'
-- cfg['module-namespace-heading']
-- The heading shown in the module namespace.
cfg['module-namespace-heading'] = 'Module documentation'
-- cfg['file-namespace-heading']
-- The heading shown in the file namespace.
cfg['file-namespace-heading'] = 'Summary'
-- cfg['other-namespaces-heading']
-- The heading shown in other namespaces.
cfg['other-namespaces-heading'] = 'Documentation'
-- cfg['view-link-display']
-- The text to display for "view" links.
cfg['view-link-display'] = 'view'
-- cfg['edit-link-display']
-- The text to display for "edit" links.
cfg['edit-link-display'] = 'edit'
-- cfg['history-link-display']
-- The text to display for "history" links.
cfg['history-link-display'] = 'history'
-- cfg['purge-link-display']
-- The text to display for "purge" links.
cfg['purge-link-display'] = 'purge'
-- cfg['create-link-display']
-- The text to display for "create" links.
cfg['create-link-display'] = 'create'
----------------------------------------------------------------------------------------------------
-- Link box (end box) configuration
----------------------------------------------------------------------------------------------------
-- cfg['transcluded-from-blurb']
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page.
cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.'
--[[
-- cfg['create-module-doc-blurb']
-- Notice displayed in the module namespace when the documentation subpage does not exist.
-- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the
-- display cfg['create-link-display'].
--]]
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'
----------------------------------------------------------------------------------------------------
-- Experiment blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['experiment-blurb-template']
-- cfg['experiment-blurb-module']
-- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages.
-- It is only shown in the template and module namespaces. With the default English settings, it
-- might look like this:
--
-- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
--
-- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links.
--
-- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending
-- on what namespace we are in.
--
-- Parameters:
--
-- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display'])
--
-- If the sandbox doesn't exist, it is in the format:
--
-- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display'])
--
-- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload']
-- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display']
-- loads a default edit summary of cfg['mirror-edit-summary'].
--
-- $2 is a link to the test cases page. If the test cases page exists, it is in the following format:
--
-- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display'])
--
-- If the test cases page doesn't exist, it is in the format:
--
-- cfg['testcases-link-display'] (cfg['testcases-create-link-display'])
--
-- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the
-- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current
-- namespace.
--]]
cfg['experiment-blurb-template'] = "Editors can experiment in this template's $1 and $2 pages."
cfg['experiment-blurb-module'] = "Editors can experiment in this module's $1 and $2 pages."
----------------------------------------------------------------------------------------------------
-- Sandbox link configuration
----------------------------------------------------------------------------------------------------
-- cfg['sandbox-subpage']
-- The name of the template subpage typically used for sandboxes.
cfg['sandbox-subpage'] = 'sandbox'
-- cfg['template-sandbox-preload']
-- Preload file for template sandbox pages.
cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox'
-- cfg['module-sandbox-preload']
-- Preload file for Lua module sandbox pages.
cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox'
-- cfg['sandbox-link-display']
-- The text to display for "sandbox" links.
cfg['sandbox-link-display'] = 'sandbox'
-- cfg['sandbox-edit-link-display']
-- The text to display for sandbox "edit" links.
cfg['sandbox-edit-link-display'] = 'edit'
-- cfg['sandbox-create-link-display']
-- The text to display for sandbox "create" links.
cfg['sandbox-create-link-display'] = 'create'
-- cfg['compare-link-display']
-- The text to display for "compare" links.
cfg['compare-link-display'] = 'diff'
-- cfg['mirror-edit-summary']
-- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the
-- template page.
cfg['mirror-edit-summary'] = 'Create sandbox version of $1'
-- cfg['mirror-link-display']
-- The text to display for "mirror" links.
cfg['mirror-link-display'] = 'mirror'
-- cfg['mirror-link-preload']
-- The page to preload when a user clicks the "mirror" link.
cfg['mirror-link-preload'] = 'Template:Documentation/mirror'
----------------------------------------------------------------------------------------------------
-- Test cases link configuration
----------------------------------------------------------------------------------------------------
-- cfg['testcases-subpage']
-- The name of the template subpage typically used for test cases.
cfg['testcases-subpage'] = 'testcases'
-- cfg['template-testcases-preload']
-- Preload file for template test cases pages.
cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases'
-- cfg['module-testcases-preload']
-- Preload file for Lua module test cases pages.
cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases'
-- cfg['testcases-link-display']
-- The text to display for "testcases" links.
cfg['testcases-link-display'] = 'testcases'
-- cfg['testcases-edit-link-display']
-- The text to display for test cases "edit" links.
cfg['testcases-edit-link-display'] = 'edit'
-- cfg['testcases-run-link-display']
-- The text to display for test cases "run" links.
cfg['testcases-run-link-display'] = 'run'
-- cfg['testcases-create-link-display']
-- The text to display for test cases "create" links.
cfg['testcases-create-link-display'] = 'create'
----------------------------------------------------------------------------------------------------
-- Add categories blurb configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['add-categories-blurb']
-- Text to direct users to add categories to the /doc subpage. Not used if the "content" or
-- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a
-- link to the /doc subpage with a display value of cfg['doc-link-display'].
--]]
cfg['add-categories-blurb'] = 'Add categories to the $1 subpage.'
-- cfg['doc-link-display']
-- The text to display when linking to the /doc subpage.
cfg['doc-link-display'] = '/doc'
----------------------------------------------------------------------------------------------------
-- Subpages link configuration
----------------------------------------------------------------------------------------------------
--[[
-- cfg['subpages-blurb']
-- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a
-- display value of cfg['subpages-link-display']. In the English version this blurb is simply
-- the link followed by a period, and the link display provides the actual text.
--]]
cfg['subpages-blurb'] = '$1.'
--[[
-- cfg['subpages-link-display']
-- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'],
-- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in
-- the template namespace, the module namespace, or another namespace.
--]]
cfg['subpages-link-display'] = 'Subpages of this $1'
-- cfg['template-pagetype']
-- The pagetype to display for template pages.
cfg['template-pagetype'] = 'template'
-- cfg['module-pagetype']
-- The pagetype to display for Lua module pages.
cfg['module-pagetype'] = 'module'
-- cfg['default-pagetype']
-- The pagetype to display for pages other than templates or Lua modules.
cfg['default-pagetype'] = 'page'
----------------------------------------------------------------------------------------------------
-- Doc link configuration
----------------------------------------------------------------------------------------------------
-- cfg['doc-subpage']
-- The name of the subpage typically used for documentation pages.
cfg['doc-subpage'] = 'doc'
-- cfg['docpage-preload']
-- Preload file for template documentation pages in all namespaces.
cfg['docpage-preload'] = 'Template:Documentation/preload'
-- cfg['module-preload']
-- Preload file for Lua module documentation pages.
cfg['module-preload'] = 'Template:Documentation/preload-module-doc'
----------------------------------------------------------------------------------------------------
-- HTML and CSS configuration
----------------------------------------------------------------------------------------------------
-- cfg['templatestyles']
-- The name of the TemplateStyles page where CSS is kept.
-- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed.
cfg['templatestyles'] = 'Module:Documentation/styles.css'
-- cfg['container']
-- Class which can be used to set flex or grid CSS on the
-- two child divs documentation and documentation-metadata
cfg['container'] = 'documentation-container'
-- cfg['main-div-classes']
-- Classes added to the main HTML "div" tag.
cfg['main-div-classes'] = 'documentation'
-- cfg['main-div-heading-class']
-- Class for the main heading for templates and modules and assoc. talk spaces
cfg['main-div-heading-class'] = 'documentation-heading'
-- cfg['start-box-class']
-- Class for the start box
cfg['start-box-class'] = 'documentation-startbox'
-- cfg['start-box-link-classes']
-- Classes used for the [view][edit][history] or [create] links in the start box.
-- mw-editsection-like is per [[Wikipedia:Village pump (technical)/Archive 117]]
cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks'
-- cfg['end-box-class']
-- Class for the end box.
cfg['end-box-class'] = 'documentation-metadata'
-- cfg['end-box-plainlinks']
-- Plainlinks
cfg['end-box-plainlinks'] = 'plainlinks'
-- cfg['toolbar-class']
-- Class added for toolbar links.
cfg['toolbar-class'] = 'documentation-toolbar'
-- cfg['clear']
-- Just used to clear things.
cfg['clear'] = 'documentation-clear'
----------------------------------------------------------------------------------------------------
-- Tracking category configuration
----------------------------------------------------------------------------------------------------
-- cfg['display-strange-usage-category']
-- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage
-- or a /testcases subpage. This should be a boolean value (either true or false).
cfg['display-strange-usage-category'] = true
-- cfg['strange-usage-category']
-- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a
-- /doc subpage or a /testcases subpage.
cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage'
--[[
----------------------------------------------------------------------------------------------------
-- End configuration
--
-- Don't edit anything below this line.
----------------------------------------------------------------------------------------------------
--]]
return cfg
56b6127664e31128dea1cecf2e392cf9313df6a3
Module:Documentation/styles.css
828
1483
3030
3029
2024-03-13T05:24:26Z
ElBortoTexas
10
1 revision imported
sanitized-css
text/css
/* {{pp|small=yes}} */
.documentation,
.documentation-metadata {
border: 1px solid #a2a9b1;
background-color: #ecfcf4;
clear: both;
}
.documentation {
margin: 1em 0 0 0;
padding: 1em;
}
.documentation-metadata {
margin: 0.2em 0; /* same margin left-right as .documentation */
font-style: italic;
padding: 0.4em 1em; /* same padding left-right as .documentation */
}
.documentation-startbox {
padding-bottom: 3px;
border-bottom: 1px solid #aaa;
margin-bottom: 1ex;
}
.documentation-heading {
font-weight: bold;
font-size: 125%;
}
.documentation-clear { /* Don't want things to stick out where they shouldn't. */
clear: both;
}
.documentation-toolbar {
font-style: normal;
font-size: 85%;
}
html.skin-night-mode-clientpref-1 .documentation,
html.skin-night-mode-clientpref-1 .documentation-metadata {
background-color: inherit;
}
@media (prefers-color-scheme: dark) {
html.skin-night-mode-clientpref-2 .documentation,
html.skin-night-mode-clientpref-2 .documentation-metadata {
background-color: inherit;
}
}
92223f6a535f0908f32517eee0e93060e6ba30bd
Template:Align
10
1484
3032
3031
2024-03-13T05:24:26Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{safesubst<noinclude/>:#switch: {{safesubst<noinclude/>:lc:{{{1|center}}}}}
|left = <div style="float: left;{{safesubst<noinclude/>:#if: {{{style|}}} | {{{style}}};}}">{{{2}}}</div>
|right = <div style="float: right;{{safesubst<noinclude/>:#if: {{{style|}}} | {{{style}}};}}">{{{2}}}</div>
|center = {{safesubst<noinclude/>:center|{{{2}}}|style={{{style|}}} }}
|#default = Error in [[Template:Align]]: the alignment setting "{{{1}}}" is invalid.
}}<noinclude>
{{documentation}}
</noinclude>
6d03351dca1cab3abf83d24f4e7dfe2c1948f615
Module:Political party/U
828
1485
3034
3033
2024-03-13T05:24:27Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["U.S. Labor Party of the District of Columbia"] = "U.S. Labor Party",
["U.S. Taxpayers' Party"] = "Constitution Party (US)",
["UDAR"] = "Ukrainian Democratic Alliance for Reform",
["UDI"] = "Union of Democrats and Independents",
["UK National Government"] = "National Government (United Kingdom)",
["UKIP"] = "UK Independence Party",
["Ukrainian Strategy"] = "Ukrainian Strategy of Groysman",
["Ulster Conservatives and Unionists - New Force"] = "Ulster Conservatives and Unionists",
["Ulster Conservatives and Unionists – New Force"] = "Ulster Conservatives and Unionists", -- dash differences
["Ultra-royalist"] = "Legitimists",
["Unaffiliated"] = "Unaffiliated politician",
["Unconditional Unionist Party (US)"] = "Unconditional Unionist Party",
["Unidas Podemos cambiar Europa"] = "Unidas Podemos",
["Unidos Podemos"] = "Unidas Podemos",
["United Left (Greece)"] = "Communist Party of Greece",
["United Opposition (Hungary)"] = "United for Hungary",
["Unified Communist Party of Nepal (Maoist)"] = "Communist Party of Nepal (Maoist Centre)",
["Unified Socialist Party"] = "Unified Socialist Party (France)",
["Union Démocratique Bretonne"] = "Breton Democratic Union",
["Union for Democracy (Finland)"] = "Finnish People's Unity Party",
["Union for France"] = "Rally for the Republic",
["Union for French Democracy (alliance)"] = "Union for French Democracy",
["Union for Latvia"] = "For a Humane Latvia",
["Union for the Presidential Majority"] = "Union for a Popular Movement",
["Union for the Republic-Res Publica"] = "Res Publica Party",
["Union for the Republic–Res Publica"] = "Res Publica Party", -- dash differences
["Union for the Fatherland"] = "Union for the Homeland",
["Union Labor Party (California)"] = "Union Labor Party",
["Union Labor Party (United States)"] = "Union Labor Party",
["Union of Centrists of Menorca"] = "Menorcan Union",
["Union of Christian and Centre Democrats"] = "Union of the Centre (2002)",
["Union of Franchophones"] = "Union des Francophones",
["Union of the Centre (2008)"] = "Union of the Centre (2002)",
["Union of the Left (Luxembourg)"] = "Radical Socialist Party (Luxembourg)",
["Union of the Left (Poland)"] = "Freedom and Equality",
["Union of the Right (Poland)"] = "Real Politics Union",
["Union Party (United States)"] = "Union Party (US)",
["Unión por la Patria"] = "Union for the Homeland",
["Unionist Party (United States)"] = "Unionist Party (US)",
["Unionist Party"] = "Unionist Party (US)",
["United Canarian Left"] = "United Left (Spain)",
["United Citizens Association of Macau"] = "Macau United Citizens Association",
["United Democratic Party (Gambia)"] = "United Democratic Party (The Gambia)",
["United Front (Singapore)"] = "Democratic Progressive Party (Singapore)",
["United Future New Zealand"] = "United Future",
["United Galicia Party"] = "United Galicia",
["United Kingdom Independence Party"] = "UK Independence Party",
["United Kingdom Libertarian Party"] = "Libertarian Party (UK)",
["United Labour Party"] = "Unity Labour Party",
["United Land Party"] = "Sahaphum Party",
["United Left (Galicia)"] = "United Left (Spain)",
["United Left and Peasants"] = "Justice Party (Ukraine)",
["United Left Catalonia"] = "United Left (Spain)",
["United Left Extremadura"] = "United Left (Spain)",
["United Left of Aragon"] = "United Left (Spain)",
["United Left of Asturias"] = "United Left (Spain)",
["United Left of Cantabria"] = "United Left (Spain)",
["United Left of Castile and León"] = "United Left (Spain)",
["United Left of Navarre"] = "United Left (Spain)",
["United Left of the Balearic Islands"] = "United Left (Spain)",
["United Left of the Community of Madrid"] = "United Left (Spain)",
["United Left of the Valencian Country"] = "United Left (Spain)",
["United Left–Assembly for Andalusia"] = "United Left (Spain)",
["United Left–Greens of the Region of Murcia"] = "United Left (Spain)",
["United Left–Madrid"] = "United Left (Spain)",
["United National Movement"] = "United National Movement (Georgia)",
["United National South West Party"] = "United Party (South Africa)",
["United New Democratic Party"] = "Grand Unified Democratic New Party",
["United People's Party (Malaysia)"] = "Sarawak United Party",
["United States Independence Party"] = "Independence Party (US)",
["United States Marijuana Party"] = "Marijuana Party (US)",
["United States Natural Law Party"] = "Natural Law Party (US)",
["United States Whig Party"] = "Whig Party (US)",
["United Thai Nation"] = "United Thai Nation Party",
["United/Reform Coalition"] = "United–Reform Coalition",
["Units Podem Més"] = "Unidas Podemos",
["Unity (Latvian political party)"] = "Unity (Latvia)",
["Unity (political party, Latvia)"] = "Unity (Latvia)",
["Unity (Ukraine)"] = "Unity of Oleksandr Omelchenko",
["Unity For Peace And Socialism"] = "Unity for Peace and Socialism",
["Unity List (Denmark)"] = "Red–Green Alliance (Denmark)",
["Unity Movement for Workers"] = "Workers' Party of Socialist Unity",
["Unity"] = "Unity (Northern Ireland)",
["Unrepresented People’s Party"] = "Unrepresented Peoples Party",
["Unsubmissive France"] = "La France Insoumise",
["Upper House branch of the Lantmanna Party"] = "Lantmanna Party",
["Urban Tax Reform Party"] = "Other parties",
["US Marijuana Party"] = "Marijuana Party (US)",
["US Taxpayers Party"] = "Constitution Party (US)",
["Utah Constitution Party"] = "Constitution Party (US)",
["Utah Democratic Party"] = "Democratic Party (United States)",
["Utah Republican Party"] = "Republican Party (United States)",
["Uttama Prajakeeya Party"] = "Uttama Prajaakeeya Party",
}
local full = {
["U.S. Labor Party"] = {abbrev = "", color = "#800000", shortname = "U.S. Labor",},
["U.S. Taxpayers Party"] = {abbrev = "", color = "transparent", shortname = "U.S. Taxpayers",},
["UAP/Country coalition"] = {abbrev = "", color = "#00008B", shortname = "",},
["Ubuntu Connected Front"] = {abbrev = "", color = "#EA0512", shortname = "",},
["Ubuntu Party"] = {abbrev = "", color = "Lightblue", shortname = "",},
["Udalberri"] = {abbrev = "", color = "#428E89", shortname = "",},
["UDEUR Populars for the South"] = {abbrev = "", color = "#0080FF", shortname = "",},
["UDM"] = {abbrev = "", color = "orange", shortname = "",},
["Ue-Kedadji"] = {abbrev = "", color = "#FFF700", shortname = "",},
["Uganda People's Congress"] = {abbrev = "UPC", color = "#E70000", shortname = "",},
["Ugyon Kita Capiz"] = {abbrev = "", color = "#98fb98", shortname = "",},
["Ujedinjeni"] = {abbrev = "", color = "#EC4242", shortname = "",},
["UK Community Issues Party"] = {abbrev = "", color = "#C0C0C0", shortname = "",},
["UK European Union Party"] = {abbrev = "UKEU", color = "#1A347E", shortname = "",},
["UK Independence Party"] = {abbrev = "UKIP", color = "#6D3177", shortname = "",},
["UK Unionist Party"] = {abbrev = "", color = "#660066", shortname = "UK Unionist",},
["UK Veteran's and People's Party"] = {abbrev = "UKVPP", color = "#053360", shortname = "",},
["Ukraine – Forward!"] = {abbrev = "", color = "SlateBlue", shortname = "",},
["Ukraine is Our Home"] = {abbrev = "", color = "#F4C711", shortname = "",},
["Ukrainian Conservative Republican Party"] = {abbrev = "UCRP", color = "#0C7EBD", shortname = "",},
["Ukrainian Democratic Alliance for Reform"] = {abbrev = "UDAR", color = "#C93732", shortname = "",},
["Ukrainian Galician Party"] = {abbrev = "", color = "#FCCD3F", shortname = "",},
["Ukrainian Marine Party"] = {abbrev = "UMP", color = "#3249B3", shortname = "",},
["Ukrainian National Assembly"] = {abbrev = "UNA", color = "#D80100", shortname = "",},
["Ukrainian National Assembly – Ukrainian People's Self-Defence"] = {abbrev = "UNA–UNSO", color = "#d90000", shortname = "",},
["Ukrainian National Bloc of Kostenko and Plyushch"] = {abbrev = "", color = "Blue", shortname = "Kostenko and Plyushch Bloc",},
["Ukrainian National Democratic Alliance"] = {abbrev = "UNDO", color = "#87CEEB", shortname = "",},
["Ukrainian National State Union"] = {abbrev = "", color = "#5F9EA0", shortname = "",},
["Ukrainian Peasant Democratic Party"] = {abbrev = "", color = "#d29443", shortname = "Peasant Democratic",},
["Ukrainian People's Party"] = {abbrev = "", color = "#0A4595", shortname = "",},
["Ukrainian Radical Party"] = {abbrev = "URP", color = "red", shortname = "",},
["Ukrainian Republican Party"] = {abbrev = "URP", color = "#FEBF10", shortname = "",},
["Ukrainian Republican Party (2006)"] = {abbrev = "URP", color = "#194582", shortname = "",},
["Ukrainian Social Democratic Labour Party"] = {abbrev = "", color = "#CE0000", shortname = "",},
["Ukrainian Social Democratic Party (1899)"] = {abbrev = "USDP", color = "red", shortname = "",},
["Ukrainian Strategy of Groysman"] = {abbrev = "USH", color = "#FFDD00", shortname = "",},
["UKROP"] = {abbrev = "", color = "#0B9444", shortname = "",},
["Ulster Conservatives and Unionists"] = {abbrev = "UCU-NF", color = "#9999FF", shortname = "",},
["Ulster Constitution Party"] = {abbrev = "", color = "black", shortname = "Ulster Constitution",},
["Ulster Democratic Party"] = {abbrev = "", color = "black", shortname = "Ulster Democratic",},
["Ulster Independence Movement"] = {abbrev = "", color = "darkgray", shortname = "Ulster Independence",},
["Ulster Liberal Party"] = {abbrev = "ULib", color = "#DAA520", shortname = "Ulster Liberal",},
["Ulster Popular Unionist Party"] = {abbrev = "UPUP", color = "#ffdead", shortname = "",},
["Ulster Progressive Unionist Association"] = {abbrev = "", color = "#e0afaf", shortname = "Progressive Unionist",},
["Ulster Unionist Labour Association"] = {abbrev = "", color = "#9999FF", shortname = "Labour Unionist",},
["Ulster Unionist Party"] = {abbrev = "UUP", color = "#48A5EE", shortname = "Ulster Unionist",},
["Ulster's Independent Voice"] = {abbrev = "", color = "darkorange", shortname = "Independent Voice",},
["Ultra-Tory"] = {abbrev = "", color = "#333352", shortname = "",},
["Umbrella for Democratic Change"] = {abbrev = "UDC", color = "#244197", shortname = "",},
["Umbrella for Democratic Change (2014)"] = {abbrev = "UDC", color = "#e97810", shortname = "",},
["Ummah Party"] = {abbrev = "", color = "#000000", shortname = "Ummat",},
["Umoja Party"] = {abbrev = "", color = "#000045", shortname = "Umoja",},
["Un Kòrsou Hustu"] = {abbrev = "", color = "#3F00FF", shortname = "",},
["Unaffiliated politician"] = {abbrev = "", color = "EEEEEE", shortname = "Unaffiliated",},
["Unang Sigaw ng Nueva Ecija"] = {abbrev = "", color = "#000084", shortname = "Unang Sigaw",},
["Unbought Tenants Association"] = {abbrev = "", color = "#bb00bb", shortname = "Unbought Tenants",},
["Unconditional Spanish Party"] = {abbrev = "", color = "#325688", shortname = "",},
["Unconditional Union Party"] = {abbrev = "", color = "#FFAABB", shortname = "Unconditional Union",},
["Unconditional Unionist Party"] = {abbrev = "", color = "#FFAABB", shortname = "",},
["Unendorsed Labour candidates, 1931"] = {abbrev = "", color = "#D03030", shortname = "Other unendorsed Labour",},
["Unid@s Se Puede"] = {abbrev = "", color = "#5A134B", shortname = "",},
["Unidá"] = {abbrev = "", color = "#08B610", shortname = "",},
["Unidad Popular"] = {abbrev = "", color = "#DC0C0C", shortname = "",},
["Unidas Podemos por Andalucía"] = {abbrev = "", color = "#37773E", shortname = "",},
["Unidas Podemos"] = {abbrev = "", color = "#7B4977", shortname = "",},
["Unidas por Llangreu"] = {abbrev = "", color = "#7CB742", shortname = "",},
["Unidas Sí Se Puede Santa Coloma de Gramenet"] = {abbrev = "", color = "#583F81", shortname = "",},
["Unidos Móstoles"] = {abbrev = "", color = "#DC196F", shortname = "",},
["Unidos"] = {abbrev = "", color = "#333399", shortname = "",},
["Unidos (political party)"] = {abbrev = "", color = "#E32132", shortname = "",},
["Unification Party (South Korea)"] = {abbrev = "UP", color = "#008080", shortname = "Unification",},
["Unification National Party"] = {abbrev = "UNP", color = "#22B14D", shortname = "Unification National",},
["Unified – Alternative for Patriots"] = {abbrev = "JAP", color = "#FFBFF7", shortname = "",},
["Unified Armenians Party"] = {abbrev = "", color = "blue", shortname = "",},
["Unified Communist Party of Georgia"] = {abbrev = "SEKP", color = "red", shortname = "",},
["Unified Communist Party of Spain"] = {abbrev = "", color = "#D20B12", shortname = "",},
["Unified Lumumbist Party"] = {abbrev = "", color = "#b22222", shortname = "",},
["Unified Progressive Party"] = {abbrev = "", color = "#663399", shortname = "Unified Progressive",},
["Unified Resilient St. Maarten Movement"] = {abbrev = "URSM", color = "#00576d", shortname = "",},
["Unified Socialist Party (Burkina Faso)"] = {abbrev = "", color = "red", shortname = "",},
["Unified Socialist Party (France)"] = {abbrev = "", color = "#e7471e", shortname = "Unified Socialist",},
["Unified Socialist Party (Italy)"] = {abbrev = "", color = "#E52F63", shortname = "Unified Socialist",},
["Unified Socialist Party (Morocco)"] = {abbrev = "", color = "#03377A", shortname = "",},
["Unified Socialist Party of Catalonia"] = {abbrev = "PSUC", color = "#00A58F", shortname = "",},
["Unified Socialist Party of Mexico"] = {abbrev = "PSUM", color = "red", shortname = "",},
["Unió Calvianera"] = {abbrev = "", color = "#215E02", shortname = "",},
["Unió Campanera"] = {abbrev = "", color = "#197E36", shortname = "",},
["Unió Mollera Pollencina"] = {abbrev = "", color = "#10A9B7", shortname = "",},
["Unió Pollencina Independent"] = {abbrev = "", color = "#41B7FD", shortname = "",},
["Union 55+"] = {abbrev = "U55+", color = "#C373B1", shortname = "",},
["Union for a Better Future of BiH"] = {abbrev = "SBB", color = "#213381", shortname = "",},
["Union for a Popular Movement"] = {abbrev = "UMP", color = "#0051AE", shortname = "",},
["Union for Almería"] = {abbrev = "", color = "#F4787C", shortname = "",},
["Union for Cambre"] = {abbrev = "", color = "#007B6B", shortname = "",},
["Union for Capdepera"] = {abbrev = "", color = "#528646", shortname = "",},
["Union for Central African Renewal"] = {abbrev = "", color = "#013157", shortname = "",},
["Union for Change Party"] = {abbrev = "", color = "#FFFF78", shortname = "",},
["Union for Change"] = {abbrev = "", color = "#006600", shortname = "",},
["Union for Córdoba"] = {abbrev = "", color = "#19bc9d", shortname = "",},
["Union for Democracy and Freedom"] = {abbrev = "UDL", color = "", shortname = "",},
["Union for Democracy and Peace in Ivory Coast"] = {abbrev = "UDPCI", color = "#01a0e2", shortname = "",},
["Union for Democracy and Progress"] = {abbrev = "UDP", color = "#0FAF05", shortname = "",},
["Union for Democracy and Social Integration"] = {abbrev = "UDIS", color = "#ECDA30", shortname = "",},
["Union for Democracy and Social Progress (Democratic Republic of the Congo)"] = {abbrev = "UDPS", color = "#CF1020", shortname = "",},
["Union for Democracy and the Republic (Niger)"] = {abbrev = "", color = "#D80000", shortname = "",},
["Union for Development"] = {abbrev = "UPD", color = "#FF4500", shortname = "",},
["Union for Economic Defence"] = {abbrev = "UDE", color = "#53002C", shortname = "",},
["Union for Elda Progress"] = {abbrev = "", color = "#207524", shortname = "",},
["Union for Europe"] = {abbrev = "UFE", color = "#4F6BA2", shortname = "",},
["Union for Europe of the Nations"] = {abbrev = "UEN", color = "#4F6BA2", shortname = "",},
["Union for France"] = {abbrev = "UPF", color = "", shortname = "",},
["Union for France (2022)"] = {abbrev = "UPF", color = "#0087CD", shortname = "",},
["Union for French Democracy"] = {abbrev = "UDF", color = "#00CCCC", shortname = "",},
["Union for Homeland"] = {abbrev = "UFH", color = "#1E4D2B", shortname = "",},
["Union for Hope"] = {abbrev = "", color = "#FF4500", shortname = "",},
["Union for Ivory Coast"] = {abbrev = "UPCI", color = "#ff8080", shortname = "",},
["Union for Leganés"] = {abbrev = "", color = "#528263", shortname = "",},
["Union for Liberty"] = {abbrev = "", color = "#73288B", shortname = "",},
["Union for National Progress"] = {abbrev = "UPRONA", color = "#FF0000", shortname = "",},
["Union for National Salvation"] = {abbrev = "USN", color = "#EE5C29", shortname = "",},
["Union for National Self-Determination"] = {abbrev = "UNSD", color = "black", shortname = "",},
["Union for Ordes"] = {abbrev = "", color = "#006B33", shortname = "",},
["Union for Peace and Development Party"] = {abbrev = "UPD", color = "#008000", shortname = "",},
["Union for Peru"] = {abbrev = "UPP", color = "#D8242A", shortname = "",},
["Union for Peace and Progress–Kilusang Bagong Lipunan"] = {abbrev = "UPP–KBL", color = "#FE0000", shortname = "",},
["Union for Progress and Development"] = {abbrev = "UPD", color = "#FF5A36", shortname = "",},
["Union for Progress and Reform"] = {abbrev = "", color = "#008800", shortname = "",},
["Union for Progress and Renewal (Guinea)"] = {abbrev = "", color = "#0070C0", shortname = "",},
["Union for Promoting Progress"] = {abbrev = "UNIPRO", color = "#183B7D", shortname = "",},
["Union for Rebirth / Sankarist Party"] = {abbrev = "UNIR/PS", color = "#DE144A", shortname = "",},
["Union for Renewal and Democracy"] = {abbrev = "URD", color = "#ff0000", shortname = "",},
["Union for the Congolese Nation"] = {abbrev = "", color = "#ef1e26", shortname = "",},
["Union for the Development of the Comoros"] = {abbrev = "UPDC", color = "#4B638C", shortname = "",},
["Union for the Homeland"] = {abbrev = "UP", color = "#00BEFF", shortname = "",},
["Union for the Homeland and the People"] = {abbrev = "EPAL", color = "#2200ff", shortname = "",},
["Union for the New Republic (Gabon)"] = {abbrev = "UPNR", color = "#1b429e", shortname = "",},
["Union for the New Republic"] = {abbrev = "UNR", color = "#0000C8", shortname = "",},
["Union for the Presidential Majority (Djibouti)"] = {abbrev = "UMP", color = "#5FB989", shortname = "",},
["Union for the Progress of Cantabria"] = {abbrev = "UPCA", color = "#00B0A0", shortname = "",},
["Union for the Progress of Guinea"] = {abbrev = "UPG", color = "#FFA500", shortname = "",},
["Union for the Republic (Mauritania)"] = {abbrev = "UPR", color = "#327adc", shortname = "",},
["Union for the Republic (Togo)"] = {abbrev = "UNIR", color = "#38a8e6", shortname = "",},
["Union for the Republic and Democracy"] = {abbrev = "URD", color = "#14B53A", shortname = "",},
["Union for Trentino"] = {abbrev = "", color = "#89CFF0", shortname = "",},
["Union for Victory Coalition"] = {abbrev = "BF", color = "#1F40DD", shortname = "",},
["Union Karen League"] = {abbrev = "", color = "#F7CF15", shortname = "",},
["Union Labor Party"] = {abbrev = "", color = "#6633CC", shortname = "Union Labor",},
["Union Makes the Nation"] = {abbrev = "", color = "#DA6201", shortname = "",},
["Union Monégasque"] = {abbrev = "UM", color = "#DD0000", shortname = "",},
["Union Movement"] = {abbrev = "", color = "#2F4F4F", shortname = "",},
["Union nationale"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Union of Armenians of Romania"] = {abbrev = "RHM", color = "black", shortname = "",},
["Union of Centrists"] = {abbrev = "EK", color = "#FF7F50", shortname = "",},
["Union of Chiefs and Peoples of the North"] = {abbrev = "", color = "#6495ED", shortname = "",},
["Union of Christian Families"] = {abbrev = "ZChR", color = "#0087BD", shortname = "",},
["Union of Citizens of Badalona"] = {abbrev = "", color = "#8AA8D5", shortname = "",},
["Union of Citizens of Georgia"] = {abbrev = "SMK", color = "#231577", shortname = "",},
["Union of Communist Parties – Communist Party of the Soviet Union"] = {abbrev = "", color = "#DE0300", shortname = "",},
["Union of Communists in Bulgaria"] = {abbrev = "", color = "red", shortname = "",},
["Union of Communists of Slovakia"] = {abbrev = "ZKS", color = "red", shortname = "",},
["Union of Croats of Romania"] = {abbrev = "ZHR", color = "#004B80", shortname = "",},
["Union of Democratic and Social Forces"] = {abbrev = "UFDS", color = "", shortname = "",},
["Union of Democratic Forces (Bulgaria)"] = {abbrev = "SDS", color = "#0A459F", shortname = "",},
["Union of Democratic Forces (Mauritania)"] = {abbrev = "UFD-EN", color = "black", shortname = "",},
["Union of Democratic Forces of Guinea"] = {abbrev = "UFDG", color = "#406626", shortname = "",},
["Union of Democrats and Ecologists"] = {abbrev = "", color = "#088A43", shortname = "",},
["Union of Democrats and Independents"] = {abbrev = "UDI", color = "#35A2EF", shortname = "",},
["Union of Democrats for Citizenship and Development"] = {abbrev = "", color = "black", shortname = "",},
["Union of Democrats for Europe"] = {abbrev = "UDEUR", color = "#FF7F00", shortname = "",},
["Union of Democrats for the Republic"] = {abbrev = "UDR", color = "#0000C8", shortname = "",},
["Union of Development"] = {abbrev = "UPD", color = "yellow", shortname = "",},
["Union of European Democrats"] = {abbrev = "", color = "#FFD403", shortname = "",},
["Union of European Federalists"] = {abbrev = "", color = "#007B3A", shortname = "",},
["Union of Everyone"] = {abbrev = "", color = "#95DC5B", shortname = "",},
["Union of Forces for Change"] = {abbrev = "UFC", color = "#FFCC00", shortname = "",},
["Union des Francophones"] = {abbrev = "UF", color = "#00a0af", shortname = "",},
["Union of Free Democrats"] = {abbrev = "", color = "blue", shortname = "",},
["Union of Georgian Traditionalists"] = {abbrev = "UGT", color = "#740144", shortname = "",},
["Union of Greens and Farmers"] = {abbrev = "ZZS", color = "#02723A", shortname = "",},
["Union of Greens of Russia"] = {abbrev = "", color = "#0B8413", shortname = "",},
["Union of Humanist Democrats-Yuki"] = {abbrev = "UDH-YUKI", color = "#36b4ff", shortname = "",},
["Union of Independent Citizens"] = {abbrev = "", color = "#119246", shortname = "",},
["Union of Independent Nigeriens"] = {abbrev = "", color = "#C0C0C0", shortname = "",},
["Union of Independent Viguese"] = {abbrev = "", color = "#AD0100", shortname = "",},
["Union of Independents of Artà"] = {abbrev = "", color = "#68A2B6", shortname = "",},
["Union of Independents of Sant Cugat"] = {abbrev = "", color = "#FFF004", shortname = "",},
["Union of Kazakhstan's Youth"] = {abbrev = "", color = "#D28095", shortname = "Union of Youth",},
["Union of Latin American Parties"] = {abbrev = "", color = "#137BC1", shortname = "",},
["Union of Liberals and Leftists"] = {abbrev = "", color = "#3FFF00", shortname = "Liberals & Leftists",},
["Union of Mobutuist Democrats"] = {abbrev = "", color = "#3AB500", shortname = "",},
["Union of Moderate Parties"] = {abbrev = "UMP", color = "#02A0E9", shortname = "",},
["Union of Myanmar Federation of National Politics"] = {abbrev = "UMFNP", color = "#FFFFFF", shortname = "",},
["Union of Nigerien Independents and Sympathisers"] = {abbrev = "", color = "blue", shortname = "",},
["Union of October 17"] = {abbrev = "", color = "#00529C", shortname = "Octobrist",},
["Union of Patriotic Forces and Militaries of the Reserve Defense"] = {abbrev = "", color = "darkgreen", shortname = "",},
["Union of People's Parties"] = {abbrev = "", color = "#007FFF", shortname = "",},
["Union of Persecutees of the Nazi Regime"] = {abbrev = "", color = "#e3001a", shortname = "",},
["Union of Poles of Romania"] = {abbrev = "", color = "#D4213D", shortname = "Dom Polski",},
["Union of Pro Patria and Res Publica"] = {abbrev = "", color = "#00AEEF", shortname = "Pro Patria and Res Publica",},
["Union of Progressive Political Forces"] = {abbrev = "SPPS", color = "#67C4CE", shortname = "",},
["Union of Puerto Rico"] = {abbrev = "", color = "#FFBBFF", shortname = "Union",},
["Union of Radicals, Centrists, Independents and Democrats"] = {abbrev = "", color = "#E2725B", shortname = "",},
["Union of Reform Forces of Yugoslavia"] = {abbrev = "SRSJ", color = "lightcoral", shortname = "",},
["Union of Republican Forces"] = {abbrev = "", color = "#0087DC", shortname = "",},
["Union of Right Forces"] = {abbrev = "SPS", color = "#1042A5", shortname = "",},
["Union of Right-Wing Parties"] = {abbrev = "", color = "#8CC74B", shortname = "",},
["Union of Serbs of Romania"] = {abbrev = "USR", color = "#7D2124", shortname = "",},
["Union of Social Democrats of Bosnia and Herzegovina"] = {abbrev = "", color = "red", shortname = "",},
["Union of Socialist Movements"] = {abbrev = "UMS", color = "#3F3991", shortname = "",},
["Union of Talavera and Region"] = {abbrev = "", color = "#F38512", shortname = "",},
["Union of the Catalan Left"] = {abbrev = "", color = "#86A837", shortname = "",},
["Union of the Centre (1993)"] = {abbrev = "UdC", color = "#659EC7", shortname = "",},
["Union of the Centre (2002)"] = {abbrev = "UDC", color = "#87CEFA", shortname = "",},
["Union of the Centre and Christian Democracy of Catalonia"] = {abbrev = "", color = "#F8471B", shortname = "",},
["Union of the Centre of Catalonia"] = {abbrev = "", color = "#03317E", shortname = "",},
["Union of the Centrist Center"] = {abbrev = "", color = "#B22222", shortname = "",},
["Union of the Democratic Centre (Argentina)"] = {abbrev = "UCEDE", color = "#6495ED", shortname = "Union of the Democratic Centre",},
["Union of the Democratic Centre (Greece)"] = {abbrev = "EDIK", color = "#FF7F50", shortname = "Union of the Democratic Centre",},
["Union of the Democratic Centre (Spain)"] = {abbrev = "UCD", color = "#197E36", shortname = "",},
["Union of the Democratic Forces"] = {abbrev = "", color = "#DE3163", shortname = "",},
["Union of the Forces of Change (Guinea)"] = {abbrev = "", color = "#8DA15A", shortname = "",},
["Union of the Forces of Progress"] = {abbrev = "UFP", color = "#FF7F00", shortname = "",},
["Union of the Gabonese People"] = {abbrev = "UPG", color = "blue", shortname = "",},
["Union of the Left (France)"] = {abbrev = "", color = "#FFD1DC", shortname = "Union of the Left",},
["Union of the National Right"] = {abbrev = "", color = "#4A07C8", shortname = "",},
["Union of the Peoples of Cameroon"] = {abbrev = "UPC", color = "#E50101", shortname = "",},
["Union of the Peoples of Murcia"] = {abbrev = "", color = "#0D4E8E", shortname = "",},
["Union of the Right and Centre"] = {abbrev = "UDC", color = "#71BBDE", shortname = "",},
["Union of the Salamancan People"] = {abbrev = "", color = "#00009F", shortname = "",},
["Union of the Ukrainians of Romania"] = {abbrev = "SUR", color = "#0057b7", shortname = "",},
["Union of the Workers of Slovakia"] = {abbrev = "ZRS", color = "#8B0000", shortname = "",},
["Union Party (Faroe Islands)"] = {abbrev = "", color = "#006CB4", shortname = "Union",},
["Union Party (Lebanon)"] = {abbrev = "", color = "#8B8589", shortname = "Union Party",},
["Union Party (US)"] = {abbrev = "", color = "#7F3300", shortname = "Union",},
["Union Party for the People"] = {abbrev = "", color = "#FF8C00", shortname = "Party of the U",},
["Unión por San Luis"] = {abbrev = "", color = "#00ADEE", shortname = "",},
["Unión Portuense"] = {abbrev = "", color = "#6DAB3C", shortname = "",},
["Union Progressive Party (Illinois)"] = {abbrev = "", color = "#7F3300", shortname = "Union Progressive",},
["Union Solidarity and Development Party"] = {abbrev = "USDP", color = "#006B31", shortname = "",},
["Union, Progress and Democracy"] = {abbrev = "UPyD", color = "#E9008C", shortname = "",},
["Unionist Democratic Union"] = {abbrev = "UDU", color = "Maroon", shortname = "",},
["Unionist Party (Guatemala)"] = {abbrev = "", color = "#273284", shortname = "Unionist",},
["Unionist Party (Punjab)"] = {abbrev = "", color = "#0000FF", shortname = "Unionist",},
["Unionist Party (Scotland)"] = {abbrev = "", color = "#5555FF", shortname = "Unionist",},
["Unionist Party (South Africa)"] = {abbrev = "", color = "#9ACD32", shortname = "Unionist",},
["Unionist Party (UK)"] = {abbrev = "", color = "#0087DC", shortname = "Unionist",},
["Unionist Party (US)"] = {abbrev = "", color = "#FFAADD", shortname = "Unionist",},
["Unionist Party of Northern Ireland"] = {abbrev = "", color = "#ffa07a", shortname = "Unionist Party NI",},
["Unique Gorani Party"] = {abbrev = "JGP", color = "#FFCF40", shortname = "",},
["UNIR Constitutional Nationalist Party"] = {abbrev = "PNC–UNIR", color = "#004298", shortname = "UNIR Party",},
["Unir Movement"] = {abbrev = "", color = "#D60B51", shortname = "",},
["UNITA"] = {abbrev = "", color = "#006600", shortname = "",},
["Unitarian Candidacy of Workers"] = {abbrev = "", color = "#117D25", shortname = "",},
["Unitarian Socialist Party"] = {abbrev = "", color = "#8B1C62", shortname = "Unitarian Socialists",},
["Unitary Candidacy of Estella"] = {abbrev = "", color = "#C56E8B", shortname = "",},
["Unitary Democratic Coalition (2022)"] = {abbrev = "CDU", color = "#84AD15", shortname = "",},
["Unitary Democratic Coalition"] = {abbrev = "CDU", color = "#FF0000", shortname = "",},
["Unitary National Liberation Front"] = {abbrev = "JNOF", color = "#DD0000", shortname = "",},
["Unitary Party"] = {abbrev = "", color = "#ADD8E6", shortname = "",},
["Unitary Party for the Construction of Mauritania"] = {abbrev = "PUCM", color = "#F7941D", shortname = "",},
["Unitary Socialist Party (Italy, 1922)"] = {abbrev = "", color = "#E35A5A", shortname = "Unitary Socialist Party",},
["Unitary Socialist Party–Socialist Agreement"] = {abbrev = "PSU–IS", color = "#DB341E", shortname = "",},
["Unitat pel Canvi Sabadell"] = {abbrev = "", color = "#5E305B", shortname = "",},
["Unite por la Libertad y la Dignidad"] = {abbrev = "UNITE", color = "#6bc1e4", shortname = "",},
["Unite Principality"] = {abbrev = "SMP", color = "#011A5D", shortname = "",},
["United (Canarian electoral alliance)"] = {abbrev = "", color = "#26348C", shortname = "",},
["United Abkhazia"] = {abbrev = "", color = "#C92D25", shortname = "",},
["United African National Council"] = {abbrev = "UANC", color = "#808000", shortname = "",},
["United Algeciran Youth"] = {abbrev = "", color = "#34C4F9", shortname = "",},
["United Alliance Sabah"] = {abbrev = "", color = "#0AD9EF", shortname = "",},
["United and Alternative Left"] = {abbrev = "EUiA", color = "#D21145", shortname = "",},
["United and Republican Left"] = {abbrev = "", color = "#D63231", shortname = "",},
["United Ants"] = {abbrev = "", color = "#000000", shortname = "",},
["United Arab List (1977)"] = {abbrev = "", color = "#C61318", shortname = "United Arab List",},
["United Arab List"] = {abbrev = "", color = "#15793D", shortname = "Ra'am",},
["United Armenia Party (Armenia)"] = {abbrev = "", color = "#F7A921", shortname = "",},
["United Australia Party"] = {abbrev = "", color = "#00008B", shortname = "United Australia",},
["United Australia Party (2013)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia",},
["United Australia Party (Australian Capital Territory)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (New South Wales)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (Northern Territory)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (Queensland)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (South Australia)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (Tasmania)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (Victoria)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Australia Party (Western Australia)"] = {abbrev = "UAP", color = "#FFED00", shortname = "United Australia"},
["United Bahamian Party"] = {abbrev = "", color = "#02006c", shortname = "",},
["United Bangsamoro Justice Party"] = {abbrev = "UBJP", color = "#026701", shortname = "",},
["United Bermuda Party"] = {abbrev = "UBP", color = "#3366cc", shortname = "",},
["United Black Association for Development"] = {abbrev = "UBAD", color = "#000000", shortname = "",},
["United Bumiputera Heritage Party"] = {abbrev = "", color = "#F0E98B", shortname = "",},
["United Can Picafort"] = {abbrev = "", color = "#567297", shortname = "",},
["United Canarian People"] = {abbrev = "", color = "#F73431", shortname = "",},
["United Cantabrian Left Group"] = {abbrev = "", color = "#E71839", shortname = "",},
["United Centre (Chile)"] = {abbrev = "", color = "#037E3B", shortname = "",},
["United Centre"] = {abbrev = "", color = "#FFE200", shortname = "",},
["United Ceuta"] = {abbrev = "", color = "#4A4542", shortname = "",},
["United Christian Democratic Party"] = {abbrev = "", color = "#78a22c", shortname = "",},
["United Christian Democrats"] = {abbrev = "CDU", color = "lightblue", shortname = "",},
["United Christian Party (Hungary)"] = {abbrev = "", color = "#006857", shortname = "United Christian",},
["United Citizen Party"] = {abbrev = "", color = "#04B486", shortname = "",},
["United Citizens"] = {abbrev = "", color = "#B8BFFE", shortname = "",},
["United Citizens Party"] = {abbrev = "", color = "#778899", shortname = "United Citizens",},
["United Civic Alliance Party"] = {abbrev = "", color = "#253F9E", shortname = "",},
["United Civic Party"] = {abbrev = "AGP", color = "#EA1C1C", shortname = "",},
["United Civil Front"] = {abbrev = "OGF", color = "#134EA2", shortname = "",},
["United Coalition"] = {abbrev = "", color = "#1863DC", shortname = "",},
["United Communist League of Bangladesh"] = {abbrev = "UCL", color = "#EC435A", shortname = "",},
["United Communist Party of Armenia"] = {abbrev = "HMKK", color = "red", shortname = "",},
["United Communist Party of India"] = {abbrev = "UCPI", color = "red", shortname = "",},
["United Congress (South Africa)"] = {abbrev = "", color = "#50C878", shortname = "",},
["United Conservative Party (Chile)"] = {abbrev = "", color = "#0000FF", shortname = "",},
["United Conservative Party"] = {abbrev = "", color = "#0000FF", shortname = "",},
["United Country Party (Australia)"] = {abbrev = "UCP", color = "#006644", shortname = "United Country",},
["United Cyprus Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["United Democrat Party"] = {abbrev = "", color = "black", shortname = "United Democrat",},
["United Democratic Alliance (Kenya)"] = {abbrev = "UDA", color = "#F4CB23", shortname = "",},
["United Democratic Alliance (Nagaland)"] = {abbrev = "UDA", color = "#800000", shortname = "",},
["United Democratic Alliance (Zambia)"] = {abbrev = "UDA", color = "yellow", shortname = "",},
["United Democratic Centre (El Salvador)"] = {abbrev = "CDU", color = "#FFFF00", shortname = "",},
["United Democratic Electoral Commission"] = {abbrev = "CEUD", color = "red", shortname = "",},
["United Democratic Forces"] = {abbrev = "ODS", color = "#0C4BAC", shortname = "",},
["United Democratic Forces of Belarus"] = {abbrev = "ADSB", color = "#FF0000", shortname = "",},
["United Democratic Forum Party"] = {abbrev = "UDF", color = "#FFF100", shortname = "",},
["United Democratic Front (Arunachal Pradesh)"] = {abbrev = "", color = "#800000", shortname = "",},
["United Democratic Front (Botswana)"] = {abbrev = "UDF", color = "Orange", shortname = "",},
["United Democratic Front (India)"] = {abbrev = "UDF", color = "skyblue", shortname = "",},
["United Democratic Front (Kerala)"] = {abbrev = "UDF", color = "#0078FF", shortname = "",},
["United Democratic Front (Malawi)"] = {abbrev = "UDF", color = "#FFFF00", shortname = "",},
["United Democratic Front (Nagaland)"] = {abbrev = "", color = "#800000", shortname = "",},
["United Democratic Front (Namibia)"] = {abbrev = "UDF", color = "#314BB2", shortname = "",},
["United Democratic Front (Thailand)"] = {abbrev = "", color = "#CFECEC", shortname = "United Democratic",},
["United Democratic Front"] = {abbrev = "UDF", color = "#add8e6", shortname = "",},
["United Democratic Left"] = {abbrev = "EDA", color = "lightblue", shortname = "",},
["United Democratic Movement"] = {abbrev = "UDM", color = "#FFB300", shortname = "",},
["United Democratic Movement (Kenya)"] = {abbrev = "UDM", color = "#F6FC4F", shortname = "",},
["United Democratic Party (Belize)"] = {abbrev = "UDP", color = "#CE1126", shortname = "",},
["United Democratic Party (Kenya)"] = {abbrev = "UDP", color = "#A42D31", shortname = "",},
["United Democratic Party (Malaysia)"] = {abbrev = "UDP", color = "#FF0000", shortname = "",},
["United Democratic Party (Meghalaya)"] = {abbrev = "UDP", color = "#FE0002", shortname = "",},
["United Democratic Party (Solomon Islands)"] = {abbrev = "UDP", color = "#F0E68C", shortname = "United Democratic",},
["United Democratic Party (South Korea, 1995)"] = {abbrev = "UDP", color = "red", shortname = "United Democratic",},
["United Democratic Party (South Korea, 2008)"] = {abbrev = "UDP", color = "#419639", shortname = "United Democratic",},
["United Democratic Party (Tanzania)"] = {abbrev = "UDP", color = "#437806", shortname = "",},
["United Democratic Party (The Gambia)"] = {abbrev = "UDP", color = "#FEE119", shortname = "",},
["United Democratic Sabah People's Power Party"] = {abbrev = "SETIA", color = "", shortname = "",},
["United Democratic Serbia"] = {abbrev = "", color = "#FDB515", shortname = "",},
["United Democrats (Sint Maarten)"] = {abbrev = "UD", color = "#3BB54C", shortname = "",},
["United Democrats of Hong Kong"] = {abbrev = "UDHK", color = "#136C56", shortname = "United Democrats",},
["United Democrats"] = {abbrev = "EDI", color = "#FFD700", shortname = "",},
["United Development Party"] = {abbrev = "PPP", color = "#00A100", shortname = "",},
["United Ecuadorian"] = {abbrev = "", color = "#382983", shortname = "",},
["United Ethiopian Democratic Forces"] = {abbrev = "", color = "#04A507", shortname = "",},
["United Extremadura"] = {abbrev = "EU", color = "#085500", shortname = "",},
["United Federal Party"] = {abbrev = "", color = "#0087DC", shortname = "United Party",},
["United for a New Alternative"] = {abbrev = "", color = "#3C3C3C", shortname = "",},
["United for Change"] = {abbrev = "", color = "#000000", shortname = "",},
["United for Chiclana"] = {abbrev = "", color = "#9E1831", shortname = "",},
["United for Gran Canaria"] = {abbrev = "UxGC", color = "#26348C", shortname = "",},
["United for Human Rights"] = {abbrev = "", color = "#F79CD0", shortname = "",},
["United for Justice"] = {abbrev = "UZP", color = "#749C75", shortname = "",},
["United for Lanzarote"] = {abbrev = "", color = "#0196BB", shortname = "",},
["United for Latvia"] = {abbrev = "", color = "#C7057F", shortname = "",},
["United for Macedonia"] = {abbrev = "", color = "#F7C317", shortname = "",},
["United for Paracuellos"] = {abbrev = "", color = "#4B8642", shortname = "",},
["United for the Future (Spain)"] = {abbrev = "", color = "#6E0374", shortname = "",},
["United for the Victory of Serbia"] = {abbrev = "UZPS", color = "#2578CC", shortname = "",},
["United for Valencia"] = {abbrev = "", color = "#084D84", shortname = "",},
["United Free Citizens"] = {abbrev = "", color = "#B11C05", shortname = "",},
["United Front (Ceylon)"] = {abbrev = "", color = "#0000FF", shortname = "",},
["United Front (PRC)"] = {abbrev = "", color = "#BC0101", shortname = "United Front",},
["United Front (Trinidad and Tobago)"] = {abbrev = "", color = "#faf333", shortname = "",},
["United Front for the Service of the People"] = {abbrev = "UFSP", color = "#000000", shortname = "",},
["United Front of Nagaland"] = {abbrev = "UDF", color = "#40FF40", shortname = "",},
["United Front Party (Ghana)"] = {abbrev = "", color = "black", shortname = "",},
["United Future Party"] = {abbrev = "", color = "#EF426F", shortname = "United Future",},
["United Future"] = {abbrev = "", color = "#501557", shortname = "",},
["United Galicia"] = {abbrev = "", color = "#93E4FF", shortname = "",},
["United Gipuzkoa"] = {abbrev = "", color = "#4A4961", shortname = "",},
["United Goans Democratic Party"] = {abbrev = "UGDP", color = "#5bb30e", shortname = "",},
["United Goans Party"] = {abbrev = "", color = "#CA8642", shortname = "",},
["United Gold Coast Convention"] = {abbrev = "UGCC", color = "#008000", shortname = "",},
["United Guadeloupe, Socialism and Realities"] = {abbrev = "GUSR", color = "#FD3F92", shortname = "",},
["United Guadeloupe, Solidary and Responsible"] = {abbrev = "", color = "#263E7E", shortname = "",},
["United Hearts Movement"] = {abbrev = "", color = "#0B72C6", shortname = "",},
["United Homeland Party"] = {abbrev = "", color = "#203763", shortname = "",},
["United in Europe"] = {abbrev = "UiE", color = "#000080", shortname = "",},
["United in Hope"] = {abbrev = "BBY", color = "#7A4D30", shortname = "",},
["United Independent Democratic Front"] = {abbrev = "FDUI", color = "darkred", shortname = "",},
["United Independent Front"] = {abbrev = "", color = "#000000", shortname = "",},
["United Independent Movement"] = {abbrev = "", color = "silver", shortname = "",},
["United Independent Party"] = {abbrev = "", color = "#11426D", shortname = "United Independent",},
["United Independents (Chile)"] = {abbrev = "", color = "#274470", shortname = "United Independents",},
["United Independents"] = {abbrev = "", color = "#9966CC", shortname = "",},
["United Irish League"] = {abbrev = "UIL", color = "#90EE90", shortname = "United Irish League",},
["United Kingdom First Party"] = {abbrev = "", color = "#00009C", shortname = "UK First",},
["United Kyrgyzstan"] = {abbrev = "BK", color = "#DF2D13", shortname = "Butun Kyrgyzstan",},
["United Korea Party (1962)"] = {abbrev = "UK", color = "#312F2A", shortname = "United Korea",},
["United La Coruña"] = {abbrev = "", color = "#4B4A46", shortname = "",},
["United Labour Front"] = {abbrev = "ULF", color = "#aaa9ad", shortname = "",},
["United Labour Party (Armenia)"] = {abbrev = "", color = "#2A5E41", shortname = "",},
["United Labour Party (New Zealand)"] = {abbrev = "", color = "#FF4040", shortname = "United Labour",},
["United Labour Party (Northern Ireland)"] = {abbrev = "", color = "#ff0000", shortname = "United Labour",},
["United Labour Party (Papua New Guinea)"] = {abbrev = "ULP", color = "#F79122", shortname = "",},
["United Left (Bolivia)"] = {abbrev = "IU", color = "#FFE44A", shortname = "",},
["United Left (Ireland)"] = {abbrev = "UL", color = "#FF5555", shortname = "United Left",},
["United Left (Peru)"] = {abbrev = "", color = "#800000", shortname = "United Left",},
["United Left (Poland)"] = {abbrev = "", color = "#EC1C24", shortname = "",},
["United Left (San Marino)"] = {abbrev = "SU", color = "#BE1824", shortname = "",},
["United Left (Slovenia)"] = {abbrev = "ZL", color = "#ff3732", shortname = "",},
["United Left (Spain)"] = {abbrev = "IU", color = "#732021", shortname = "",},
["United Left Alliance"] = {abbrev = "", color = "#FF3300", shortname = "",},
["United Left of the Valencian Country (1978)"] = {abbrev = "", color = "#E34234", shortname = "",},
["United Left–Greens"] = {abbrev = "EB–B", color = "#D46459", shortname = "",},
["United Left–Valencian People's Union"] = {abbrev = "", color = "#FF787F", shortname = "",},
["United Left/The Greens–Assembly for Andalusia"] = {abbrev = "IULV–CA", color = "#009150", shortname = "",},
["United Liberal Democrats"] = {abbrev = "", color = "#009035", shortname = "United Liberal Democrats",},
["United Liberal Party (Chile)"] = {abbrev = "", color = "gold", shortname = "United Liberal",},
["United Liberal Party (Zambia)"] = {abbrev = "", color = "yellow", shortname = "",},
["United Linares Independent Citizens"] = {abbrev = "", color = "#8D2E23", shortname = "",},
["United List (Latvia)"] = {abbrev = "AS", color = "#FFAC01", shortname = "",},
["United Malays National Organisation"] = {abbrev = "UMNO", color = "#C00000", shortname = "",},
["United Montenegro"] = {abbrev = "UCG", color = "#2598D4", shortname = "",},
["United Motherland"] = {abbrev = "", color = "#E31E24", shortname = "United Motherland",},
["United National Congress"] = {abbrev = "UNC", color = "#FCCC08", shortname = "",},
["United National Federal Party"] = {abbrev = "", color = "#FFFF33", shortname = "",},
["United National Front (Afghanistan)"] = {abbrev = "", color = "black", shortname = "United National Front",},
["United National Front (Singapore)"] = {abbrev = "UNF", color = "", shortname = "",},
["United National Front (Sri Lanka)"] = {abbrev = "UNF", color = "#008000", shortname = "United National Front",},
["United National Front for Good Governance"] = {abbrev = "UNFGG", color = "#1CAE05", shortname = "",},
["United National Independence Party"] = {abbrev = "UNIP", color = "#177618", shortname = "",},
["United National Initiative (Armenia)"] = {abbrev = "", color = "#202C56", shortname = "",},
["United National Loktantrik Party"] = {abbrev = "UNLP", color = "#9A2EFE", shortname = "",},
["United National Movement (Georgia)"] = {abbrev = "UNM", color = "#BC0000", shortname = "",},
["United National Movement (Saint Kitts-Nevis-Anguilla)"] = {abbrev = "", color = "#4197d1", shortname = "",},
["United National Party"] = {abbrev = "UNP", color = "#1CAE05", shortname = "",},
["United National Progressive Alliance"] = {abbrev = "TF", color = "red", shortname = "",},
["United National Workers' Party"] = {abbrev = "PUNT", color = "#989898", shortname = "",},
["United Nationalist Alliance"] = {abbrev = "UNA", color = "#FE4D00", shortname = "",},
["United Nationalist Democratic Organization"] = {abbrev = "UNIDO", color = "#FFFF00", shortname = "",},
["United Nationalist Movement"] = {abbrev = "ENEK", color = "black", shortname = "",},
["United Neighbors"] = {abbrev = "", color = "#2A7F9E", shortname = "",},
["United New Zealand"] = {abbrev = "", color = "#663377", shortname = "United NZ",},
["United for Hungary"] = {abbrev = "", color = "#4CB5A2", shortname = "",},
["United Opposition (Philippines)"] = {abbrev = "UNO", color = "#0000FF", shortname = "",},
["United Opposition of Serbia"] = {abbrev = "", color = "#1982C3", shortname = "",},
["United Ossetia"] = {abbrev = "", color = "#3498DB", shortname = "",},
["United Parties"] = {abbrev = "", color = "#800080", shortname = "",},
["United Party (Gambia)"] = {abbrev = "", color = "black", shortname = "",},
["United Party (Ghana)"] = {abbrev = "", color = "#008000", shortname = "",},
["United Party (Indonesia)"] = {abbrev = "PP", color = "#00923F", shortname = "",},
["United Party (New Zealand)"] = {abbrev = "", color = "#BBFFFF", shortname = "United",},
["United Party (Papua New Guinea)"] = {abbrev = "", color = "#D25A52", shortname = "United Party",},
["United Party (South Africa)"] = {abbrev = "", color = "#318CE7", shortname = "United",},
["United Party (Western Australia)"] = {abbrev = "", color = "#6495ED", shortname = "United",},
["United Party for Development and Democracy"] = {abbrev = "PUDD", color = "#FFD700", shortname = "",},
["United Party for National Development"] = {abbrev = "UPND", color = "#D23438", shortname = "",},
["United Party of Independent Alliance"] = {abbrev = "UPIA", color = "#B72024", shortname = "",},
["United Party of Retirees and Pensioners"] = {abbrev = "PURP", color = "#1CB878", shortname = "",},
["United Pasok Momogun Organisation"] = {abbrev = "UPMO", color = "blue", shortname = "",},
["United Pasok Nunukragang National Organisation"] = {abbrev = "PASOK", color = "indigo", shortname = "",},
["United Pasokmomogun Kadazan Organisation"] = {abbrev = "UPKO", color = "#ABCDFF", shortname = "",},
["United Pasokmomogun Kadazandusun Murut Organisation"] = {abbrev = "", color = "#ABCDFF", shortname = "",},
["United Pasokmomogun Kadazandusun Organisation"] = {abbrev = "", color = "#00008B", shortname = "",},
["United Patriots"] = {abbrev = "OP", color = "#009B75", shortname = "",},
["United Peasant Party"] = {abbrev = "USS", color = "#50C878", shortname = "",},
["United People (Chile)"] = {abbrev = "", color = "#E4040F", shortname = "",},
["United People (Costa Rica)"] = {abbrev = "PU", color = "#AD0430", shortname = "",},
["United People Alliance"] = {abbrev = "APU", color = "#EB3D43", shortname = "",},
["United People for Social Renovation"] = {abbrev = "", color = "#8B4513", shortname = "",},
["United People's Coalition"] = {abbrev = "", color = "#00A86B", shortname = "",},
["United People's Freedom Alliance"] = {abbrev = "UPFA", color = "#1609F7", shortname = "",},
["United People's Front"] = {abbrev = "FPU", color = "#CAB24F", shortname = "",},
["United People's Front of Nepal"] = {abbrev = "", color = "darkred", shortname = "",},
["United People's Movement (Colombia)"] = {abbrev = "", color = "#483674", shortname = "",},
["United People's Movement (Namibia)"] = {abbrev = "UPM", color = "#00A064", shortname = "",},
["United People's Party (Bulgaria)"] = {abbrev = "", color = "#0060AA", shortname = "",},
["United People's Party (Liberia)"] = {abbrev = "UPP", color = "#ff0000", shortname = "",},
["United People's Party (Poland)"] = {abbrev = "ZSL", color = "#05764E", shortname = "",},
["United People's Party (Singapore)"] = {abbrev = "UPP", color = "#0055FE", shortname = "",},
["United People's Party (Sint Maarten)"] = {abbrev = "", color = "#94D60A", shortname = "",},
["United People's Party (South Korea)"] = {abbrev = "", color = "#229875", shortname = "",},
["United People's Party (UK)"] = {abbrev = "", color = "#339900", shortname = "United People's Party",},
["United People's Party (Zimbabwe)"] = {abbrev = "UPP", color = "#40E0D0", shortname = "",},
["United People's Party Liberal"] = {abbrev = "UPPL", color = "#FAED09", shortname = "",},
["United People's Party"] = {abbrev = "", color = "#A3B847", shortname = "",},
["United People's Progressive Party"] = {abbrev = "ONPP", color = "#B87333", shortname = "",},
["United People"] = {abbrev = "", color = "#0066ff", shortname = "",},
["United Peoples Party (Fiji)"] = {abbrev = "UPP", color = "#32CD32", shortname = "",},
["United Peoples' Democratic Party"] = {abbrev = "UDUB", color = "#008000", shortname = "",},
["United Peoples' Party (Bangladesh)"] = {abbrev = "UPP", color = "#00DACA", shortname = "",},
["United Poland"] = {abbrev = "", color = "#19224e", shortname = "",},
["United Pontevedra"] = {abbrev = "", color = "#0099C6", shortname = "",},
["United Popular Front (Iraq)"] = {abbrev = "UPF", color = "yellow", shortname = "",},
["United Popular Front"] = {abbrev = "EPAM", color = "#17479D", shortname = "",},
["United Progressive Alliance (Kenya)"] = {abbrev = "UPA", color = "#EC2328", shortname = "",},
["United Progressive Alliance (Sri Lanka)"] = {abbrev = "", color = "#FF8C00", shortname = "",},
["United Progressive Alliance"] = {abbrev = "UPA", color = "#00BFFF", shortname = "",},
["United Progressive Kinabalu Organisation"] = {abbrev = "UPKO", color = "#ABCDFF", shortname = "",},
["United Progressive Party (Antigua and Barbuda)"] = {abbrev = "UPP", color = "#010F71", shortname = "",},
["United Progressive Party (Barbados)"] = {abbrev = "UPP", color = "#F59324", shortname = "",},
["United Progressive Party (Ghana)"] = {abbrev = "", color = "blue", shortname = "",},
["United Progressive Party (Nigeria)"] = {abbrev = "", color = "#05643a", shortname = "",},
["United Progressive Party (Saint Vincent and the Grenadines)"] = {abbrev = "", color = "#0083FF", shortname = "",},
["United Reform Action"] = {abbrev = "URA", color = "#00cc55", shortname = "",},
["United Regional Front"] = {abbrev = "", color = "#EC2125", shortname = "",},
["United Regions of Serbia"] = {abbrev = "URS", color = "#3BB9FF", shortname = "",},
["United Religious Front"] = {abbrev = "", color = "#172d81", shortname = "",},
["United Republic"] = {abbrev = "RS", color = "#687CD5", shortname = "",},
["United Republican Party (Guyana)"] = {abbrev = "", color = "#FFD700", shortname = "",},
["United Republican Party (Kenya)"] = {abbrev = "URP", color = "#FFD32C", shortname = "",},
["United Republicans"] = {abbrev = "", color = "#651F7A", shortname = "",},
["United Resources Party"] = {abbrev = "URP", color = "#F0E91A", shortname = "",},
["United Revolutionary Nationalist Movement"] = {abbrev = "MNRU", color = "#EB23BC", shortname = "",},
["United Rhodesia Party"] = {abbrev = "", color = "#0087DC", shortname = "United",},
["United Right (Poland)"] = {abbrev = "ZP", color = "#263778", shortname = "",},
["United Right Alliance"] = {abbrev = "ADU", color = "#02275E", shortname = "",},
["United Right Party"] = {abbrev = "", color = "#1B49DD", shortname = "",},
["United Roma Party of Kosovo"] = {abbrev = "", color = "#009933", shortname = "",},
["United Romania Party"] = {abbrev = "", color = "#213C93", shortname = "",},
["United Rotenians"] = {abbrev = "", color = "#00572E", shortname = "",},
["United Russia"] = {abbrev = "", color = "#2E4EA4", shortname = "",},
["United Sabah Alliance"] = {abbrev = "", color = "#1A1A1A", shortname = "",},
["United Sabah Assembly Party"] = {abbrev = "PUSAKA", color = "", shortname = "",},
["United Sabah National Organisation"] = {abbrev = "USNO", color = "#008000", shortname = "",},
["United Sabah National Organisation (New)"] = {abbrev = "USNO (Baru)", color = "#678F43", shortname = "",},
["United Sabah Party"] = {abbrev = "PBS", color = "#ADD8E6", shortname = "",},
["United Sarawak Party"] = {abbrev = "", color = "#FBFF94", shortname = "",},
["United Serbia"] = {abbrev = "JS", color = "#800000", shortname = "",},
["United Serbia (coalition)"] = {abbrev = "UZPS", color = "#2578CC", shortname = "",},
["United Seychelles"] = {abbrev = "", color = "#FF0D13", shortname = "",},
["United Social Democratic Party"] = {abbrev = "", color = "green", shortname = "",},
["United Socialist Alliance"] = {abbrev = "", color = "#FF0000", shortname = "",},
["United Socialist Party (Bolivia)"] = {abbrev = "", color = "#FF4500", shortname = "",},
["United Socialist Party (Sri Lanka)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["United Socialist Party (UK)"] = {abbrev = "", color = "#E32636", shortname = "United Socialist",},
["United Socialist Party of Venezuela"] = {abbrev = "PSUV", color = "#F0001C", shortname = "",},
["United Socialist Workers' Party"] = {abbrev = "PSTU", color = "#C4122D", shortname = "",},
["United Somali Congress"] = {abbrev = "USC", color = "#39944A", shortname = "",},
["United Srpska"] = {abbrev = "US", color = "#00008B", shortname = "",},
["United St. Maarten Party"] = {abbrev = "USP", color = "#71b7ff", shortname = "",},
["United States Pirate Party"] ={abbrev = "USPP", color = "#9258B0", shortname = "Pirate Party",},
["United Taxpayers Party"] = {abbrev = "", color = "#228B22", shortname = "United Taxpayers",},
["United Thai Nation Party"] = {abbrev = "UTN", color = "#273082", shortname = "United Thai Nation",},
["United Thai People's Party"] = {abbrev = "UTPP", color = "#FF0800", shortname = "",},
["United to Advance"] = {abbrev = "", color = "#F46E6E", shortname = "",},
["United to Renew"] = {abbrev = "", color = "#0E8543", shortname = "",},
["United Torah Judaism"] = {abbrev = "UTJ", color = "#003366", shortname = "",},
["United Trade Unions of Serbia Sloga"] = {abbrev = "Sloga", color = "#940F0F", shortname = "",},
["United Traditional Bumiputera Party"] = {abbrev = "", color = "#E30007", shortname = "",},
["United Transformation Movement"] = {abbrev = "UTM", color = "#D7222B", shortname = "",},
["United Tres Cantos"] = {abbrev = "", color = "#D8C018", shortname = "",},
["United Ulster Unionist Party"] = {abbrev = "UUUP", color = "#ff8c00", shortname = "",},
["United Unionist Coalition"] = {abbrev = "", color = "#888888", shortname = "",},
["United Utah Party"] = {abbrev = "", color = "#80151F", shortname = "United Utah",},
["United Valencia"] = {abbrev = "", color = "#01ADD4", shortname = "",},
["United We Can"] = {abbrev = "UP", color = "#800080", shortname = "",},
["United with Arona"] = {abbrev = "", color = "#C2116B", shortname = "",},
["United Women Front"] = {abbrev = "UWF", color = "#E1F5A9", shortname = "",},
["United Workers Party (Saint Lucia)"] = {abbrev = "UWP", color = "#FFC90E", shortname = "",},
["United Workers' Party (Dominica)"] = {abbrev = "UWP", color = "#0F52BA", shortname = "",},
["United Zamora"] = {abbrev = "", color = "#A5A6BD", shortname = "",},
["United–Reform Coalition"] = {abbrev = "", color = "#5EDDBF", shortname = "United/Reform",},
["Uniting Australia Party"] = {abbrev = "", color = "#00B2B2", shortname = "",},
["Unity (Hungary)"] = {abbrev = "", color = "#C71585", shortname = "Unity",},
["Unity (Kyrgyz political party)"] = {abbrev = "", color = "#0083BA", shortname = "Birimdik",},
["Unity (Latvia)"] = {abbrev = "", color = "#85B821", shortname = "Unity",},
["Unity (Northern Ireland)"] = {abbrev = "", color = "olive", shortname = "Unity",},
["Unity (Russian political party)"] = {abbrev = "", color = "#227FCF", shortname = "Unity",},
["Unity (Swedish political party)"] = {abbrev = "", color = "#088332", shortname = "Unity",},
["Unity (Uzbekistan)"] = {abbrev = "", color = "#3385D9", shortname = "",},
["Unity and Democracy Party of Kachin State"] = {abbrev = "", color = "#118D35", shortname = "",},
["Unity and Democracy Party"] = {abbrev = "", color = "#FBF0DC", shortname = "",},
["Unity and Liberty Party"] = {abbrev = "PUL", color = "#861F80", shortname = "",},
["Unity and Peace Party"] = {abbrev = "UPP", color = "#FFFFFF", shortname = "",},
["Unity and Progress Party"] = {abbrev = "PUP", color = "#45D35D", shortname = "",},
["Unity Centre of Communist Revolutionaries of India (Marxist-Leninist) (D.V. Rao)"] = {abbrev = "UCCRI(M-L)", color = "red", shortname = "",},
["Unity Coalition"] = {abbrev = "CU", color = "#2C93FB", shortname = "",},
["Unity Council of Islamic Revolutionary Forces"] = {abbrev = "", color = "#7996E2", shortname = "Unity Council",},
["Unity Fiji Party"] = {abbrev = "", color = "#20B2AA", shortname = "",},
["Unity for Algeciras"] = {abbrev = "", color = "#0474B6", shortname = "",},
["Unity for Alguazas"] = {abbrev = "", color = "#E47747", shortname = "",},
["Unity for Change"] = {abbrev = "", color = "#3BA926", shortname = "",},
["Unity for Chile"] = {abbrev = "", color = "#F25C5D", shortname = "",},
["Unity for Human Rights Party"] = {abbrev = "PBDNJ", color = "#1D70B8", shortname = "",},
["Unity for La Línea"] = {abbrev = "", color = "#3F3BC6", shortname = "",},
["Unity for Narón"] = {abbrev = "", color = "#149511", shortname = "",},
["Unity for Peace and Socialism"] = {abbrev = "", color = "red", shortname = "",},
["Unity for the Future of Macau"] = {abbrev = "UFM", color = "blue", shortname = "",},
["Unity for the Isles"] = {abbrev = "", color = "#EEC657", shortname = "",},
["Unity Labour Party"] = {abbrev = "", color = "#e2231a", shortname = "Unity Labour",},
["Unity Movement"] = {abbrev = "", color = "#2699E4", shortname = "",},
["Unity of Aran"] = {abbrev = "", color = "#EC2923", shortname = "",},
["Unity of Oleksandr Omelchenko"] = {abbrev = "", color = "#249751", shortname = "",},
["Unity of San Hui"] = {abbrev = "", color = "#EE8487", shortname = "",},
["Unity of the People (South Ossetia)"] = {abbrev = "", color = "#C0392B", shortname = "Unity of the People",},
["Unity of the People (Trinidad and Tobago)"] = {abbrev = "UTP", color = "#8743e3", shortname = "",},
["Unity of the People"] = {abbrev = "", color = "#DB0000", shortname = "",},
["Unity Party (Australia)"] = {abbrev = "", color = "#CD5700", shortname = "Unity",},
["Unity Party (Azerbaijan)"] = {abbrev = "", color = "#B48B1F", shortname = "Unity",},
["Unity Party (China)"] = {abbrev = "", color = "#DE2119", shortname = "Unity",},
["Unity Party (Hungary)"] = {abbrev = "", color = "#FFDB52", shortname = "Unity",},
["Unity Party (Hungary, 2009)"] = {abbrev = "ÖP", color = "#80BB3D", shortname = "",},
["Unity Party (Japan)"] = {abbrev = "", color = "#0542A0", shortname = "",},
["Unity Party (Liberia)"] = {abbrev = "UP", color = "#026536", shortname = "",},
["Unity Party (South Ossetia)"] = {abbrev = "", color = "#1C408A", shortname = "Unity Party",},
["Unity Party (Turkey)"] = {abbrev = "TBP", color = "#A91101", shortname = "",},
["Unity Party of America"] = {abbrev = "", color = "#ADD8E6", shortname = "Unity",},
["Unity Party of Kenya"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Unity Party of Nigeria"] = {abbrev = "UPN", color = "#D82628", shortname = "",},
["Unrepresented Peoples Party"] = {abbrev = "UPP", color = "#283048", shortname = "",},
["Up-Country People's Front"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Uplands Party"] = {abbrev = "", color = "#FFFFFF", shortname = "Uplands",},
["Upper Aragon in Common"] = {abbrev = "", color = "#B222EB", shortname = "",},
["Uri Party"] = {abbrev = "", color = "#FFD700", shortname = "Uri",},
["Urquijists"] = {abbrev = "", color = "#3AA8C1", shortname = "Urquijist",},
["Uruguay Assembly"] = {abbrev = "", color = "#24397C", shortname = "",},
["Urza.cz"] = {abbrev = "", color = "#F2E500", shortname = "",},
["US Liberty Party"] = {abbrev = "", color = "#ca0008", shortname = "",},
["Us Moderates"] = {abbrev = "", color = "#2149a7", shortname = "",},
["Us of the Centre"] = {abbrev = "", color = "#0576BD", shortname = "",},
["Us with Italy"] = {abbrev = "", color = "#236186", shortname = "",},
["Us with Salvini"] = {abbrev = "", color = "#0F52BA", shortname = "",},
["USR PLUS"] = {abbrev = "", color = "#00A6FF", shortname = "",},
["Utkal Congress"] = {abbrev = "", color = "#FCEE23", shortname = "",},
["Utreran Party"] = {abbrev = "", color = "#F7DE21", shortname = "",},
["Uttama Prajaakeeya Party"] = {abbrev = "UPP", color = "#E3889D", shortname = "",},
["Uttar Pradesh Revolutionary Socialist Party"] = {abbrev = "", color = "red", shortname = "",},
["Uttar Pradesh United Democratic Front"] = {abbrev = "UPUDF", color = "#58ACFA", shortname = "",},
["Uttarakhand Kranti Dal"] = {abbrev = "UKD", color = "#336666", shortname = "",},
["Uttarakhand Pragatisheel Party"] = {abbrev = "UPP", color = "", shortname = "",},
["Uttarakhand Raksha Morcha"] = {abbrev = "URM", color = "#d60100", shortname = "",},
["UW"] = {abbrev = "", color = "blue", shortname = "",},
["Uzbekistan Liberal Democratic Party"] = {abbrev = "OʻzLiDeP", color = "#009EE3", shortname = "",},
["Uzbekistan National Revival Democratic Party"] = {abbrev = "", color = "#005AA0", shortname = "Milliy Tiklanish",},
["Uzhaippali Makkal Katchi"] = {abbrev = "UMK", color = "yellowgreen", shortname = "",},
["Uzhavar Uzhaippalar Katchi"] = {abbrev = "UUK", color = "green", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
1ae79761f9feeeb46058b60a721e94c6b7916dbc
Template:Legend0
10
1486
3036
3035
2024-03-13T05:24:27Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<span style="margin:0px; font-size:90%;"><span style="border:{{{border|none}}}; background-color:{{{1|none}}}; color:{{{1|none}}};"> </span> {{{2|}}}</span><noinclude>
{{Documentation}}
</noinclude>
203acdf585fd4adebf1c9cc5e3456b8ff52b182c
Module:Political party/G
828
1487
3038
3037
2024-03-13T05:24:28Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["GABRIELA Women's Party"] = "Gabriela Women's Party",
["Galician National-Popular Bloc"] = "Galician Nationalist Bloc",
["Galician Nationalist Convergence"] = "Galician Coalition",
["Galician Progressive Coalition"] = "Galician Coalition",
["Galician Workers' Party"] = "Galician Left",
["Ganatantra Parishad"] = "All India Ganatantra Parishad",
["Gelora"] = "Gelora Party",
["Génération.s, le mouvement"] = "Génération.s",
["Genzei Nippon"] = "Tax Cuts Japan",
["Georgia Republican Party"] = "Republican Party (United States)",
["German Centre"] = "Centre Party (Germany)",
["German Minority (political party)"] = "German Minority Electoral Committee",
["German Minority"] = "German Minority Electoral Committee",
["German Pirate Party"] = "Pirate Party Germany",
["German Reich Party"] = "Free Conservative Party",
["Girondin"] = "Girondins",
["Girondist"] = "Girondins",
["Go Peru"] = "Let’s Go Peru",
["Golongan Karya"] = "Golkar",
["Good Choice"] = "Good Choice and Moderates",
["Good Choice (Slovakia)"] = "Good Choice and Moderates",
["Government by the People Green Party"] = "Green Party of South Africa",
["Grand Alliance (Bangladesh)"] = "Awami League",
["Grassroots-Legalize Cannabis Party"] = "Grassroots—Legalize Cannabis Party",
["Grassroots–Legalize Cannabis Party"] = "Grassroots—Legalize Cannabis Party", -- dash difference
["Grassroots Party (US)"] = "Grassroots Party",
["Great Indonesia Movement Party"] = "Gerindra Party",
["Great Union Party"] = "Great Unity Party",
["Greek politics/party colours/Panhellenic Sociali"] = "PASOK",
["Green (political party)"] = "Groen (political party)",
["Green Alliance"] = "Green Party (Ireland)",
["Green Alliance (Ireland)"] = "Green Party (Ireland)",
["Green Alternative Alliance"] = "The Greens (Luxembourg)",
["Green Alternative Party"] = "The Greens (Luxembourg)",
["Green List (Spain)"] = "Confederation of the Greens",
["Green Mountain Peace and Justice"] = "Green Mountain Peace and Justice Party",
["Green Movement (Israel)"] = "Green Party (Israel)",
["Green Party - Save Our Green Space"] = "Green Party of England and Wales",
["Green Party (Colombia)"] = "Green Alliance (Colombia)",
["Green Party (Poland)"] = "The Greens (Poland)",
["Green Party (United States)"] = "Green Party (US)",
["Green Party in Northern Ireland"] = "Green Party Northern Ireland",
["Green Party of Alaska"] = "Green Party (US)",
["Green Party of Arkansas"] = "Green Party (US)",
["Green Party of California"] = "Green Party (US)",
["Green Party of Colorado"] = "Green Party (US)",
["Green Party of Connecticut"] = "Green Party (US)",
["Green Party of Hawaii"] = "Green Party (US)",
["Green Party of Michigan"] = "Green Party (US)",
["Green Party of Minnesota"] = "Green Party (US)",
["Green Party of Montana"] = "Green Party (US)",
["Green Party of New York"] = "Green Party (US)",
["Green Party of Northern Ireland"] = "Green Party Northern Ireland",
["Green Party of Ohio"] = "Green Party (US)",
["Green Party of Pennsylvania"] = "Green Party (US)",
["Green Party of Texas"] = "Green Party (US)",
["Green Party (Arizona)"] = "Green Party (US)",
["Green Party (Arkansas)"] = "Green Party (US)",
["Green Party (California)"] = "Green Party (US)",
["Green Party (Colorado)"] = "Green Party (US)",
["Green Party (Connecticut)"] = "Green Party (US)",
["Green Party (Hawaii)"] = "Green Party (US)",
["Green Party (Iowa)"] = "Green Party (US)",
["Green Party (Michigan)"] = "Green Party (US)",
["Green Party (New York)"] = "Green Party (US)",
["Green Party of the United States"] = "Green Party (US)",
["Green!"] = "Groen (political party)",
["Green–Justice Party"] = "Green Justice Party",
["Greenback Party (United States)"] = "Greenback Party",
["GreenLeft"] = "GroenLinks",
["Greens 2004"] = "The Greens (Poland)",
["Greens-European Free Alliance"] = "Greens–European Free Alliance",
["Gregor Virant's Civic List"] = "Civic List (Slovenia)",
["Groen!"] = "Groen (political party)",
["Group of Independent Citizens"] = "Independent Solution",
["Group of the Alliance of Liberals and Democrats for Europe"] = "Alliance of Liberals and Democrats for Europe group",
["GSD"] = "Gibraltar Social Democrats",
["GSLP"] = "Gibraltar Socialist Labour Party",
["Guanyar Alacant"] = "Acord Ciutadà",
["Guanyar Alcoi"] = "Acord Ciutadà",
["Guanyem Sant Josep de sa Talaia"] = "Guanyem Eivissa",
["Guanyem Santa Eulària des Riu"] = "Guanyem Eivissa",
["Guatemalan Republican Front"] = "Institutional Republican Party",
["Gwlad - The Welsh Independence Party"] = "Gwlad",
}
local full = {
["G17 Plus"] = {abbrev = "G17+", color = "#545AA7", shortname = "",},
["G99"] = {abbrev = "", color = "red", shortname = "",},
["Gabonese Democratic and Social Union"] = {abbrev = "", color = "red", shortname = "",},
["Gabonese Democratic Bloc"] = {abbrev = "", color = "#008800", shortname = "",},
["Gabonese Democratic Party"] = {abbrev = "PDG", color = "#006533", shortname = "",},
["Gabonese Progress Party"] = {abbrev = "PGP", color = "red", shortname = "",},
["Gabonese Socialist Party"] = {abbrev = "", color = "red", shortname = "",},
["Gabonese Socialist Union"] = {abbrev = "", color = "red", shortname = "",},
["Gabriela Women's Party"] = {abbrev = "", color = "#800080", shortname = "Gabriela",},
["Gabungan Parti Sarawak"] = {abbrev = "GPS", color = "#FF6060", shortname = "",},
["Gabungan Rakyat Sabah"] = {abbrev = "GRS", color = "#4682B4", shortname = "",},
["Gagasan Rakyat"] = {abbrev = "GR", color = "#ADD8E6", shortname = "",},
["Gagasan Sejahtera"] = {abbrev = "", color = "#008800", shortname = "",},
["Gahal"] = {abbrev = "", color = "#143997", shortname = "",},
["Galeusca–Peoples of Europe"] = {abbrev = "", color = "#2C3294", shortname = "Galeusca",},
["Galicia en Común"] = {abbrev = "", color = "#5D2C75", shortname = "Podemos–EU–Anova",},
["Galicia New Way"] = {abbrev = "", color = "#6FA7B6", shortname = "",},
["Galicia Sempre"] = {abbrev = "", color = "#8EC81E", shortname = "",},
["Galician Alternative"] = {abbrev = "", color = "#FFA500", shortname = "",},
["Galician Coalition"] = {abbrev = "CG", color = "#002C9C", shortname = "",},
["Galician Convergence"] = {abbrev = "", color = "#087608", shortname = "",},
["Galician Democracy"] = {abbrev = "", color = "#81DAF5", shortname = "",},
["Galician Democratic Candidacy"] = {abbrev = "", color = "#15EAEA", shortname = "",},
["Galician Democratic Party"] = {abbrev = "", color = "#20ACE1", shortname = "",},
["Galician Identity"] = {abbrev = "", color = "#0579FC", shortname = "",},
["Galician Initiative"] = {abbrev = "", color = "#D54D13", shortname = "",},
["Galician Left Alternative"] = {abbrev = "AGE", color = "#62A3CA", shortname = "",},
["Galician Left"] = {abbrev = "EG", color = "#522998", shortname = "",},
["Galician Movement for Socialism"] = {abbrev = "", color = "#003F77", shortname = "",},
["Galician Nationalist Bloc"] = {abbrev = "BNG", color = "#ADCFEF", shortname = "",},
["Galician Nationalist Group of Narón"] = {abbrev = "", color = "#AA4CAA", shortname = "",},
["Galician Nationalist Party–Galicianist Party"] = {abbrev = "", color = "#639E00", shortname = "",},
["Galician Party of the Country"] = {abbrev = "", color = "#66BB66", shortname = "",},
["Galician People's Front"] = {abbrev = "", color = "#3920DE", shortname = "",},
["Galician People's Union"] = {abbrev = "", color = "#CF1B15", shortname = "",},
["Galician Progressive Democracy"] = {abbrev = "", color = "#C66900", shortname = "",},
["Galician Socialist Party (1963)"] = {abbrev = "", color = "#D73D2A", shortname = "",},
["Galician Socialist Party–Galician Left"] = {abbrev = "PSG–EG", color = "#2AAC24", shortname = "",},
["Galician Socialist Space"] = {abbrev = "", color = "#28AC90", shortname = "",},
["Galician Socialist Unity"] = {abbrev = "", color = "#FF3300", shortname = "",},
["Galician Unity"] = {abbrev = "", color = "#00CCF1", shortname = "",},
["Galician Workers' Front"] = {abbrev = "", color = "#3B96BB", shortname = "",},
["Galicianist Party (1931)"] = {abbrev = "", color = "#57ABB3", shortname = "",},
["Galicianist Party (1978)"] = {abbrev = "", color = "#E46D2B", shortname = "",},
["Galicianist Party–Centrists of Orense"] = {abbrev = "", color = "#986968", shortname = "",},
["Galicianist Party–Convergence of Independents of Galicia"] = {abbrev = "", color = "#726887", shortname = "",},
["Galiza Ceibe"] = {abbrev = "", color = "#29AEEF", shortname = "",},
["Gamacists"] = {abbrev = "", color = "#599F25", shortname = "Gamacist",},
["Gambela People's Democratic Movement"] = {abbrev = "", color = "#AC1538", shortname = "",},
["Gambia Democratic Congress"] = {abbrev = "GDC", color = "#771C7C", shortname = "",},
["Gambia Party for Democracy and Progress"] = {abbrev = "", color = "#FB7F00", shortname = "",},
["Gamonie i Krasnoludki"] = {abbrev = "", color = "orange", shortname = "",},
["Gana Fuerteventura"] = {abbrev = "", color = "#FFC000", shortname = "",},
["Gana Suraksha Party"] = {abbrev = "", color = "#E74C3C", shortname = "",},
["Gana Zamora"] = {abbrev = "", color = "#146612", shortname = "",},
["Ganar Alcorcón"] = {abbrev = "", color = "#B507A6", shortname = "",},
["Ganar Cádiz en Común"] = {abbrev = "", color = "#187669", shortname = "",},
["Ganar Fuenlabrada"] = {abbrev = "", color = "#C63903", shortname = "",},
["Ganar Humanes"] = {abbrev = "", color = "#8A64A5", shortname = "",},
["Ganar la Región de Murcia"] = {abbrev = "", color = "#BB0017", shortname = "",},
["Ganar Móstoles"] = {abbrev = "", color = "#AAB93C", shortname = "",},
["Ganar Teruel"] = {abbrev = "", color = "#A91C30", shortname = "",},
["Ganar Torrejón"] = {abbrev = "", color = "#930B71", shortname = "",},
["Gandhi Kamaraj National Congress"] = {abbrev = "", color = "#187669", shortname = "GKC",},
["Ganatantri Dal"] = {abbrev = "", color = "blue", shortname = "",},
["Ganatantri Party"] = {abbrev = "", color = "#6a9a62", shortname = "",},
["Ganemos (2015)"] = {abbrev = "", color = "#3EADB9", shortname = "",},
["Ganemos (2019)"] = {abbrev = "", color = "#C2272D", shortname = "",},
["Ganemos al Fracking"] = {abbrev = "", color = "#D3CA23", shortname = "",},
["Ganemos Albacete"] = {abbrev = "", color = "#A30A40", shortname = "",},
["Ganemos Almería Sí Se Puede"] = {abbrev = "", color = "#D7C01A", shortname = "",},
["Ganemos Avilés en Común"] = {abbrev = "", color = "#FB0000", shortname = "",},
["Ganemos Cambre"] = {abbrev = "", color = "#02460B", shortname = "",},
["Ganemos Cantabria"] = {abbrev = "", color = "#A91515", shortname = "",},
["Ganemos Castilla–La Mancha"] = {abbrev = "", color = "#CC1A4E", shortname = "",},
["Ganemos Chiclana"] = {abbrev = "", color = "#7B0C2C", shortname = "",},
["Ganemos Ciudad Real"] = {abbrev = "", color = "#AB0D14", shortname = "",},
["Ganemos Córdoba"] = {abbrev = "", color = "#18A383", shortname = "",},
["Ganemos Culleredo"] = {abbrev = "", color = "#DD2E44", shortname = "",},
["Ganemos Elche"] = {abbrev = "", color = "#CD00A3", shortname = "",},
["Ganemos Euskadi"] = {abbrev = "", color = "#BA1652", shortname = "",},
["Gañemos Galicia"] = {abbrev = "", color = "#009ACF", shortname = "",},
["Ganemos Jerez"] = {abbrev = "", color = "#00BEB1", shortname = "",},
["Ganemos Madrid"] = {abbrev = "", color = "#009DBC", shortname = "",},
["Ganemos Orihuela"] = {abbrev = "", color = "#D83927", shortname = "",},
["Ganemos País Valencià"] = {abbrev = "", color = "#613041", shortname = "",},
["Ganemos Palencia"] = {abbrev = "", color = "#795EAC", shortname = "",},
["Ganemos Pinto"] = {abbrev = "", color = "#69388A", shortname = "",},
["Ganemos Ronda"] = {abbrev = "", color = "#8D1F20", shortname = "",},
["Ganemos Salamanca"] = {abbrev = "", color = "#9F3122", shortname = "",},
["Ganemos Santander Sí Puede"] = {abbrev = "", color = "#7F286D", shortname = "",},
["Ganemos Sevilla"] = {abbrev = "", color = "#0C7C18", shortname = "",},
["Ganemos Talavera"] = {abbrev = "", color = "#00679C", shortname = "",},
["Ganemos Toledo"] = {abbrev = "", color = "#32A59A", shortname = "",},
["Gañemos Vigo"] = {abbrev = "", color = "#D3122C", shortname = "",},
["Gano Azadi League"] = {abbrev = "GAL", color = "#BFAC00", shortname = "",},
["Gano Forum"] = {abbrev = "", color = "#47C187", shortname = "",},
["Gano Front"] = {abbrev = "", color = "#64a470", shortname = "",},
["Garforth and Swillington Independents"] = {abbrev = "", color = "#52F72E", shortname = "",},
["Garib Raj Party"] = {abbrev = "GRP", color = "#e7d18b", shortname = "",},
["Garo National Council"] = {abbrev = "", color = "#d492b9", shortname = "",},
["Garuda Party"] = {abbrev = "", color = "#B3282B", shortname = "",},
["Gassetists"] = {abbrev = "", color = "#548D54", shortname = "Gassetist",},
["Gastoria VG"] = {abbrev = "", color = "#F29301", shortname = "",},
["Gather Sustainable Canaries"] = {abbrev = "", color = "#0DC0E0", shortname = "",},
["Gaullist"] = {abbrev = "", color = "#0066CC", shortname = "",},
["Gaumee Itthihaad"] = {abbrev = "GIP", color = "#00A651", shortname = "",},
["Gay Party"] = {abbrev = "", color = "#562E75", shortname = "",},
["Gazankulu Liberation Congress"] = {abbrev = "", color = "#E9F294", shortname = "",},
["Gelora Party"] = {abbrev = "", color = "#00CDFF", shortname = "Gelora",},
["General Elderly Alliance"] = {abbrev = "AOV", color = "#972C95", shortname = "",},
["General Electoral League"] = {abbrev = "", color = "#00529C", shortname = "Electoral League",},
["General League of Roman Catholic Caucuses"] = {abbrev = "ABRKK", color = "#000000", shortname = "",},
["General Liberation and Development Party"] = {abbrev = "", color = "#F1C40F", shortname = "",},
["General People's Congress (Yemen)"] = {abbrev = "GPC", color = "#FFCD00", shortname = "",},
["General Popular Radical Union"] = {abbrev = "GLRE", color = "grey", shortname = "",},
["General Union for the Good of Macau"] = {abbrev = "UBM", color = "#800080", shortname = "",},
["General Union of Neighbourhood Associations of Macau"] = {abbrev = "", color = "#183B7D", shortname = "",},
["General Union Party"] = {abbrev = "PUGEN", color = "#DAA520", shortname = "",},
["General Water Board Party"] = {abbrev = "AWP", color = "#021373", shortname = "",},
["General Zionists"] = {abbrev = "", color = "#00ADCC", shortname = "",},
["Generation Citizens"] = {abbrev = "", color = "#312883", shortname = "",},
["Generation for a National Encounter"] = {abbrev = "", color = "#E9242B", shortname = "",},
["Generation of Independence Party (Armenia)"] = {abbrev = "", color = "#FFCB00", shortname = "",},
["Génération.s"] = {abbrev = "G.s", color = "#CC1E54", shortname = "",},
["Geneva Citizens' Movement"] = {abbrev = "", color = "#CE9D24", shortname = "Geneva Citizens'",},
["Gent de Canals"] = {abbrev = "", color = "#514D30", shortname = "",},
["Gent de Dénia"] = {abbrev = "", color = "#3CA48D", shortname = "",},
["Gent de Gramenet"] = {abbrev = "", color = "#D9951C", shortname = "",},
["Gent per Ciutadella"] = {abbrev = "", color = "#C50D1E", shortname = "",},
["Gent per Eivissa"] = {abbrev = "", color = "#04877D", shortname = "",},
["Gent per Formentera"] = {abbrev = "", color = "#96104E", shortname = "",},
["Gent per Santa María"] = {abbrev = "", color = "#FFF509", shortname = "",},
["Gente del Pueblo"] = {abbrev = "", color = "#6EA4B9", shortname = "",},
["Gente"] = {abbrev = "", color = "#B48EDB", shortname = "",},
["Genuine Opposition"] = {abbrev = "GO", color = "#ffa500", shortname = "",},
["Genuine Republican Party"] = {abbrev = "", color = "#FFA500", shortname = "",},
["George's Day Movement"] = {abbrev = "", color = "#EEB600", shortname = "",},
["Georgian Dream"] = {abbrev = "", color = "#27509C", shortname = "",},
["Georgian Labour Party"] = {abbrev = "SLP", color = "#346FAB", shortname = "",},
["Georgian Socialist-Federalist Revolutionary Party"] = {abbrev = "SSPSP", color = "#483D8B", shortname = "",},
["Georgian Troupe"] = {abbrev = "", color = "red", shortname = "",},
["Georgios Papandreou Party"] = {abbrev = "KGP", color = "khaki", shortname = "",},
["Gerakan Tanah Air"] = {abbrev = "GTA", color = "black", shortname = "",},
["Gerindra Party"] = {abbrev = "", color = "#8B0000", shortname = "Gerindra",},
["GERB"] = {abbrev = "", color = "#0054A6", shortname = "",},
["GERB—SDS"] = {abbrev = "", color = "#226ABA", shortname = "",},
["German Agrarian League"] = {abbrev = "", color = "#008B45", shortname = "",},
["German Christian Social People's Party"] = {abbrev = "DCVP", color = "#AA98A9", shortname = "",},
["German Communist Party"] = {abbrev = "DKP", color = "#ED1C24", shortname = "",},
["German Conservative Party"] = {abbrev = "DKP", color = "#0781E5", shortname = "",},
["German Democratic Party"] = {abbrev = "DDP", color = "#DCCA4A", shortname = "",},
["German Electoral Coalition"] = {abbrev = "", color = "#00693E", shortname = "German Coalition",},
["German Farmers' Party"] = {abbrev = "", color = "#007A00", shortname = "",},
["German Free-minded Party"] = {abbrev = "DFP", color = "#FFD800", shortname = "",},
["German Minority Electoral Committee"] = {abbrev = "KWMN", color = "#237FC2", shortname = "",},
["German National People's Party"] = {abbrev = "DNVP", color = "#3F7BC1", shortname = "",},
["German National Party"] = {abbrev = "DNP", color = "#75781A", shortname = "",},
["German National Socialist Workers' Party"] = {abbrev = "DNSAP", color = "#8A3324", shortname = "",},
["German National Socialist Workers' Party (Czechoslovakia)"] = {abbrev = "DNSAP", color = "#8A3324", shortname = "",},
["German Party (1947)"] = {abbrev = "DP", color = "#66B67F", shortname = "",},
["German Party (Romania)"] = {abbrev = "DPR", color = "black", shortname = "",},
["German Party"] = {abbrev = "", color = "#63B8FF", shortname = "",},
["German People's Party (1868)"] = {abbrev = "", color = "#FFAB00", shortname = "",},
["German People's Party (Austria)"] = {abbrev = "DVP", color = "#63C3D0", shortname = "",},
["German People's Party"] = {abbrev = "DVP", color = "#D5AC27", shortname = "",},
["German People's Union"] = {abbrev = "DVU", color = "#AA4422", shortname = "",},
["German Progress Party (Austria)"] = {abbrev = "DSP", color = "#EEEEEE", shortname = "",},
["German Progress Party"] = {abbrev = "DFP", color = "#FFD700", shortname = "",},
["German Right Party"] = {abbrev = "DRP", color = "#85553D", shortname = "",},
["German Social Democratic Workers' Party in the Czechoslovak Republic"] = {abbrev = "DSAP", color = "#FA5A42", shortname = "",},
["German Social Party (Weimar Republic)"] = {abbrev = "", color = "#A46A44", shortname = "",},
["German Social Union (East Germany)"] = {abbrev = "DSU", color = "#6495ED", shortname = "",},
["German State Party"] = {abbrev = "DStP", color = "#DBC94B", shortname = "",},
["German Völkisch Freedom Party"] = {abbrev = "", color = "black", shortname = "",},
["German Workers' Party"] = {abbrev = "DAP", color = "#096300", shortname = "",},
["German Workers' Party (Austria-Hungary)"] = {abbrev = "DAP", color = "#6495ED", shortname = "",},
["German-Hanoverian Party"] = {abbrev = "DHP", color = "#C5DC74", shortname = "",},
["German-National Party"] = {abbrev = "DNP", color = "#63B8FF", shortname = "",},
["Geroa Bai"] = {abbrev = "GBai", color = "#F75E42", shortname = "",},
["Geroa Socialverdes"] = {abbrev = "", color = "#6B8F36", shortname = "",},
["Gesher (2019 political party)"] = {abbrev = "", color = "#ED0963", shortname = "",},
["Gesher"] = {abbrev = "", color = "#252CAE", shortname = "",},
["Getxoko Udal Kandidatura"] = {abbrev = "", color = "#622D63", shortname = "",},
["Ghana Freedom Party"] = {abbrev = "", color = "#094715", shortname = "",},
["Ghana Union Movement"] = {abbrev = "", color = "#8B0021", shortname = "",},
["Għarb First"] = {abbrev = "GĦ1", color = "black", shortname = "Għarb First",},
["Ghibellines"] = {abbrev = "", color = "#E34234", shortname = "",},
["Gibraltar National Party"] = {abbrev = "", color = "#DF424D", shortname = "National",},
["Gibraltar Social Democrats"] = {abbrev = "", color = "#043967", shortname = "Social Democrats",},
["Gibraltar Socialist Labour Party"] = {abbrev = "", color = "#F5053C", shortname = "Socialist Labour",},
["Gijonese Unity"] = {abbrev = "", color = "#8D6E63", shortname = "",},
["Girchi - More Freedom"] = {abbrev = "", color = "#359239", shortname = "",},
["Girondins"] = {abbrev = "", color = "#6082B6", shortname = "",},
["Glasgow First"] = {abbrev = "", color = "#ff0000", shortname = "",},
["Glór – Voice of the People"] = {abbrev = "", color = "#ff6900", shortname = "Glór",},
["Go on Country – Social Integration Party"] = {abbrev = "", color = "#E62171", shortname = "Go on Country",},
["Go on Country"] = {abbrev = "", color = "#E62171", shortname = "",},
["Goa Forward Party"] = {abbrev = "GFP", color = "#353982", shortname = "",},
["Goa Rajiv Congress Party"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Goa Suraksha Manch"] = {abbrev = "", color = "#E1A95F", shortname = "",},
["Goa Vikas Party"] = {abbrev = "", color = "orange", shortname = "",},
["Goazen Bilbao"] = {abbrev = "", color = "#B90DBB", shortname = "",},
["Golden Dawn (Greece)"] = {abbrev = "ΧΑ", color = "#00022D", shortname = "",},
["Golden Dawn"] = {abbrev = "", color = "black", shortname = "",},
["Golden India Party"] = {abbrev = "", color = "#330000", shortname = "",},
["Golfitenean Action Party"] = {abbrev = "PAGOL", color = "#7DC9FF", shortname = "",},
["Golkar"] = {abbrev = "", color = "#FFD83B", shortname = "",},
["Gomera Group of Independents"] = {abbrev = "", color = "#0C1C94", shortname = "",},
["Gomera Socialist Group"] = {abbrev = "ASG", color = "#B61414", shortname = "",},
["Gondwana Ganatantra Party"] = {abbrev = "GGP", color = "purple", shortname = "",},
["Good (political party)"] = {abbrev = "", color = "#F36900", shortname = "Good",},
["Good Choice and Moderates"] = {abbrev = "", color = "#FF002B", shortname = "",},
["Good Governance Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Good Morning Serbia"] = {abbrev = "DJS", color = "#C4B34E", shortname = "",},
["Good Movement"] = {abbrev = "DR", color = "#F6B331", shortname = "",},
["Good Old Democratic Party"] = {abbrev = "", color = "#365476", shortname = "",},
["Good Party"] = {abbrev = "", color = "#3db5e6", shortname = "",},
["Good Right"] = {abbrev = "BD", color = "#2C6DB3", shortname = "",},
["Good State (Slovenia)"] = {abbrev = "", color = "#015F9C", shortname = "",},
["Gorkha Janmukti Morcha (G)"] = {abbrev = "", color = "#FF6600", shortname = "",},
["Gorkha Janmukti Morcha (T)"] = {abbrev = "", color = "#FF2561", shortname = "",},
["Gorkha Janmukti Morcha"] = {abbrev = "GJM", color = "#049747", shortname = "",},
["Gorkha National Liberation Front"] = {abbrev = "GNLF", color = "#347C17", shortname = "",},
["Gorkha Rashtriya Congress"] = {abbrev = "GRC", color = "#FF0130", shortname = "",},
["Gorkhaland Rajya Nirman Morcha"] = {abbrev = "", color = "#FF0274", shortname = "",},
["Gorran Movement"] = {abbrev = "", color = "#1F1C50", shortname = "Gorran",},
["Government Disciplined Services General Union"] = {abbrev = "", color = "#0000CC", shortname = "",},
["Government of South Korea"] = {abbrev = "", color = "#003865", shortname = "",},
["Government"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Governors of British Ceylon"] = {abbrev = "", color = "#000000", shortname = "",},
["Granada Truth and Democracy"] = {abbrev = "", color = "#E5349E", shortname = "",},
["Grand Alliance (Philippines)"] = {abbrev = "GA", color ="#4F69C6", shortname = "",},
["Grand Alliance for Democracy"] = {abbrev = "GAD", color = "#4169E1", shortname = "",},
["Grand Alliance for National Unity"] = {abbrev = "GANA", color = "#F28900", shortname = "",},
["Grand Democratic Alliance"] = {abbrev = "GDA", color = "#007a4d", shortname = "",},
["Grand Dream Development Party"] = {abbrev = "GDDP", color = "#113673", shortname = "",},
["Grand National Alliance (Dominican Republic)"] = {abbrev = "", color = "#F88379", shortname = "",},
["Grand National Alliance (Guatemala)"] = {abbrev = "GANA", color = "#0047AB", shortname = "",},
["Grand National Party"] = {abbrev = "", color = "#0994DC", shortname = "Grand National",},
["Grand National Party (1997)"] = {abbrev = "", color = "#0000A8", shortname = "Grand National",},
["Grand National Union of Kenya"] = {abbrev = "GNU", color = "Orange", shortname = "",},
["Grand Slam"] = {abbrev = "", color = "#f3e6d7", shortname = "",},
["Grand Unified Democratic New Party"] = {abbrev = "", color = "#FF8200", shortname = "New Democratic",},
["Grassroots Democratic Party (Cambodia)"] = {abbrev = "GDP", color = "#269721", shortname = "",},
["Grassroots Democratic Party of Germany"] = {abbrev = "", color = "#4AA79D", shortname = "dieBasis",},
["Grassroots—Legalize Cannabis Party"] = {abbrev = "", color = "#50C878", shortname = "Grassroots—LC",},
["Grassroots Party"] = {abbrev = "", color = "#50C878", shortname = "Grassroots",},
["Grau Unit"] = {abbrev = "", color = "#078930", shortname = "",},
["Great Azerbaijan Party"] = {abbrev = "BAP", color = "#C72127", shortname = "",},
["Great Consolidated Popular Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Great Fatherland Party"] = {abbrev = "", color = "#B00000", shortname = "Great Fatherland",},
["Great Indonesia Unity Party"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Great Nigeria People's Party"] = {abbrev = "", color = "yellow", shortname = "",},
["Great North"] = {abbrev = "", color = "#0045AA", shortname = "",},
["Great Order Party"] = {abbrev = "", color = "#ED2939", shortname = "Great Order",},
["Great Patriotic Pole"] = {abbrev = "GPP", color = "#F0001C", shortname = "",},
["Great Renewed National Alliance"] = {abbrev = "", color = "orange", shortname = "",},
["Great Unity Party"] = {abbrev = "", color = "#CC5252", shortname = "Büyük Birlik",},
["Greater Dunedin"] = {abbrev = "", color = "#2690C4", shortname = "",},
["Greater German People's Party"] = {abbrev = "GDVP", color = "#0E428E", shortname = "",},
["Greater Moldova Party"] = {abbrev = "", color = "purple", shortname = "",},
["Greater Romania Party"] = {abbrev = "PRM", color = "#0258A4", shortname = "",},
["Greek Ecologists"] = {abbrev = "EO", color = "aquamarine", shortname = "",},
["Greek Radical Movement"] = {abbrev = "", color = "#1E90FF", shortname = "",},
["Greek Rally"] = {abbrev = "", color = "#1935D0", shortname = "",},
["Greek Socialist Party"] = {abbrev = "ESK", color = "#007D44", shortname = "",},
["Greek Solution"] = {abbrev = "EL", color = "#3576CC", shortname = "",},
["Greeks for the Fatherland"] = {abbrev = "", color = "#124285", shortname = "",},
["Green Actions"] = {abbrev = "", color = "#4A7729", shortname = "",},
["Green Algeria Alliance"] = {abbrev = "", color = "#009900", shortname = "Green Alliance",},
["Green Alliance (Colombia)"] = {abbrev = "", color = "#07d400", shortname = "Green Alliance",},
["Green Alliance (Russia)"] = {abbrev = "", color = "#64A20C", shortname = "",},
["Green Alliance (Spain)"] = {abbrev = "", color = "#57AC48", shortname = "",},
["Green Alliance (Switzerland)"] = {abbrev = "", color = "#11BB44", shortname = "Green Alliance",},
["Green Alternative (Hungary)"] = {abbrev = "ZA", color = "#00FF7F", shortname = "",},
["Green Alternative (Russia)"] = {abbrev = "", color = "#00A200", shortname = "",},
["Green Alternative–Ecologist Movement of Catalonia"] = {abbrev = "", color = "#009966", shortname = "",},
["Green Alternative - Sustainable Development of Croatia"] = {abbrev = "ORaH", color = "#869B20", shortname = "",},
["Green and Independent group (Braintree)"] = {abbrev = "G&I", color = "#B2D58F", shortname = "",},
["Green and Liberal Alliance"] = {abbrev = "", color = "#99FF66", shortname = "",},
["Green and Red Canaries"] = {abbrev = "", color = "#CADC0B", shortname = "",},
["Green Animalist Party"] = {abbrev = "", color = "#3B9945", shortname = "Green Animalist",},
["Green Assembly"] = {abbrev = "", color = "#008000", shortname = "",},
["Green Breeze Party"] = {abbrev = "", color = "#008000", shortname = "",},
["Green Coalition"] = {abbrev = "", color = "#18BF89", shortname = "",},
["Green Coalition–Citizen Europe"] = {abbrev = "", color = "#099E40", shortname = "",},
["Green Confederation"] = {abbrev = "", color = "#61BC5F", shortname = "",},
["Green Ecologist Party (Chile)"] = {abbrev = "", color = "#03BF00", shortname = "Green",},
["Green Europe"] = {abbrev = "", color = "#54C160", shortname = "",},
["Green Humane City"] = {abbrev = "", color = "#059948", shortname = "",},
["Green independents"] = {abbrev = "", color = "#10C25B", shortname = "Ind. Green",},
["Green League"] = {abbrev = "", color = "#006845", shortname = "Green",},
["Green Left (Catalonia)"] = {abbrev = "EV", color = "#6DB152", shortname = "",},
["Green Left (Denmark)"] = {abbrev = "", color = "#eb94d1", shortname = "Green Left",},
["Green–Left Front"] = {abbrev = "ZLF", color = "#015E50", shortname = "",},
["Green Left Party"] = {abbrev = "YSP", color = "#388537", shortname = "",},
["Green Left Party (Morocco)"] = {abbrev = "", color = "green", shortname = "",},
["Green Left–Initiative for the Valencian Country"] = {abbrev = "", color = "#00A354", shortname = "",},
["Green Liberal Party of Switzerland"] = {abbrev = "", color = "#b4dc00", shortname = "Green Liberals",},
["Green List"] = {abbrev = "", color = "green", shortname = "",},
["Green List Ecological Initiative"] = {abbrev = "", color = "#8DB600", shortname = "",},
["Green Melilla Platform"] = {abbrev = "", color = "#9CFE67", shortname = "",},
["Green Mountain Peace and Justice Party"] = {abbrev = "", color = "#D6FF33", shortname = "Green Mountain Peace and Justice",},
["Green Movement (Bulgaria)"] = {abbrev = "", color = "#63A83D", shortname = "Green Movement",},
["Green North Regional Force"] = {abbrev = "", color = "#32A12A", shortname = "",},
["Green Party (Brazil)"] = {abbrev = "PV", color = "#006600", shortname = "",},
["Green Party (Czech Republic)"] = {abbrev = "SZ", color = "#60B44C", shortname = "",},
["Green Party (Dominican Republic)"] = {abbrev = "", color = "#008000", shortname = "",},
["Green Party (Ireland)"] = {abbrev = "GP", color = "#22AC6F", shortname = "Green",},
["Green Party (Israel)"] = {abbrev = "", color = "#59E059", shortname = "",},
["Green Party (Norway)"] = {abbrev = "", color = "#6A9325", shortname = "Green",},
["Green Party (Romania)"] = {abbrev = "", color = "#198A3A", shortname = "",},
["Green Party (Serbia)"] = {abbrev = "", color = "#016830", shortname = "",},
["Green Party (Slovakia)"] = {abbrev = "SZ", color = "#00FF00", shortname = "",},
["Green Party (Sweden)"] = {abbrev = "MP", color = "#2B912C", shortname = "Green",},
["Green Party (Thailand)"] = {abbrev = "", color = "#309B4B", shortname = "Green",},
["Green Party (Trinidad and Tobago)"] = {abbrev = "", color = "#377D22", shortname = "Green",},
["Green Party (Turkey)"] = {abbrev = "", color = "#009245", shortname = "",},
["Green Party (UK)"] = {abbrev = "GPUK", color = "#528D6B", shortname = "Green",},
["Green Party (US)"] = {abbrev = "G", color = "#17aa5c", shortname = "Green",},
["Green Party for Progress"] = {abbrev = "", color = "#8CD901", shortname = "",},
["Green Party Korea"] = {abbrev = "", color = "#59B224", shortname = "Green",},
["Green Party Northern Ireland"] = {abbrev = "", color = "#8dc63f", shortname = "Green (NI)",},
["Green Party of Albania"] = {abbrev = "", color = "green", shortname = "",},
["Green Party of Aotearoa New Zealand"] = {abbrev = "", color = "#098137", shortname = "Green",},
["Green Party of Bolivia"] = {abbrev = "PVB", color = "#027E42", shortname = "",},
["Green Party of Bulgaria"] = {abbrev = "", color = "#337E2C", shortname = "",},
["Green Party of Canada"] = {abbrev = "", color = "#99C955", shortname = "Green",},
["Green Party of England and Wales"] = {abbrev = "", color = "#02A95B", shortname = "Green",},
["Green Party of Hong Kong"] = {abbrev = "", color = "#64aa4b", shortname = "Green",},
["Green Party of Hungary"] = {abbrev = "MZP", color = "#58AB27", shortname = "",},
["Green Party of South Africa"] = {abbrev = "", color = "green", shortname = "Green Party",},
["Green Party of Switzerland"] = {abbrev = "", color = "#84B414", shortname = "Greens",},
["Green Party of Timor"] = {abbrev = "", color = "#02A75B", shortname = "Os Verdes",},
["Green Party Solomon Islands"] = {abbrev = "", color = "#00AA4D", shortname = "",},
["Green Party Taiwan"] = {abbrev = "", color = "#3AB483", shortname = "Green",},
["Green Progressive Accord"] = {abbrev = "GPA", color = "#76EE00", shortname = "",},
["Green Regionalist Coalition"] = {abbrev = "", color = "#008000", shortname = "",},
["Green Socialist Party"] = {abbrev = "", color = "green", shortname = "",},
["Green Society"] = {abbrev = "", color = "#74B249", shortname = "",},
["Green Tunisia Party"] = {abbrev = "", color = "green", shortname = "",},
["Green Justice Party"] = {abbrev = "Green Justice", color = "#007C36", shortname = "",},
["Green Wind"] = {abbrev = "", color = "green", shortname = "",},
["Green-Rainbow Party"] = {abbrev = "", color = "#17aa5c", shortname = "Green-Rainbow",},
["Green–Left Coalition"] = {abbrev = "", color = "#B31224", shortname = "",},
["Green"] = {abbrev = "", color = "#99CC33", shortname = "Greens",},
["Greenback Party"] = {abbrev = "GB", color = "#0BDA51", shortname = "Greenback",},
["Greens – Solidarity"] = {abbrev = "", color = "#32cd32", shortname = "Greens",},
["Greens (South Tyrol)"] = {abbrev = "", color = "#6B8E23", shortname = "Greens",},
["Greens (Ukraine)"] = {abbrev = "", color = "#228B22", shortname = "Greens",},
["Greens and Castilians"] = {abbrev = "", color = "#5A9C30", shortname = "",},
["Greens and Eco-pacifists"] = {abbrev = "", color = "#36A119", shortname = "",},
["Greens and Left Alliance"] = {abbrev = "", color = "#BE3457", shortname = "Greens and Left",},
["Greens Equo of the Valencian Country"] = {abbrev = "", color = "#36A119", shortname = "",},
["Greens Equo"] = {abbrev = "", color = "#46922B", shortname = "",},
["Greens Greens"] = {abbrev = "", color = "green", shortname = "",},
["Greens Japan"] = {abbrev = "", color = "#52af45", shortname = "Greens",},
["Greens New South Wales"] = {abbrev = "", color = "#10C25B", shortname = "Greens",},
["Greens of Andorra"] = {abbrev = "Vd'A", color = "#ADFF2F", shortname = "",},
["Greens of Bosnia and Herzegovina"] = {abbrev = "", color = "green", shortname = "",},
["Greens of Burkina"] = {abbrev = "", color = "green", shortname = "",},
["Greens of Serbia"] = {abbrev = "ZS", color = "#059649", shortname = "",},
["Greens of Slovenia"] = {abbrev = "", color = "green", shortname = "",},
["Greens on Åland"] = {abbrev = "", color = "#008000", shortname = "",},
["Greens Party of Georgia"] = {abbrev = "", color = "#26884A", shortname = "Greens",},
["Greens Party of Mozambique"] = {abbrev = "", color = "#64BC44", shortname = "",},
["Greens South Australia"] = {abbrev = "", color = "#00a651", shortname = "Greens",},
["Greens Western Australia"] = {abbrev = "", color = "#00a651", shortname = "Greens",},
["Greens–European Free Alliance"] = {abbrev = "", color = "#57B45F", shortname = "Greens/EFA",},
["Grenada National Party"] = {abbrev = "", color = "green", shortname = "",},
["Grenada Renaissance Party"] = {abbrev = "", color = "#4BACC6", shortname = "",},
["Grenada United Labour Party"] = {abbrev = "", color = "#D50000", shortname = "",},
["Groen (political party)"] = {abbrev = "", color = "#01796F", shortname = "Groen",},
["GroenLinks"] = {abbrev = "GL", color = "#5BC422", shortname = "",},
["GroenLinks–PvdA"] = {abbrev = "GL/PvdA", color = "#DC1F26", shortname = "",},
["Group and Union for the Progress of Almeria"] = {abbrev = "", color = "#005121", shortname = "",},
["Group for La Laguna"] = {abbrev = "", color = "#9F2362", shortname = "",},
["Group of 89"] = {abbrev = "", color = "#0d3b68", shortname = "",},
["Group of Independents of Marratxí"] = {abbrev = "", color = "#6E7096", shortname = "",},
["Group of Independents, Progressives and Nationalists"] = {abbrev = "", color = "#F8C902", shortname = "",},
["Group of Transylvanian Saxons"] = {abbrev = "GST", color = "black", shortname = "",},
["Group Otten"] = {abbrev = "GO", color = "#FAE704", shortname = "",},
["Grouped Independent Neighbors"] = {abbrev = "", color = "#ECD060", shortname = "",},
["Grouped Independents of Ponferrada"] = {abbrev = "", color = "#F78513", shortname = "",},
["Grouped Rural Citizens"] = {abbrev = "", color = "#52CA6B", shortname = "",},
["Grouping to the Service of the Republic"] = {abbrev = "", color = "#6B1F7C", shortname = "",},
["Grup Independent de Son Carrió"] = {abbrev = "", color = "#E46668", shortname = "",},
["Grupo Común da Esquerda"] = {abbrev = "", color = "#6D52C1", shortname = "",},
["Grütli Union"] = {abbrev = "", color = "#FA1360", shortname = "",},
["GSLP–Liberal Alliance"] = {abbrev = "", color = "#D20D13", shortname = "Alliance",},
["Guadeloupe Communist Party"] = {abbrev = "", color = "#DD0000", shortname = "",},
["Guanyant Torrent"] = {abbrev = "", color = "#9A297E", shortname = "",},
["Guanyem Badalona–Badalona En Comú"] = {abbrev = "", color = "#D51D50", shortname = "",},
["Guanyem Catalunya (2020)"] = {abbrev = "", color = "#ED174B", shortname = "",},
["Guanyem Catalunya"] = {abbrev = "", color = "#9F1B3F", shortname = "",},
["Guanyem Eivissa"] = {abbrev = "", color = "#940000", shortname = "",},
["Guanyem Gandia"] = {abbrev = "", color = "#EE1F25", shortname = "",},
["Guanyem Girona"] = {abbrev = "", color = "#B41062", shortname = "",},
["Guanyem L'Hospitalet"] = {abbrev = "", color = "#7B0012", shortname = "",},
["Guanyem les Illes Balears"] = {abbrev = "", color = "#BD0E15", shortname = "",},
["Guanyem Sabadell"] = {abbrev = "", color = "#91030F", shortname = "",},
["Guanyem Tarragona"] = {abbrev = "", color = "#F93620", shortname = "",},
["Guanyem–L'Esquerra Unitària"] = {abbrev = "", color = "#D42B15", shortname = "",},
["Guasú Front"] = {abbrev = "", color = "#BA55D3", shortname = "",},
["Guatemalan Christian Democracy"] = {abbrev = "DCG", color = "#046637", shortname = "",},
["Guatemalan National Revolutionary Unity"] = {abbrev = "URNG", color = "#D79E2D", shortname = "",},
["Guatemalan People's Party"] = {abbrev = "PPG", color = "#2b65af", shortname = "People's Party",},
["Guatemalan Party of Labour"] = {abbrev = "", color = "#DD0000", shortname = "",},
["Guelphs"] = {abbrev = "", color = "#000000", shortname = "",},
["Guianese Socialist Party"] = {abbrev = "PSG", color = "#EA8B9B", shortname = "",},
["Guildford Greenbelt Group"] = {abbrev = "GGG", color = "#006633", shortname = "",},
["Guinea for All"] = {abbrev = "", color = "#299D58", shortname = "",},
["Guinean Patriotic Union"] = {abbrev = "", color = "#2C2F74", shortname = "",},
["Guinean Workers' Party"] = {abbrev = "PTG", color = "#C4272A", shortname = "",},
["Gujarat Parivartan Party"] = {abbrev = "GPP", color = "#FADA5E", shortname = "",},
["Guldborgsundlisten"] = {abbrev = "", color = "#00ffff", shortname = "",},
["Gure Aukera"] = {abbrev = "", color = "#DB005F", shortname = "",},
["Guxo"] = {abbrev = "", color = "#14B0A7", shortname = "",},
["Guyana Action Party"] = {abbrev = "", color = "red", shortname = "",},
["Gwlad Gwlad"] = {abbrev = "", color = "#FF8000", shortname = "",},
["Gwlad"] = {abbrev = "", color = "#FF8000", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
a56ceb295b2fbd1a691c2f71649d65726fd4e7db
Template:Sandbox other
10
1488
3040
3039
2024-03-13T05:24:28Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{#if:{{#ifeq:{{#invoke:String|sublength|s={{SUBPAGENAME}}|i=0|len=7}}|sandbox|1}}{{#ifeq:{{SUBPAGENAME}}|doc|1}}{{#invoke:String|match|{{PAGENAME}}|/sandbox/styles.css$|plain=false|nomatch=}}|{{{1|}}}|{{{2|}}}}}<!--
--><noinclude>{{documentation}}</noinclude>
91e4ae891d6b791615152c1fbc971414961ba872
Template:Documentation subpage
10
1489
3042
3041
2024-03-13T05:24:28Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly><!--
-->{{#ifeq:{{lc:{{SUBPAGENAME}}}} |{{{override|doc}}}
| <!--(this template has been transcluded on a /doc or /{{{override}}} page)-->
</includeonly><!--
-->{{#ifeq:{{{doc-notice|show}}} |show
| {{Mbox
| type = notice
| style = margin-bottom:1.0em;
| image = [[File:Edit-copy green.svg|40px|alt=|link=]]
| text =
{{strong|This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]]}} for {{terminate sentence|{{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}}}<br />It may contain usage information, [[Wikipedia:Categorization|categories]] and other content that is not part of the original {{#if:{{{text2|}}} |{{{text2}}} |{{#if:{{{text1|}}} |{{{text1}}} |{{#ifeq:{{SUBJECTSPACE}} |{{ns:User}} |{{lc:{{SUBJECTSPACE}}}} template page |{{#if:{{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.
}}
}}<!--
-->{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}<!--
-->{{#if:{{{inhibit|}}} |<!--(don't categorize)-->
| <includeonly><!--
-->{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}
| [[Category:{{#switch:{{SUBJECTSPACE}} |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
| [[Category:Documentation subpages without corresponding pages]]
}}<!--
--></includeonly>
}}<!--
(completing initial #ifeq: at start of template:)
--><includeonly>
| <!--(this template has not been transcluded on a /doc or /{{{override}}} page)-->
}}<!--
--></includeonly><noinclude>{{Documentation}}</noinclude>
41ca90af0945442788a2dbd08c8c54a61a23c057
Template:Template link general
10
1490
3044
3043
2024-03-13T05:24:29Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{{{{|safesubst:}}}#Invoke:Template link general|main}}<noinclude>
{{Documentation}}
</noinclude>
9871d2f490eaedd832a0ae8016adbf807ddf7b71
Template:Tlg
10
1491
3046
3045
2024-03-13T05:24:29Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Template link general]]
{{Redirect category shell|
{{R from move}}
}}
707ce913a3ffa8193c9377c3ded7db7b72407500
Module:Political party/M
828
1492
3048
3047
2024-03-13T05:24:30Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- Constant data used by [[Module:Political party]]
local alternate = {
["Macau Business Int"] = "Macau Union of Employers Interests",
["Macau Business Interest Union"] = "Macau Union of Employers Interests",
["Macau professional Interest Union"] = "Macau Union of Professional Interests",
["Madhya Pradesh Congress Committee"] = "Indian National Congress",
["Madrilenian Socialist Federation"] = "Spanish Socialist Workers' Party",
["Magdalo para sa Pilipino"] = "Magdalo Party-List",
["Maghrebin Liberal Party"] = "Maghrebi Republican Party",
["Majorité pour l'autre Europe"] = "Movement for France",
["Makabayang Koalisyon ng Mamamayan"] = "Makabayan",
["Makkal Manadu Katchi"] = "Tamizhaga Murpokku Makkal Katchi",
["Malaysia United People's Party"] = "Malaysian United People's Party",
["Malaysian Workers Party"] = "National Trust Party (Malaysia)",
["Mana Motuhake (political party)"] = "Mana Motuhake",
["Mana Party (New Zealand)"] = "Mana Movement",
["Manipur People's Party"] = "Manipur Peoples Party",
["Maori Party"] = "Te Pāti Māori",
["Māori Party"] = "Te Pāti Māori",
["Marek Hilšer"] = "Marek Hilšer to Senate",
["Marijuana Party (United States)"] = "Marijuana Party (US)",
["Marxist-Leninist Party of Germany"] = "Marxist–Leninist Party of Germany",
["Maryland Democratic Party"] = "Democratic Party (United States)",
["Maryland Green Party"] = "Green Party (US)",
["Maryland Republican Party"] = "Republican Party (United States)",
["Massachusetts Democratic Party"] = "Democratic Party (United States)",
["Maurist Conservatives"] = "Maurist Party",
["Meghalaya Democratic Alliance"] = "Meghalaya Democratic Alliance (2018)",
["MEMO"] = "Solution Movement",
["MFG – Austria People – Freedom – Fundamental Rights"] = "MFG Austria – People Freedom Fundamental Rights",
["Mouvement Militant Mauricien"] = "Mauritian Militant Movement",
["Mauritian Social Democrat Party"] = "Parti Mauricien Social-Démocrate",
["Mexican Laborist Party"] = "Laborist Party (Mexico)",
["Michigan Democratic Party"] = "Democratic Party (United States)",
["Michigan Republican Party"] = "Republican Party (United States)",
["Milan Bandić 365 - The Party of Labour and Solidarity"] = "Bandić Milan 365 – Labour and Solidarity Party",
["Mouvement Socialiste Militant"] = "Militant Socialist Movement",
["Military Rule"] = "Military rule",
["Military"] = "Military rule",
["Mineiro Republican Party"] = "Minas Republican Party",
["Minjoo Party of Korea"] = "Democratic Party of Korea",
["Minnesota Democratic Party"] = "Democratic Party (United States)",
["Minnesota Democratic-Farmer-Labor Party"] = "Minnesota Democratic–Farmer–Labor Party",
["Minnesota Progressive Party"] = "Progressive Party (US)",
["Miscellaneous far left"] = "Far-left",
["Miscellaneous far right"] = "Far-right",
["Miscellaneous Left"] = "Miscellaneous left",
["Miscellaneous Right"] = "Miscellaneous right",
["Missouri Democratic Party"] = "Democratic Party (United States)",
["Missouri Republican Party"] = "Republican Party (United States)",
["MMA"] = "Muttahida Majlis-e-Amal",
["MN"] = "German Minority Electoral Committee",
["Mochrena"] = "Christian Movement for a New Haiti",
["Moderate (Estonia)"] = "Social Democratic Party (Estonia)",
["Moderate Party (Rhode Island)"] = "Moderate Party of Rhode Island",
["Moderate People's Party"] = "Social Democratic Party (Estonia)",
["Moderates (Estonia)"] = "Social Democratic Party (Estonia)",
["Modern"] = "Modern (political party)",
["Mongolian People's Revolutionary Party (old)"] = "Mongolian People's Party",
["Mongolian People's Revolutionary Party"] = "Mongolian People's Party",
["Mongolian Traditionally United Party"] = "Mongolian Traditional United Party",
["Montana Democratic Party"] = "Democratic Party (United States)",
["Montana Republican Party"] = "Republican Party (United States)",
["Montana Libertarian Party"] = "Libertarian Party (US)",
["Moramo (political coalition)"] = "We Must (Serbia)",
["Morena"] = "Morena (political party)",
["Morley Borough Independent"] = "Morley Borough Independents",
["Most-Híd"] = "Most–Híd",
["Motherland (Latvia)"] = "New Harmony (Latvia)",
["Motherland People's Party"] = "Sinhalaye Mahasammatha Bhoomiputra Pakshaya",
["Mouvement Réformateur"] = "Reformist Movement",
["Mouvement Rodriguais"] = "Rodrigues Movement",
["Movement for a People's Party"] = "People's Party (US, 2017)",
["Movement for Autonomies"] = "Movement for Autonomy",
["Movement for Change"] = "Gorran Movement",
["Movement for Democratic Change - Tsvangirai"] = "Movement for Democratic Change – Tsvangirai",
["Movement for Democratic Change (pre-2005)"] = "Movement for Democratic Change (1999–2005)",
["Movement for Democratic Change-Tsvangirai"] = "Movement for Democratic Change – Tsvangirai",
["Movement for Justice"] = "Pakistan Tehreek-e-Insaf",
["Movement for Liberty - European Georgia"] = "European Georgia — Movement for Liberty",
["Movement for Multiparty Democracy"] = "Movement for Multi-Party Democracy",
["Movement for the Development of Mayotte"] = "Miscellaneous right",
["Movement for the Future"] = "Movement for the Future of Curaçao",
["Movement for the Liberation of São Tomé and Príncipe/Social Democratic Party"] = "Movement for the Liberation of São Tomé and Príncipe – Social Democratic Party",
["Movement of Citizens"] = "Citizen and Republican Movement",
["Movement of Democratic Socialists (Greece)"] = "Movement of Democratic Socialists",
["Movement of Ecologists - Citizens' Cooperation"] = "Movement of Ecologists – Citizens' Cooperation",
["Movement of Ecologists — Citizens' Cooperation"] = "Movement of Ecologists – Citizens' Cooperation", -- em dash
["Movement of Radicals of the Left"] = "Radical Party of the Left",
["Movementu 21"] = "Movement 21 (Bonaire)",
["Murcian Socialist Federation"] = "Spanish Socialist Workers' Party",
["Muslim League (Opposition)"] = "All-India Muslim League",
["Muslim National Unity Alliance"] = "National Unity Alliance",
["Muttahida Qaumi Movement-Pakistan"] = "Muttahida Qaumi Movement – Pakistan",
["Muttahida Qaumi Movement–Pakistan"] = "Muttahida Qaumi Movement – Pakistan", -- dash difference
}
local full = {
["M10 (political party)"] = {abbrev = "", color = "#232575", shortname = "",},
["Macao Civic Power"] = {abbrev = "", color = "#FF007F", shortname = "Cívico",},
["Macau Union of Employers Interests"] = {abbrev = "", color = "#EDC2FD", shortname = "",},
["Macau Union of Medical Professional Interests"] = {abbrev = "", color = "#2CADC7", shortname = "",},
["Macau Union of Professional Interests"] = {abbrev = "", color = "#FBCBC7", shortname = "",},
["Macau United Citizens Association"] = {abbrev = "ACUM", color = "#DC143C", shortname = "",},
["Macau-Guangdong Union"] = {abbrev = "UGM", color = "#ED6C10", shortname = "",},
["Macedonian Alliance for European Integration"] = {abbrev = "", color = "red", shortname = "",},
["Machrouu Tounes"] = {abbrev = "", color = "#000000", shortname = "",},
["Madem G15"] = {abbrev = "", color = "#01A35A", shortname = "",},
["Madheshi Jana Adhikar Forum, Nepal"] = {abbrev = "MJF-N", color = "orangered", shortname = "",},
["Madheshi Jana Adhikar Forum, Nepal (Loktantrik)"] = {abbrev = "MJAF(L)", color = "lightgreen", shortname = "",},
["Madrid En Pie"] = {abbrev = "", color = "#86073A", shortname = "",},
["Madrilenian Independent Regional Party"] = {abbrev = "", color = "#FA641B", shortname = "",},
["Maendeleo Chap Chap Party"] = {abbrev = "MCC", color = "#632F91", shortname = "",},
["Maendeleo Democratic Party"] = {abbrev = "MDP", color = "#03F601", shortname = "",},
["Magdalo Party-List"] = {abbrev = "", color = "#DC143C", shortname = "Magdalo",},
["Maghrebi Republican Party"] = {abbrev = "", color = "#2B5D29", shortname = "",},
["Magtymguly Youth Organisation of Turkmenistan"] = {abbrev = "TMÃ G", color = "#367A00", shortname = "",},
["Magyar Party (Romania)"] = {abbrev = "PM", color = "#2e502d", shortname = "",},
["Maha Vikas Aghadi"] = {abbrev = "MVA", color = "#1C89B7", shortname = "",},
["Mahachon Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Mahagathbandhan (Bihar)"] = {abbrev = "MGB", color = "#1E6914", shortname = "",},
["Mahagathbandhan (Jharkhand)"] = {abbrev = "MGB", color = "#1E6914", shortname = "",},
["Mahagujarat Janta Party"] = {abbrev = "MJP", color = "#FFFFF5", shortname = "",},
["Mahajana Eksath Peramuna (1956)"] = {abbrev = "MEP", color = "#0000FF", shortname = "Mahajana Eksath Peramuna",},
["Mahajana Eksath Peramuna"] = {abbrev = "MEP", color = "#FF0000", shortname = "",},
["Mahajana Socialist Party"] = {abbrev = "", color = "blue", shortname = "",},
["Mahajot (Assam)"] = {abbrev = "UOF", color = "#52FFCC", shortname = "",},
["Mahan Dal"] = {abbrev = "MD", color = "#330066", shortname = "",},
["Maharashtra Ekikaran Samiti"] = {abbrev = "MES", color = "#FF9933", shortname = "",},
["Maharashtra Navnirman Sena"] = {abbrev = "MNS", color = "#5F2301", shortname = "",},
["Maharashtra Parivartan Sena (T)"] = {abbrev = "", color = "#FF9933", shortname = "",},
["Maharashtra Rajiv Congress"] = {abbrev = "", color = "#9966CC", shortname = "",},
["Maharashtra Swabhiman Paksha"] = {abbrev = "MSHP", color = "#FFA500", shortname = "",},
["Maharashtrawadi Gomantak Party"] = {abbrev = "MGP", color = "#AF7050", shortname = "",},
["Maharlika People's Party"] = {abbrev = "MPP", color = "#000040", shortname = "",},
["Máis Galiza"] = {abbrev = "", color = "#2F9A26", shortname = "",},
["Majadahonda Centrists"] = {abbrev = "", color = "#146F4C", shortname = "",},
["Majd Movement"] = {abbrev = "", color = "#00529F", shortname = "",},
["Majdoor Kisan Union Party"] = {abbrev = "MKUP", color = "#81BEF7", shortname = "",},
["Majlis Bachao Tahreek"] = {abbrev = "", color = "#9900CC", shortname = "",},
["Majlis Wahdat-e-Muslimeen"] = {abbrev = "MWM", color = "#0B9A51", shortname = "",},
["Majorcan Union"] = {abbrev = "UM", color = "#333583", shortname = "",},
["Majorera Assembly"] = {abbrev = "AM", color = "#284BAF", shortname = "",},
["Majorero Progressive Party"] = {abbrev = "", color = "#3C6C06", shortname = "",},
["Makabayan"] = {abbrev = "", color = "#29176E", shortname = "",},
["Makatizens United Party"] = {abbrev = "MKTZNU", color = "#1F51FF", shortname = "",},
["Make Politicians History"] = {abbrev = "", color = "#FFC0CB", shortname = "",},
["Maki (historical political party)"] = {abbrev = "", color = "#FF524D", shortname = "Maki",},
["Maki (political party)"] = {abbrev = "", color = "#cb1a1d", shortname = "Maki",},
["Makkal Needhi Maiam"] = {abbrev = "MNM", color = "#900C3F", shortname = "",},
["Makkal Sevai Katchi"] = {abbrev = "", color = "#006060", shortname = "",},
["Makkal Tamil Desam Katchi"] = {abbrev = "MTD", color = "#006060", shortname = "",},
["Málaga Ahora"] = {abbrev = "", color = "#3EA9A7", shortname = "",},
["Málaga for Yes"] = {abbrev = "", color = "#0087BF", shortname = "",},
["Malagasy Revolutionary Party"] = {abbrev = "AREMA", color = "#BB0102", shortname = "",},
["Malawi Congress Party"] = {abbrev = "MCP", color = "#FF0000", shortname = "",},
["Malayan Chinese Association"] = {abbrev = "MCA", color = "#EFCC00", shortname = "",},
["Malayan Party"] = {abbrev = "", color = "black", shortname = "",},
["Malayan Peoples' Socialist Front"] = {abbrev = "", color = "#C00000", shortname = "Socialist Front",},
["Malayang Kilusan ng Mamamayang Zambaleño"] = {abbrev = "", color = "#3344FF", shortname = "MAKIMAZA",},
["Malaysia Makkal Sakti Party"] = {abbrev = "MMSP", color = "orange", shortname = "",},
["Malaysia National Alliance Party"] = {abbrev = "", color = "#CD2122", shortname = "",},
["Malaysian Chinese Association"] = {abbrev = "MCA", color = "#102a7e", shortname = "",},
["Malaysian Democratic Party"] = {abbrev = "MDP", color = "#0000FF", shortname = "",},
["Malaysian Indian Congress"] = {abbrev = "MIC", color = "#00A988", shortname = "",},
["Malaysian Indian Muslim Congress"] = {abbrev = "", color = "#FFCC00", shortname = "",},
["Malaysian Indian United Party"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Malaysian Islamic Party"] = {abbrev = "", color = "#009000", shortname = "",},
["Malaysian Nationalist Party"] = {abbrev = "NASMA", color = "", shortname = "",},
["Malaysian Social Justice Party"] = {abbrev = "PEKEMAS", color = "#C00000", shortname = "",},
["Malaysian United Democratic Alliance"] = {abbrev = "MUDA", color = "#000000", shortname = "",},
["Malaysian United Indigenous Party"] = {abbrev = "", color = "#E62020", shortname = "",},
["Malaysian United Party"] = {abbrev = "", color = "#F617D4", shortname = "",},
["Malaysian United People's Party"] = {abbrev = "MUPP", color = "#F2D8D8", shortname = "",},
["Maldives Development Alliance"] = {abbrev = "MDA", color = "#DB5702", shortname = "",},
["Maldivian Democratic Party"] = {abbrev = "MDP", color = "#ffcc33", shortname = "",},
["Maldon and District Independent Democratic Alliance"] = {abbrev = "MDIDA", color = "MediumOrchid", shortname = "",},
["Maldon District Independent Group"] = {abbrev = "MDIG", color = "#985FF0", shortname = "Maldon Independents",},
["Malian Union for the African Democratic Rally"] = {abbrev = "", color = "#000000", shortname = "",},
["Malta Workers Party"] = {abbrev = "", color = "#B87333", shortname = "Workers",},
["Maltese Political Union"] = {abbrev = "", color = "#00AD06", shortname = "",},
["Malvern Hills Independents"] = {abbrev = "", color = "pink", shortname = "MH Independents",},
["Mana Māori Movement"] = {abbrev = "", color = "#964B00", shortname = "Mana Māori",},
["Mana Motuhake"] = {abbrev = "", color = "#C32148", shortname = "",},
["Mana Movement"] = {abbrev = "", color = "#770808", shortname = "Mana",},
["Mana Party"] = {abbrev = "", color = "#7C0808", shortname = "",},
["Mana Wahine Te Ira Tangata"] = {abbrev = "", color = "#964B00", shortname = "Mana Wahine",},
["Manav Kalyan Sangh Dal"] = {abbrev = "MKSD", color = "#333300", shortname = "",},
["Manav Samaj Party"] = {abbrev = "MSP", color = "#F2F2F2", shortname = "",},
["Manchegan Regionalist Party"] = {abbrev = "", color = "#DC143C", shortname = "",},
["Manipur Hills Union"] = {abbrev = "", color = "#400080", shortname = "",},
["Manipur Peoples Party"] = {abbrev = "MPP", color = "#99CC99", shortname = "",},
["Manipur State Congress Party"] = {abbrev = "MSCP", color = "#99CC99", shortname = "",},
["Manithaneya Makkal Katchi"] = {abbrev = "MNMK", color = "lime", shortname = "",},
["Manko Taxawu Sénégal"] = {abbrev = "MTS", color = "#FF8040", shortname = "",},
["Mansfield Independent Forum"] = {abbrev = "MIF", color = "#DDDDDD", shortname = "Mansfield Independent",},
["Mantra Bhakta Party"] = {abbrev = "MBP", color = "#FAAC58", shortname = "",},
["Manx Labour Party"] = {abbrev = "", color = "#DC241f", shortname = "Manx Labour",},
["Mapai"] = {abbrev = "", color = "#AD0101", shortname = "",},
["Mapam"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Marada Movement"] = {abbrev = "", color = "#02CB00", shortname = "",},
["Maraland Democratic Front"] = {abbrev = "", color = "#FF8822", shortname = "",},
["March 14 Alliance"] = {abbrev = "M14th", color = "#d61a21", shortname = "M14th",},
["March 26 Movement"] = {abbrev = "", color = "#E34234", shortname = "",},
["March 8 Alliance"] = {abbrev = "44263", color = "#FF6000", shortname = "",},
["Marcus Garvey People's Political Party"] = {abbrev = "MGPPP", color = "black", shortname = "",},
["Marea Ártabra"] = {abbrev = "", color = "#009AA5", shortname = "",},
["Marea Atlántica"] = {abbrev = "", color = "#009FE3", shortname = "",},
["Marea de Ferrol"] = {abbrev = "", color = "#4EA602", shortname = "",},
["Marea de Vigo"] = {abbrev = "", color = "#C53374", shortname = "",},
["Marea Galeguista"] = {abbrev = "", color = "#205C78", shortname = "",},
["Marea Pontevedra"] = {abbrev = "", color = "#0085BE", shortname = "",},
["Marematlou Freedom Party"] = {abbrev = "MFP", color = "#1bb5a4", shortname = "",},
["Marek Hilšer to Senate"] = {abbrev = "MHS", color = "#87CEFA", shortname = "",},
["Marijuana Party (US)"] = {abbrev = "", color = "#50C878", shortname = "Marijuana",},
["Marijuana Party"] = {abbrev = "", color = "#50C878", shortname = "",},
["Marijuana Reform Party"] = {abbrev = "", color = "#50C878", shortname = "Marijuana Reform",},
["Martinican Communist Party"] = {abbrev = "", color = "#DD0000", shortname = "",},
["Martinican Democratic Rally"] = {abbrev = "RDM", color = "#FFD1DC", shortname = "",},
["Martinican Independence Movement"] = {abbrev = "MIM", color = "#d53736", shortname = "",},
["Martinican Progressive Party"] = {abbrev = "PPM", color = "#ef4836", shortname = "",},
["Martinican Regionalist Party"] = {abbrev = "", color = "#FFCC33", shortname = "",},
["Martists"] = {abbrev = "", color = "#5BAF50", shortname = "Martist",},
["Marumalarchi Dravida Munnetra Kazhagam"] = {abbrev = "MDMK", color = "#FC0000", shortname = "",},
["Marxist Co-ordination Committee"] = {abbrev = "MCC", color = "#c24e4e", shortname = "",},
["Marxist Co-Ordination"] = {abbrev = "", color = "#B22222", shortname = "",},
["Marxist Communist Party of India (S.S. Srivastava)"] = {abbrev = "MCPI(S)", color = "#990099", shortname = "",},
["Marxist Communist Party of India (United)"] = {abbrev = "", color = "red", shortname = "",},
["Marxist Forward Bloc"] = {abbrev = "MFB", color = "red", shortname = "",},
["Marxist Party of Armenia"] = {abbrev = "", color = "red", shortname = "",},
["Marxist–Leninist Communist Party of Greece"] = {abbrev = "M-L KKE", color = "#D71920", shortname = "",},
["Marxist–Leninist Communist Party of Venezuela"] = {abbrev = "", color = "Red", shortname = "",},
["Marxist–Leninist Party of Austria"] = {abbrev = "MLPÖ", color = "red", shortname = "",},
["Marxist–Leninist Party of Germany"] = {abbrev = "MLPD", color = "#FF0000", shortname = "",},
["Marxist–Leninist Popular Action Movement"] = {abbrev = "", color = "red", shortname = "",},
["Más Andalucía"] = {abbrev = "", color = "#445A1A", shortname = "",},
["Más Costa Tropical"] = {abbrev = "", color = "#095B2D", shortname = "",},
["Más Eivissa"] = {abbrev = "", color = "#D60014", shortname = "",},
["Más Granada"] = {abbrev = "", color = "#9D3B23", shortname = "",},
["Más Madrid"] = {abbrev = "", color = "#45BB89", shortname = "",},
["Más País"] = {abbrev = "", color = "#0FDEC4", shortname = "",},
["Más para Entre Ríos"] = {abbrev = "", color = "#A31212", shortname = "",},
["Más Ponferrada"] = {abbrev = "", color = "#B55B8B", shortname = "",},
["MAS Region"] = {abbrev = "", color = "crimson", shortname = "",},
["Mass Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Massachusetts Republican Party"] = {abbrev = "", color = "#ff3300", shortname = "Republican",},
["Masyumi Party"] = {abbrev = "", color = "#000000", shortname = "Masyumi",},
["Matubhum Party"] = {abbrev = "", color = "#0000FF", shortname = "",},
["Mauri Pacific"] = {abbrev = "", color = "#003153", shortname = "",},
["Maurin Kiribati Party"] = {abbrev = "MKP", color = "#48D1CC", shortname = "",},
["Maurist Party"] = {abbrev = "", color = "#0063B6", shortname = "Maurist",},
["Maurists–Ciervists"] = {abbrev = "", color = "#1959AA", shortname = "",},
["Mauritian Militant Movement"] = {abbrev = "MMM", color = "#800080", shortname = "",},
["Mauritanian Party for Renewal"] = {abbrev = "PMR", color = "#6DC2F9", shortname = "",},
["Mauritanian Party of Union and Change"] = {abbrev = "HATEM", color = "#4BB9F2", shortname = "",},
["Mauritanian People's Party"] = {abbrev = "", color = "#006233", shortname = "",},
["Mauritanian Popular Front"] = {abbrev = "", color = "#FDD003", shortname = "",},
["Mauritanian Regroupment Party"] = {abbrev = "", color = "#009F6B", shortname = "",},
["Mauritian Militant Socialist Movement"] = {abbrev = "", color = "red", shortname = "",},
["Mauritian Party of Xavier-Luc Duval"] = {abbrev = "", color = "#0000CD", shortname = "",},
["Mauritian Solidarity Front"] = {abbrev = "", color = "green", shortname = "",},
["Mavambo/Kusile/Dawn"] = {abbrev = "", color = "yellow", shortname = "",},
["Mayor 4 Stoke"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Mayors and Independents"] = {abbrev = "STAN", color = "#CD0F69", shortname = "",},
["Mayors for the Liberec Region"] = {abbrev = "SLK", color = "#804e96", shortname = "",},
["Mazingira Green Party of Kenya"] = {abbrev = "", color = "#009926", shortname = "",},
["McGillicuddy Serious Party"] = {abbrev = "", color = "#FFC0CB", shortname = "McGillicuddy Serious",},
["Mebyon Kernow"] = {abbrev = "", color = "#d5c229", shortname = "",},
["Medrek"] = {abbrev = "", color = "#503335", shortname = "",},
["Meeting Point"] = {abbrev = "", color = "#04770a", shortname = "",},
["Meghalaya Democratic Alliance (2018)"] = {abbrev = "MDA", color = "#006081", shortname = "",},
["Meimad"] = {abbrev = "", color = "#3BABA3", shortname = "",},
["Mejor Vargas Lleras"] = {abbrev = "", color = "#2E3191", shortname = "",},
["Mekenchil"] = {abbrev = "", color = "#1F4B99", shortname = "",},
["Mekenim Kyrgyzstan"] = {abbrev = "", color = "#FFCF06", shortname = "",},
["Melanesian Alliance Party"] = {abbrev = "MAP", color = "#C78919", shortname = "",},
["Melanesian Liberal Party"] = {abbrev = "MLP", color = "#326D93", shortname = "",},
["Melanesian Progressive Party"] = {abbrev = "MPP", color = "#DE3938", shortname = "Melanesian Progressive",},
["Melanesian Progressive Union"] = {abbrev = "UPM", color = "#CC3300", shortname = "",},
["Melillan People's Union"] = {abbrev = "", color = "#0A1555", shortname = "",},
["MELS Movement of Botswana"] = {abbrev = "MELS", color = "red", shortname = "",},
["Memel Agricultural Party"] = {abbrev = "MLP", color = "lightgreen", shortname = "",},
["Menorcan Independent Candidacy"] = {abbrev = "", color = "#B0B0B0", shortname = "",},
["Menorcan Party"] = {abbrev = "", color = "#00D1D1", shortname = "",},
["Menorcan Union"] = {abbrev = "", color = "#10308D", shortname = "",},
["Mensch Im Mittelpunkt"] = {abbrev = "MIM", color = "#9B2A58", shortname = "",},
["Menschliche Welt"] = {abbrev = "", color = "#ee6600", shortname = "",},
["Menshevik"] = {abbrev = "", color = "#ED1B34", shortname = "",},
["MeRA25"] = {abbrev = "", color = "#EF3F24", shortname = "",},
["Merab Kostava Society"] = {abbrev = "", color = "#751133", shortname = "",},
["Mercian Nationalist Party"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Meretz"] = {abbrev = "", color = "#40AE49", shortname = "",},
["Meretz (2022)"] = {abbrev = "", color = "#23E164", shortname = "",},
["Meri (political party)"] = {abbrev = "", color = "#FF3A3A", shortname = "Meri",},
["Mérida Participa"] = {abbrev = "", color = "#5D225A", shortname = "",},
["Merindades of Castile Initiative"] = {abbrev = "", color = "#335DA3", shortname = "",},
["Merit and Society Movement"] = {abbrev = "", color = "#00B4C8", shortname = "",},
["Merton Park Ward Residents Association"] = {abbrev = "", color = "#9f0fc8", shortname = "Merton Park Residents",},
["Més Compromís"] = {abbrev = "", color = "#DA5C31", shortname = "",},
["Més Esquerra"] = {abbrev = "", color = "#DACE5D", shortname = "",},
["Més Gandia"] = {abbrev = "", color = "#D6502B", shortname = "",},
["Més per Mallorca"] = {abbrev = "Més", color = "#D8DE40", shortname = "",},
["Més per Menorca"] = {abbrev = "MpM", color = "#BCD500", shortname = "",},
["Més–Compromís"] = {abbrev = "", color = "#FF6600", shortname = "",},
["Metapolitical Unitary Movement"] = {abbrev = "", color = "#FC0FC0", shortname = "",},
["Mexborough First"] = {abbrev = "", color = "#000000", shortname = "",},
["Mexican Communist Party"] = {abbrev = "PCM", color = "Red", shortname = "",},
["Mexican Democratic Party"] = {abbrev = "PDM", color = "#CC0000", shortname = "",},
["Mexican Liberal Party"] = {abbrev = "", color = "#CE1126", shortname = "",},
["Mexican Liberal Party (2003)"] = {abbrev = "PLM", color = "#d48a49", shortname = "",},
["MFG Austria – People Freedom Fundamental Rights"] = {abbrev = "MFG", color = "#4E4E4E", shortname = "",},
["MGR Anna Dravida Munnetra Kazhagam"] = {abbrev = "MADMK", color = "maroon", shortname = "",},
["MGR Thonderkal Katchi"] = {abbrev = "", color = "slategray", shortname = "MGR Thonderkal",},
["Mi Pais (political party)"] = {abbrev = "", color = "#00A5DD", shortname = "",},
["Middle Class Party"] = {abbrev = "", color = "#FFFF66", shortname = "",},
["Middle Class Party (Belgium)"] = {abbrev = "", color = "#0000A0", shortname = "Middle Class",},
["Middle Class Union"] = {abbrev = "", color = "#70147A", shortname = "",},
["Middle European Class"] = {abbrev = "", color = "#2E239D", shortname = "",},
["Middleton Independents Party"] = {abbrev = "", color = "#ffcc00", shortname = "Middleton Ind."},
["Middlewich First"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Midroad-Populist Party"] = {abbrev = "", color = "#CCFFCC", shortname = "Midroad-Populist",},
["MIGATO"] = {abbrev = "", color = "#1DA1F2", shortname = "",},
["Mighty Fatherland"] = {abbrev = "", color = "black", shortname = "",},
["Mijas Neighborhood Movement"] = {abbrev = "", color = "#5AD181", shortname = "",},
["Militant (Trotskyist group)"] = {abbrev = "", color = "#ED1941", shortname = "Militant Labour",},
["Militant Elvis Anti-Tesco Popular Front"] = {abbrev = "", color = "#FF00FF", shortname = "",},
["Militant Labour"] = {abbrev = "", color = "#ED1941", shortname = "",},
["Militant Left (Ireland)"] = {abbrev = "", color = "#DC241F", shortname = "Militant Left",},
["Militant Socialist Movement"] = {abbrev = "MSM", color = "#FF8C00", shortname = "",},
["Military (Brazil)"] = {abbrev = "", color = "#808000", shortname = "Military",},
["Military (Italy)"] = {abbrev = "", color = "#C3B091", shortname = "",},
["Military (Japan)"] = {abbrev = "", color = "#808080", shortname = "",},
["Military of Guinea-Bissau"] = {abbrev = "FARP", color = "#C3B091", shortname = "",},
["Military of São Tomé and Príncipe"] = {abbrev = "", color = "#C3B091", shortname = "",},
["Military rule"] = {abbrev = "", color = "#C3B091", shortname = "Military",},
["Millat Party"] = {abbrev = "MP", color = "red", shortname = "",},
["Millennium Democratic Party"] = {abbrev = "", color = "#00AA7B", shortname = "Millennium Democratic",},
["Mindanao Alliance"] = {abbrev = "", color = "#008000", shortname = "",},
["Mindoro Bago Sarili"] = {abbrev = "MBS", color = "#F09042", shortname = "",},
["Ministerialist"] = {abbrev = "", color = "darkblue", shortname = "",},
["Minjoo Party (2014)"] = {abbrev = "", color = "#FFCA08", shortname = "",},
["Minjung Party"] = {abbrev = "", color = "#f26522", shortname = "Minjung",},
["Minkuotang"] = {abbrev = "", color = "#FCC800", shortname = "",},
["Minnesota Democratic–Farmer–Labor Party"] = {abbrev = "", color = "#0055AA", shortname = "Democratic (DFL)",},
["Minnesota Farmer–Labor Party"] = {abbrev = "", color = "#66FF99", shortname = "Farmer–Labor",},
["Minnesota Open Progressive Party"] = {abbrev = "", color = "#CCFF33", shortname = "",},
["Minnesota Pirate Party"] = {abbrev = "", color = "#572b85", shortname = "",},
["Minor Sea Independent Party"] = {abbrev = "", color = "#808040", shortname = "",},
["Minorities' Party"] = {abbrev = "", color = "#000000", shortname = "",},
["Minority Front"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Minority Party (Denmark)"] = {abbrev = "", color = "#FF0800", shortname = "",},
["Minsaeng Party"] = {abbrev = "", color = "#00A85F", shortname = "Minsaeng",},
["Mintō (liberal parties)"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Mirae Party"] = {abbrev = "", color = "#2E3192", shortname = "Mirae",},
["Mișcarea Politică Unirea"] = {abbrev = "", color = "#8CD7F6", shortname = "",},
["Miscellaneous centre"] = {abbrev = "DVC", color = "#fcdaa8", shortname = "",},
["Miscellaneous"] = {abbrev = "DIV", color = "#CECECE", shortname = "",},
["Miscellaneous Green"] = {abbrev = "ECO", color = "#8FBC8F", shortname = "",},
["Miscellaneous left"] = {abbrev = "DVG", color = "#FFC0C0", shortname = "",},
["Miscellaneous right"] = {abbrev = "DVD", color = "#ADC1FD", shortname = "",},
["Mission Party"] = {abbrev = "", color = "#17C307", shortname = "Mission",},
["Mississippi Democratic Party"] = {abbrev = "", color = "#3333FF", shortname = "Democratic",},
["Mississippi Freedom Democratic Party"] = {abbrev = "", color = "#3333FF", shortname = "Mississippi Freedom Democratic",},
["Mississippi Republican Party"] = {abbrev = "", color = "#E81B23", shortname = "Republican",},
["Mixed Group"] = {abbrev = "GM", color = "#C0C0C0", shortname = "",},
["Mizo National Front"] = {abbrev = "MNF", color = "#2E5694", shortname = "",},
["Mizo Union"] = {abbrev = "", color = "#FFFF00", shortname = "",},
["Mizoram People's Conference"] = {abbrev = "MPC", color = "#FD7793", shortname = "",},
["Mizrachi (political party)"] = {abbrev = "", color = "#37658C", shortname = "Mizrachi",},
["Moderate (London)"] = {abbrev = "", color = "#0087DC", shortname = "Moderate",},
["Moderate Coalition for Åland"] = {abbrev = "", color = "#0095DA", shortname = "Moderate Coalition",},
["Moderate Liberal Party"] = {abbrev = "", color = "#BAE666", shortname = "Moderate Liberal",},
["Moderate Opposition"] = {abbrev = "", color = "#b070ad", shortname = "Moderate",},
["Moderate Party (Brazil)"] = {abbrev = "", color = "#E9FFDB", shortname = "Moderate",},
["Moderate Party (Illinois)"] = {abbrev = "", color = "#66023C", shortname = "Moderate",},
["Moderate Party (Italy)"] = {abbrev = "", color = "#1E87B2", shortname = "",},
["Moderate Party (Spain)"] = {abbrev = "", color = "#1060AF", shortname = "Moderate",},
["Moderate Party of Rhode Island"] = {abbrev = "", color = "#9CCECF", shortname = "Moderate",},
["Moderate Party"] = {abbrev = "M", color = "#019CDB", shortname = "Moderate",},
["Moderate Republicans (France, 1848–1870)"] = {abbrev = "", color = "#FF7F50", shortname = "Republican",},
["Moderate Venstre (Denmark)"] = {abbrev = "", color = "#3333A2", shortname = "Moderate Venstre",},
["Moderates (Denmark)"] = {abbrev = "", color = "#B48CD2", shortname = "Moderates",},
["Moderates (Italy)"] = {abbrev = "", color = "#008ECE", shortname = "Moderates",},
["Moderates (Scotland)"] = {abbrev = "", color = "#5555FF", shortname = "Moderates",},
["Moderates of Åland"] = {abbrev = "", color = "#72cced", shortname = "Moderates",},
["Moderation and Development Party"] = {abbrev = "MDP", color = "#B666D2", shortname = "",},
["Modern (political party)"] = {abbrev = ".N", color = "#005CA9", shortname = "",},
["Modern Centre Party"] = {abbrev = "", color = "#000099", shortname = "",},
["Modern Christian-Democratic Union"] = {abbrev = "MKD", color = "#FF9E23", shortname = "",},
["Modern Egypt Party"] = {abbrev = "", color = "#EB264D", shortname = "",},
["Modern Equality Party"] = {abbrev = "", color = "#eee8aa", shortname = "",},
["Modern Hungary Movement"] = {abbrev = "MoMa", color = "#007DC0", shortname = "",},
["Modern Left"] = {abbrev = "LGM", color = "#A83578", shortname = "",},
["Modern People's Party"] = {abbrev = "MPP", color = "#FFFFFF", shortname = "",},
["Modern Revolutionary Party"] = {abbrev = "", color = "#00416A", shortname = "",},
["Modern Whig Party"] = {abbrev = "", color = "#FF7F00", shortname = "Modern Whig",},
["Modrí, Most – Híd"] = {abbrev = "", color = "#002E74", shortname = "",},
["Moked"] = {abbrev = "", color = "#DC241F", shortname = "",},
["Moledet"] = {abbrev = "", color = "#000080", shortname = "",},
["Momentum (organisation)"] = {abbrev = "", color = "#CC0000", shortname = "Labour (Momentum)",},
["Momentum Movement"] = {abbrev = "", color = "#8E6FCE", shortname = "Momentum",},
["Mon National Party"] = {abbrev = "MNP", color = "#ED2124", shortname = "",},
["Mon Unity Party"] = {abbrev = "MUP", color = "#C13830", shortname = "",},
["Monarchiens"] = {abbrev = "", color = "#1C39BB", shortname = "",},
["Monarchist Action League"] = {abbrev = "", color = "#266F91", shortname = "",},
["Monarchist Cause"] = {abbrev = "CM", color = "#014A94", shortname = "",},
["Monarchist Coalition (Spain)"] = {abbrev = "", color = "#003E70", shortname = "",},
["Monarchist Democratic Party"] = {abbrev = "", color = "#4FA937", shortname = "Democratic",},
["Monarchist National Party"] = {abbrev = "", color = "#4B61D1", shortname = "",},
["Monarchy of Cambodia"] = {abbrev = "", color = "#FFDF00", shortname = "",},
["Monegasque National Union"] = {abbrev = "UNM", color = "#D21116", shortname = "",},
["Monetary Reform Party"] = {abbrev = "MRP", color = "#777777", shortname = "Monetary Reform",},
["Money Reform Party"] = {abbrev = "", color = "#997A8D", shortname = "Money Reform",},
["Mongol National Organisation"] = {abbrev = "", color = "#008080", shortname = "",},
["Mongolian Democratic Party (1990)"] = {abbrev = "", color = "#074da9", shortname = "Democratic",},
["Mongolian Green Party"] = {abbrev = "", color = "green", shortname = "Green",},
["Mongolian National Progress Party"] = {abbrev = "", color = "#006994", shortname = "",},
["Mongolian People's Party"] = {abbrev = "MPP", color = "#ED1B34", shortname = "",},
["Mongolian People's Revolutionary Party (2010)"] = {abbrev = "MPRP", color = "#FE001A", shortname = "",},
["Mongolian Republican Party"] = {abbrev = "", color = "#800080", shortname = "Republican",},
["Mongolian Social Democratic Party"] = {abbrev = "MSDP", color = "#1C5CAC", shortname = "",},
["Mongolian Traditional United Party"] = {abbrev = "", color = "#085CB6", shortname = "",},
["Monise Laafai"] = {abbrev = "", color = "#DDDDDD", shortname = "",},
["Monitor Action Group"] = {abbrev = "", color = "blue", shortname = "",},
["Monster Raving Loony William Hill Party"] = {abbrev = "", color = "hotpink", shortname = "Monster Raving Loony",},
["Montenegrin Federalist Party"] = {abbrev = "", color = "darkgreen", shortname = "",},
["Montenegrin Party"] = {abbrev = "CP", color = "#E31E25", shortname = "",},
["Montserrat Labour Party"] = {abbrev = "", color = "red", shortname = "",},
["Moovendar Munnetra Kazhagam"] = {abbrev = "", color = "Pink", shortname = "",},
["Moral Vanguard of the Fatherland"] = {abbrev = "VMP", color = "yellow", shortname = "",},
["Morality, Initiative and Patriotism"] = {abbrev = "MIP", color = "#009168", shortname = "",},
["Moravané"] = {abbrev = "", color = "#FFE101", shortname = "",},
["Moravian Democratic Party"] = {abbrev = "MDS", color = "#00ffff", shortname = "",},
["Moravian Land Movement"] = {abbrev = "", color = "#FFDF10", shortname = "",},
["More Europe"] = {abbrev = "", color = "gold", shortname = "",},
["More for Telde"] = {abbrev = "", color = "#08669A", shortname = "",},
["More Galicia"] = {abbrev = "", color = "#0191C6", shortname = "",},
["More Than One Citizen Platform of Guadalajara"] = {abbrev = "", color = "#99CF16", shortname = "",},
["Morecambe Bay Independents"] = {abbrev = "MBI", color = "#000000", shortname = "MB Independent",},
["Morena (political party)"] = {abbrev = "", color = "#C0311A", shortname = "MORENA",},
["Morley Borough Independents"] = {abbrev = "", color = "#006600", shortname = "",},
["Moroccan Communist Party"] = {abbrev = "", color = "red", shortname = "Communist",},
["Moroccan Liberal Party"] = {abbrev = "", color = "#C58E34", shortname = "",},
["Moroccan Union for Democracy"] = {abbrev = "", color = "#CD1237", shortname = "",},
["Moroccan Workers' Union"] = {abbrev = "", color = "#0160B2", shortname = "",},
["Most–Híd"] = {abbrev = "", color = "#F58120", shortname = "Most-Híd",},
["Mostolenian Socialism"] = {abbrev = "", color = "#962016", shortname = "",},
["Motherland Defenders Party"] = {abbrev = "PZV", color = "#E30B5C", shortname = "",},
["Motherland Party (Azerbaijan)"] = {abbrev = "", color = "#022F56", shortname = "Motherland",},
["Motherland Party (Mongolia)"] = {abbrev = "", color = "yellow", shortname = "Motherland",},
["Motherland Party (Turkey)"] = {abbrev = "AP", color = "#FFD300", shortname = "",},
["Motril Dice"] = {abbrev = "", color = "#21A199", shortname = "",},
["Mountain Party"] = {abbrev = "", color = "#004b24", shortname = "Mountain",},
["Mouvement Action Socialiste"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Mouvement Authentique Mauricien"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Mouvement des Citoyens pour le Changement"] = {abbrev = "", color = "#0897A7", shortname = "",},
["Mouvement Franciste"] = {abbrev = "", color = "darkblue", shortname = "",},
["Mouvement Libérateur"] = {abbrev = "", color = "#FFFFFF", shortname = "",},
["Mouvement Mauricien Sociale Démocrate"] = {abbrev = "", color = "#00BFFF", shortname = "",},
["Mouvement National Congolais"] = {abbrev = "", color = "#0047AB", shortname = "",},
["Move Forward Party"] = {abbrev = "", color = "#FF7F2A", shortname = "Move Forward",},
["Movem Reus"] = {abbrev = "", color = "#71B223", shortname = "",},
["Movement 21"] = {abbrev = "D21", color = "#824D99", shortname = "",},
["Movement 21 (Bonaire)"] = {abbrev = "M21", color = "#FF808B", shortname = "",},
["Movement 88"] = {abbrev = "", color = "#AA0088", shortname = "",},
["Movement Against Illegal Immigration"] = {abbrev = "DPNI", color = "#A2070F", shortname = "",},
["Movement for a Democratic Slovakia"] = {abbrev = "HZDS", color = "#00CCFF", shortname = "",},
["Movement for a Europe of Liberties and Democracy"] = {abbrev = "MELD", color = "#007A89", shortname = "",},
["Movement for a Europe of Nations and Freedom"] = {abbrev = "", color = "#26428B", shortname = "",},
["Movement for a Responsible, Sustainable and Entrepreneurial Venezuela"] = {abbrev = "MOVERSE", color = "#64A704", shortname = "",},
["Movement for an Equal Public Model"] = {abbrev = "", color = "#2a4b98", shortname = "",},
["Movement for Autonomous Democracy–Party for Moravia and Silesia"] = {abbrev = "HSD–SMS", color = "#FF9999", shortname = "",},
["Movement for Autonomy"] = {abbrev = "", color = "#00CCCC", shortname = "",},
["Movement for Benalmádena"] = {abbrev = "", color = "#18A6B1", shortname = "",},
["Movement for Change (Greece)"] = {abbrev = "KINAL", color = "#179045", shortname = "",},
["Movement for Change and Prosperity"] = {abbrev = "MCAP", color = "#FFFF01", shortname = "",},
["Movement for Changes"] = {abbrev = "PzP", color = "#0D70B1", shortname = "",},
["Movement for Constitutional Freedoms"] = {abbrev = "MLS", color = "#FFFF00", shortname = "",},
["Movement for Democracy (Cape Verde)"] = {abbrev = "MpD", color = "#01C700", shortname = "",},
["Movement for Democracy (Slovakia)"] = {abbrev = "HZD", color = "#79B6D7", shortname = "",},
["Movement for Democracy and Development (Central African Republic)"] = {abbrev = "", color = "#191970", shortname = "",},
["Movement for Democracy and Growth"] = {abbrev = "MDG", color = "#003F1D", shortname = "",},
["Movement for Democracy and Progress (Comoros)"] = {abbrev = "MDP", color = "", shortname = "",},
["Movement for Democracy and Progress (Niger)"] = {abbrev = "MDP-Alkawali", color = "green", shortname = "",},
["Movement for Democracy and Reconstruction"] = {abbrev = "MDR", color = "#71A1D1", shortname = "",},
["Movement for Democratic Change – Mutambara"] = {abbrev = "MDC-M", color = "#FF7F00", shortname = "",},
["Movement for Democratic Change – Ncube"] = {abbrev = "MDC–N", color = "#1EDD1E", shortname = "",},
["Movement for Democratic Change – Tsvangirai"] = {abbrev = "MDC–T", color = "#DC241f", shortname = "",},
["Movement for Democratic Change (1999–2005)"] = {abbrev = "MDC", color = "#DC241f", shortname = "",},
["Movement for Democratic Change (prior to 2005)"] = {abbrev = "MDC", color = "#DC241f", shortname = "",},
["Movement for Democratic Change Alliance"] = {abbrev = "", color = "#ed1c24", shortname = "",},
["Movement for Democratic Change"] = {abbrev = "", color = "#DC241f", shortname = "",},
["Movement for Democratic Renewal and Development"] = {abbrev = "", color = "#333399", shortname = "",},
["Movement for Dignity and Citizenship"] = {abbrev = "MDyC", color = "#2D2D2D", shortname = "",},
["Movement for Dignity and Independence"] = {abbrev = "", color = "#FFEF00", shortname = "",},
["Movement for Economic Change"] = {abbrev = "MEC", color = "#1F4398", shortname = "",},
["Movement for Economic Empowerment"] = {abbrev = "MOVEE", color = "", shortname = "",},
["Movement for European Reform"] = {abbrev = "MER", color = "#30455e", shortname = "",},
["Movement for France"] = {abbrev = "MPF", color = "#8040C0", shortname = "",},
["Movement for Grassroots Democracy"] = {abbrev = "MGD", color = "#FFFDD0", shortname = "",},
["Movement for Humanist Socialism"] = {abbrev = "", color = "#FFEA3F", shortname = "",},
["Movement for Multi-Party Democracy"] = {abbrev = "MMD", color = "#0064FF", shortname = "",},
["Movement for National Development (Trinidad and Tobago)"] = {abbrev = "MND", color = "#2A60AA", shortname = "",},
["Movement for National Development"] = {abbrev = "", color = "#2D276C", shortname = "",},
["Movement for National Reform"] = {abbrev = "MRN", color = "#C1CC6F", shortname = "",},
["Movement for People's Unity–Republicans"] = {abbrev = "", color = "#DA251C", shortname = "",},
["Movement for Piedmontese Regional Autonomy"] = {abbrev = "MARP", color = "#6578DC", shortname = "",},
["Movement for Prague 11"] = {abbrev = "HPP11", color = "#FECC00", shortname = "",},
["Movement for Progressive Change"] = {abbrev = "", color = "#008000", shortname = "",},
["Movement for Reconstruction of Poland"] = {abbrev = "ROP", color = "#BD0934", shortname = "",},
["Movement for Reversal"] = {abbrev = "PZP", color = "#F7801D", shortname = "",},
["Movement for Rights and Freedoms"] = {abbrev = "DPS", color = "#0066B7", shortname = "",},
["Movement for Social Democracy"] = {abbrev = "EDEK", color = "#164f46", shortname = "",},
["Movement for Social Justice"] = {abbrev = "MSJ", color = "#27AAE1", shortname = "",},
["Movement for Socialism (Bolivia)"] = {abbrev = "MAS-IPSP", color = "#143A83", shortname = "",},
["Movement for Socialism (Venezuela)"] = {abbrev = "", color = "DarkOrange", shortname = "Movement for Socialism",},
["Movement for Sovereignty"] = {abbrev = "", color = "#1B63AB", shortname = "",},
["Movement for the Defence of the Republic"] = {abbrev = "MDR", color = "#BEE4E5", shortname = "",},
["Movement for the Future of Curaçao"] = {abbrev = "MFK", color = "#01A7FF", shortname = "",},
["Movement for the Independence of Sicily"] = {abbrev = "MIS", color = "#FFEB3B", shortname = "",},
["Movement for the Liberation of Peoples"] = {abbrev = "MLP", color = "#EC0408", shortname = "",},
["Movement for the Liberation of São Tomé and Príncipe – Social Democratic Party"] = {abbrev = "MLSTP–PSD", color = "#00AD06", shortname = "",},
["Movement for the Liberation of the Central African People"] = {abbrev = "MLPC", color = "#15A247", shortname = "",},
["Movement for the Liberation of the Congo"] = {abbrev = "MLC", color = "blue", shortname = "",},
["Movement for the Progress of Madagascar"] = {abbrev = "", color = "red", shortname = "",},
["Movement for the Renewal of Social Zionism"] = {abbrev = "", color = "#1C2969", shortname = "",},
["Movement for the Restoration of the Kingdom of Serbia"] = {abbrev = "POKS", color = "#4169E1", shortname = "",},
["Movement for the Social Evolution of Black Africa"] = {abbrev = "MESAN", color = "black", shortname = "",},
["Movement for the Unity of the Canarian People"] = {abbrev = "", color = "#60B16B", shortname = "",},
["Movement for Tolerance and Progress"] = {abbrev = "", color = "red", shortname = "",},
["Movement for Unification"] = {abbrev = "LB", color = "black", shortname = "",},
["Movement For!"] = {abbrev = "", color = "#FFF200", shortname = "",},
["Movement in Support of the Army"] = {abbrev = "DPA", color = "#7C273A", shortname = "",},
["Movement Now"] = {abbrev = "Liik", color = "#ae2375", shortname = "",},
["Movement of Action in Solidarity"] = {abbrev = "", color = "#FF0000", shortname = "",},
["Movement of Centrist Republicans"] = {abbrev = "", color = "#133366", shortname = "",},
["Movement of Democratic Action"] = {abbrev = "PDA", color = "#8fbc8f", shortname = "",},
["Movement of Democratic Integration"] = {abbrev = "", color = "#FF9000", shortname = "",},
["Movement of Democratic Socialists"] = {abbrev = "", color = "#E70C21", shortname = "",},
["Movement of Ecologists – Citizens' Cooperation"] = {abbrev = "KOSP", color = "#0A9748", shortname = "",},
["Movement of Free Citizens (Algeria)"] = {abbrev = "MCL", color = "", shortname = "",},
["Movement of Free Citizens (Serbia)"] = {abbrev = "PSG", color = "#63C3D0", shortname = "",},
["Movement of Growth Objectors"] = {abbrev = "", color = "#BB0000", shortname = "",},
["Movement of Independent Citizens of São Tomé and Príncipe"] = {abbrev = "", color = "black", shortname = "",},
["Movement of Independents for the Harmonious Development of Municipalities and Cities"] = {abbrev = "HNHRM", color = "pink", shortname = "",},
["Movement of Militant Muslims"] = {abbrev = "MMM", color = "#FFE4E1", shortname = "",},
["Movement of National Solidarity"] = {abbrev = "MSN", color = "lightgreen", shortname = "",},
["Movement of National Understanding"] = {abbrev = "MEN", color = "#006b00", shortname = "",},
["Movement of New Forces"] = {abbrev = "RNS", color = "#0068ae", shortname = "",},
["Movement of Popular Participation"] = {abbrev = "", color = "#E34234", shortname = "",},
["Movement of Progressives"] = {abbrev = "MDP", color = "#9C005E", shortname = "",},
["Movement of Socialist Democrats"] = {abbrev = "", color = "SeaGreen", shortname = "",},
["Movement of Socialist Left"] = {abbrev = "MES", color = "Red", shortname = "",},
["Movement of Socialists"] = {abbrev = "PS", color = "#E62020", shortname = "",},
["Movement of Society for Peace"] = {abbrev = "MSP", color = "#009900", shortname = "",},
["Movement of the First"] = {abbrev = "", color = "#FD4F4A", shortname = "",},
["Movement of Unity"] = {abbrev = "MU", color = "#90BF43", shortname = "",},
["Movement Party (France)"] = {abbrev = "", color = "#FB607F", shortname = "",},
["Movement to Defend the Pancasila"] = {abbrev = "GPPS", color = "#FFA500", shortname = "",},
["Movement We Are Venezuela"] = {abbrev = "", color = "#621E7B", shortname = "",},
["Movemento pola Base"] = {abbrev = "", color = "#1B9EE4", shortname = "",},
["Movementu Kousa Promé"] = {abbrev = "", color = "#C24483", shortname = "",},
["Movementu Progresivo"] = {abbrev = "", color = "#D4306B", shortname = "",},
["MOVER (political party)"] = {abbrev = "", color = "#438b44", shortname = "MOVER",},
["Mover Parla"] = {abbrev = "", color = "#9BBB59", shortname = "",},
["Moviment Patrijotti Maltin"] = {abbrev = "", color = "#FF4000", shortname = "",},
["Movimiento al Socialismo (Argentina)"] = {abbrev = "MAS", color = "#FE3A3B", shortname = "Movement for Socialism",},
["Movimiento Construye"] = {abbrev = "", color = "#000080", shortname = "Construye",},
["Movimiento Nacional"] = {abbrev = "", color = "#708090", shortname = "National Movement",},
["Movimiento Unión Soberanista"] = {abbrev = "", color = "#66CCCC", shortname = "",},
["Movimiento Victoria Ciudadana"] = {abbrev = "MVC", color = "#E0A230", shortname = "Citizens' Victory",},
["MPLA"] = {abbrev = "", color = "#CE0921", shortname = "",},
["Mudiraj Rashtriya Samithi"] = {abbrev = "", color = "#996666", shortname = "",},
["Muhajir Qaumi Movement (Haqiqi)"] = {abbrev = "MQM-H", color = "red", shortname = "",},
["Muintir na hÉireann"] = {abbrev = "", color = "#8032CC", shortname = "",},
["Mukt Bharat"] = {abbrev = "", color = "#00FF33", shortname = "",},
["Municipal Assemblies of Fuerteventura"] = {abbrev = "", color = "#0806AF", shortname = "",},
["Municipal Independent Platform of Villalbilla"] = {abbrev = "", color = "#FBED06", shortname = "",},
["Municipal Reform Party"] = {abbrev = "", color = "#0087DC", shortname = "Municipal Reform",},
["Municipal Unity 9"] = {abbrev = "", color = "#FF5F00", shortname = "",},
["Municipalists for Change"] = {abbrev = "", color = "#73969B", shortname = "",},
["Murba Party"] = {abbrev = "", color = "#ffe5e5", shortname = "Murba",},
["Murcian Regionalist Party"] = {abbrev = "", color = "#CE9A00", shortname = "",},
["Mureran Democratic Convergence"] = {abbrev = "", color = "#033780", shortname = "",},
["Musavat"] = {abbrev = "", color = "#3BB9FF", shortname = "",},
["Muslim Bosniak Organisation"] = {abbrev = "", color = "green", shortname = "",},
["Muslim Brotherhood in Egypt"] = {abbrev = "", color = "#009900", shortname = "",},
["Muslim Brotherhood of Syria"] = {abbrev = "", color = "#009900", shortname = "",},
["Muslim Brotherhood"] = {abbrev = "", color = "#009900", shortname = "",},
["Muslim Committee of Action"] = {abbrev = "", color = "green", shortname = "",},
["Muslim League (Qayyum)"] = {abbrev = "", color = "green", shortname = "",},
["Muslim League (Pakistan)"] = {abbrev = "ML", color = "#006600", shortname = "",},
["Muslim League Kerala State Committee"] = {abbrev = "MUL", color = "green", shortname = "",},
["Muslim League"] = {abbrev = "", color = "#00CCCC", shortname = "",},
["Muslim People's Party of Malaysia"] = {abbrev = "HAMIM", color = "", shortname = "",},
["Muslim People's Republican Party"] = {abbrev = "MPRP", color = "#A7E3A3", shortname = "",},
["Muslim Union Party"] = {abbrev = "MUP", color = "#32CD32", shortname = "",},
["Mustaqbil Pakistan"] = {abbrev = "", color = "blue", shortname = "",},
["Mutahida Deeni Mahaz"] = {abbrev = "MDM", color = "#FFFFFF", shortname = "",},
["Muttahida Majlis-e-Amal"] = {abbrev = "MMA", color = "#004000", shortname = "",},
["Muttahida Qabail Party"] = {abbrev = "MQP", color = "#40E0D0", shortname = "",},
["Muttahida Qaumi Movement – London"] = {abbrev = "MQM", color = "#C80000", shortname = "",},
["Muttahida Qaumi Movement – Pakistan"] = {abbrev = "MQM-P", color = "#be1212", shortname = "",},
["Muttahida Qaumi Movement"] = {abbrev = "MQM", color = "#C80000", shortname = "",},
["Muttahidoon"] = {abbrev = "", color = "#0D4E76", shortname = "",},
["Muungano Party"] = {abbrev = "MP", color = "#254306", shortname = "",},
["My Family"] = {abbrev = "MF", color = "#00ec03", shortname = "",},
["My Homeland Kyrgyzstan"] = {abbrev = "", color = "", shortname = "Mekenim Kyrgyzstan",},
["My Step Alliance"] = {abbrev = "", color = "#ED1A24", shortname = "",},
["My Vote Counts!"] = {abbrev = "", color = "#CD5C5C", shortname = "",},
["Myanmar Farmers Development Party"] = {abbrev = "", color = "#F01A26", shortname = "",},
["Myanmar National Congress"] = {abbrev = "MNC", color = "#ED1E24", shortname = "",},
}
return {
full = full,
alternate = alternate,
}
f544bd8095c9a65a55c45cc4b284e9450b023809
Template:High-use
10
1493
3050
3049
2024-03-13T05:24:30Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{#invoke:High-use|main|1={{{1|}}}|2={{{2|}}}|info={{{info|}}}|demo={{{demo|}}}|form={{{form|}}}|expiry={{{expiry|}}}|system={{{system|}}}}}<noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage; interwiki links go to Wikidata, thank you! -->
</noinclude>
a3322d1bd47ac03df14fa2090855cff4fede9bc7
Template:TemplateData header
10
1494
3052
3051
2024-03-13T05:24:30Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<div class="templatedata-header">{{#if:{{{noheader|}}}|<!--
noheader:
-->{{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}|<!--
+header:
-->This is the {{#if:{{{nolink|}}}|<!--
+header, nolink TD
-->TemplateData|<!--
+header, +link [[TD]]; DEFAULT:
-->[[Wikipedia:TemplateData|TemplateData]]}}<!--
e.o. #if:nolink; DEFAULT:
--> for this template used by [[mw:Extension:TemplateWizard|TemplateWizard]], [[Wikipedia:VisualEditor|VisualEditor]] and other tools. {{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}<!--
e.o. #if:noheader
-->}}
'''TemplateData for {{{1|{{BASEPAGENAME}}}}}'''
</div><includeonly><!--
check parameters
-->{{#invoke:Check for unknown parameters|check
|unknown={{template other|1=[[Category:Pages using TemplateData header with unknown parameters|_VALUE_]]}}
|template=Template:TemplateData header
|1 |nolink |noheader
|preview=<div class="error" style="font-weight:normal">Unknown parameter '_VALUE_' in [[Template:TemplateData header]].</div>
}}<!--
-->{{template other|{{sandbox other||
[[Category:Templates using TemplateData]]
}}}}</includeonly><!--
--><noinclude>{{Documentation}}</noinclude>
748b89c815a11e78b365c5617460ea569f3f96cb
Template:Template parameter usage
10
1495
3054
3053
2024-03-13T05:24:31Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{#switch:{{{label|}}}
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|S|s}}ee a monthly parameter usage report] for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|this template}} in articles{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|P|p}}arameter usage report]{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{#ifeq:{{yesno-no|{{{lc}}}}}|no|P|p}}arameter usage report] for {{#if:{{{1|}}}|[[Template:{{ROOTPAGENAME:{{{1|}}}}}]]|[[Template:{{ROOTPAGENAME}}]]}}{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}.
|#default=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{{label|}}}]{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}
}}<noinclude>
{{documentation}}
</noinclude>
83e574f5e031df639a2cdcef5b91d6b1094ae648
Module:High-use
828
1496
3056
3055
2024-03-13T05:24:31Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
local p = {}
-- _fetch looks at the "demo" argument.
local _fetch = require('Module:Transclusion_count').fetch
local yesno = require('Module:Yesno')
function p.num(frame, count)
if count == nil then
if yesno(frame.args['fetch']) == false then
if (frame.args[1] or '') ~= '' then count = tonumber(frame.args[1]) end
else
count = _fetch(frame)
end
end
-- Build output string
local return_value = ""
if count == nil then
if frame.args[1] == "risk" then
return "a very large number of"
else
return "many"
end
else
-- Use 2 significant figures for smaller numbers and 3 for larger ones
local sigfig = 2
if count >= 100000 then
sigfig = 3
end
-- Prepare to round to appropriate number of sigfigs
local f = math.floor(math.log10(count)) - sigfig + 1
-- Round and insert "approximately" or "+" when appropriate
if (frame.args[2] == "yes") or (mw.ustring.sub(frame.args[1],-1) == "+") then
-- Round down
return_value = string.format("%s+", mw.getContentLanguage():formatNum(math.floor( (count / 10^(f)) ) * (10^(f))) )
else
-- Round to nearest
return_value = string.format("approximately %s", mw.getContentLanguage():formatNum(math.floor( (count / 10^(f)) + 0.5) * (10^(f))) )
end
-- Insert percentage of pages if that is likely to be >= 1% and when |no-percent= not set to yes
if count and count > 250000 and not yesno (frame:getParent().args['no-percent']) then
local percent = math.floor( ( (count/frame:callParserFunction('NUMBEROFPAGES', 'R') ) * 100) + 0.5)
if percent >= 1 then
return_value = string.format("%s pages, or roughly %s%% of all", return_value, percent)
end
end
end
return return_value
end
-- Actions if there is a large (greater than or equal to 100,000) transclusion count
function p.risk(frame)
if frame.args[1] == "risk" then
return "risk"
else
local count = _fetch(frame)
if count and count >= 100000 then
return "risk"
end
end
return ""
end
function p.text(frame, count)
-- Only show the information about how this template gets updated if someone
-- is actually editing the page and maybe trying to update the count.
local bot_text = (frame:preprocess("{{REVISIONID}}") == "") and "\n\n----\n'''Preview message''': Transclusion count updated automatically ([[Template:High-use/doc#Technical details|see documentation]])." or ''
if count == nil then
if yesno(frame.args['fetch']) == false then
if (frame.args[1] or '') ~= '' then count = tonumber(frame.args[1]) end
else
count = _fetch(frame)
end
end
local title = mw.title.getCurrentTitle()
if title.subpageText == "doc" or title.subpageText == "sandbox" then
title = title.basePageTitle
end
local systemMessages = frame.args['system']
if frame.args['system'] == '' then
systemMessages = nil
end
-- This retrieves the project URL automatically to simplify localiation.
local templateCount = ('on [https://linkcount.toolforge.org/index.php?project=%s&page=%s %s pages]'):format(
mw.title.getCurrentTitle():fullUrl():gsub('//(.-)/.*', '%1'),
mw.uri.encode(title.fullText), p.num(frame, count))
local used_on_text = "'''This " .. (mw.title.getCurrentTitle().namespace == 828 and "Lua module" or "template") .. ' is used ';
if systemMessages then
used_on_text = used_on_text .. systemMessages ..
((count and count > 2000) and ("''', and " .. templateCount) or ("'''"))
else
used_on_text = used_on_text .. templateCount .. "'''"
end
local sandbox_text = ("%s's [[%s/sandbox|/sandbox]] or [[%s/testcases|/testcases]] subpages, or in your own [[%s]]. "):format(
(mw.title.getCurrentTitle().namespace == 828 and "module" or "template"),
title.fullText, title.fullText,
mw.title.getCurrentTitle().namespace == 828 and "Module:Sandbox|module sandbox" or "Wikipedia:User pages#SUB|user subpage"
)
local infoArg = frame.args["info"] ~= "" and frame.args["info"]
if (systemMessages or frame.args[1] == "risk" or (count and count >= 100000) ) then
local info = systemMessages and '.<br/>Changes to it can cause immediate changes to the Wikipedia user interface.' or '.'
if infoArg then
info = info .. "<br />" .. infoArg
end
sandbox_text = info .. '<br /> To avoid major disruption' ..
(count and count >= 100000 and ' and server load' or '') ..
', any changes should be tested in the ' .. sandbox_text ..
'The tested changes can be added to this page in a single edit. '
else
sandbox_text = (infoArg and ('.<br />' .. infoArg .. ' C') or ' and c') ..
'hanges may be widely noticed. Test changes in the ' .. sandbox_text
end
local discussion_text = systemMessages and 'Please discuss changes ' or 'Consider discussing changes '
if frame.args["2"] and frame.args["2"] ~= "" and frame.args["2"] ~= "yes" then
discussion_text = string.format("%sat [[%s]]", discussion_text, frame.args["2"])
else
discussion_text = string.format("%son the [[%s|talk page]]", discussion_text, title.talkPageTitle.fullText )
end
return used_on_text .. sandbox_text .. discussion_text .. " before implementing them." .. bot_text
end
function p.main(frame)
local count = nil
if yesno(frame.args['fetch']) == false then
if (frame.args[1] or '') ~= '' then count = tonumber(frame.args[1]) end
else
count = _fetch(frame)
end
local image = "[[File:Ambox warning yellow.svg|40px|alt=Warning|link=]]"
local type_param = "style"
local epilogue = ''
if frame.args['system'] and frame.args['system'] ~= '' then
image = "[[File:Ambox important.svg|40px|alt=Warning|link=]]"
type_param = "content"
local nocat = frame:getParent().args['nocat'] or frame.args['nocat']
local categorise = (nocat == '' or not yesno(nocat))
if categorise and not mw.title.getCurrentTitle().isRedirect then
epilogue = frame:preprocess('{{Sandbox other||{{#switch:{{#invoke:Effective protection level|{{#switch:{{NAMESPACE}}|File=upload|#default=edit}}|{{FULLPAGENAME}}}}|sysop|templateeditor|interfaceadmin=|#default=[[Category:Pages used in system messages needing protection]]}}}}')
end
elseif (frame.args[1] == "risk" or (count and count >= 100000)) then
image = "[[File:Ambox warning orange.svg|40px|alt=Warning|link=]]"
type_param = "content"
end
if frame.args["form"] == "editnotice" then
return frame:expandTemplate{
title = 'editnotice',
args = {
["image"] = image,
["text"] = p.text(frame, count),
["expiry"] = (frame.args["expiry"] or "")
}
} .. epilogue
else
return require('Module:Message box').main('ombox', {
type = type_param,
image = image,
text = p.text(frame, count),
expiry = (frame.args["expiry"] or "")
}) .. epilogue
end
end
return p
e22649bbbdf0185575aade09174113873db5066a
Module:Transclusion count
828
1497
3058
3057
2024-03-13T05:24:32Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
local p = {}
function p.fetch(frame)
local template = nil
local return_value = nil
-- Use demo parameter if it exists, otherswise use current template name
local namespace = mw.title.getCurrentTitle().namespace
if frame.args["demo"] and frame.args["demo"] ~= "" then
template = mw.ustring.gsub(frame.args["demo"],"^[Tt]emplate:","")
elseif namespace == 10 then -- Template namespace
template = mw.title.getCurrentTitle().text
elseif namespace == 828 then -- Module namespace
template = (mw.site.namespaces[828].name .. ":" .. mw.title.getCurrentTitle().text)
end
-- If in template or module namespace, look up count in /data
if template ~= nil then
namespace = mw.title.new(template, "Template").namespace
if namespace == 10 or namespace == 828 then
template = mw.ustring.gsub(template, "/doc$", "") -- strip /doc from end
template = mw.ustring.gsub(template, "/sandbox$", "") -- strip /sandbox from end
local index = mw.ustring.sub(mw.title.new(template).text,1,1)
local status, data = pcall(function ()
return(mw.loadData('Module:Transclusion_count/data/' .. (mw.ustring.find(index, "%a") and index or "other")))
end)
if status then
return_value = tonumber(data[mw.ustring.gsub(template, " ", "_")])
end
end
end
-- If database value doesn't exist, use value passed to template
if return_value == nil and frame.args[1] ~= nil then
local arg1=mw.ustring.match(frame.args[1], '[%d,]+')
if arg1 and arg1 ~= '' then
return_value = tonumber(frame:callParserFunction('formatnum', arg1, 'R'))
end
end
return return_value
end
-- Tabulate this data for [[Wikipedia:Database reports/Templates transcluded on the most pages]]
function p.tabulate(frame)
local list = {}
for i = 65, 91 do
local data = mw.loadData('Module:Transclusion count/data/' .. ((i == 91) and 'other' or string.char(i)))
for name, count in pairs(data) do
table.insert(list, {mw.title.new(name, "Template").fullText, count})
end
end
table.sort(list, function(a, b)
return (a[2] == b[2]) and (a[1] < b[1]) or (a[2] > b[2])
end)
local lang = mw.getContentLanguage();
for i = 1, #list do
list[i] = ('|-\n| %d || [[%s]] || %s\n'):format(i, list[i][1]:gsub('_', ' '), lang:formatNum(list[i][2]))
end
return table.concat(list)
end
return p
000ef6bcbf7b66e727870b0c300c4009da300513
Module:Lua banner
828
1498
3060
3059
2024-03-13T05:24:32Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- This module implements the {{lua}} template.
local yesno = require('Module:Yesno')
local mList = require('Module:List')
local mTableTools = require('Module:TableTools')
local mMessageBox = require('Module:Message box')
local p = {}
function p.main(frame)
local origArgs = frame:getParent().args
local args = {}
for k, v in pairs(origArgs) do
v = v:match('^%s*(.-)%s*$')
if v ~= '' then
args[k] = v
end
end
return p._main(args)
end
function p._main(args)
local modules = mTableTools.compressSparseArray(args)
local box = p.renderBox(modules)
local trackingCategories = p.renderTrackingCategories(args, modules)
return box .. trackingCategories
end
function p.renderBox(modules)
local boxArgs = {}
if #modules < 1 then
boxArgs.text = '<strong class="error">Error: no modules specified</strong>'
else
local moduleLinks = {}
for i, module in ipairs(modules) do
moduleLinks[i] = string.format('[[:%s]]', module)
local maybeSandbox = mw.title.new(module .. '/sandbox')
if maybeSandbox.exists then
moduleLinks[i] = moduleLinks[i] .. string.format(' ([[:%s|sandbox]])', maybeSandbox.fullText)
end
end
local moduleList = mList.makeList('bulleted', moduleLinks)
local title = mw.title.getCurrentTitle()
if title.subpageText == "doc" then
title = title.basePageTitle
end
if title.contentModel == "Scribunto" then
boxArgs.text = 'This module depends on the following other modules:' .. moduleList
else
boxArgs.text = 'This template uses [[Wikipedia:Lua|Lua]]:\n' .. moduleList
end
end
boxArgs.type = 'notice'
boxArgs.small = true
boxArgs.image = '[[File:Lua-Logo.svg|30px|alt=|link=]]'
return mMessageBox.main('mbox', boxArgs)
end
function p.renderTrackingCategories(args, modules, titleObj)
if yesno(args.nocat) then
return ''
end
local cats = {}
-- Error category
if #modules < 1 then
cats[#cats + 1] = 'Lua templates with errors'
end
-- Lua templates category
titleObj = titleObj or mw.title.getCurrentTitle()
local subpageBlacklist = {
doc = true,
sandbox = true,
sandbox2 = true,
testcases = true
}
if not subpageBlacklist[titleObj.subpageText] then
local protCatName
if titleObj.namespace == 10 then
local category = args.category
if not category then
local categories = {
['Module:String'] = 'Templates based on the String Lua module',
['Module:Math'] = 'Templates based on the Math Lua module',
['Module:BaseConvert'] = 'Templates based on the BaseConvert Lua module',
['Module:Citation/CS1'] = 'Templates based on the Citation/CS1 Lua module'
}
category = modules[1] and categories[modules[1]]
category = category or 'Lua-based templates'
end
cats[#cats + 1] = category
protCatName = "Templates using under-protected Lua modules"
elseif titleObj.namespace == 828 then
protCatName = "Modules depending on under-protected modules"
end
if not args.noprotcat and protCatName then
local protLevels = {
autoconfirmed = 1,
extendedconfirmed = 2,
templateeditor = 3,
sysop = 4
}
local currentProt
if titleObj.id ~= 0 then
-- id is 0 (page does not exist) if am previewing before creating a template.
currentProt = titleObj.protectionLevels["edit"][1]
end
if currentProt == nil then currentProt = 0 else currentProt = protLevels[currentProt] end
for i, module in ipairs(modules) do
if module ~= "WP:libraryUtil" then
local moduleProt = mw.title.new(module).protectionLevels["edit"][1]
if moduleProt == nil then moduleProt = 0 else moduleProt = protLevels[moduleProt] end
if moduleProt < currentProt then
cats[#cats + 1] = protCatName
break
end
end
end
end
end
for i, cat in ipairs(cats) do
cats[i] = string.format('[[Category:%s]]', cat)
end
return table.concat(cats)
end
return p
03ec1b34a40121efc562c0c64a67ebbf57d56dff
Template:Lua
10
1499
3062
3061
2024-03-13T05:24:32Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#invoke:Lua banner|main}}</includeonly><noinclude>
{{Lua|Module:Lua banner}}
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
dba3962144dacd289dbc34f50fbe0a7bf6d7f2f7
Template:Clc
10
1500
3064
3063
2024-03-13T05:24:33Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
#REDIRECT [[Template:Category link with count]]
02280e2ab57b544236e11f913e3759c5781ca9d5
Template:Category link with count
10
1501
3066
3065
2024-03-13T05:24:33Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
[[:Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|<!--
-->{{#if:{{{name|}}}|{{{name}}}|Category:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}}}<!--
-->]] ({{PAGESINCATEGORY:{{#invoke:string|replace|1={{{1}}}|2=^:?[Cc]ategory:|3=|plain=false}}|{{{2|all}}}}})<noinclude>
{{Documentation}}
</noinclude>
f93f1540b8c157703bd6d24ae35c35bef745981d
Template:Microformat message
10
1502
3068
3067
2024-03-13T05:24:33Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
The [[Help:HTML in wikitext|HTML mark-up]] produced by this template includes {{#if:{{{type|}}} |{{{type}}} |an [[{{{format}}} microformat]]}} that makes {{{data}}} readily [[Parsing|parsable]] by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit [[Wikipedia:WikiProject Microformats|the Microformat WikiProject]].<!--
-->{{#if:{{{subtemplates<includeonly>|</includeonly>}}}
| <div style="margin-top:0.5em;margin-bottom:0.65em;">
; {{large|Subtemplates}}
{{{subtemplates}}}
'''''Please do not remove instances of these subtemplates.'''''
</div>}}<!--
-->{{#if:{{{subsection1|}}}
| <div style="margin-top:0.5em;margin-bottom:0.65em;"><!--(newline in case subsection begins with heading:)-->
{{{subsection1}}}
</div>}}<!--
-->{{#if:{{{1<includeonly>|</includeonly>}}} <!--(i.e. if at least one unnamed parameter supplied:)-->
| <div style="margin-top:0.5em;margin-bottom:0.65em;">
; {{large|Classes used}}
The [[HTML attribute|HTML class]]es of this microformat include:
: {{hlist
|item_style=font-size:110%;{{{itemstyle|}}}
|{{{1}}} |{{{2<includeonly>|</includeonly>}}} |{{{3|<noinclude>{{nobold|……}}</noinclude>}}}
|{{{4|}}} |{{{5|}}} |{{{6|}}} |{{{7|}}} |{{{8|}}} |{{{9|}}} |{{{10|}}} |{{{11|}}} |{{{12|}}} |{{{13|}}} |{{{14|}}} |{{{15|}}} |{{{16|}}} |{{{17|}}} |{{{18|}}} |{{{19|}}} |{{{20|}}}
}} </div>
{{longitem|style=line-height:1.3em|'''''Please do not rename or remove these classes{{#if:{{{nocollapse<includeonly>|</includeonly>}}} |<br/>nor collapse nested elements which use them}}.'''''}}<!--
-->}}<!--(end #if:[1])--><noinclude>
{{documentation}}
</noinclude>
bde5c5ac42df15b8b27b16034ea3fb47dd285364
Module:Transclusion count/data/I
828
1503
3070
3069
2024-03-13T05:24:34Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
return {
["IAST"] = 6700,
["IBDB_name"] = 9200,
["ICD10"] = 4900,
["ICD9"] = 4400,
["ICS"] = 3000,
["IDN"] = 3500,
["IMDb_episode"] = 10000,
["IMDb_episodes"] = 2800,
["IMDb_name"] = 156000,
["IMDb_title"] = 194000,
["IMO_Number"] = 4100,
["IMSLP"] = 8400,
["INA"] = 2200,
["IND"] = 7700,
["INR"] = 6700,
["INRConvert"] = 5900,
["INRConvert/CurrentRate"] = 5800,
["INRConvert/USD"] = 5800,
["INRConvert/out"] = 5800,
["IOBDB_name"] = 2000,
["IP"] = 2700,
["IPA"] = 145000,
["IPA-de"] = 8300,
["IPA-es"] = 7900,
["IPA-fr"] = 44000,
["IPA-it"] = 5900,
["IPA-nl"] = 3900,
["IPA-pl"] = 4100,
["IPA-pt"] = 3300,
["IPA-sl"] = 6900,
["IPA-th"] = 3000,
["IPA_audio_link"] = 3600,
["IPA_link"] = 3800,
["IPAc-cmn"] = 2400,
["IPAc-en"] = 49000,
["IPAc-pl"] = 51000,
["IPC_athlete"] = 3300,
["IPSummary"] = 78000,
["IP_summary"] = 79000,
["IPtalk"] = 18000,
["IPuser"] = 7100,
["IPvandal"] = 2700,
["IRC"] = 7200,
["IRI"] = 2300,
["IRL"] = 5500,
["IRN"] = 3700,
["ISBN"] = 464000,
["ISBN?"] = 2200,
["ISBNT"] = 40000,
["ISBN_missing"] = 2700,
["ISFDB_name"] = 4100,
["ISFDB_title"] = 4600,
["ISL"] = 2200,
["ISO_15924/script-example-character"] = 2800,
["ISO_15924/wp-article"] = 2800,
["ISO_15924/wp-article/format"] = 2800,
["ISO_15924/wp-article/label"] = 2800,
["ISO_3166_code"] = 503000,
["ISO_3166_name"] = 16000,
["ISO_639_name"] = 8300,
["ISP"] = 4600,
["ISR"] = 4900,
["ISSN"] = 12000,
["ISSN_link"] = 31000,
["ISTAT"] = 8100,
["ISU_figure_skater"] = 2500,
["ITA"] = 18000,
["ITF"] = 6300,
["ITF_profile"] = 9100,
["ITIS"] = 4500,
["ITN_talk"] = 11000,
["ITN_talk/date"] = 11000,
["IUCN_banner"] = 15000,
["I_sup"] = 4800,
["Ice_hockey"] = 5500,
["Ice_hockey_stats"] = 19000,
["Icehockeystats"] = 12000,
["Icon"] = 588000,
["If"] = 283000,
["If_all"] = 6600,
["If_between"] = 3800,
["If_both"] = 133000,
["If_empty"] = 3760000,
["If_first_display_both"] = 73000,
["If_in_page"] = 12000,
["If_last_display_both"] = 31000,
["If_preview"] = 59000,
["If_then_show"] = 310000,
["Ifempty"] = 4000,
["Ifeq"] = 17000,
["Iferror_then_show"] = 3300,
["Ifexist_not_redirect"] = 1340000,
["Ifnotempty"] = 15000,
["Ifnumber"] = 39000,
["Ifsubst"] = 467000,
["Ih"] = 7600,
["Ill"] = 130000,
["Illm"] = 6500,
["Image_frame"] = 5100,
["Image_label"] = 4500,
["Image_label_begin"] = 3900,
["Image_label_end"] = 3800,
["Image_label_small"] = 2600,
["Image_needed"] = 4900,
["Image_other"] = 271000,
["Image_requested"] = 169000,
["Image_requested/Category_helper"] = 161000,
["Imbox"] = 925000,
["Imdb_name"] = 5300,
["Imdb_title"] = 3300,
["Import_style"] = 12000,
["Import_style/inputbox.css"] = 11000,
["Importance"] = 15000,
["Importance/colour"] = 30000,
["Importance_mask"] = 10600000,
["Improve_categories"] = 7800,
["Improve_documentation"] = 2800,
["In_class"] = 5600,
["In_lang"] = 362000,
["In_progress"] = 3300,
["In_string"] = 80000,
["In_title"] = 20000,
["Inactive_userpage_blanked"] = 4900,
["Include-USGov"] = 26000,
["Incomplete_list"] = 23000,
["Inconclusive"] = 2100,
["Increase"] = 46000,
["Incumbent_pope"] = 4300,
["Indent"] = 4700,
["IndexFungorum"] = 2200,
["Indian_English"] = 4400,
["Indian_Rupee"] = 11000,
["Indian_railway_code"] = 3200,
["Inflation"] = 21000,
["Inflation-fn"] = 5500,
["Inflation-year"] = 4600,
["Inflation/IN/startyear"] = 5800,
["Inflation/UK"] = 4500,
["Inflation/UK/dataset"] = 4500,
["Inflation/UK/startyear"] = 4500,
["Inflation/US"] = 13000,
["Inflation/US-GDP"] = 2500,
["Inflation/US-GDP/dataset"] = 2500,
["Inflation/US-GDP/startyear"] = 2500,
["Inflation/US/dataset"] = 13000,
["Inflation/US/startyear"] = 13000,
["Inflation/fn"] = 6400,
["Inflation/year"] = 27000,
["Info"] = 7100,
["Infobox"] = 3260000,
["Infobox/Columns"] = 2500,
["Infobox/mobileviewfix.css"] = 148000,
["Infobox3cols"] = 17000,
["Infobox_AFL_biography"] = 14000,
["Infobox_Aircraft_Begin"] = 5200,
["Infobox_Aircraft_Type"] = 4600,
["Infobox_Athletics_Championships"] = 2800,
["Infobox_Australian_place"] = 15000,
["Infobox_CFL_biography"] = 2100,
["Infobox_COA_wide"] = 3300,
["Infobox_Canada_electoral_district"] = 2500,
["Infobox_Canadian_Football_League_biography"] = 5700,
["Infobox_Canadian_Football_League_biography/position"] = 5600,
["Infobox_Chinese"] = 21000,
["Infobox_Chinese/Chinese"] = 2800,
["Infobox_Chinese/Footer"] = 8400,
["Infobox_Chinese/Header"] = 8400,
["Infobox_Chinese/Korean"] = 17000,
["Infobox_Christian_leader"] = 18000,
["Infobox_French_commune"] = 38000,
["Infobox_GAA_player"] = 2600,
["Infobox_Gaelic_games_player"] = 5100,
["Infobox_German_location"] = 13000,
["Infobox_German_place"] = 14000,
["Infobox_Grand_Prix_race_report"] = 2000,
["Infobox_Greece_place"] = 2900,
["Infobox_Greek_Dimos"] = 2800,
["Infobox_Hindu_temple"] = 2600,
["Infobox_Indian_constituency"] = 5200,
["Infobox_Indian_constituency/defaultdata"] = 5200,
["Infobox_Italian_comune"] = 8100,
["Infobox_Korean_name"] = 15000,
["Infobox_Korean_name/categories"] = 15000,
["Infobox_NASCAR_race_report"] = 2300,
["Infobox_NCAA_team_season"] = 17000,
["Infobox_NFL_biography"] = 29000,
["Infobox_NFL_player"] = 7500,
["Infobox_NFL_team_season"] = 3900,
["Infobox_NRHP"] = 73000,
["Infobox_NRHP/conv"] = 18000,
["Infobox_NRHP/locmapin2region"] = 66000,
["Infobox_Officeholder"] = 4500,
["Infobox_Olympic_event"] = 7400,
["Infobox_Olympic_event/games_text"] = 7400,
["Infobox_Pan_American_Games_event"] = 2300,
["Infobox_Paralympic_event"] = 2600,
["Infobox_Paralympic_event/games_text"] = 2600,
["Infobox_Politician"] = 2000,
["Infobox_Romanian_subdivision"] = 3200,
["Infobox_Russian_district"] = 2000,
["Infobox_Russian_inhabited_locality"] = 4500,
["Infobox_SCOTUS_case"] = 3700,
["Infobox_Site_of_Special_Scientific_Interest"] = 2000,
["Infobox_Swiss_town"] = 2800,
["Infobox_Switzerland_municipality"] = 2900,
["Infobox_Turkey_place"] = 19000,
["Infobox_U.S._county"] = 3000,
["Infobox_U.S._county/district"] = 3000,
["Infobox_UK_constituency"] = 2100,
["Infobox_UK_constituency/year"] = 2100,
["Infobox_UK_legislation"] = 3800,
["Infobox_UK_place"] = 26000,
["Infobox_UK_place/NoDialCode"] = 8100,
["Infobox_UK_place/NoPostCode"] = 3300,
["Infobox_UK_place/area"] = 2600,
["Infobox_UK_place/dens"] = 2200,
["Infobox_UK_place/dist"] = 2800,
["Infobox_UK_place/local"] = 26000,
["Infobox_UK_place/styles.css"] = 26000,
["Infobox_UN_resolution"] = 2300,
["Infobox_US_Supreme_Court_case"] = 3900,
["Infobox_US_Supreme_Court_case/courts"] = 3900,
["Infobox_Wikipedia_user"] = 10000,
["Infobox_YouTube_personality"] = 2900,
["Infobox_YouTube_personality/styles.css"] = 2900,
["Infobox_academic"] = 15000,
["Infobox_aircraft_begin"] = 14000,
["Infobox_aircraft_occurrence"] = 2400,
["Infobox_aircraft_type"] = 13000,
["Infobox_airline"] = 4600,
["Infobox_airport"] = 15000,
["Infobox_airport/datatable"] = 15000,
["Infobox_album"] = 163000,
["Infobox_album/color"] = 194000,
["Infobox_album/link"] = 163000,
["Infobox_anatomy"] = 4500,
["Infobox_ancient_site"] = 5600,
["Infobox_animanga/Footer"] = 7000,
["Infobox_animanga/Header"] = 7000,
["Infobox_animanga/Print"] = 5700,
["Infobox_animanga/Video"] = 4800,
["Infobox_architect"] = 3800,
["Infobox_artist"] = 29000,
["Infobox_artist_discography"] = 6000,
["Infobox_artwork"] = 12000,
["Infobox_athlete"] = 2800,
["Infobox_automobile"] = 8500,
["Infobox_award"] = 13000,
["Infobox_badminton_player"] = 3200,
["Infobox_baseball_biography"] = 28000,
["Infobox_baseball_biography/style"] = 28000,
["Infobox_baseball_biography/styles.css"] = 28000,
["Infobox_baseball_team_season"] = 3300,
["Infobox_baseball_team_season/leagueseason"] = 3300,
["Infobox_baseball_team_season/season"] = 3300,
["Infobox_baseball_team_season/styles.css"] = 3300,
["Infobox_basketball_biography"] = 21000,
["Infobox_basketball_biography/style"] = 21000,
["Infobox_basketball_club"] = 3100,
["Infobox_basketball_club/styles.css"] = 3100,
["Infobox_beauty_pageant"] = 2400,
["Infobox_bilateral_relations"] = 4500,
["Infobox_body_of_water"] = 18000,
["Infobox_book"] = 53000,
["Infobox_boxer"] = 5800,
["Infobox_bridge"] = 6100,
["Infobox_building"] = 28000,
["Infobox_character"] = 7600,
["Infobox_chess_biography"] = 4100,
["Infobox_chess_player"] = 3300,
["Infobox_church"] = 15000,
["Infobox_church/denomination"] = 15000,
["Infobox_church/font_color"] = 15000,
["Infobox_civil_conflict"] = 2500,
["Infobox_civilian_attack"] = 5800,
["Infobox_college_coach"] = 12000,
["Infobox_college_football_game"] = 2100,
["Infobox_college_football_player"] = 2300,
["Infobox_college_sports_team_season"] = 41000,
["Infobox_college_sports_team_season/link"] = 41000,
["Infobox_college_sports_team_season/name"] = 41000,
["Infobox_college_sports_team_season/succession"] = 41000,
["Infobox_college_sports_team_season/team"] = 41000,
["Infobox_comic_book_title"] = 3100,
["Infobox_comics_character"] = 3600,
["Infobox_comics_creator"] = 3500,
["Infobox_comics_creator/styles.css"] = 3500,
["Infobox_company"] = 84000,
["Infobox_computing_device"] = 2400,
["Infobox_concert"] = 3400,
["Infobox_constituency"] = 5700,
["Infobox_country"] = 6600,
["Infobox_country/formernext"] = 6200,
["Infobox_country/imagetable"] = 5400,
["Infobox_country/multirow"] = 8500,
["Infobox_country/status_text"] = 2800,
["Infobox_country/styles.css"] = 6600,
["Infobox_country_at_games"] = 15000,
["Infobox_country_at_games/core"] = 15000,
["Infobox_country_at_games/see_also"] = 12000,
["Infobox_court_case"] = 4800,
["Infobox_court_case/images"] = 2600,
["Infobox_cricket_tournament"] = 2400,
["Infobox_cricketer"] = 32000,
["Infobox_cricketer/career"] = 32000,
["Infobox_cricketer/national_side"] = 7600,
["Infobox_criminal"] = 6600,
["Infobox_curler"] = 2600,
["Infobox_cycling_race_report"] = 4600,
["Infobox_cyclist"] = 16000,
["Infobox_dam"] = 5700,
["Infobox_deity"] = 2100,
["Infobox_deity/color"] = 2000,
["Infobox_designation_list"] = 20000,
["Infobox_designation_list/entry"] = 18000,
["Infobox_dim"] = 7000,
["Infobox_dim/core"] = 7000,
["Infobox_diocese"] = 3900,
["Infobox_drug"] = 10000,
["Infobox_drug/chemical_formula"] = 10000,
["Infobox_drug/data_page_link"] = 10000,
["Infobox_drug/formatATC"] = 10000,
["Infobox_drug/formatCASnumber"] = 10000,
["Infobox_drug/formatChEBI"] = 10000,
["Infobox_drug/formatChEMBL"] = 10000,
["Infobox_drug/formatChemDBNIAID"] = 10000,
["Infobox_drug/formatChemSpider"] = 10000,
["Infobox_drug/formatCompTox"] = 10000,
["Infobox_drug/formatDrugBank"] = 10000,
["Infobox_drug/formatIUPHARBPS"] = 10000,
["Infobox_drug/formatJmol"] = 10000,
["Infobox_drug/formatKEGG"] = 10000,
["Infobox_drug/formatPDBligand"] = 9600,
["Infobox_drug/formatPubChemCID"] = 10000,
["Infobox_drug/formatPubChemSID"] = 10000,
["Infobox_drug/formatUNII"] = 10000,
["Infobox_drug/legal_status"] = 11000,
["Infobox_drug/licence"] = 10000,
["Infobox_drug/maintenance_categories"] = 10000,
["Infobox_drug/non-ref-space"] = 4500,
["Infobox_drug/pregnancy_category"] = 10000,
["Infobox_drug/title"] = 10000,
["Infobox_election"] = 31000,
["Infobox_election/row"] = 31000,
["Infobox_election/shortname"] = 29000,
["Infobox_enzyme"] = 5100,
["Infobox_ethnic_group"] = 7400,
["Infobox_event"] = 5800,
["Infobox_family"] = 2200,
["Infobox_figure_skater"] = 4200,
["Infobox_film"] = 159000,
["Infobox_film/short_description"] = 155000,
["Infobox_film_awards"] = 2700,
["Infobox_film_awards/link"] = 2700,
["Infobox_film_awards/style"] = 2700,
["Infobox_food"] = 7000,
["Infobox_football_biography"] = 209000,
["Infobox_football_club"] = 28000,
["Infobox_football_club_season"] = 21000,
["Infobox_football_league"] = 2600,
["Infobox_football_league_season"] = 20000,
["Infobox_football_match"] = 6000,
["Infobox_football_tournament_season"] = 8100,
["Infobox_former_subdivision"] = 3500,
["Infobox_former_subdivision/styles.css"] = 3500,
["Infobox_galaxy"] = 2100,
["Infobox_game"] = 2600,
["Infobox_game_score"] = 3600,
["Infobox_gene"] = 13000,
["Infobox_given_name"] = 4100,
["Infobox_golfer"] = 4500,
["Infobox_golfer/highest_ranking"] = 4500,
["Infobox_government_agency"] = 11000,
["Infobox_government_cabinet"] = 2800,
["Infobox_gridiron_football_person"] = 2300,
["Infobox_gridiron_football_person/position"] = 5600,
["Infobox_gymnast"] = 3600,
["Infobox_handball_biography"] = 5000,
["Infobox_historic_site"] = 12000,
["Infobox_horseraces"] = 2600,
["Infobox_hospital"] = 6400,
["Infobox_hospital/care_system"] = 6400,
["Infobox_hospital/lists"] = 6400,
["Infobox_ice_hockey_biography"] = 20000,
["Infobox_ice_hockey_player"] = 19000,
["Infobox_ice_hockey_team"] = 3100,
["Infobox_ice_hockey_team_season"] = 2000,
["Infobox_international_football_competition"] = 5900,
["Infobox_islands"] = 9000,
["Infobox_islands/area"] = 9400,
["Infobox_islands/density"] = 9400,
["Infobox_islands/length"] = 9000,
["Infobox_islands/styles.css"] = 9000,
["Infobox_journal"] = 9800,
["Infobox_journal/Abbreviation_search"] = 9600,
["Infobox_journal/Bluebook_check"] = 9500,
["Infobox_journal/Former_check"] = 9500,
["Infobox_journal/ISO_4_check"] = 9500,
["Infobox_journal/ISSN-eISSN"] = 9500,
["Infobox_journal/Indexing_search"] = 9600,
["Infobox_journal/MathSciNet_check"] = 9500,
["Infobox_journal/NLM_check"] = 9500,
["Infobox_journal/frequency"] = 8700,
["Infobox_lake"] = 4200,
["Infobox_language"] = 9600,
["Infobox_language/family-color"] = 11000,
["Infobox_language/genetic"] = 6600,
["Infobox_language/linguistlist"] = 9600,
["Infobox_language/ref"] = 7100,
["Infobox_law_enforcement_agency"] = 2000,
["Infobox_legislation"] = 2000,
["Infobox_legislature"] = 3800,
["Infobox_library"] = 2200,
["Infobox_lighthouse"] = 2600,
["Infobox_lighthouse/light"] = 2600,
["Infobox_locomotive"] = 5000,
["Infobox_magazine"] = 7700,
["Infobox_manner_of_address"] = 3400,
["Infobox_mapframe"] = 83000,
["Infobox_martial_artist"] = 5700,
["Infobox_martial_artist/record"] = 5700,
["Infobox_medal_templates"] = 426000,
["Infobox_medical_condition"] = 10000,
["Infobox_medical_condition_(new)"] = 8100,
["Infobox_medical_details"] = 2100,
["Infobox_medical_person"] = 2000,
["Infobox_military_conflict"] = 23000,
["Infobox_military_installation"] = 9900,
["Infobox_military_person"] = 46000,
["Infobox_military_unit"] = 26000,
["Infobox_mine"] = 2200,
["Infobox_model"] = 2300,
["Infobox_monument"] = 2100,
["Infobox_mountain"] = 28000,
["Infobox_multi-sport_competition_event"] = 2400,
["Infobox_museum"] = 11000,
["Infobox_musical_artist"] = 123000,
["Infobox_musical_artist/color"] = 123000,
["Infobox_musical_artist/hCard_class"] = 319000,
["Infobox_musical_composition"] = 3000,
["Infobox_name"] = 7600,
["Infobox_name_module"] = 7400,
["Infobox_newspaper"] = 9900,
["Infobox_nobility"] = 2300,
["Infobox_noble"] = 7400,
["Infobox_officeholder"] = 228000,
["Infobox_officeholder/office"] = 234000,
["Infobox_official_post"] = 8300,
["Infobox_organization"] = 37000,
["Infobox_pageant_titleholder"] = 3000,
["Infobox_park"] = 7700,
["Infobox_person"] = 492000,
["Infobox_person/Wikidata"] = 4600,
["Infobox_person/height"] = 104000,
["Infobox_person/length"] = 7100,
["Infobox_person/weight"] = 67000,
["Infobox_philosopher"] = 3500,
["Infobox_planet"] = 4700,
["Infobox_play"] = 4100,
["Infobox_political_party"] = 14000,
["Infobox_power_station"] = 3100,
["Infobox_prepared_food"] = 3000,
["Infobox_professional_wrestler"] = 4300,
["Infobox_professional_wrestling_event"] = 2800,
["Infobox_protected_area"] = 14000,
["Infobox_protein_family"] = 2100,
["Infobox_publisher"] = 2400,
["Infobox_racehorse"] = 5600,
["Infobox_racing_driver"] = 4300,
["Infobox_racing_driver_series_section"] = 2300,
["Infobox_radio_show"] = 2100,
["Infobox_radio_station"] = 22000,
["Infobox_rail"] = 3000,
["Infobox_rail_line"] = 7400,
["Infobox_rail_service"] = 3000,
["Infobox_rail_service/doc"] = 3000,
["Infobox_reality_competition_season"] = 3700,
["Infobox_record_label"] = 4000,
["Infobox_recurring_event"] = 6600,
["Infobox_religious_biography"] = 5500,
["Infobox_religious_building"] = 13000,
["Infobox_religious_building/color"] = 18000,
["Infobox_restaurant"] = 3200,
["Infobox_river"] = 30000,
["Infobox_river/calcunit"] = 30000,
["Infobox_river/discharge"] = 30000,
["Infobox_river/row-style"] = 30000,
["Infobox_river/source"] = 30000,
["Infobox_road"] = 24000,
["Infobox_road/meta/mask/category"] = 24000,
["Infobox_road/meta/mask/country"] = 24000,
["Infobox_road/styles.css"] = 25000,
["Infobox_road_small"] = 2300,
["Infobox_rockunit"] = 6400,
["Infobox_royalty"] = 22000,
["Infobox_royalty/short_description"] = 12000,
["Infobox_rugby_biography"] = 16000,
["Infobox_rugby_biography/correct_date"] = 16000,
["Infobox_rugby_biography/depcheck"] = 16000,
["Infobox_rugby_league_biography"] = 10000,
["Infobox_rugby_league_biography/PLAYER"] = 9900,
["Infobox_rugby_team"] = 2600,
["Infobox_sailboat_specifications"] = 2300,
["Infobox_saint"] = 5100,
["Infobox_school"] = 38000,
["Infobox_school/short_description"] = 38000,
["Infobox_school_district"] = 5700,
["Infobox_school_district/styles.css"] = 5700,
["Infobox_scientist"] = 49000,
["Infobox_service_record"] = 2600,
["Infobox_settlement"] = 564000,
["Infobox_settlement/areadisp"] = 241000,
["Infobox_settlement/columns"] = 96000,
["Infobox_settlement/columns/styles.css"] = 96000,
["Infobox_settlement/densdisp"] = 440000,
["Infobox_settlement/impus"] = 83000,
["Infobox_settlement/lengthdisp"] = 170000,
["Infobox_settlement/link"] = 96000,
["Infobox_settlement/metric"] = 213000,
["Infobox_settlement/pref"] = 296000,
["Infobox_settlement/styles.css"] = 564000,
["Infobox_ship_begin"] = 41000,
["Infobox_ship_career"] = 37000,
["Infobox_ship_characteristics"] = 41000,
["Infobox_ship_class_overview"] = 4100,
["Infobox_ship_image"] = 40000,
["Infobox_shopping_mall"] = 3500,
["Infobox_short_story"] = 2400,
["Infobox_skier"] = 2600,
["Infobox_soap_character"] = 2900,
["Infobox_software"] = 14000,
["Infobox_software/simple"] = 14000,
["Infobox_song"] = 77000,
["Infobox_song/color"] = 77000,
["Infobox_song/link"] = 77000,
["Infobox_spaceflight"] = 3600,
["Infobox_spaceflight/styles.css"] = 3600,
["Infobox_sport_event"] = 2200,
["Infobox_sports_competition_event"] = 18000,
["Infobox_sports_competition_event/medalrow"] = 12000,
["Infobox_sports_league"] = 5100,
["Infobox_sports_season"] = 5600,
["Infobox_sports_team"] = 2300,
["Infobox_sportsperson"] = 109000,
["Infobox_stadium"] = 3200,
["Infobox_station"] = 55000,
["Infobox_station/doc"] = 55000,
["Infobox_station/services"] = 55000,
["Infobox_station/styles.css"] = 55000,
["Infobox_street"] = 3500,
["Infobox_swimmer"] = 9800,
["Infobox_television"] = 58000,
["Infobox_television/Short_description"] = 55000,
["Infobox_television_channel"] = 6300,
["Infobox_television_episode"] = 12000,
["Infobox_television_episode/styles.css"] = 12000,
["Infobox_television_season"] = 9700,
["Infobox_television_station"] = 3500,
["Infobox_tennis_biography"] = 10000,
["Infobox_tennis_event"] = 2700,
["Infobox_tennis_tournament_event"] = 19000,
["Infobox_tennis_tournament_year"] = 9400,
["Infobox_tennis_tournament_year/color"] = 29000,
["Infobox_tennis_tournament_year/footer"] = 29000,
["Infobox_tournament_season"] = 11000,
["Infobox_train"] = 2300,
["Infobox_university"] = 26000,
["Infobox_user"] = 2700,
["Infobox_venue"] = 18000,
["Infobox_video_game"] = 28000,
["Infobox_video_game/styles.css"] = 28000,
["Infobox_volleyball_biography"] = 5500,
["Infobox_weapon"] = 7400,
["Infobox_weather_event"] = 2100,
["Infobox_weather_event/Effects"] = 2100,
["Infobox_weather_event/Footer"] = 2100,
["Infobox_weather_event/History"] = 2000,
["Infobox_weather_event/meteorology"] = 2000,
["Infobox_weather_event/styles.css"] = 2100,
["Infobox_website"] = 7700,
["Infobox_writer"] = 40000,
["Information"] = 98000,
["Information/styles.css"] = 98000,
["Inline"] = 2100,
["Inline_block"] = 4800,
["Inprogress"] = 2500,
["Input_link"] = 32000,
["Instagram"] = 12000,
["Interlanguage_link"] = 169000,
["Interlanguage_link_multi"] = 17000,
["Internet_Archive_author"] = 19000,
["Internet_Archive_film"] = 2600,
["Intitle"] = 13000,
["Iptalk"] = 17000,
["IranCensus2006"] = 45000,
["IranNCSGN"] = 3200,
["Iran_Census_2006"] = 45000,
["Irc"] = 2100,
["Irish_place_name"] = 2700,
["IsIPAddress"] = 37000,
["IsValidPageName"] = 2700,
["Is_MLB_league"] = 3200,
["Is_NPB_league"] = 3300,
["Is_country_in_Central_America"] = 13000,
["Is_country_in_the_Caribbean"] = 14000,
["Is_interwiki_link"] = 6000,
["Is_italic_taxon"] = 508000,
["Is_redirect"] = 28000,
["Isbn"] = 8200,
["Isfdb_name"] = 3400,
["Isfdb_title"] = 4300,
["Isnumeric"] = 145000,
["Iso2continent"] = 37000,
["Iso2country"] = 24000,
["Iso2country/article"] = 23000,
["Iso2country/data"] = 24000,
["Iso2nationality"] = 207000,
["Issubst"] = 71000,
["Isu_name"] = 2200,
["Italic_dab2"] = 5300,
["Italic_title"] = 271000,
["Italic_title_prefixed"] = 8700,
["Italics_colon"] = 3900,
["Italictitle"] = 3800,
["Ivm"] = 5700,
["Ivm/styles.css"] = 5700,
["Ivmbox"] = 125000,
["Ivory_messagebox"] = 148000,
["Module:I18n/complex_date"] = 68000,
["Module:IP"] = 133000,
["Module:IPA"] = 145000,
["Module:IPA/data"] = 131000,
["Module:IPA/styles.css"] = 116000,
["Module:IPA_symbol"] = 5200,
["Module:IPA_symbol/data"] = 5200,
["Module:IPAc-en"] = 49000,
["Module:IPAc-en/data"] = 49000,
["Module:IPAc-en/phonemes"] = 49000,
["Module:IPAc-en/pronunciation"] = 49000,
["Module:IPAddress"] = 189000,
["Module:ISO_3166"] = 1030000,
["Module:ISO_3166/data/AT"] = 2500,
["Module:ISO_3166/data/BA"] = 3400,
["Module:ISO_3166/data/CA"] = 2600,
["Module:ISO_3166/data/CN"] = 2200,
["Module:ISO_3166/data/DE"] = 15000,
["Module:ISO_3166/data/ES"] = 3600,
["Module:ISO_3166/data/FR"] = 38000,
["Module:ISO_3166/data/GB"] = 6400,
["Module:ISO_3166/data/GR"] = 3100,
["Module:ISO_3166/data/IN"] = 29000,
["Module:ISO_3166/data/IR"] = 9800,
["Module:ISO_3166/data/National"] = 1030000,
["Module:ISO_3166/data/PL"] = 7500,
["Module:ISO_3166/data/RS"] = 3200,
["Module:ISO_3166/data/RU"] = 25000,
["Module:ISO_3166/data/US"] = 85000,
["Module:ISO_639_name"] = 20000,
["Module:ISOdate"] = 68000,
["Module:Icon"] = 593000,
["Module:Icon/data"] = 593000,
["Module:If_any_equal"] = 2800,
["Module:If_empty"] = 3760000,
["Module:If_in_page"] = 12000,
["Module:If_preview"] = 303000,
["Module:If_preview/configuration"] = 303000,
["Module:If_preview/styles.css"] = 303000,
["Module:Import_style"] = 12000,
["Module:In_lang"] = 363000,
["Module:Indent"] = 4700,
["Module:Infobox"] = 4180000,
["Module:Infobox/dates"] = 70000,
["Module:Infobox/styles.css"] = 4450000,
["Module:Infobox3cols"] = 301000,
["Module:InfoboxImage"] = 4510000,
["Module:Infobox_body_of_water_tracking"] = 18000,
["Module:Infobox_cyclist_tracking"] = 16000,
["Module:Infobox_gene"] = 13000,
["Module:Infobox_mapframe"] = 422000,
["Module:Infobox_military_conflict"] = 23000,
["Module:Infobox_military_conflict/styles.css"] = 23000,
["Module:Infobox_multi-lingual_name"] = 21000,
["Module:Infobox_multi-lingual_name/data"] = 21000,
["Module:Infobox_power_station"] = 3100,
["Module:Infobox_road"] = 26000,
["Module:Infobox_road/browselinks"] = 25000,
["Module:Infobox_road/errors"] = 24000,
["Module:Infobox_road/length"] = 25000,
["Module:Infobox_road/locations"] = 24000,
["Module:Infobox_road/map"] = 25000,
["Module:Infobox_road/route"] = 26000,
["Module:Infobox_road/sections"] = 24000,
["Module:Infobox_television"] = 58000,
["Module:Infobox_television_disambiguation_check"] = 65000,
["Module:Infobox_television_episode"] = 12000,
["Module:Infobox_television_season_disambiguation_check"] = 9200,
["Module:Infobox_television_season_name"] = 9700,
["Module:Internet_Archive"] = 19000,
["Module:IrelandByCountyCatNav"] = 3400,
["Module:Is_article"] = 2000,
["Module:Is_infobox_in_lead"] = 380000,
["Module:Is_instance"] = 329000,
["Module:Italic_title"] = 1130000,
["Module:Italic_title2"] = 5300,
}
0199a97163562d13c0b1efae3a972ff61ab41c10
Template:UF-hcal
10
1504
3072
3071
2024-03-13T05:24:34Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{Microformat message
| format = hCalendar
| data = event details
| subtemplates =
{{#if:{{{hide_subtemplates}}} |<noinclude>}}
Dates will only be included if you use {{tl|start date}} (for single dates) or {{tl|end date}}. Do not, however, use these templates [[Wikipedia:WikiProject Microformats/dates|if a date before 1583 CE is involved]].
To include URLs, use {{tl|URL}}.
{{#if:{{{hide_subtemplates}}} |</noinclude>}}
|attendee |contact |description |dtend |dtstart |location |organiser |summary |url |vevent
| nocollapse = on
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc | |{{#ifeq:{{SUBPAGENAME}}|sandbox | |[[Category:Templates generating hCalendars|{{PAGENAME}}]]}} }}</includeonly><noinclude>
{{Documentation |content={{Microformat message templates}}}}
[[Category:Microformat (uF) message templates]]
</noinclude>
f453b47f676a5c474e14155f7013b69b4716748b
Module:Message box/ombox.css
828
1505
3074
3073
2024-03-13T05:24:34Z
ElBortoTexas
10
1 revision imported
sanitized-css
text/css
/* {{pp|small=y}} */
.ombox {
margin: 4px 0;
border-collapse: collapse;
border: 1px solid #a2a9b1; /* Default "notice" gray */
background-color: #f8f9fa;
box-sizing: border-box;
}
/* For the "small=yes" option. */
.ombox.mbox-small {
font-size: 88%;
line-height: 1.25em;
}
.ombox-speedy {
border: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
.ombox-delete {
border: 2px solid #b32424; /* Red */
}
.ombox-content {
border: 1px solid #f28500; /* Orange */
}
.ombox-style {
border: 1px solid #fc3; /* Yellow */
}
.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
}
.ombox .mbox-text {
border: none;
/* @noflip */
padding: 0.25em 0.9em;
width: 100%;
}
.ombox .mbox-image {
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;
text-align: center;
}
.ombox .mbox-imageright {
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0;
text-align: center;
}
/* An empty narrow cell */
.ombox .mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
.ombox .mbox-invalid-type {
text-align: center;
}
@media (min-width: 720px) {
.ombox {
margin: 4px 10%;
}
.ombox.mbox-small {
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
width: 238px;
}
}
8fe3df4bb607e699eab2dbd23bd4a1a446391002
Template:Infobox election/doc
10
1506
3076
3075
2024-03-13T05:24:38Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{High-use}}
{{ombox|type=style|text=This is not for [[referendums]]; use '''{{Tlg|Infobox referendum}}''' instead.}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:String|Module:Check for unknown parameters}}
This infobox describes a presidential, primary, legislative or parliamentary election.
For legislative elections with many parties, consider using {{tl|Infobox legislative election}} instead.
== Usage ==
Remove fields for different types of elections.
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox election
| election_name = ''' '''
| country =
| flag_year =
| flag_image =
| type = <!-- presidential, parliamentary, legislative, primary, or by-election --><!-- MANDATORY, and limited to the preceding five types -->
| vote_type = Popular <!-- default -->
| ongoing =
| party_colour =
| party_name =
| alliance_name =
| previous_election =
| previous_year =
| outgoing_members =
| election_date = <!-- {{Start date|YYYY|MM|DD}} -->
| elected_members =
| next_election = <!--page title, will be linked if it exists-->
| next_year =
| votes_for_election=
| needed_votes =
| seats_for_election=
| majority_seats =
| opinion_polls =
| registered =
| turnout =
| votes_counted = <!-- Use ONE out of votes_counted, reporting or declared, do not include percentage (%) sign-->
| reporting = <!-- Use ONE out of votes_counted, reporting or declared, do not include percentage (%) sign-->
| declared = <!-- Use ONE out of votes_counted, reporting or declared, do not include percentage (%) sign-->
| last_update =
| time_zone =
| image_upright =
| filler = <!-- (fills whitespace to the left of image1 with filler text, such as "Political selections")-->
<!-- person 1 -->
| image1 =
| image1_size =
| image1_upright =
| colour1 =
| nominee1 = <!-- when appropriate, candidate1 can be used instead -->
| candidate1 = <!-- any type of election -->
| leader1 = <!-- legislative or parliamentary only-->
| party1 =
| alliance1 =
<!-- presidential -->
| home_state1 =
| running_mate1 =
| electoral_vote1 =
| delegate_count1 =
| states_carried1 =
| districts_won1 =
<!-- legislative or parliamentary -->
| leader_since1 =
| leaders_seat1 =
| last_election1 =
| seats_before1 =
| seats_needed1 =
| seats1 =
| seats_after1 =
| seat_change1 =
<!-- any -->
| popular_vote1 =
| percentage1 =
| swing1 = <!-- legislative or parliamentary only-->
<!-- person 2 -->
| image2 =
| image2_size =
| image2_upright =
| colour2 =
| nominee2 = <!-- presidential only, when appropriate, candidate2 can be used instead -->
| candidate2 = <!-- any type of election -->
| leader2 = <!-- legislative or parliamentary only-->
| party2 =
| alliance2 =
<!-- presidential -->
| home_state2 =
| running_mate2 =
| electoral_vote2 =
| delegate_count2 =
| states_carried2 =
| districts_won2 =
<!-- legislative or parliamentary -->
| leader_since2 =
| leaders_seat2 =
| last_election2 =
| seats_before2 =
| seats_needed2 =
| seats2 =
| seats_after2 =
| seat_change2 =
<!-- any -->
| popular_vote2 =
| percentage2 =
| swing2 = <!-- legislative or parliamentary only-->
<!-- polls -->
| poll1_date =
| poll1_source =
| poll1_nominee1 = <!-- presidential only, when appropriate, poll1_candidate1 can be used instead -->
| poll1_party1 = <!-- legislative or parliamentary only-->
| poll1_nominee2 = <!-- presidential only, when appropriate, poll1_candidate2 can be used instead -->
| poll1_party2 = <!-- legislative or parliamentary only-->
| poll2_date =
| poll2_source =
| poll2_nominee1 = <!-- presidential only, when appropriate, poll2_candidate1 can be used instead -->
| poll2_party1 = <!-- legislative or parliamentary only-->
| poll2_nominee2 = <!-- presidential only, when appropriate, poll2_candidate2 can be used instead -->
| poll2_party2 = <!-- legislative or parliamentary only-->
<!-- auxiliary rows -->
| 1blank =
| 1data1 =
| 1data2 =
| 2blank =
| 2data1 =
| 2data2 =
<!-- map -->
| map_image =
| map_size =
| map_alt =
| map =
| map_caption =
<!-- bottom -->
| title =
| before_election =
| before_party =
| posttitle =
| after_election =
| after_party =
}}
</syntaxhighlight>
: *Non-optional fields.
: † only displayed if the election is yet to take place.
: ‡ only displayed if the election has finished.
{| class="wikitable"
! Field !! Type !! Description
|-
| '''election_name'''
|*
| Name given to the election. If this field is left empty the page name is displayed
|-
| '''country'''
|
| Country where the election took place.
|-
| '''flag_year'''
|
| For historical elections when an older flag design was in effect, enter the year the flag came into effect (not the election year). Default is to use the current flag.
|-
| '''flag_image'''
|
| For non-country elections, specify the full name of the flag, coat-of-arms, or seal image to display.
|-
| '''type'''
|*
| The type of election. Must be one of five: presidential, legislative, parliamentary, primary, or by-election. Legislative after the election will display majority and minority party, rather than first and second party.
|-
| '''vote_type'''
|
| The type of votes recorded at popular_vote''n''. Defaults to "Popular".
|-
| '''ongoing'''
|*
| Must be either yes or no, whether the election is yet to take place, or completed. Fields marked with a † are only displayed if the election is yet to take place. Fields marked with a ‡ are only displayed if the election has finished. (Default no.)
|-
| '''party_colour'''
|
| Also spelled '''party_color'''. To turn off the party colours enter 'no'.
|-
| '''party_name'''
|
| To turn off linking to the parties enter 'no'.
|-
| '''alliance_name'''
|
| To turn off linking to the alliances enter 'no'.
|-
| '''previous_election'''
|
| The page name of the last election of this type.
|-
| '''previous_year'''
|
| The year the last election of this type took place.
|-
| '''previous_mps''' (DEPRECATED)
| ''legislative''<br/>''parliamentary''
| Also spelled '''previous_MPs''' or '''previous_members''', page name for the members elected in the last election.
|-
| '''outgoing_members'''
| ''legislative''<br/>''parliamentary''
| The page name of the legislative term (typically including a list of members) serving between the previous election and this election.<br />(Can either be a page title or a wiki link.)
|-
| '''election_date'''
|
| Date of election - use {{tl|Start date}}
|-
| '''elected_mps''' (DEPRECATED)
| ''legislative''<br/>''parliamentary''
| Wikilink to the MPs elected in this election.
|-
| '''elected_members'''
| ''legislative''<br/>''parliamentary''
| The page name of the legislative term (typically including a list of members) serving between this election and the next election.<br />(Can either be a page title or a wiki link.)
|-
| '''next_election'''
|
| The page name of the next election of this type. If red link (it doesn't exist), then it will appear unlinked.
|-
| '''next_year'''
|
| The year the next election of this type took place.
|-
| '''<del>next_mps</del>''' (DEPRECATED, REMOVED)
| <del>''legislative''<br/>''parliamentary''</del>
| <del>Also spelled '''next_MPs''' or '''next_members''', page name for the members elected in the next election.</del>
|-
| '''votes_for_election'''
| ''presidential''
| The number of votes for election and the system of voting (e.g. Electoral College).
|-
| '''needed_votes'''
| ''presidential''
| The number of votes required to win. If there is an even number of votes, use the number that is said by the media.
|-
| '''seats_for_election'''
| ''legislative''<br/>''parliamentary''<br/>''by-election''
| The number of seats for election and the house or chamber the seats are for.
|-
| '''majority_seats'''
| ''legislative''<br/>''parliamentary''
| The number of seats required for a [[majority government]]. If there is an even number of seats in the house or chamber, use the number that is said by the media.
|-
| '''opinion_polls'''
|
| Pagename or section anchor of [[opinion poll]]s.
|-
| '''registered'''
|
| Number of [[Voter registration|registered voters]] for this election.
|-
| '''turnout'''
|
| [[Voter turnout]] for this election.
|-
| '''votes_counted'''
| rowspan="3"|
| rowspan="3"|The number of votes or the number of constituencies, in %, that have been counted after polls have closed. '''Do not include''' the percentage sign (%) after number. It is advisable to remove this information soon after the counting process has finished and all the results have been declared. Use '''votes_counted''', '''reporting''' or '''declared''' according to whichever term best suits the specific election and counting procedure
|-
| '''reporting'''
|-
| '''declared'''
|-
| '''last_update'''
|
| The time at which the latest update on results and the number of votes were updated on the infobox
|-
| '''time_zone'''
|
| Time zone of the time given in the ''last_update'' field. Must be linked as normal similar to an article (e.g. <nowiki>[[Greenwich mean time|GMT]])</nowiki>
|-
| '''image_upright'''
|
| Upright for all {{para|image<var>n</var>}}. See [[WP:UPRIGHT]]. Can be overridden by the corresponding {{para|image<var>n</var>_upright}}.
|-
| '''filler'''
|
| Set filler = (text) to include optional filler text, such as "Political selections", to the left of image1.
|-
| '''image1'''
|
| Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour1 or party1 must be entered.
|-
| '''image1_upright'''
|
| Upright for {{para|image1}}. See [[WP:UPRIGHT]]. Overrides {{para|image_upright}}.
|-
| '''colour1'''
|
| Also spelt '''color1'''. Enter a hex colour code (without the <nowiki>#</nowiki>) to override the border colour of image1. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.
|-
| '''nominee1'''
| ''presidential''<br/>''by-election''
| Name of Nominee. When appropriate, candidate1 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.
|-
| '''candidate1'''
|
| Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.
|-
| '''leader1'''
| ''legislative''<br/>''parliamentary''
| Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.
|-
| '''party1'''
|
| Political Party using [[:Category:Political party shortname templates|Political party shortname templates]]. The number can be changed up to nine to display different Parties at the same time.
|-
| '''alliance1'''
|
| Political alliance in elections where coalition politics is common.
|-
| '''home_state1'''
| ''presidential''
| The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.
|-
| '''running_mate1'''
| ''presidential''
| The Nominee's [[Running mate]]. The number can be changed up to nine to display different Nominees at the same time.
|-
| '''electoral_vote1'''
| ''presidential''<br/>‡
| The [[electoral vote]]s obtained by the Nominee. The number can be changed up to nine to display different Nominees at the same time.
|-
| '''projected_vote1'''
| ''presidential''<br/>‡
| The [[electoral vote]]s projected for the Nominee.
|-
| '''delegate_count1'''
| ''presidential''
| The aggregate number of [[Delegate (American politics)|delegate]]s obtained by the candidate. The number can be changed up to nine to display different candidates at the same time. Intended for use in pre-election processes such as selection of delegates to [[United States presidential nominating convention]]s. Intended to be used instead of electoral_vote1 for these cases.
|-
| '''states_carried1'''
| ''presidential''<br/>‡
| The states carried or won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.
|-
| '''districts_won1'''
| ''presidential''<br/>‡
| The number of districts won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.
|-
| '''leader_since1'''
| ''legislative''<br/>''parliamentary''
| The date the Leader took office. The number can be changed up to nine to display different Parties at the same time. Only to be used when the information is in the article body.
|-
| '''leaders_seat1'''
| ''legislative''<br/>''parliamentary''
| The seat the Leader represents. The number can be changed up to nine to display different Parties at the same time. Only to be used when the information is in the article body.
|-
| '''last_election1'''
| ''legislative''<br/>''parliamentary''
| The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.
|-
| '''seats_before1'''
| ''legislative''<br/>''parliamentary''
| The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.
|-
| '''seats_needed1'''
| ''legislative''<br/>''parliamentary''<br/>†
| The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.
|-
| '''seats1'''
| ''legislative''<br/>''parliamentary''<br/>‡
| The seats won at the election. The number can be changed up to nine to display different Parties at the same time.
|-
| '''seats_after1'''
| ''legislative''<br/>''parliamentary''<br/>‡
| The seat count after the election. The number can be changed up to nine to display different Parties at the same time.
|-
| '''seat_change1'''
| ''legislative''<br/>''parliamentary''<br/>‡
| The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.
|-
| '''popular_vote1'''
| ‡
| The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.
|-
| '''percentage1'''
| ‡
| The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.
|-
| '''swing1'''
| ''legislative''<br/>''parliamentary''<br/>‡
| The [[Swing (politics)|swing]] or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.
|-
| '''poll1_date'''
| †
| The date of an opinion poll. The number can be changed up to five to display different polls at the same time.
|-
| '''poll1_source'''
| †
| The source or URL of the opinion poll. The number can be changed up to five to display different polls at the same time.
poll1_nominee1
|-
| '''poll1_nominee1'''
| ''presidential''<br/>†
| The percentage poll 1 gave to nominee 1. When appropriate, '''poll1_candidate1''' can be used instead. The poll number can be changed up to five to display different polls at the same time. The nominee or candidate number can be changed up to nine to display different Nominees or Candidates at the same time.
|-
| '''poll1_party1'''
| ''legislative''<br/>''parliamentary''<br/>†
| The percentage poll 1 gave to party 1. The poll number can be changed up to five to display different polls at the same time. The party number can be changed up to nine to display different Nominees at the same time.
|-
| '''1blank'''
|
| Title of an auxiliary row. The number can be changed up to six to display six extra rows.
|-
| '''1data1'''
|
| Data 1 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.
|-
| '''map_image'''
|
| Page name for the election map file.
|-
| '''map_size'''
|
| Size of image of the election map to be displayed. (Default 300px).
|-
| '''map_alt'''
|
| [[WP:Alternative text for images|Alt text]] for the election map.
|-
| '''map'''
|
| A freeform replacement for the above, which can be used to insert [[mw:extension:ImageMap|extension:ImageMap]]s or templates instead of images.
|-
| '''map_caption'''
|
| Caption on image of the election map to be displayed.
|-
| '''title'''
|
| Title of the leader before the election. (President, Speaker, Government, Prime Minister...)
|-
| '''before_election'''
|
| The leader in power before the election, labeled [[incumbent]] if the election is yet to take place.
|-
| '''before_party'''
|
| The party in power before the election. This can be set to "Acting (law)" (which will display as "[[Acting (law)|Acting]]") if necessary.
|-
| '''posttitle'''
| ‡
| Title of the victor of the election (President-elect, Prime Minister-designate...), only if different than before.
|-
| '''after_election'''
| ‡
| The leader in power as a result of the election. In case of an ongoing primary, this field may contain the name of the presumptive nominee. If an election is decided by a country's Constitutional/Supreme Court, the leader and the party in power are both listed in this field and a link to the court decision is listed one line below the leader in power. If an election is annulled, the term "Election results annulled" or similar is listed here and a note is listed one line below that.
|-
| '''after_party'''
| ‡
| The party in power as a result of the election.
|}
== Notes ==
The template can display up to nine parties or nominees at the same time, three per row. If exactly four are needed, use the first two on the top and bottom lines. This is done by only using the numbers 1, 2, 4 and 5 on the fields that require a number.
All the fields that work for Legislative will also work for Parliamentary. The only difference between the two is the titles above the images.
The template uses the party fields to display the party colour in the background of the images and some text. To turn this function off, input:
| party_colour = no
To override the calling of the party short name templates, input:
| party_name = no
To override the calling of the alliance short name templates, input:
| alliance_name = no
To override the colour for party1 or nominee1, input:
| colour1 = [HEX OF COLOUR, MINUS #]
The hex number must be entered without the hash for the field to work. The number (colour'''1''') can be changed up to nine for different parties or Nominees. The fields work with both spellings of the word 'color'.
In 2013, the Request for Comment (RFC) process established a consensus that third party candidates must poll over 5% to be included in an infobox, at least for elections in the United States. This was re-affirmed in 2017. RFCs on whether the 5% threshold is necessary for second-place finishers to be included in the infobox have been mixed. (See [[Wikipedia:Five percent rule]])
=== Which leader to use ===
The parties are shown in the infobox in the order they came in the election. The "leader" of each party is the person leading the party through that election.
== Examples ==
=== Presidential ===
{{Infobox election
| election_name = 2004 United States presidential election
| country = United States
| type = presidential
| previous_election = 2000 United States presidential election
| previous_year = 2000
| election_date = {{Start date|2004|11|02}}
| next_election = 2008 United States presidential election
| next_year = 2008
| votes_for_election= All [[List of United States presidential electors, 2004|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = George-W-Bush.jpeg
| nominee1 = [[George W. Bush]]
| party1 = Republican Party (US)
| home_state1 = [[Texas]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 286
| states_carried1 = 31
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = John Kerry headshot with US flag.jpg
| nominee2 = [[John Kerry]]
| party2 = Democratic Party (US)
| home_state2 = [[Massachusetts]]
| running_mate2 = [[John Edwards]]
| electoral_vote2 = 251
| states_carried2 = 19 + [[Washington, D.C.|DC]]
| popular_vote2 = 59,028,444
| percentage2 = 48.3%
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[George W. Bush]]
| before_party = Republican Party (US)
| after_election = [[George W. Bush]]
| after_party = Republican Party (US)
}}
<syntaxhighlight lang="wikitext" style="overflow: auto">
{{Infobox election
| election_name = 2004 United States presidential election
| country = United States
| type = presidential
| previous_election = 2000 United States presidential election
| previous_year = 2000
| election_date = {{Start date|2004|11|02}}
| next_election = 2008 United States presidential election
| next_year = 2008
| votes_for_election= All [[List of United States presidential electors, 2004|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = George-W-Bush.jpeg
| nominee1 = [[George W. Bush]]
| party1 = Republican Party (US)
| home_state1 = [[Texas]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 286
| states_carried1 = 31
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = John Kerry headshot with US flag.jpg
| nominee2 = [[John Kerry]]
| party2 = Democratic Party (US)
| home_state2 = [[Massachusetts]]
| running_mate2 = [[John Edwards]]
| electoral_vote2 = 251
| states_carried2 = 19 + [[Washington, D.C.|DC]]
| popular_vote2 = 59,028,444
| percentage2 = 48.3%
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[George W. Bush]]
| before_party = Republican Party (US)
| after_election = [[George W. Bush]]
| after_party = Republican Party (US)
}}</syntaxhighlight>
{{-}}
=== Presidential primary ===
{{Infobox election
| election_name = [[Republican Party presidential primaries, 2016]]
| country = United States
| type = primary
| ongoing = yes
| previous_election = 2012 Republican Party presidential primaries
| previous_year = 2012
| next_election = 2020 Republican Party presidential primaries
| next_year = ''2020''
| election_date = February 1 – June 7, 2016
| votes_for_election = 2,472 delegates to the [[2016 Republican National Convention|Republican National Convention]]
| needed_votes = 1,237 delegate
| party_name = no
| image_size = 160x180px
<!-- Donald Trump -->
| image1 = Donald August 19 (cropped).jpg
| candidate1 = '''[[Donald Trump]]'''
| color1 = 283681
| home_state1 = [[New York (state)|New York]]
| states_carried1 = '''28'''
| popular_vote1 = '''10,713,526'''
| percentage1 = '''40.2%'''
| delegate_count1 = '''1,014'''
<!-- Ted Cruz-->
| image2 = Ted Cruz, official portrait, 113th Congress (cropped 2).jpg
| candidate2 = [[Ted Cruz]]
| color2 = DAA520
| home_state2 = [[Texas]]
| states_carried2 = 11
| popular_vote2 = 7,321,878
| percentage2 = 27.5%
| delegate_count2 = 546
<!-- Marco Rubio -->
| image4 = Marco Rubio, Official Portrait, 112th Congress.jpg
| candidate4 = [[Marco Rubio]]
| color4 = C60E3B
| home_state4 = [[Florida]]
| states_carried4 = 3
| popular_vote4 = 3,497,828
| percentage4 = 13.1%
| delegate_count4 = 173
<!-- John Kasich -->
| image5 = Governor John Kasich (cropped2).jpg
| candidate5 = [[John Kasich]]
| color5 = 29AB87
| home_state5 = [[Ohio]]
| states_carried5 = 1
| popular_vote5 = 3,762,367
| percentage5 = 14.1%
| delegate_count5 = 154
| map_image = Republican Party presidential primaries results, 2016.svg
| map_size = 308px
| map_caption = '''First place by first-instance vote'''
{{{!}} style="font-size:110%; margin:0 auto;"
{{!}} {{Legend0|#283681|Donald Trump}} {{!}}{{!}} {{Legend0|#DAA520|Ted Cruz}}
{{!}}-
{{!}} {{Legend0|#C60E3B|Marco Rubio}} {{!}}{{!}} {{Legend0|#29AB87|John Kasich}}
{{!}}-
{{!}} {{Legend0|#000000|Uncommitted}} {{!}}{{!}}
{{!}}}
| title = Republican nominee
| before_election = [[Mitt Romney]]
| after_election = [[Donald Trump]]
| template_name = 2016 Republican Party presidential primaries
}}
<syntaxhighlight lang="wikitext" style="overflow: auto">
{{Infobox election
| election_name = [[Republican Party presidential primaries, 2016]]
| country = United States
| type = primary
| ongoing = yes
| previous_election = 2012 Republican Party presidential primaries
| previous_year = 2012
| next_election = 2020 Republican Party presidential primaries
| next_year = ''2020''
| election_date = February 1 – June 7, 2016
| votes_for_election = 2,472 delegates to the [[2016 Republican National Convention|Republican National Convention]]
| needed_votes = 1,237 delegate
| party_name = no
| image_size = 160x180px
<!-- Donald Trump -->
| image1 = Donald August 19 (cropped).jpg
| candidate1 = '''[[Donald Trump]]'''
| color1 = 283681
| home_state1 = [[New York (state)|New York]]
| states_carried1 = '''28'''
| popular_vote1 = '''10,713,526'''
| percentage1 = '''30.2%'''
| delegate_count1 = '''1,014'''
<!-- Ted Cruz-->
| image2 = Ted Cruz, official portrait, 113th Congress (cropped 2).jpg
| candidate2 = [[Ted Cruz]]
| color2 = DAA520
| home_state2 = [[Texas]]
| states_carried2 = 11
| popular_vote2 = 7,321,878
| percentage2 = 37.5%
| delegate_count2 = 546
<!-- Marco Rubio -->
| image4 = Marco Rubio, Official Portrait, 112th Congress.jpg
| candidate4 = [[Marco Rubio]]
| color4 = C60E3B
| home_state4 = [[Florida]]
| states_carried4 = 3
| popular_vote4 = 3,497,828
| percentage4 = 13.1%
| delegate_count4 = 173
<!-- John Kasich -->
| image5 = Governor John Kasich (cropped2).jpg
| candidate5 = [[John Kasich]]
| color5 = 29AB87
| home_state5 = [[Ohio]]
| states_carried5 = 1
| popular_vote5 = 3,762,367
| percentage5 = 14.1%
| delegate_count5 = 154
| map_image = Republican Party presidential primaries results, 2016.svg
| map_size = 308px
| map_caption = '''First place by first-instance vote'''
{{{!}} style="font-size:110%; margin:0 auto;"
{{!}} {{Legend0|#283681|Donald Trump}} {{!}}{{!}} {{Legend0|#DAA520|Ted Cruz}}
{{!}}-
{{!}} {{Legend0|#C60E3B|Marco Rubio}} {{!}}{{!}} {{Legend0|#29AB87|John Kasich}}
{{!}}-
{{!}} {{Legend0|#000000|Uncommitted}} {{!}}{{!}}
{{!}}}
| title = Republican nominee
| before_election = [[Mitt Romney]]
| after_election = [[Donald Trump]]
| template_name = 2016 Republican Party presidential primaries
}}
</syntaxhighlight>
{{-}}
=== Legislative or parliamentary ===
{{Infobox election
| election_name = 2005 United Kingdom general election
| country = United Kingdom
| type = parliamentary
| ongoing = no
| previous_election = 2001 United Kingdom general election
| previous_year = 2001
| outgoing_members = List of MPs elected in the 2001 United Kingdom general election
| elected_members = List of MPs elected in the 2005 United Kingdom general election
| next_election = 2010 United Kingdom general election
| next_year = 2010
| seats_for_election = All [[List of United Kingdom Parliament constituencies (2005–2010)|646 seats]] to the [[House of Commons of the United Kingdom|House of Commons]]
| majority_seats = 324
| election_date = 5 May 2005
| registered = 44,245,939
| turnout = 61.4% ({{increase}}2.0%)
| opinion_polls = Opinion polling for the 2005 United Kingdom general election
<!-- Labour -->| image1 = [[File:Tony_Blair_WEF_(cropped).jpg|160x160px|Tony Blair]]
| leader1 = [[Tony Blair]]
| leader_since1 = [[1994 Labour Party leadership election|21 July 1994]]
| party1 = Labour Party (UK)
| leaders_seat1 = [[Sedgefield (UK Parliament constituency)|Sedgefield]]
| last_election1 = 412 seats, 40.7%
| seats_before1 = 403
| seats1 = '''355'''{{sup|‡}}
| seat_change1 = {{decrease}} 48*<!-- note: the boundaries changed from the previous election - 48 is a nominal change figure from the seats the party would have won based on those boundaries. -->
| popular_vote1 = '''9,552,436'''
| percentage1 = '''35.2%'''
| swing1 = {{decrease}} 5.5 [[Percentage point|pp]]
<!-- Conservative -->| image2 = [[File:Michael Howard (cropped).jpg|160x160px|Michael Howard]]
| leader2 = [[Michael Howard]]
| leader_since2 = [[2003 Conservative Party leadership election|6 November 2003]]
| party2 = Conservative Party (UK)
| leaders_seat2 = [[Folkestone and Hythe (UK Parliament constituency)|Folkestone<br>and Hythe]]
| last_election2 = 166 seats, 31.7%
| seats_before2 = 165
| seats2 = 198
| seat_change2 = {{increase}} 33*<!-- note: the boundaries changed from the previous election + 33 is a nominal change figure from the seats the party would have won based on those boundaries. -->
| popular_vote2 = 8,784,915
| percentage2 = 32.4%
| swing2 = {{increase}} 0.7 [[Percentage point|pp]]
<!-- Liberal Democrats -->| image3 = [[File:Charles_Kennedy_MP_(cropped).jpg|160x160px]]
| leader3 = [[Charles Kennedy]]
| leader_since3 = [[1999 Liberal Democrats leadership election|9 August 1999]]
| party3 = Liberal Democrats (UK)
| leaders_seat3 = [[Ross, Skye and Lochaber (UK Parliament constituency)|Ross, Skye<br>and Lochaber]]
| last_election3 = 52 seats, 18.3%
| seats_before3 = 51
| seats3 = 62
| seat_change3 = {{increase}} 11*<!-- note: the boundaries changed from the previous election + 11 is a nominal change figure from the seats the party would have won based on those boundaries. -->
| popular_vote3 = 5,985,454
| percentage3 = 22.0%
| swing3 = {{increase}} 3.7 [[Percentage point|pp]]
| map_image = 2005UKElectionMap.svg
| map_size = 200px
| map_caption = Colours denote the winning party, as shown in the main table of results.<br />
''* Indicates boundary change – so this is a notional figure''
''{{sup|‡}} Figure does not include the [[Speaker of the House of Commons (United Kingdom)|Speaker]], [[Michael Martin, Baron Martin of Springburn|Michael Martin]]''
| title = [[Prime Minister of the United Kingdom|Prime Minister]]
| posttitle = Prime Minister after election
| before_election = [[Tony Blair]]
| before_party = Labour Party (UK)
| after_election = [[Tony Blair]]
| after_party = Labour Party (UK)
| map2_image = House_of_Commons_2005_Election.svg
| map2_caption = Composition of the [[House of Commons of the United Kingdom|House of Commons]] after the election
| map2_size = 360px
}}
<syntaxhighlight lang="wikitext" style="overflow: auto">
{{Infobox election
| election_name = 2005 United Kingdom general election
| country = United Kingdom
| type = parliamentary
| ongoing = no
| previous_election = 2001 United Kingdom general election
| previous_year = 2001
| outgoing_members = List of MPs elected in the 2001 United Kingdom general election
| elected_members = List of MPs elected in the 2005 United Kingdom general election
| next_election = 2010 United Kingdom general election
| next_year = 2010
| seats_for_election = All [[List of United Kingdom Parliament constituencies (2005–2010)|646 seats]] to the [[House of Commons of the United Kingdom|House of Commons]]
| majority_seats = 324
| election_date = 5 May 2005
| registered = 44,245,939
| turnout = 61.4% ({{increase}}2.0%)
| opinion_polls = Opinion polling for the 2005 United Kingdom general election
<!-- Labour -->| image1 = [[File:Tony_Blair_WEF_(cropped).jpg|160x160px|Tony Blair]]
| leader1 = [[Tony Blair]]
| leader_since1 = [[1994 Labour Party leadership election|21 July 1994]]
| party1 = Labour Party (UK)
| leaders_seat1 = [[Sedgefield (UK Parliament constituency)|Sedgefield]]
| last_election1 = 412 seats, 40.7%
| seats_before1 = 403
| seats1 = '''355'''{{sup|‡}}
| seat_change1 = {{decrease}} 48*<!-- note: the boundaries changed from the previous election - 48 is a nominal change figure from the seats the party would have won based on those boundaries. -->
| popular_vote1 = '''9,552,436'''
| percentage1 = '''35.2%'''
| swing1 = {{decrease}} 5.5 [[Percentage point|pp]]
<!-- Conservative -->| image2 = [[File:Michael Howard (cropped).jpg|160x160px|Michael Howard]]
| leader2 = [[Michael Howard]]
| leader_since2 = [[2003 Conservative Party leadership election|6 November 2003]]
| party2 = Conservative Party (UK)
| leaders_seat2 = [[Folkestone and Hythe (UK Parliament constituency)|Folkestone<br>and Hythe]]
| last_election2 = 166 seats, 31.7%
| seats_before2 = 165
| seats2 = 198
| seat_change2 = {{increase}} 33*<!-- note: the boundaries changed from the previous election + 33 is a nominal change figure from the seats the party would have won based on those boundaries. -->
| popular_vote2 = 8,784,915
| percentage2 = 32.4%
| swing2 = {{increase}} 0.7 [[Percentage point|pp]]
<!-- Liberal Democrats -->| image3 = [[File:Charles_Kennedy_MP_(cropped).jpg|160x160px]]
| leader3 = [[Charles Kennedy]]
| leader_since3 = [[1999 Liberal Democrats leadership election|9 August 1999]]
| party3 = Liberal Democrats (UK)
| leaders_seat3 = [[Ross, Skye and Lochaber (UK Parliament constituency)|Ross, Skye<br>and Lochaber]]
| last_election3 = 52 seats, 18.3%
| seats_before3 = 51
| seats3 = 62
| seat_change3 = {{increase}} 11*<!-- note: the boundaries changed from the previous election + 11 is a nominal change figure from the seats the party would have won based on those boundaries. -->
| popular_vote3 = 5,985,454
| percentage3 = 22.0%
| swing3 = {{increase}} 3.7 [[Percentage point|pp]]
| map_image = 2005UKElectionMap.svg
| map_size = 200px
| map_caption = Colours denote the winning party, as shown in the main table of results.<br />
''* Indicates boundary change – so this is a notional figure''
''{{sup|‡}} Figure does not include the [[Speaker of the House of Commons (United Kingdom)|Speaker]], [[Michael Martin, Baron Martin of Springburn|Michael Martin]]''
| title = [[Prime Minister of the United Kingdom|Prime Minister]]
| posttitle = Prime Minister after election
| before_election = [[Tony Blair]]
| before_party = Labour Party (UK)
| after_election = [[Tony Blair]]
| after_party = Labour Party (UK)
| map2_image = House_of_Commons_2005_Election.svg
| map2_caption = Composition of the [[House of Commons of the United Kingdom|House of Commons]] after the election
| map2_size = 360px
}}</syntaxhighlight>
{{-}}
=== By-election ===
{{Infobox election
| election_name = 2012 Bradford West by-election
| type = By-election
| country = United Kingdom
| seats_for_election = The [[Bradford West (UK Parliament constituency)|Bradford West]] seat in the [[House of Commons of the United Kingdom|House of Commons]].<br />Election by simple majority using [[first past the post]].<br />Triggered by resignation of incumbent
| votes_for_election =
| ongoing = no
| previous_election = 2010 United Kingdom general election
| previous_year = 2010
| next_election =
| next_year =
| election_date = {{Start date|2012|03|29|df= y}}
| candidate1 = [[George Galloway]]
| image1 = George Galloway 2007-02-24.jpg
| party1 = Respect Party
| last_election1 = 1,245
| popular_vote1 = 18,341
| percentage1 = 55.9
| candidate2 = Imran Hussain
| image2 =
| party2 = Labour Party (UK)
| last_election2 = 18,401
| popular_vote2 = 8,201
| percentage2 = 25.0
| candidate3 = Jackie Whiteley
| image3 =
| party3 = Conservative Party (UK)
| last_election3 = 12,638
| popular_vote3 = 2,746
| percentage3 = 8.4
| candidate4 = Jeanette Sunderland
| image4 =
| party4 = Liberal Democrats (UK)
| last_election4 = 4,732
| popular_vote4 = 1,505
| percentage4 = 4.6
| candidate5 = Sonja McNally
| image5 =
| party5 = UK Independence Party
| last_election5 = 812
| popular_vote5 = 1,085
| percentage5 = 3.3
| candidate6 = Dawud Islam
| image6 =
| party6 = Green Party of England and Wales
| last_election6 = 940
| popular_vote6 = 481
| percentage6 = 1.5
| title = MP
| posttitle = Subsequent MP
| before_election = [[Marsha Singh]]
| before_party = Labour Party (UK)
| after_election = [[George Galloway]]
| after_party = Respect Party
| map_image = BradfordWest2007Constituency.svg
| map_size = 200px
| map_alt = A map of West Yorkshire with black lines dividing the area into irregular shapes
| map =
| map_caption = Boundary of Bradford West in [[West Yorkshire]].
}}
<syntaxhighlight lang="wikitext" style= "overflow: auto">
{{Infobox election
| election_name = 2012 Bradford West by-election
| type = By-election
| country = United Kingdom
| seats_for_election = The [[Bradford West (UK Parliament constituency)|Bradford West]] seat in the [[House of Commons of the United Kingdom|House of Commons]].<br />Elected by simple majority using [[first past the post]].<br />Triggered by resignation of incumbent
| ongoing = no
| previous_election = 2010 United Kingdom general election
| previous_year = 2010
| next_election =
| next_year =
| election_date = {{Start date|2012|03|29|df= y}}
| candidate1 = [[George Galloway]]
| image1 = George Galloway 2007-02-24.jpg
| party1 = Respect Party
| last_election1 = 1,245
| popular_vote1 = 18,341
| percentage1 = 55.9
| candidate2 = Imran Hussain
| image2 =
| party2 = Labour Party (UK)
| last_election2 = 18,401
| popular_vote2 = 8,201
| percentage2 = 25.0
| candidate3 = Jackie Whiteley
| image3 =
| party3 = Conservative Party (UK)
| last_election3 = 12,638
| popular_vote3 = 2,746
| percentage3 = 8.4
| candidate4 = Jeanette Sunderland
| image4 =
| party4 = Liberal Democrats
| last_election4 = 4,732
| popular_vote4 = 1,505
| percentage4 = 4.6
| candidate5 = Sonja McNally
| image5 =
| party5 = UK Independence Party
| last_election5 = 812
| popular_vote5 = 1,085
| percentage5 = 3.3
| candidate6 = Dawud Islam
| image6 =
| party6 = Green Party of England and Wales
| last_election6 = 940
| popular_vote6 = 481
| percentage6 = 1.5
| title = MP
| posttitle = Subsequent MP
| before_election = [[Marsha Singh]]
| before_party = Labour Party (UK)
| after_election = [[George Galloway]]
| after_party = Respect Party
| map_image = BradfordWest2007Constituency.svg
| map_size = 200px
| map_alt = A map of West Yorkshire with black lines dividing the area into irregular shapes
| map =
| map_caption = Boundary of Bradford West in [[West Yorkshire]].
}}
</syntaxhighlight>
{{-}}
===Annulled election===
{{Infobox election
| election_name = 2019 Bolivian general election
| country = Bolivia
| type = presidential
| previous_election = 2014 Bolivian general election
| previous_year = 2014
| next_election = 2020 Bolivian general election
| next_year = 2020
| election_date = 20 October 2019
| ongoing = no
| turnout = 88.31% ({{increase}} 0.41[[Percentage point|pp]])
<!-- Evo Morales -->| image1 = Evo Morales 2017.jpg
| image1_size = 150x150px
| nominee1 = [[Evo Morales]]
| party1 = Movement for Socialism (Bolivia)
| running_mate1 = [[Álvaro García Linera]]
| popular_vote1 = '''2,889,359'''
| percentage1 = '''47.08%'''
<!-- Carlos Mesa -->| image2 = Carlos Mesa, ex-President of Bolivia (cropped 2).jpg
| image2_size = 150x150px
| nominee2 = [[Carlos Mesa]]
| party2 = [[Civic Community]]
| colour2 = F26524
| running_mate2 = Gustavo Pedraza
| popular_vote2 = 2,240,920
| percentage2 = 36.51%
<!-- Chi Hyun Chung -->| image3 = Chi Hyun Ching (cropped).png
| image3_size = 150x150px
| nominee3 = [[Chi Hyun Chung]]
| party3 = Christian Democratic Party (Bolivia)
| running_mate3 = Paola Barriga
| popular_vote3 = 539,081
| percentage3 = 8.78%
<!-- map -->| map_image = 2019 Bolivian elections map.png
| map_size = 300px
| map_caption =
| title = President
| before_election = [[Evo Morales]]
| before_party = Movement for Socialism (Bolivia)
| after_election = [[2019 Bolivian political crisis|Election results annulled]] <br>[[Jeanine Áñez]] ([[Democrat Social Movement]]) becomes acting president
| after_party =
}}
<syntaxhighlight lang="wikitext" style= "overflow: auto">
{{Infobox election
| election_name = 2019 Bolivian general election
| country = Bolivia
| type = presidential
| previous_election = 2014 Bolivian general election
| previous_year = 2014
| next_election = 2020 Bolivian general election
| next_year = 2020
| election_date = 20 October 2019
| ongoing = no
| turnout = 88.31% ({{increase}} 0.41[[Percentage point|pp]])
<!-- Evo Morales -->| image1 = Evo Morales 2017.jpg
| image1_size = 150x150px
| nominee1 = [[Evo Morales]]
| party1 = Movement for Socialism (Bolivia)
| running_mate1 = [[Álvaro García Linera]]
| popular_vote1 = '''2,889,359'''
| percentage1 = '''47.08%'''
<!-- Carlos Mesa -->| image2 = Carlos Mesa, ex-President of Bolivia (cropped 2).jpg
| image2_size = 150x150px
| nominee2 = [[Carlos Mesa]]
| party2 = [[Civic Community]]
| colour2 = F26524
| running_mate2 = Gustavo Pedraza
| popular_vote2 = 2,240,920
| percentage2 = 36.51%
<!-- Chi Hyun Chung -->| image3 = Chi Hyun Ching (cropped).png
| image3_size = 150x150px
| nominee3 = [[Chi Hyun Chung]]
| party3 = Christian Democratic Party (Bolivia)
| running_mate3 = Paola Barriga
| popular_vote3 = 539,081
| percentage3 = 8.78%
<!-- map -->| map_image = 2019 Bolivian elections map.png
| map_size = 300px
| map_caption =
| title = President
| before_election = [[Evo Morales]]
| before_party = Movement for Socialism (Bolivia)
| after_election = [[2019 Bolivian political crisis|Election results annulled]] <br>[[Jeanine Áñez]] ([[Democrat Social Movement]]) becomes acting president
| after_party =
}}
</syntaxhighlight>
{{-}}
== Microformat ==
{{UF-hcal}}
Note: If no date is entered, then the microformat is not emitted.
== Tracking category ==
* {{clc|Pages using infobox election with unknown parameters}}
== TemplateData ==
{{TemplateData header}}
<templatedata>
{
"description": "An infobox for elections.",
"format": "block",
"params": {
"election_name": {
"label": "Name",
"description": "Name given to the election.",
"type": "string",
"required": false,
"example": "2012 United States Senate election in Nevada",
"autovalue": "{{subst:PAGENAME}}"
},
"country": {
"label": "Country",
"description": "Country where the election took place.",
"type": "string",
"required": false
},
"flag_year": {
"label": "Flag year",
"description": "For historical elections when an older flag design was in effect, enter the year the flag came into effect (not the election year).",
"type": "string",
"default": "current flag",
"required": false
},
"flag_image": {
"label": "Flag image",
"description": "For non-country elections, specify the full name of the flag, coat-of-arms, or seal image to display.",
"type": "string",
"required": false
},
"type": {
"label": "Type",
"description": "The type of election. Must be one of five: presidential, primary, legislative, parliamentary or by-election. The type \"Presidential\" lists nominee's names; legislative will not. Legislative after the election will display majority and minority party, rather than first and second party.",
"type": "string",
"required": false,
"example": "'presidential', 'primary', 'legislative', 'parliamentary', 'by-election'",
"autovalue": "presidential"
},
"vote_type": {
"label": "Vote type",
"description": "The type of votes recorded at popular_voten",
"type": "string",
"default": "popular",
"required": false
},
"ongoing": {
"label": "Ongoing?",
"description": "Must be either 'yes' or 'no', whether the election is yet to take place, or completed. 'no' means the election has concluded and results have been declared; 'yes' means the election has yet to occur and be called.",
"type": "string",
"default": "no",
"example": "'no', 'yes'",
"required": false
},
"party_colour": {
"label": "Show party colours?",
"description": "To turn off the party colours enter 'no'.",
"type": "string",
"required": false,
"aliases": [
"party_color"
],
"example": "no"
},
"party_name": {
"label": "Link to parties?",
"description": "To turn off linking to the parties, enter 'no'.",
"type": "string",
"required": false,
"example": "no"
},
"alliance_name": {
"label": "Link to alliances?",
"description": "To turn off linking to the alliances, enter 'no'.",
"type": "string",
"required": false,
"example": "no"
},
"previous_election": {
"label": "Previous election",
"description": "The page name of the last election of this type.",
"type": "wiki-page-name",
"required": false,
"example": "2000 United States presidential election"
},
"previous_year": {
"label": "Previous year",
"description": "The year the last election of this type took place.",
"type": "number",
"required": false,
"example": "2000"
},
"outgoing_members": {
"label": "Outgoing members",
"description": "The page name of the legislative term (typically including a list of members) serving between the previous election and this election. Can either be a page title or a wiki link.",
"type": "string",
"required": false
},
"election_date": {
"label": "Election date",
"description": "Date of election - use {{Start date|YYYY|mm|dd}}.",
"type": "wiki-template-name",
"example": "{{Start date|2020|11|03}}",
"required": false,
"suggested": true
},
"elected_members": {
"label": "Elected members",
"description": "The page name of the legislative term (typically including a list of members) serving between this election and the next election. Can either be a page title or a wiki link.",
"type": "string",
"required": false
},
"next_election": {
"label": "Next election",
"description": "The page name of the next election of this type. If red link (it doesn't exist), then it will appear unlinked.",
"type": "wiki-page-name",
"required": false,
"example": "2008 United States presidential election"
},
"next_year": {
"label": "Next year",
"description": "The year the next election of this type took place.",
"type": "number",
"required": false,
"example": "2008"
},
"votes_for_election": {
"label": "Votes for election",
"description": "The number of votes for election and the system of voting (eg. Electoral College).",
"type": "content",
"required": false,
"example": "All [[List of United States presidential electors, 2004|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]"
},
"needed_votes": {
"label": "Needed votes",
"description": "The number of votes required to win. If there is an even number of votes, use the number that is said by the media.",
"type": "string",
"required": false,
"example": "270 electoral"
},
"seats_for_election": {
"label": "Seats for election",
"description": "The number of seats for election and the house or chamber the seats are for.",
"type": "number",
"required": false
},
"majority_seats": {
"label": "Majority seats",
"description": "The number of seats required for a majority government. If there is an even number of seats in the house or chamber, use the number that is said by the media.",
"type": "number",
"required": false
},
"opinion_polls": {
"label": "Opinion polls",
"description": "Pagename or section anchor of opinion polls.",
"type": "string",
"required": false
},
"registered": {},
"turnout": {
"label": "Turnout",
"description": "Voter turnout for this election.",
"type": "string",
"required": false
},
"votes_counted": {
"label": "Percent of votes counted",
"type": "line",
"description": "Use ONE out of votes_counted, reporting, or declared. Do not include percentage (%) sign."
},
"reporting": {
"label": "Percent reporting",
"type": "line",
"description": "Use ONE out of votes_counted, reporting, or declared. Do not include percentage (%) sign."
},
"declared": {
"label": "Percent votes declared",
"type": "line",
"description": "Use ONE out of votes_counted, reporting, or declared. Do not include percentage (%) sign."
},
"college_voted": {},
"last_update": {
"label": "Last update",
"type": "date"
},
"time_zone": {
"label": "Time zone",
"type": "line",
"description": "Time zone of the time given in the ''last_update'' field. Must be linked as normal similar to an article [[Greenwich mean time|GMT]](e.g. )",
"example": "[[Greenwich mean time|GMT]]"
},
"image_size": {
"label": "Image size",
"type": "line",
"example": "x200px",
"description": "Size for images. Can be overridden by image(n)_size",
"required": false
},
"image_upright": {
"label": "Image upright",
"description": "Upright for imagen. See WP:UPRIGHT. Can be overridden by imagen_upright",
"type": "string",
"required": false
},
"previous_mps": {
"type": "string",
"deprecated": true
},
"elected_mps": {
"type": "string",
"deprecated": true
},
"image1": {
"label": "Image 1",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour1 or party1 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image1_size": {
"label": "Image 1 size",
"type": "line",
"example": "x200px",
"description": "Size for image 1. Overrides image_size",
"required": false
},
"image1_upright": {
"label": "Image 1 upright",
"description": "Upright for image1. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour1": {
"label": "Colour 1",
"description": "Enter a hex colour code (without the #) to override the border colour of image1. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color1"
]
},
"nominee1": {
"label": "Nominee 1",
"description": "Name of Nominee. When appropriate, candidate1 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate1": {
"label": "Candidate 1",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader1": {
"label": "Leader 1",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party1": {
"label": "Party 1",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance1": {
"label": "Alliance 1",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state1": {
"label": "Home state 1",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate1": {
"label": "Running mate 1",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"electoral_vote1": {
"label": "Electoral vote 1",
"description": "The electoral votes obtained by the Nominee. The number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"projected_vote1": {
"label": "Projected electoral vote 1",
"description": "The electoral votes projected for the Nominee.",
"type": "string",
"required": false
},
"delegate_count1": {
"label": "Delegate count 1",
"description": "The aggregate number of delegates obtained by the candidate. The number can be changed up to nine to display different candidates at the same time. Intended for use in pre-election processes such as selection of delegates to United States presidential nominating conventions. Intended to be used instead of electoral_vote1 for these cases.",
"type": "string",
"required": false
},
"states_carried1": {
"label": "States carried 1",
"description": "The states carried or won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"districts_won1": {
"label": "Districts won 1",
"description": "The number of districts won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"counties_threshold1": {},
"counties_won1": {},
"leader_since1": {
"label": "Leader since 1",
"description": "The date the Leader took office. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"leaders_seat1": {
"label": "Leaders seat 1",
"description": "The seat the Leader represents. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"last_election1": {
"label": "Last election 1",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before1": {
"label": "Seats before 1",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed1": {
"label": "Seats needed 1",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats1": {
"label": "Seats 1",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after1": {
"label": "Seats after 1",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change1": {
"label": "Seat change 1",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"swing1": {
"label": "Swing 1",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote1": {
"label": "Popular vote 1",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage1": {
"label": "Percentage 1",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "50.7%"
},
"image2": {
"label": "Image 2",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour1 or party1 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image2_size": {
"label": "Image 2 size",
"type": "line",
"example": "x200px",
"description": "Size for image 2. Overrides image_size",
"required": false
},
"image2_upright": {
"label": "Image 2 upright",
"description": "Upright for image2. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour2": {
"label": "Colour 2",
"description": "Enter a hex colour code (without the #) to override the border colour of image2. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color2"
]
},
"nominee2": {
"label": "Nominee 2",
"description": "Name of Nominee. When appropriate, candidate1 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate2": {
"label": "Candidate 2",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader2": {
"label": "Leader 2",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party2": {
"label": "Party 2",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance2": {
"label": "Alliance 2",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state2": {
"label": "Home state 2",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Massachusetts]]"
},
"running_mate2": {
"label": "Running mate 2",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[John Edwards]]"
},
"electoral_vote2": {
"label": "Electoral vote 2",
"description": "The electoral votes obtained by the Nominee. The number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"projected_vote2": {
"label": "Projected electoral vote 2",
"description": "The electoral votes projected for the Nominee.",
"type": "string",
"required": false
},
"delegate_count2": {
"label": "Delegate count 2",
"description": "The aggregate number of delegates obtained by the candidate. The number can be changed up to nine to display different candidates at the same time. Intended for use in pre-election processes such as selection of delegates to United States presidential nominating conventions. Intended to be used instead of electoral_vote1 for these cases.",
"type": "string",
"required": false
},
"states_carried2": {
"label": "States carried 2",
"description": "The states carried or won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"districts_won2": {
"label": "Districts won 2",
"description": "The number of districts won by the Nominee. The number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"counties_threshold2": {},
"counties_won2": {},
"leader_since2": {
"label": "Leader since 2",
"description": "The date the Leader took office. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"leaders_seat2": {
"label": "Leaders seat 2",
"description": "The seat the Leader represents. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"last_election2": {
"label": "Last election 2",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before2": {
"label": "Seats before 2",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed2": {
"label": "Seats needed 2",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats2": {
"label": "Seats 2",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after2": {
"label": "Seats after 2",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change2": {
"label": "Seat change 2",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote2": {
"label": "Popular vote 2",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage2": {
"label": "Percentage 2",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing2": {
"label": "Swing 2",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"poll1_date": {
"label": "Poll 1 date",
"description": "The date of an opinion poll. The number can be changed up to five to display different polls at the same time.",
"type": "string",
"required": false
},
"poll1_source": {
"label": "Poll 1 source",
"description": "The source or URL of the opinion poll. The number can be changed up to five to display different polls at the same time.",
"type": "string",
"required": false
},
"poll1_nominee1": {
"label": "Poll 1 nominee 1",
"description": "The percentage poll 1 gave to nominee 1. When appropriate, poll1_candidate1 can be used instead. The poll number can be changed up to five to display different polls at the same time. The nominee or candidate number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"poll1_nominee2": {
"label": "Poll 1 nominee 2",
"description": "The percentage poll 1 gave to nominee 2. When appropriate, poll1_candidate2 can be used instead. The poll number can be changed up to five to display different polls at the same time. The nominee or candidate number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string"
},
"poll1_party1": {
"label": "Poll 1 party 1",
"description": "The percentage poll 1 gave to party 1. The poll number can be changed up to five to display different polls at the same time. The party number can be changed up to nine to display different Nominees at the same time.",
"type": "string",
"required": false
},
"poll1_party2": {
"label": "Poll 1 party 2",
"description": "The percentage poll 1 gave to party 2. The poll number can be changed up to five to display different polls at the same time. The party number can be changed up to nine to display different Nominees at the same time.",
"type": "string"
},
"1blank": {
"label": "1 blank",
"description": "Title of an auxiliary row. The number can be changed up to six to display six extra rows.",
"type": "string",
"required": false
},
"1data1": {
"label": "1 data 1",
"description": "Data 1 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"1data2": {
"label": "1 data 2",
"description": "Data 1 for nominee or party 2. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"2blank": {
"label": "2 blank",
"description": "Title of an auxiliary row. The number can be changed up to six to display six extra rows.",
"type": "string",
"required": false
},
"2data1": {
"label": "2 data 1",
"description": "Data 2 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"2data2": {
"label": "2 data 2",
"description": "Data 2 for nominee or party 2. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"3blank": {
"label": "3 blank",
"description": "Title of an auxiliary row. The number can be changed up to six to display six extra rows.",
"type": "string",
"required": false
},
"3data1": {
"label": "3 data 1",
"description": "Data 3 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"3data2": {
"label": "3 data 2",
"description": "Data 3 for nominee or party 2. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"map_image": {
"label": "Map image",
"description": "Page name for the election map file.",
"type": "wiki-page-name",
"required": false
},
"map_size": {
"label": "Map size",
"description": "Size of image of the election map to be displayed.",
"type": "line",
"default": "300px",
"required": false
},
"map_alt": {
"label": "Map alt",
"description": "Alt text for the election map.",
"type": "string",
"required": false
},
"map": {
"label": "Map",
"description": "A freeform replacement for the above, which can be used to insert extension:ImageMaps or templates instead of images.",
"type": "content",
"required": false
},
"map_caption": {
"label": "Map caption",
"description": "Caption on image of the election map to be displayed.",
"type": "string",
"required": false
},
"map2_image": {
"label": "Map 2 image",
"description": "Page name for the election map 2 file.",
"type": "wiki-page-name",
"required": false
},
"map2_size": {
"label": "Map 2 size",
"description": "Size of image of the election map 2 to be displayed.",
"type": "line",
"default": "300px",
"required": false
},
"map2_alt": {
"label": "Map 2 alt",
"description": "Alt text for the election map.",
"type": "string",
"required": false
},
"map2": {
"label": "Map 2",
"description": "A freeform replacement for the above, which can be used to insert extension:ImageMaps or templates instead of images.",
"type": "content",
"required": false
},
"map2_caption": {
"label": "Map 2 caption",
"description": "Caption on image of the election map 2 to be displayed.",
"type": "string",
"required": false
},
"map3_image": {
"label": "Map 3 image",
"description": "Page name for the election map 3 file.",
"type": "wiki-page-name",
"required": false
},
"map3_size": {
"label": "Map 3 size",
"description": "Size of image of the election map 3 to be displayed.",
"type": "line",
"default": "300px",
"required": false
},
"map3_alt": {
"label": "Map 3 alt",
"description": "Alt text for the election map.",
"type": "string",
"required": false
},
"map3": {
"label": "Map 3",
"description": "A freeform replacement for the above, which can be used to insert extension:ImageMaps or templates instead of images.",
"type": "content",
"required": false
},
"map3_caption": {
"label": "Map 3 caption",
"description": "Caption on image of the election map 3 to be displayed.",
"type": "string",
"required": false
},
"map4_image": {
"label": "Map 4 image",
"description": "Page name for the election map 4 file.",
"type": "wiki-page-name",
"required": false
},
"map4_size": {
"label": "Map 4 size",
"description": "Size of image of the election map 4 to be displayed.",
"type": "line",
"default": "300px",
"required": false
},
"map4_alt": {
"label": "Map 4 alt",
"description": "Alt text for the election map.",
"type": "string",
"required": false
},
"map4": {
"label": "Map 4",
"description": "A freeform replacement for the above, which can be used to insert extension:ImageMaps or templates instead of images.",
"type": "content",
"required": false
},
"map4_caption": {
"label": "Map 4 caption",
"description": "Caption on image of the election map 4 to be displayed.",
"type": "string",
"required": false
},
"title": {
"label": "Title",
"description": "Title of the leader before the election. (President, Speaker, Government, Prime Minister).",
"type": "string",
"required": false
},
"before_election": {
"label": "Before election",
"description": "The leader in power before the election, labeled incumbent if the election is yet to take place.",
"type": "string",
"required": false
},
"before_party": {
"label": "Before party",
"description": "The party in power before the election. This can be set to 'Acting (law)' (which will display as 'Acting') if necessary.",
"type": "string",
"required": false
},
"posttitle": {
"label": "Post-title",
"description": "Title of the victor of the election (President-elect, Prime Minister-designate), only if different than before.",
"type": "string",
"required": false
},
"after_election": {
"label": "After election",
"description": "The leader in power as a result of the election. If an election is annulled, it should be noted Election results annulled or other equivalent and the acting office holder should be denoted in small text on the line below it.",
"type": "string",
"required": false
},
"after_party": {
"label": "After party",
"description": "The party in power as a result of the election.",
"type": "string",
"required": false
},
"image3": {
"label": "Image 3",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour3 or party3 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image3_size": {
"label": "Image 3 size",
"type": "line",
"example": "x200px",
"description": "Size for image 3. Overrides image_size",
"required": false
},
"image3_upright": {
"label": "Image 3 upright",
"description": "Upright for image3. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour3": {
"label": "Colour 3",
"description": "Enter a hex colour code (without the #) to override the border colour of image3. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color3"
]
},
"nominee3": {
"label": "Nominee 3",
"description": "Name of Nominee. When appropriate, candidate3 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate3": {
"label": "Candidate 3",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader3": {
"label": "Leader 3",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party3": {
"label": "Party 3",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance3": {
"label": "Alliance 3",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state3": {
"label": "Home state 3",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate3": {
"label": "Running mate 3",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election3": {
"label": "Last election 3",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before3": {
"label": "Seats before 3",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed3": {
"label": "Seats needed 3",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats3": {
"label": "Seats 3",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after3": {
"label": "Seats after 3",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change3": {
"label": "Seat change 3",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote3": {
"label": "Popular vote 3",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage3": {
"label": "Percentage 3",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing3": {
"label": "Swing 3",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"image4_size": {
"label": "Image 4 size",
"type": "line",
"example": "x200px",
"description": "Size for image 4. Overrides image_size",
"required": false
},
"image4": {
"label": "Image 4",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour4 or party4 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image4_upright": {
"label": "Image 4 upright",
"description": "Upright for image4. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour4": {
"label": "Colour 4",
"description": "Enter a hex colour code (without the #) to override the border colour of image4. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color4"
]
},
"nominee4": {
"label": "Nominee 4",
"description": "Name of Nominee. When appropriate, candidate4 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate4": {
"label": "Candidate 4",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader4": {
"label": "Leader 4",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party4": {
"label": "Party 4",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance4": {
"label": "Alliance 4",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state4": {
"label": "Home state 4",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate4": {
"label": "Running mate 4",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election4": {
"label": "Last election 4",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before4": {
"label": "Seats before 4",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed4": {
"label": "Seats needed 4",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats4": {
"label": "Seats 4",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after4": {
"label": "Seats after 4",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change4": {
"label": "Seat change 4",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote4": {
"label": "Popular vote 4",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage4": {
"label": "Percentage 4",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing4": {
"label": "Swing 4",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"image5": {
"label": "Image 5",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour5 or party5 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image5_size": {
"label": "Image 5 size",
"type": "line",
"example": "x200px",
"description": "Size for image 5. Overrides image_size",
"required": false
},
"image5_upright": {
"label": "Image 5 upright",
"description": "Upright for image5. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour5": {
"label": "Colour 5",
"description": "Enter a hex colour code (without the #) to override the border colour of image5. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color5"
]
},
"nominee5": {
"label": "Nominee 5",
"description": "Name of Nominee. When appropriate, candidate5 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate5": {
"label": "Candidate 5",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader5": {
"label": "Leader 5",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party5": {
"label": "Party 5",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance5": {
"label": "Alliance 5",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state5": {
"label": "Home state 5",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate5": {
"label": "Running mate 5",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election5": {
"label": "Last election 5",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before5": {
"label": "Seats before 5",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed5": {
"label": "Seats needed 5",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats5": {
"label": "Seats 5",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after5": {
"label": "Seats after 5",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change5": {
"label": "Seat change 5",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote5": {
"label": "Popular vote 5",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage5": {
"label": "Percentage 5",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing5": {
"label": "Swing 5",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"image6": {
"label": "Image 6",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour6 or party6 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image6_size": {
"label": "Image 6 size",
"type": "line",
"example": "x200px",
"description": "Size for image 6. Overrides image_size",
"required": false
},
"image6_upright": {
"label": "Image 6 upright",
"description": "Upright for image6. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour6": {
"label": "Colour 6",
"description": "Enter a hex colour code (without the #) to override the border colour of image6. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color6"
]
},
"nominee6": {
"label": "Nominee 6",
"description": "Name of Nominee. When appropriate, candidate6 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate6": {
"label": "Candidate 6",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader6": {
"label": "Leader 6",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party6": {
"label": "Party 6",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance6": {
"label": "Alliance 6",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state6": {
"label": "Home state 6",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate6": {
"label": "Running mate 6",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election6": {
"label": "Last election 6",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before6": {
"label": "Seats before 6",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed6": {
"label": "Seats needed 6",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats6": {
"label": "Seats 6",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after6": {
"label": "Seats after 6",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change6": {
"label": "Seat change 6",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote6": {
"label": "Popular vote 6",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage6": {
"label": "Percentage 6",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing6": {
"label": "Swing 6",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"image7": {
"label": "Image 7",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour7 or party7 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image7_size": {
"label": "Image 7 size",
"type": "line",
"example": "x200px",
"description": "Size for image 7. Overrides image_size",
"required": false
},
"image7_upright": {
"label": "Image 7 upright",
"description": "Upright for image7. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour7": {
"label": "Colour 7",
"description": "Enter a hex colour code (without the #) to override the border colour of image7. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color7"
]
},
"nominee7": {
"label": "Nominee 7",
"description": "Name of Nominee. When appropriate, candidate7 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate7": {
"label": "Candidate 7",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader7": {
"label": "Leader 7",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party7": {
"label": "Party 7",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance7": {
"label": "Alliance 7",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state7": {
"label": "Home state 7",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate7": {
"label": "Running mate 7",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election7": {
"label": "Last election 7",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before7": {
"label": "Seats before 7",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed7": {
"label": "Seats needed 7",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats7": {
"label": "Seats 7",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after7": {
"label": "Seats after 7",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change7": {
"label": "Seat change 7",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote7": {
"label": "Popular vote 7",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage7": {
"label": "Percentage 7",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing7": {
"label": "Swing 7",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"image8": {
"label": "Image 8",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour8 or party8 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image8_size": {
"label": "Image 8 size",
"type": "line",
"example": "x200px",
"description": "Size for image 8. Overrides image_size",
"required": false
},
"image8_upright": {
"label": "Image 8 upright",
"description": "Upright for image8. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour8": {
"label": "Colour 8",
"description": "Enter a hex colour code (without the #) to override the border colour of image8. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color8"
]
},
"nominee8": {
"label": "Nominee 8",
"description": "Name of Nominee. When appropriate, candidate8 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate8": {
"label": "Candidate 8",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader8": {
"label": "Leader 8",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party8": {
"label": "Party 8",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance8": {
"label": "Alliance 8",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state8": {
"label": "Home state 8",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate8": {
"label": "Running mate 8",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election8": {
"label": "Last election 8",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before8": {
"label": "Seats before 8",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed8": {
"label": "Seats needed 8",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats8": {
"label": "Seats 8",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after8": {
"label": "Seats after 8",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change8": {
"label": "Seat change 8",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote8": {
"label": "Popular vote 8",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage8": {
"label": "Percentage 8",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing8": {
"label": "Swing 8",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"image9": {
"label": "Image 9",
"description": "Image of Nominee, head of Party list or Party Leader. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time. In order to work, colour9 or party9 must be entered.",
"type": "wiki-page-name",
"required": false
},
"image9_size": {
"label": "Image 9 size",
"type": "line",
"example": "x200px",
"description": "Size for image 9. Overrides image_size",
"required": false
},
"image9_upright": {
"label": "Image 9 upright",
"description": "Upright for image9. See WP:UPRIGHT. Overrides image_upright",
"type": "string",
"required": false
},
"colour9": {
"label": "Colour 9",
"description": "Enter a hex colour code (without the #) to override the border colour of image9. The number can be changed up to nine to display different Nominees, heads of Party list or Leaders at the same time.",
"type": "string",
"required": false,
"aliases": [
"color9"
]
},
"nominee9": {
"label": "Nominee 9",
"description": "Name of Nominee. When appropriate, candidate9 can be used instead. The number can be changed up to nine to display different Nominees or Candidates at the same time.",
"type": "string",
"required": false
},
"candidate9": {
"label": "Candidate 9",
"description": "Name of Candidate. The number can be changed up to nine to display different Candidates at the same time.",
"type": "string",
"required": false
},
"leader9": {
"label": "Leader 9",
"description": "Name of head of Party list or Party Leader. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"party9": {
"label": "Party 9",
"description": "Political Party using Political party shortname templates. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"alliance9": {
"label": "Alliance 9",
"description": "Political alliance in elections where coalition politics is common.",
"type": "string",
"required": false
},
"home_state9": {
"label": "Home state 9",
"description": "The state the Nominee or Candidate represents. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Texas]]"
},
"running_mate9": {
"label": "Running mate 9",
"description": "The Nominee's Running mate. The number can be changed up to nine to display different Nominees at the same time.",
"type": "line",
"required": false,
"example": "[[Dick Cheney|Richard B. Cheney]]"
},
"last_election9": {
"label": "Last election 9",
"description": "The seat count and percentage of the vote received at the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_before9": {
"label": "Seats before 9",
"description": "The seat count before the election, labeled 'current seats' if the election is yet to take place. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_needed9": {
"label": "Seats needed 9",
"description": "The seats required to gain an overall majority. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats9": {
"label": "Seats 9",
"description": "The seats won at the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seats_after9": {
"label": "Seats after 9",
"description": "The seat count after the election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"seat_change9": {
"label": "Seat change 9",
"description": "The change in the number of seats won at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"popular_vote9": {
"label": "Popular vote 9",
"description": "The number of votes obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"percentage9": {
"label": "Percentage 9",
"description": "The percentage of the popular vote obtained by the Nominee or Party. The number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "line",
"required": false,
"example": "48.3%"
},
"swing9": {
"label": "Swing 9",
"description": "The swing or change in popular vote at the election compared to the previous election. The number can be changed up to nine to display different Parties at the same time.",
"type": "string",
"required": false
},
"4blank": {
"label": "4 blank",
"description": "Title of an auxiliary row. The number can be changed up to six to display six extra rows.",
"type": "string",
"required": false
},
"4data1": {
"label": "4 data 1",
"description": "Data 4 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"4data2": {
"label": "4 data 2",
"description": "Data 4 for nominee or party 2. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"5blank": {
"label": "5 blank",
"description": "Title of an auxiliary row. The number can be changed up to six to display six extra rows.",
"type": "string",
"required": false
},
"5data1": {
"label": "5 data 1",
"description": "Data 5 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"5data2": {
"label": "5 data 2",
"description": "Data 5 for nominee or party 2. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"6blank": {
"label": "6 blank",
"description": "Title of an auxiliary row. The number can be changed up to six to display six extra rows.",
"type": "string",
"required": false
},
"6data1": {
"label": "6 data 1",
"description": "Data 6 for nominee or party 1. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"6data2": {
"label": "6 data 2",
"description": "Data 6 for nominee or party 2. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"1data3": {
"label": "1 data 3",
"description": "Data 1 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"1data4": {
"label": "1 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"1data5": {
"label": "1 data 5",
"description": "Data 1 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"1data6": {
"label": "1 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"1data7": {
"label": "1 data 7",
"description": "Data 1 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"1data8": {
"label": "1 data 8",
"description": "Data 1 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"1data9": {
"label": "1 data 9",
"description": "Data 1 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"2data3": {
"label": "2 data 3",
"description": "Data 2 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"2data4": {
"label": "2 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"2data5": {
"label": "2 data 5",
"description": "Data 2 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"2data6": {
"label": "2 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"2data7": {
"label": "2 data 7",
"description": "Data 2 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"2data8": {
"label": "2 data 8",
"description": "Data 2 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"2data9": {
"label": "2 data 9",
"description": "Data 2 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"3data3": {
"label": "3 data 3",
"description": "Data 3 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"3data4": {
"label": "3 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"3data5": {
"label": "3 data 5",
"description": "Data 3 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"3data6": {
"label": "3 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"3data7": {
"label": "3 data 7",
"description": "Data 3 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"3data8": {
"label": "3 data 8",
"description": "Data 3 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"3data9": {
"label": "3 data 9",
"description": "Data 3 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"4data3": {
"label": "4 data 3",
"description": "Data 4 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"4data4": {
"label": "4 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"4data5": {
"label": "4 data 5",
"description": "Data 4 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"4data6": {
"label": "4 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"4data7": {
"label": "4 data 7",
"description": "Data 4 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"4data8": {
"label": "4 data 8",
"description": "Data 4 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"4data9": {
"label": "4 data 9",
"description": "Data 4 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"5data3": {
"label": "5 data 3",
"description": "Data 5 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"5data4": {
"label": "5 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"5data5": {
"label": "5 data 5",
"description": "Data 5 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"5data6": {
"label": "5 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"5data7": {
"label": "5 data 7",
"description": "Data 5 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"5data8": {
"label": "5 data 8",
"description": "Data 5 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"5data9": {
"label": "5 data 9",
"description": "Data 5 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"6data3": {
"label": "6 data 3",
"description": "Data 6 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"6data4": {
"label": "6 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"6data5": {
"label": "6 data 5",
"description": "Data 6 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"6data6": {
"label": "6 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"6data7": {
"label": "6 data 7",
"description": "Data 6 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"6data8": {
"label": "6 data 8",
"description": "Data 6 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"6data9": {
"label": "6 data 9",
"description": "Data 6 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"7data3": {
"label": "7 data 3",
"description": "Data 7 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"7data4": {
"label": "7 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"7data5": {
"label": "7 data 5",
"description": "Data 7 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"7data6": {
"label": "7 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"7data7": {
"label": "7 data 7",
"description": "Data 7 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"7data8": {
"label": "7 data 8",
"description": "Data 7 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"7data9": {
"label": "7 data 9",
"description": "Data 7 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"8data3": {
"label": "8 data 3",
"description": "Data 8 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"8data4": {
"label": "8 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"8data5": {
"label": "8 data 5",
"description": "Data 8 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"8data6": {
"label": "8 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"8data7": {
"label": "8 data 7",
"description": "Data 8 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"8data8": {
"label": "8 data 8",
"description": "Data 8 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"8data9": {
"label": "8 data 9",
"description": "Data 8 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"9data3": {
"label": "9 data 3",
"description": "Data 9 for nominee or party 3. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"9data4": {
"label": "9 data 4",
"description": "Data 4 for nominee or party 4. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"9data5": {
"label": "9 data 5",
"description": "Data 9 for nominee or party 5. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"9data6": {
"label": "9 data 6",
"description": "Data 6 for nominee or party 6. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"9data7": {
"label": "9 data 7",
"description": "Data 9 for nominee or party 7. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string",
"required": false
},
"9data8": {
"label": "9 data 8",
"description": "Data 9 for nominee or party 8. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"9data9": {
"label": "9 data 9",
"description": "Data 9 for nominee or party 9. The first number can be changed up to six to display six extra rows. The second number can be changed up to nine to display different Nominees or Parties at the same time.",
"type": "string"
},
"counties_threshold3": {},
"counties_threshold4": {},
"counties_threshold5": {},
"counties_threshold6": {},
"counties_threshold7": {},
"counties_threshold8": {},
"counties_threshold9": {},
"counties_won3": {},
"counties_won4": {},
"counties_won5": {},
"counties_won6": {},
"counties_won7": {},
"counties_won8": {},
"counties_won9": {},
"states_carried3": {},
"states_carried4": {},
"states_carried5": {},
"states_carried6": {},
"states_carried7": {},
"states_carried8": {},
"states_carried9": {},
"delegate_count3": {},
"delegate_count4": {},
"delegate_count5": {},
"delegate_count6": {},
"delegate_count7": {},
"delegate_count8": {},
"delegate_count9": {},
"electoral_vote3": {},
"electoral_vote4": {},
"electoral_vote5": {},
"electoral_vote6": {},
"electoral_vote7": {},
"electoral_vote8": {},
"electoral_vote9": {},
"leader_since3": {},
"leader_since4": {},
"leader_since5": {},
"leader_since6": {},
"leader_since7": {},
"leader_since8": {},
"leader_since9": {},
"leaders_seat3": {},
"leaders_seat4": {},
"leaders_seat5": {},
"leaders_seat6": {},
"leaders_seat7": {},
"leaders_seat8": {},
"leaders_seat9": {},
"poll1_candidate1": {},
"poll1_candidate2": {},
"poll1_candidate3": {},
"poll1_candidate4": {},
"poll1_candidate5": {},
"poll1_candidate6": {},
"poll1_candidate7": {},
"poll1_candidate8": {},
"poll1_candidate9": {},
"poll1_date1": {},
"poll1_date2": {},
"poll1_date3": {},
"poll1_nominee3": {},
"poll1_nominee4": {},
"poll1_nominee5": {},
"poll1_nominee6": {},
"poll1_nominee7": {},
"poll1_nominee8": {},
"poll1_nominee9": {},
"poll1_party3": {},
"poll1_party4": {},
"poll1_party5": {},
"poll1_party6": {},
"poll1_party7": {},
"poll1_party8": {},
"poll1_party9": {},
"poll1_source1": {},
"poll1_source2": {},
"poll1_source3": {},
"poll2_candidate1": {},
"poll2_candidate2": {},
"poll2_candidate3": {},
"poll2_candidate4": {},
"poll2_candidate5": {},
"poll2_candidate6": {},
"poll2_candidate7": {},
"poll2_candidate8": {},
"poll2_candidate9": {},
"poll2_date": {},
"poll2_date1": {},
"poll2_date2": {},
"poll2_date3": {},
"poll2_nominee1": {},
"poll2_nominee2": {},
"poll2_nominee3": {},
"poll2_nominee4": {},
"poll2_nominee5": {},
"poll2_nominee6": {},
"poll2_nominee7": {},
"poll2_nominee8": {},
"poll2_nominee9": {},
"poll2_party1": {},
"poll2_party2": {},
"poll2_party3": {},
"poll2_party4": {},
"poll2_party5": {},
"poll2_party6": {},
"poll2_party7": {},
"poll2_party8": {},
"poll2_party9": {},
"poll2_source": {},
"poll2_source1": {},
"poll2_source2": {},
"poll2_source3": {},
"poll3_candidate1": {},
"poll3_candidate2": {},
"poll3_candidate3": {},
"poll3_candidate4": {},
"poll3_candidate5": {},
"poll3_candidate6": {},
"poll3_candidate7": {},
"poll3_candidate8": {},
"poll3_candidate9": {},
"poll3_date": {},
"poll3_date1": {},
"poll3_date2": {},
"poll3_date3": {},
"poll3_nominee1": {},
"poll3_nominee2": {},
"poll3_nominee3": {},
"poll3_nominee4": {},
"poll3_nominee5": {},
"poll3_nominee6": {},
"poll3_nominee7": {},
"poll3_nominee8": {},
"poll3_nominee9": {},
"poll3_party1": {},
"poll3_party2": {},
"poll3_party3": {},
"poll3_party4": {},
"poll3_party5": {},
"poll3_party6": {},
"poll3_party7": {},
"poll3_party8": {},
"poll3_party9": {},
"poll3_source": {},
"poll3_source1": {},
"poll3_source2": {},
"poll3_source3": {},
"poll4_candidate1": {},
"poll4_candidate2": {},
"poll4_candidate3": {},
"poll4_candidate4": {},
"poll4_candidate5": {},
"poll4_candidate6": {},
"poll4_candidate7": {},
"poll4_candidate8": {},
"poll4_candidate9": {},
"poll4_date": {},
"poll4_date1": {},
"poll4_date2": {},
"poll4_date3": {},
"poll4_nominee1": {},
"poll4_nominee2": {},
"poll4_nominee3": {},
"poll4_nominee4": {},
"poll4_nominee5": {},
"poll4_nominee6": {},
"poll4_nominee7": {},
"poll4_nominee8": {},
"poll4_nominee9": {},
"poll4_party1": {},
"poll4_party2": {},
"poll4_party3": {},
"poll4_party4": {},
"poll4_party5": {},
"poll4_party6": {},
"poll4_party7": {},
"poll4_party8": {},
"poll4_party9": {},
"poll4_source": {},
"poll4_source1": {},
"poll4_source2": {},
"poll4_source3": {},
"poll5_candidate1": {},
"poll5_candidate2": {},
"poll5_candidate3": {},
"poll5_candidate4": {},
"poll5_candidate5": {},
"poll5_candidate6": {},
"poll5_candidate7": {},
"poll5_candidate8": {},
"poll5_candidate9": {},
"poll5_date": {},
"poll5_date1": {},
"poll5_date2": {},
"poll5_date3": {},
"poll5_nominee1": {},
"poll5_nominee2": {},
"poll5_nominee3": {},
"poll5_nominee4": {},
"poll5_nominee5": {},
"poll5_nominee6": {},
"poll5_nominee7": {},
"poll5_nominee8": {},
"poll5_nominee9": {},
"poll5_party1": {},
"poll5_party2": {},
"poll5_party3": {},
"poll5_party4": {},
"poll5_party5": {},
"poll5_party6": {},
"poll5_party7": {},
"poll5_party8": {},
"poll5_party9": {},
"poll5_source": {},
"poll5_source1": {},
"poll5_source2": {},
"poll5_source3": {}
}
}
</templatedata>
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Politics and government infobox templates|Election]]
[[Category:Infobox templates with module parameter|Election]]
[[Category:Embeddable templates]]
[[Category:Election and referendum infobox templates]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
99d9af16fe53327b446b74cf86a1cdb913b0cd84
Template:Hlist/styles.css
10
1507
3078
3077
2024-03-13T05:24:39Z
ElBortoTexas
10
1 revision imported
sanitized-css
text/css
/* {{pp-protected|reason=match parent|small=yes}} */
/*
* hlist styles are defined in core and Minerva and differ in Minerva. The
* current definitions here (2023-01-01) are sufficient to override Minerva
* without use of the hlist-separated class. The most problematic styles were
* related to margin, padding, and the bullet. Check files listed at
* [[MediaWiki talk:Common.css/to do#hlist-separated]]
*/
/*
* TODO: When the majority of readership supports it (or some beautiful world
* in which grade C support is above the minimum threshold), use :is()
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
/*
* don't trust the note that says margin doesn't work with inline
* removing margin: 0 makes dds have margins again
* We also want to reset margin-right in Minerva
*/
margin: 0;
display: inline;
}
/* Display requested top-level lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
/* Display nested lists inline */
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li {
display: none;
}
/* TODO: :not() can maybe be used here to remove the later rule. naive test
* seems to work. more testing needed. like so:
*.hlist dt:not(:last-child)::after {
* content: ": ";
*}
*.hlist dd:not(:last-child)::after,
*.hlist li:not(:last-child)::after {
* content: " · ";
* font-weight: bold;
*}
*/
/* Generate interpuncts */
.hlist dt::after {
content: ": ";
}
.hlist dd::after,
.hlist li::after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child::after,
.hlist dt:last-child::after,
.hlist li:last-child::after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child::before,
.hlist dd dt:first-child::before,
.hlist dd li:first-child::before,
.hlist dt dd:first-child::before,
.hlist dt dt:first-child::before,
.hlist dt li:first-child::before,
.hlist li dd:first-child::before,
.hlist li dt:first-child::before,
.hlist li li:first-child::before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child::after,
.hlist dd dt:last-child::after,
.hlist dd li:last-child::after,
.hlist dt dd:last-child::after,
.hlist dt dt:last-child::after,
.hlist dt li:last-child::after,
.hlist li dd:last-child::after,
.hlist li dt:last-child::after,
.hlist li li:last-child::after {
content: ")";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li::before {
content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child::before,
.hlist dt ol > li:first-child::before,
.hlist li ol > li:first-child::before {
content: " (" counter(listitem) "\a0";
}
8c9dd9c9c00f30eead17fe10f51d183333e81f33
Template:Infobox/styles.css
10
1508
3080
3079
2024-03-13T05:25:33Z
ElBortoTexas
10
1 revision imported from [[:wikipedia:Module:Infobox/styles.css]]
sanitized-css
text/css
/* {{pp|small=y}} */
/*
* This TemplateStyles sheet deliberately does NOT include the full set of
* infobox styles. We are still working to migrate all of the manual
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
* DO NOT ADD THEM HERE
*/
/*
* not strictly certain these styles are necessary since the modules now
* exclusively output infobox-subbox or infobox, not both
* just replicating the module faithfully
*/
.infobox-subbox {
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
.infobox-3cols-child {
margin: auto;
}
.infobox .navbar {
font-size: 100%;
}
/* T281642 */
body.skin-minerva .infobox-header,
body.skin-minerva .infobox-subheader,
body.skin-minerva .infobox-above,
body.skin-minerva .infobox-title,
body.skin-minerva .infobox-image,
body.skin-minerva .infobox-full-data,
body.skin-minerva .infobox-below {
text-align: center;
}
e8de6d96f4fde53afc4a6b0fed534405ab59b0a7
Template:Navbar/styles.css
10
1509
3082
3081
2024-03-13T05:25:38Z
ElBortoTexas
10
1 revision imported from [[:wikipedia:Module:Navbar/styles.css]]
sanitized-css
text/css
/* {{pp|small=yes}} */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar-collapse {
float: left;
text-align: left;
}
.navbar-boxtext {
word-spacing: 0;
}
.navbar ul {
display: inline-block;
white-space: nowrap;
line-height: inherit;
}
.navbar-brackets::before {
margin-right: -0.125em;
content: '[ ';
}
.navbar-brackets::after {
margin-left: -0.125em;
content: ' ]';
}
.navbar li {
word-spacing: -0.125em;
}
.navbar a > span,
.navbar a > abbr {
text-decoration: inherit;
}
.navbar-mini abbr {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
.navbar-ct-full {
font-size: 114%;
margin: 0 7em;
}
.navbar-ct-mini {
font-size: 114%;
margin: 0 4em;
}
9d4056f949b4f0b159e3d40dfb1a5f01e72f9571
Template:Documentation/styles.css
10
1510
3084
3083
2024-03-13T05:25:46Z
ElBortoTexas
10
1 revision imported from [[:wikipedia:Module:Documentation/styles.css]]
sanitized-css
text/css
/* {{pp|small=yes}} */
.documentation,
.documentation-metadata {
border: 1px solid #a2a9b1;
background-color: #ecfcf4;
clear: both;
}
.documentation {
margin: 1em 0 0 0;
padding: 1em;
}
.documentation-metadata {
margin: 0.2em 0; /* same margin left-right as .documentation */
font-style: italic;
padding: 0.4em 1em; /* same padding left-right as .documentation */
}
.documentation-startbox {
padding-bottom: 3px;
border-bottom: 1px solid #aaa;
margin-bottom: 1ex;
}
.documentation-heading {
font-weight: bold;
font-size: 125%;
}
.documentation-clear { /* Don't want things to stick out where they shouldn't. */
clear: both;
}
.documentation-toolbar {
font-style: normal;
font-size: 85%;
}
html.skin-night-mode-clientpref-1 .documentation,
html.skin-night-mode-clientpref-1 .documentation-metadata {
background-color: inherit;
}
@media (prefers-color-scheme: dark) {
html.skin-night-mode-clientpref-2 .documentation,
html.skin-night-mode-clientpref-2 .documentation-metadata {
background-color: inherit;
}
}
92223f6a535f0908f32517eee0e93060e6ba30bd
Template:Message box/ombox.css
10
1511
3086
3085
2024-03-13T05:25:51Z
ElBortoTexas
10
1 revision imported from [[:wikipedia:Module:Message_box/ombox.css]]
sanitized-css
text/css
/* {{pp|small=y}} */
.ombox {
margin: 4px 0;
border-collapse: collapse;
border: 1px solid #a2a9b1; /* Default "notice" gray */
background-color: #f8f9fa;
box-sizing: border-box;
}
/* For the "small=yes" option. */
.ombox.mbox-small {
font-size: 88%;
line-height: 1.25em;
}
.ombox-speedy {
border: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
.ombox-delete {
border: 2px solid #b32424; /* Red */
}
.ombox-content {
border: 1px solid #f28500; /* Orange */
}
.ombox-style {
border: 1px solid #fc3; /* Yellow */
}
.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
}
.ombox .mbox-text {
border: none;
/* @noflip */
padding: 0.25em 0.9em;
width: 100%;
}
.ombox .mbox-image {
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;
text-align: center;
}
.ombox .mbox-imageright {
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0;
text-align: center;
}
/* An empty narrow cell */
.ombox .mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
.ombox .mbox-invalid-type {
text-align: center;
}
@media (min-width: 720px) {
.ombox {
margin: 4px 10%;
}
.ombox.mbox-small {
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
width: 238px;
}
}
8fe3df4bb607e699eab2dbd23bd4a1a446391002
Test Election of 2024
0
1512
3087
2024-03-13T05:31:21Z
ElBortoTexas
10
Created page with "{{Infobox election | election_name = 2004 United States presidential election | country = United States | type = presidential | previous_election = 2000 United States presidential election | previous_year = 2000 | election_date = {{Start date|2004|11|02}} | next_election = 2008 United States presidential election | next_year = 2008 | votes_for_election= All List of United States presidential electors, 2004|538 electoral vo..."
wikitext
text/x-wiki
{{Infobox election
| election_name = 2004 United States presidential election
| country = United States
| type = presidential
| previous_election = 2000 United States presidential election
| previous_year = 2000
| election_date = {{Start date|2004|11|02}}
| next_election = 2008 United States presidential election
| next_year = 2008
| votes_for_election= All [[List of United States presidential electors, 2004|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = George-W-Bush.jpeg
| nominee1 = [[George W. Bush]]
| party1 = Republican Party (US)
| home_state1 = [[Texas]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 286
| states_carried1 = 31
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = John Kerry headshot with US flag.jpg
| nominee2 = [[John Kerry]]
| party2 = Democratic Party (US)
| home_state2 = [[Massachusetts]]
| running_mate2 = [[John Edwards]]
| electoral_vote2 = 251
| states_carried2 = 19 + [[Washington, D.C.|DC]]
| popular_vote2 = 59,028,444
| percentage2 = 48.3%
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[George W. Bush]]
| before_party = Republican Party (US)
| after_election = [[George W. Bush]]
| after_party = Republican Party (US)
}}
5c6f7a82a5e44fa38c4b558c4e9e81bdf2814b66
3088
3087
2024-03-13T05:32:55Z
ElBortoTexas
10
wikitext
text/x-wiki
{{Infobox election
| election_name = 2004 United States presidential election
| country = United States
| type = presidential
| previous_election = 2000 United States presidential election
| previous_year = 2000
| election_date = {{Start date|2004|11|02}}
| next_election = 2008 United States presidential election
| next_year = 2008
| votes_for_election= All [[List of United States presidential electors, 2004|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = Hamish_rpts.jpg
| nominee1 = [[Hamish]]
| party1 = Republican Party (US)
| home_state1 = [[Texas]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 286
| states_carried1 = 31
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = Vanesa_rpts.jpg
| nominee2 = [[Vanesa]]
| party2 = Democratic Party (US)
| home_state2 = [[Massachusetts]]
| running_mate2 = [[John Edwards]]
| electoral_vote2 = 251
| states_carried2 = 19 + [[Washington, D.C.|DC]]
| popular_vote2 = 59,028,444
| percentage2 = 48.3%
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[George W. Bush]]
| before_party = Republican Party (US)
| after_election = [[George W. Bush]]
| after_party = Republican Party (US)
}}
6323b6f5e8947990cacd8e474feb3f3868b5505e
3089
3088
2024-03-13T05:35:47Z
ElBortoTexas
10
wikitext
text/x-wiki
{{Infobox election
| election_name = 2004 United States presidential election
| country = United States
| type = presidential
| previous_election = 2000 United States presidential election
| previous_year = 2000
| election_date = {{Start date|2004|11|02}}
| next_election = 2008 United States presidential election
| next_year = 2008
| votes_for_election= All [[List of United States presidential electors, 2004|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = Hamish_rpts.png
| nominee1 = [[Hamish]]
| party1 = Republican Party (US)
| home_state1 = [[New South Wales]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 286
| states_carried1 = 31
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = Vanesa_rpts.png
| nominee2 = [[Vanesa]]
| party2 = Democratic Party (US)
| home_state2 = [[Yucatan]]
| running_mate2 = [[John Edwards]]
| electoral_vote2 = 251
| states_carried2 = 19 + [[Washington, D.C.|DC]]
| popular_vote2 = 59,028,444
| percentage2 = 48.3%
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[George W. Bush]]
| before_party = Republican Party (US)
| after_election = [[George W. Bush]]
| after_party = Republican Party (US)
}}
0c043660089b4d8995c4116e7c888b7bea94cfc3
3090
3089
2024-03-13T05:38:29Z
ElBortoTexas
10
wikitext
text/x-wiki
{{Infobox election
| election_name = 2004 United States presidential election
| country = United States
| type = presidential
| previous_election = 2000 United States presidential election
| previous_year = 2000
| election_date = {{Start date|2004|11|02}}
| next_election = 2008 United States presidential election
| next_year = 2008
| votes_for_election= All [[List of United States presidential electors, 2004|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = Hamish_rpts.jpg
| nominee1 = [[Hamish]]
| party1 = Republican Party (US)
| home_state1 = [[New South Wales]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 286
| states_carried1 = 31
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = Vanesa_rpts.jpg
| nominee2 = [[Vanesa]]
| party2 = Democratic Party (US)
| home_state2 = [[Yucatan]]
| running_mate2 = [[John Edwards]]
| electoral_vote2 = 251
| states_carried2 = 19 + [[Washington, D.C.|DC]]
| popular_vote2 = 59,028,444
| percentage2 = 98.3%
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[George W. Bush]]
| before_party = Republican Party (US)
| after_election = [[George W. Bush]]
| after_party = Republican Party (US)
}}
8aaa374529de65a9a23458e19be69cd3aeb01c75
3091
3090
2024-03-13T05:41:50Z
ElBortoTexas
10
wikitext
text/x-wiki
{{Infobox election
| election_name = 2024 United States presidential election
| country = United States
| type = presidential
| previous_election = 2000 United States presidential election
| previous_year = 2000
| election_date = {{Start date|2024|11|02}}
| next_election = 2008 United States presidential election
| next_year = 2008
| votes_for_election= All [[List of United States presidential electors, 2004|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = Hamish_rpts.png
| nominee1 = [[Hamish]]
| party1 = Republican Party (US)
| home_state1 = [[New South Wales]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 286
| states_carried1 = 31
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = Vanesa_rpts.png
| nominee2 = [[Vanesa]]
| party2 = Democratic Party (US)
| home_state2 = [[Yucatan]]
| running_mate2 = [[John Edwards]]
| electoral_vote2 = 251
| states_carried2 = 19 + [[Washington, D.C.|DC]]
| popular_vote2 = 59,028,444
| percentage2 = 98.3%
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[George W. Bush]]
| before_party = Republican Party (US)
| after_election = [[George W. Bush]]
| after_party = Republican Party (US)
}}
584e197afbd2979b08f963e191b6c2c8fa840a3e
3094
3091
2024-03-13T05:46:09Z
ElBortoTexas
10
wikitext
text/x-wiki
{{Infobox election
| election_name = 2024 United States presidential election
| country = United States
| type = presidential
| previous_election = 2020 United States presidential election
| previous_year = 2020
| election_date = {{Start date|2024|11|02}}
| next_election = 2028 United States presidential election
| next_year = 2028
| votes_for_election= All [[List of United States presidential electors, 2024|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = Hamish_rpts.png
| nominee1 = [[Hamish]]
| party1 = Democratic Party (Maoist-Wing)
| home_state1 = [[New South Wales]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 251
| states_carried1 = 31
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = Vanesa_rpts.png
| nominee2 = [[Vanesa]]
| party2 = Social-Democratic Party
| home_state2 = [[Yucatan]]
| running_mate2 = [[Alexandria Ocasio-Cortez]]
| electoral_vote2 = 286
| states_carried2 = 19 + [[Washington, D.C.|DC]]
| popular_vote2 = 59,028,444
| percentage2 = 78.3% (disputed)
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[Vanesa]]
| before_party = Republican Party (US)
| after_election = [[Vanesa]]
| after_party = Republican Party (US)
}}
abb881e7c5e73f6cc508e77935ead10b773a0547
3095
3094
2024-03-13T05:47:18Z
ElBortoTexas
10
wikitext
text/x-wiki
{{Infobox election
| election_name = 2024 United States presidential election
| country = United States
| type = presidential
| previous_election = 2020 United States presidential election
| previous_year = 2020
| election_date = {{Start date|2024|11|02}}
| next_election = 2028 United States presidential election
| next_year = 2028
| votes_for_election= All [[List of United States presidential electors, 2024|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = Hamish_rpts.png
| nominee1 = [[Hamish]]
| party1 = Democratic Party (Maoist-Wing)
| home_state1 = [[New South Wales]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 251
| states_carried1 = 31
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = Vanesa_rpts.png
| nominee2 = [[Vanesa]]
| party2 = Institutional Revolutionary Republican Party
| home_state2 = [[Yucatan]]
| running_mate2 = [[Alexandria Ocasio-Cortez]]
| electoral_vote2 = 286
| states_carried2 = 19 + [[Washington, D.C.|DC]]
| popular_vote2 = 59,028,444
| percentage2 = 78.3% (disputed)
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[Vanesa]]
| before_party = Republican Party (US)
| after_election = [[Vanesa]]
| after_party = Republican Party (US)
}}
7b2c5a4374e25cd26c664865a25803b027ab6c7b
3096
3095
2024-03-13T05:49:25Z
ElBortoTexas
10
wikitext
text/x-wiki
{{Infobox election
| election_name = 2024 United States presidential election
| country = United States
| type = presidential
| previous_election = 2020 United States presidential election
| previous_year = 2020
| election_date = {{Start date|2024|11|02}}
| next_election = 2028 United States presidential election
| next_year = 2028
| votes_for_election= All [[List of United States presidential electors, 2024|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = Hamish_rpts.png
| nominee1 = [[Hamish]]
| party1 = Democratic Party (Maoist-Wing)
| home_state1 = [[New South Wales]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 251
| states_carried1 = 31
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = Vanesa_rpts.png
| nominee2 = [[Vanesa]]
| party2 = Republican Party (Institutional Revolutionary)
| home_state2 = [[Yucatan]]
| running_mate2 = [[Alexandria Ocasio-Cortez]]
| electoral_vote2 = 286
| states_carried2 = 19 + [[Washington, D.C.|DC]]
| popular_vote2 = 59,028,444
| percentage2 = 78.3% (disputed)
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[Vanesa]]
| before_party = Republican Party (US)
| after_election = [[Vanesa]]
| after_party = Republican Party (US)
}}
aa76f25193f8cda9cb934209ae40ef6fb28bb62c
3097
3096
2024-03-13T05:50:16Z
ElBortoTexas
10
wikitext
text/x-wiki
{{Infobox election
| election_name = 2024 United States presidential election
| country = United States
| type = presidential
| previous_election = 2020 United States presidential election
| previous_year = 2020
| election_date = {{Start date|2024|11|02}}
| next_election = 2028 United States presidential election
| next_year = 2028
| votes_for_election= All [[List of United States presidential electors, 2024|538 electoral votes]] of the [[Electoral College (United States)|Electoral College]]
| needed_votes = 270 electoral
| image_size = 160x180px
| filler = Political selections
<!-- George W. Bush -->
| image1 = Hamish_rpts.png
| nominee1 = [[Hamish]]
| party1 = Democratic Party (Maoist-Wing)
| home_state1 = [[New South Wales]]
| running_mate1 = [[Dick Cheney|Richard B. Cheney]]
| electoral_vote1 = 251
| states_carried1 = 19 + [[Washington, D.C.|DC]]
| popular_vote1 = 62,040,610
| percentage1 = 50.7%
<!-- John Kerry -->
| image2 = Vanesa_rpts.png
| nominee2 = [[Vanesa]]
| party2 = Republican Party (Institutional Revolutionary)
| home_state2 = [[Yucatan]]
| running_mate2 = [[Alexandria Ocasio-Cortez]]
| electoral_vote2 = 286
| states_carried2 = 31
| popular_vote2 = 89,028,444 (disputed)
| percentage2 = 78.3% (disputed)
<!-- map -->
| map_image = ElectoralCollege2004.svg
| map_size = 270px
| map_caption = Presidential election results map
<!-- bottom -->
| title = President
| before_election = [[Vanesa]]
| before_party = Republican Party (US)
| after_election = [[Vanesa]]
| after_party = Republican Party (US)
}}
fadebaf1a83ee1d6652e668a2a9c57a0ab717695
File:Hamish rpts.png
6
1513
3092
2024-03-13T05:42:13Z
ElBortoTexas
10
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
File:Vanesa rpts.png
6
1514
3093
2024-03-13T05:42:42Z
ElBortoTexas
10
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
History of Brazil
0
1515
3098
2024-03-13T13:36:35Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
Created page with "Before the arrival of the Europeans, the lands that now constitute Brazil were occupied, fought over and settled by diverse tribes. Thus, the history of Brazil begins with the indigenous people in Brazil. The Portuguese arrived to the land that would become Brazil on April 22, 1500, commanded by Pedro Álvares Cabral, an explorer on his way to India under the sponsorship of the Kingdom of Portugal and the support of the Catholic Church. == Pre-Cabral history == == Ear..."
wikitext
text/x-wiki
Before the arrival of the Europeans, the lands that now constitute Brazil were occupied, fought over and settled by diverse tribes. Thus, the history of Brazil begins with the indigenous people in Brazil. The Portuguese arrived to the land that would become Brazil on April 22, 1500, commanded by Pedro Álvares Cabral, an explorer on his way to India under the sponsorship of the Kingdom of Portugal and the support of the Catholic Church.
== Pre-Cabral history ==
== Early Brazil ==
== Kingdom ==
== Early Empire ==
== Petrine Era ==
== Isabeline Era ==
68905d50b12cc7c84311b97e0ede16a6eb295cf4
Economy of Brazil
0
1516
3099
2024-03-13T13:48:35Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
Created page with "The '''economy of Brazil''' is historically the largest economy in the Southern Hemisphere in nominal terms.[30] The Brazilian economy is the second largest in the Americas. It is a high income developed mixed economy.[31] In 2025, according to XXXXXX XXX XXXXXXXXX (XXX), Brazil has the Xth largest gross domestic product (GDP) in the world and has the Xth largest purchasing power parity in the world. == History == == Economic status == == Components == == Exports and..."
wikitext
text/x-wiki
The '''economy of Brazil''' is historically the largest economy in the Southern Hemisphere in nominal terms.[30] The Brazilian economy is the second largest in the Americas. It is a high income developed mixed economy.[31] In 2025, according to XXXXXX XXX XXXXXXXXX (XXX), Brazil has the Xth largest gross domestic product (GDP) in the world and has the Xth largest purchasing power parity in the world.
== History ==
== Economic status ==
== Components ==
== Exports and imports ==
== See also ==
42d1c7054a720bd744459b77d70eca5b12d4d9ef
3109
3099
2024-03-13T18:13:52Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
The '''economy of Brazil''' is historically the largest economy in the Southern Hemisphere in nominal terms.<sup><small>[30]</small></sup> The Brazilian economy is the second largest in the Americas. It is a high income developed mixed economy.<sup><small>[31]</small></sup> In 2025, according to XXXXXX XXX XXXXXXXXX (XXX), Brazil has the ''X''th largest gross domestic product (GDP) in the world and has the ''X''th largest purchasing power parity in the world.
== History ==
== Economic status ==
== Components ==
== Exports and imports ==
== See also ==
bfd7e61dc3a6f2d37b229b1e967e063946eb7055
Chile
0
1517
3100
2024-03-13T15:44:42Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
Created page with "{{WIP_warning}}{{Nation|common_name='''Chile'''|full_name=Republic of Chile|local_name=''República de Chile'' ([[Spanish]])|lifespan=|motto=''Por la razón o la fuerza''|}{Nation|flag=Flag_of_Chile.svg|}{Nation|locator=|established= 1810|capital=[[Santiago]]|largest_city=[[Santiago]]|population=N/A (1959)|government_type=|area=|languages=Spanish, Aymara, Mapudugun and other indigenous languages|currency= [[Peso]] (P$) ([[PAM]])}} '''Chile''',<sup><small>[a]</small></..."
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name='''Chile'''|full_name=Republic of Chile|local_name=''República de Chile'' ([[Spanish]])|lifespan=|motto=''Por la razón o la fuerza''|}{Nation|flag=Flag_of_Chile.svg|}{Nation|locator=|established= 1810|capital=[[Santiago]]|largest_city=[[Santiago]]|population=N/A (1959)|government_type=|area=|languages=Spanish, Aymara, Mapudugun and other indigenous languages|currency= [[Peso]] (P$) ([[PAM]])}}
'''Chile''',<sup><small>[a]</small></sup> officially the '''Republic of Chile''',<sup><small>[b]</small></sup> is a country located in western [[South America]]. It is the southernmost country in the [[Americas]] and the closest to Antarctica, stretching along a narrow strip of land between the Andes Mountains and the Pacific Ocean. Chile shares borders with [[Peru]] to the north and northeast, [[Argentina]] to the east, and the Drake Passage to the south. The country also controls several Pacific islands, including Tahiti, the Carolinas and Easter Island. The capital and largest city of Chile is Santiago, and the national language is Spanish.
187aef609ab0aba55b8028195ccf2cf8e7f5625f
Brazil
0
1406
3101
2888
2024-03-13T16:33:27Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[ [[12]] ]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
== Geography ==
== Government and politics ==
''Main articles: [[Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of Brazil]]''
== Demographics ==
== Culture ==
== See also ==
== Notes ==
eea423d308896fbe9355174a81be5e2e35f78372
3102
3101
2024-03-13T16:34:22Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
== Geography ==
== Government and politics ==
''Main articles: [[Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of Brazil]]''
== Demographics ==
== Culture ==
== See also ==
== Notes ==
6f0f525d5a7d0bb31b20ee582c5216ba66d6f7e7
Mexico
0
3
3103
2882
2024-03-13T17:00:48Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
=== The End of the Liberal Dominance ===
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
''Further information: [[List of Mexican Elections]]
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
f2334166c36c1035add5617dde2c317ec0b22cb9
3110
3103
2024-03-13T18:21:58Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
=== The End of the Liberal Dominance ===
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
''Further information: [[List of Mexican Elections]]
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
== Economy ==
''Main article: [[Economy of Mexico]]''
''Further information: [[Economic history of Mexico]]''
875807e4077cf680108a52800ebf2712c195f0de
3111
3110
2024-03-13T18:22:30Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
=== The End of the Liberal Dominance ===
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
''Further information: [[List of Mexican Elections]]
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
== Economy ==
''Main article: [[Economy of Mexico]]''
''Further information: [[Economic history of Mexico]]''
1347961922f15204101b53e65ff2f8fa5de27cc4
List of Mexican Elections
0
1518
3104
2024-03-13T17:13:27Z
TheMexicanHistorian
2
Created page with "The following is a list of every Mexican election: [[Mexican election of 1814]] [[Mexican election of 1817]] [[Mexican election of 1820]] [[Mexican election of 1823]] [[Mexican election of 1826]] [[Mexican election of 1829]] [[Mexican election of 1832]] [[Mexican election of 1835]] [[Mexican election of 1838]] [[Mexican election of 1841]] [[Mexican election of 1844]] [[Mexican election of 1847]] [[Mexican election of 1850]] [[Mexican election of 1853]] M..."
wikitext
text/x-wiki
The following is a list of every Mexican election:
[[Mexican election of 1814]]
[[Mexican election of 1817]]
[[Mexican election of 1820]]
[[Mexican election of 1823]]
[[Mexican election of 1826]]
[[Mexican election of 1829]]
[[Mexican election of 1832]]
[[Mexican election of 1835]]
[[Mexican election of 1838]]
[[Mexican election of 1841]]
[[Mexican election of 1844]]
[[Mexican election of 1847]]
[[Mexican election of 1850]]
[[Mexican election of 1853]]
[[Mexican election of 1856]]
[[Mexican election of 1859]]
[[Mexican election of 1862]]
[[Mexican election of 1865]]
[[Mexican election of 1868]]
[[Mexican election of 1871]]
[[Mexican election of 1874]]
[[Mexican election of 1877]]
[[Mexican election of 1880]]
[[Mexican election of 1883]]
[[Mexican election of 1886]]
[[Mexican election of 1889]]
[[Mexican election of 1892]]
[[Mexican election of 1895]]
[[Mexican election of 1898]]
[[Mexican election of 1901]]
[[Mexican election of 1904]]
[[Mexican election of 1907]]
[[Mexican election of 1910]]
[[Mexican election of 1913]]
[[Mexican election of 1916]]
[[Mexican election of 1919]]
[[Mexican election of 1922]]
[[Mexican election of 1925]]
[[Mexican election of 1928]]
[[Mexican election of 1931]]
[[Mexican election of 1934]]
[[Mexican election of 1937]]
[[Mexican election of 1940]]
[[Mexican election of 1943]]
[[Mexican election of 1946]]
[[Mexican election of 1949]]
[[Mexican election of 1952]]
[[Mexican election of 1955]]
[[Mexican election of 1958]]
[[Mexican election of 1961]]
65de3bff73c3cb623db6b9daceeb398362d2ce73
3105
3104
2024-03-13T17:17:05Z
TheMexicanHistorian
2
wikitext
text/x-wiki
The following is a list of every Mexican election:
[[Mexican federal election of 1814]]
[[Mexican federal election of 1817]]
[[Mexican federal election of 1820]]
[[Mexican federal election of 1823]]
[[Mexican federal election of 1826]]
[[Mexican federal election of 1829]]
[[Mexican federal election of 1832]]
[[Mexican federal election of 1835]]
[[Mexican federal election of 1838]]
[[Mexican federal election of 1841]]
[[Mexican federal election of 1844]]
[[Mexican federal election of 1847]]
[[Mexican federal election of 1850]]
[[Mexican federal election of 1853]]
[[Mexican federal election of 1856]]
[[Mexican federal election of 1859]]
[[Mexican federal election of 1862]]
[[Mexican federal election of 1865]]
[[Mexican federal election of 1868]]
[[Mexican federal election of 1871]]
[[Mexican federal election of 1874]]
[[Mexican federal election of 1877]]
[[Mexican federal election of 1880]]
[[Mexican federal election of 1883]]
[[Mexican federal election of 1886]]
[[Mexican federal election of 1889]]
[[Mexican federal election of 1892]]
[[Mexican federal election of 1895]]
[[Mexican federal election of 1898]]
[[Mexican federal election of 1901]]
[[Mexican federal election of 1904]]
[[Mexican federal election of 1907]]
[[Mexican federal election of 1910]]
[[Mexican federal election of 1913]]
[[Mexican federal election of 1916]]
[[Mexican federal election of 1919]]
[[Mexican federal election of 1922]]
[[Mexican federal election of 1925]]
[[Mexican federal election of 1928]]
[[Mexican federal election of 1931]]
[[Mexican federal election of 1934]]
[[Mexican federal election of 1937]]
[[Mexican federal election of 1940]]
[[Mexican federal election of 1943]]
[[Mexican federal election of 1946]]
[[Mexican federal election of 1949]]
[[Mexican federal election of 1952]]
[[Mexican federal election of 1955]]
[[Mexican federal election of 1958]]
[[Mexican federal election of 1961]]
6b8582ded50df8a027dd5100f4d393cc9cd263b5
Mexican federal election of 1823
0
1519
3106
2024-03-13T17:51:17Z
TheMexicanHistorian
2
Created page with "{{Infobox election | election_name = 2005 Mexican federal election | country = | type = parliamentary | ongoing = no | previous_election = | previous_year = 1820 | outgoing_members = | elected_members = | next_election = | next_year = 1826 | seats_for_election = All 88 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]] | majority_seats = 45 | election_date = 7-14 September 1823 | registered = | turnout = 1,620,786 39.22% ({{increase}}4.71%) | opinion_..."
wikitext
text/x-wiki
{{Infobox election
| election_name = 2005 Mexican federal election
| country =
| type = parliamentary
| ongoing = no
| previous_election =
| previous_year = 1820
| outgoing_members =
| elected_members =
| next_election =
| next_year = 1826
| seats_for_election = All 88 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]]
| majority_seats = 45
| election_date = 7-14 September 1823
| registered =
| turnout = 1,620,786 39.22% ({{increase}}4.71%)
| opinion_polls =
<!-- People's Liberal -->| image1 = [[File:Vicente_Guerrero.png|160x160px]]
| leader1 = [[Vicente Guerrero]]
| leader_since1 =
| party_colour1 =
| party1 = [[People's Liberal]]
| leaders_seat1 =
| last_election1 = New party, 16 seats
| seats_before1 =
| seats1 = '''46'''
| seat_change1 = {{increase}} 30
| popular_vote1 = '''847,671'''
| percentage1 = '''52.3%'''
| swing1 = {{increase}} 52.3 pp
<!-- Liberal -->| image2 = [[File:Guadalupe_Victoria_-_02.jpg|160x160px]]
|| leader2 = [[Guadalupe Victoria]]
| leader_since2 =
| party_colour2 =
| party2 = [[Liberal]]
| leaders_seat2 =
| last_election2 = 86.4%, 76 seats
| seats_before2 =
| seats2 = 28
| seat_change2 = {{decrease}} 42
| popular_vote2 = 515,410
| percentage2 = 31.8%
| swing2 = {{decrease}} 54.6 pp
<!-- Conservative -->| image3 = [[File:Nicolas_Bravo.jpg|160x160px]]
| leader3 = [[Nicolas Bravo]]
| leader_since3 =
| party_colour3 =
| party3 = [[Conservative]]
| leaders_seat3 =
| last_election3 = 13.6%, 12 seats
| seats_before3 =
| seats3 = 14
| seat_change3 = {{increase}} 2
| popular_vote3 = 257,705
| percentage3 = 15.9%
| swing3 = {{increase}} 52.3 pp
| map_image = 2005UKElectionMap.svg
| map_size = 200px
| map_caption = Election results by states, territories and unorganized territories shown in gray.<br />
| title = Government
| posttitle = Government after election
| before_election = [[Victoria cabinet]]
| before_party = [[Liberal]]
| after_election = [[First Guerrero cabinet]]
| after_party = [[People's Liberal]]
| map2_image =
| map2_caption =
| map2_size = 360px
}}
5637b42428ea6eae0a5b71b3198842e61f8cfab0
3108
3106
2024-03-13T18:05:52Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{Infobox election
| election_name = 2005 Mexican federal election
| country =
| type = parliamentary
| ongoing = no
| previous_election =
| previous_year = 1820
| outgoing_members =
| elected_members =
| next_election =
| next_year = 1826
| seats_for_election = All 88 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]]
| majority_seats = 45
| election_date = 7-14 September 1823
| registered =
| turnout = 1,620,786 39.22% ({{increase}}4.71%)
| opinion_polls =
<!-- People's Liberal -->| image1 = [[File:Vicente_Guerrero.png|160x160px]]
| leader1 = [[Vicente Guerrero]]
| leader_since1 =
| party_colour1 =
| party1 = [[People's Liberal]]
| leaders_seat1 =
| last_election1 = New party, 16 seats
| seats_before1 =
| seats1 = '''46'''
| seat_change1 = {{increase}} 30
| popular_vote1 = '''847,671'''
| percentage1 = '''52.3%'''
| swing1 = {{increase}} 52.3 pp
<!-- Liberal -->| image2 = [[File:Guadalupe_Victoria_-_02.jpg|160x160px]]
|| leader2 = [[Guadalupe Victoria]]
| leader_since2 =
| party_colour2 =
| party2 = [[Liberal]]
| leaders_seat2 =
| last_election2 = 86.4%, 76 seats
| seats_before2 =
| seats2 = 28
| seat_change2 = {{decrease}} 42
| popular_vote2 = 515,410
| percentage2 = 31.8%
| swing2 = {{decrease}} 54.6 pp
<!-- Conservative -->| image3 = [[File:Nicolas_Bravo.jpg|160x160px]]
| leader3 = [[Nicolas Bravo]]
| leader_since3 =
| party_colour3 =
| party3 = [[Conservative]]
| leaders_seat3 =
| last_election3 = 13.6%, 12 seats
| seats_before3 =
| seats3 = 14
| seat_change3 = {{increase}} 2
| popular_vote3 = 257,705
| percentage3 = 15.9%
| swing3 = {{increase}} 52.3 pp
| map_image = RPTS_Mexican_election_of_1823_map.png
| map_size = 400px
| map_caption = Election results by states, territories and unorganized territories shown in gray.<br />
| title = Government
| posttitle = Government after election
| before_election = [[Victoria cabinet]]
| before_party = [[Liberal]]
| after_election = [[First Guerrero cabinet]]
| after_party = [[People's Liberal]]
| map2_image =
| map2_caption =
| map2_size = 360px
}}
18594cb1316205babbc53eb039f58d100219edbc
3112
3108
2024-03-13T18:42:40Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{Infobox election
| election_name = 1823 Mexican federal election
| country =
| type = parliamentary
| ongoing = no
| previous_election =
| previous_year = 1820
| outgoing_members =
| elected_members =
| next_election =
| next_year = 1826
| seats_for_election = All 88 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]]
| majority_seats = 45
| election_date = 7-14 September 1823
| registered =
| turnout = 1,620,786 39.22% ({{increase}}4.71%)
| opinion_polls =
<!-- People's Liberal -->| image1 = [[File:Vicente_Guerrero.png|160x160px]]
| leader1 = [[Vicente Guerrero]]
| leader_since1 =
| party_colour1 =
| party1 = [[People's Liberal]]
| leaders_seat1 =
| last_election1 = New party, 16 seats
| seats_before1 =
| seats1 = '''46'''
| seat_change1 = {{increase}} 30
| popular_vote1 = '''847,671'''
| percentage1 = '''52.3%'''
| swing1 = {{increase}} 52.3 pp
<!-- Liberal -->| image2 = [[File:Guadalupe_Victoria_-_02.jpg|160x160px]]
|| leader2 = [[Guadalupe Victoria]]
| leader_since2 =
| party_colour2 =
| party2 = [[Liberal]]
| leaders_seat2 =
| last_election2 = 86.4%, 76 seats
| seats_before2 =
| seats2 = 28
| seat_change2 = {{decrease}} 42
| popular_vote2 = 515,410
| percentage2 = 31.8%
| swing2 = {{decrease}} 54.6 pp
<!-- Conservative -->| image3 = [[File:Nicolas_Bravo.jpg|160x160px]]
| leader3 = [[Nicolas Bravo]]
| leader_since3 =
| party_colour3 =
| party3 = [[Conservative]]
| leaders_seat3 =
| last_election3 = 13.6%, 12 seats
| seats_before3 =
| seats3 = 14
| seat_change3 = {{increase}} 2
| popular_vote3 = 257,705
| percentage3 = 15.9%
| swing3 = {{increase}} 52.3 pp
| map_image = RPTS_Mexican_election_of_1823_map.png
| map_size = 400px
| map_caption = Election results by states, territories and unorganized territories shown in gray.<br />
| title = Government
| posttitle = Government after election
| before_election = [[Victoria cabinet]]
| before_party = [[Liberal]]
| after_election = [[First Guerrero cabinet]]
| after_party = [[People's Liberal]]
| map2_image =
| map2_caption =
| map2_size = 360px
}}
0d4e12f4234ca9a8faa45c1db3fe034e8f0d9baa
3113
3112
2024-03-13T19:05:06Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{Infobox election
| election_name = 1823 Mexican federal election
| country =
| type = parliamentary
| ongoing = no
| previous_election =
| previous_year = 1820
| outgoing_members =
| elected_members =
| next_election =
| next_year = 1826
| seats_for_election = All 88 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]]
| majority_seats = 45
| election_date = 7-14 September 1823
| registered =
| turnout = 1,620,786 (39.22%) {{increase}}4.71% pp
| opinion_polls =
<!-- People's Liberal -->| image1 = [[File:Vicente_Guerrero.png|160x160px]]
| leader1 = [[Vicente Guerrero]]
| leader_since1 =
| party_colour1 =
| party1 = [[People's Liberal]]
| leaders_seat1 =
| last_election1 = New party, 16 seats
| seats_before1 =
| seats1 = '''46'''
| seat_change1 = {{increase}} 30
| popular_vote1 = '''847,671'''
| percentage1 = '''52.3%'''
| swing1 = {{increase}} 52.3 pp
<!-- Liberal -->| image2 = [[File:Guadalupe_Victoria_-_02.jpg|160x160px]]
|| leader2 = [[Guadalupe Victoria]]
| leader_since2 =
| party_colour2 =
| party2 = [[Liberal]]
| leaders_seat2 =
| last_election2 = 86.4%, 76 seats
| seats_before2 =
| seats2 = 28
| seat_change2 = {{decrease}} 42
| popular_vote2 = 515,410
| percentage2 = 31.8%
| swing2 = {{decrease}} 54.6 pp
<!-- Conservative -->| image3 = [[File:Nicolas_Bravo.jpg|160x160px]]
| leader3 = [[Nicolas Bravo]]
| leader_since3 =
| party_colour3 =
| party3 = [[Conservative]]
| leaders_seat3 =
| last_election3 = 13.6%, 12 seats
| seats_before3 =
| seats3 = 14
| seat_change3 = {{increase}} 2
| popular_vote3 = 257,705
| percentage3 = 15.9%
| swing3 = {{increase}} 52.3 pp
| map_image = RPTS_Mexican_election_of_1823_map.png
| map_size = 400px
| map_caption = Election results by states, territories and unorganized territories shown in gray.<br />
| title = Government
| posttitle = Government after election
| before_election = [[Victoria cabinet]]
| before_party = [[Liberal]]
| after_election = [[First Guerrero cabinet]]
| after_party = [[People's Liberal]]
| map2_image =
| map2_caption =
| map2_size = 360px
}}
73d95250769a7eec14032cf65e1085a3b9c91806
File:RPTS Mexican election of 1823 map.png
6
1520
3107
2024-03-13T18:05:13Z
TheMexicanHistorian
2
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
Template:Infobox political party
10
1521
3115
3114
2024-03-13T19:07:52Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#if:{{Has short description}} |<!--Do nothing--> |{{main other|{{Short description|Political party{{#if:{{{country|}}}| in {{Plain text|{{{country}}}}}}}|noreplace}}}} }}</includeonly>
{{Infobox
| bodyclass = vcard
| abovestyle = font-size: 125%;
| above = <div style="padding-top:0.3em; padding-bottom:0.3em; {{#if:{{{colorcode|}}}|border-top:2px solid {{{colorcode}}}; border-bottom:2px solid {{{colorcode}}};}} line-height: 1;"><div class="fn org">{{if empty|{{{name|}}}|{{PAGENAMEBASE}}}}</div> {{#if:{{{native_name|}}} |<div style="font-size: 0.8em; padding-top:0.3em;" class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}</div>
| subheader = {{{_subheader|}}}
| imageclass = logo
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|upright={{{logo_upright|0.8}}}|alt={{{logo_alt|}}}|size={{{logo_size|}}}}}
| caption = {{{caption|}}}
| headerstyle = line-height: 0.8em;
| labelstyle = line-height:1.3em;
| datastyle = line-height:1.3em;
| label1 = {{{lang1}}} name
| class1 = nickname
| data1 = {{{name_lang1|}}}
| label2 = {{{lang2}}} name
| class2 = nickname
| data2 = {{{name_lang2|}}}
| label3 = {{{lang3}}} name
| class3 = nickname
| data3 = {{{name_lang3|}}}
| label4 = {{{lang4}}} name
| class4 = nickname
| data4 = {{{name_lang4|}}}
| label5 = Abbreviation
| class5 = nickname
| data5 = {{if empty|{{{abbreviation|}}}|{{{abbr|}}}}}
| label6 = [[Party leader|Leader]]
| class6 = agent
| data6 = {{{leader|}}}
| label7 = President
| class7 = agent
| data7 = {{{president|}}}
| label8 = [[Party chair|Chair{{#if:{{{chairperson|}}}|person|{{#if:{{{chairman|}}}|man|woman}}}}]]
| class8 = agent
| data8 = {{if empty|{{{chairperson|}}}|{{{chairman|}}}|{{{chairwoman|}}}}}
| label9 = [[Party secretary|Secretary]]
| class9 = agent
| data9 = {{{secretary|}}}
| label10 = General Secretary
| class10 = agent
| data10 = {{{general_secretary|}}}
| label11 = First Secretary
| class11 = agent
| data11 = {{{first_secretary|}}}
| label12 = {{nowrap|Secretary-General}}
| class12 = agent
| data12 = {{{secretary_general|}}}
| label13 = [[Presidium]]
| class13 = agent
| data13 = {{{presidium|}}}
| label14 = Governing body
| class14 = agent
| data14 = {{{governing_body|}}}
| label15 = Standing Committee
| class15 = agent
| data15 = {{{standing_committee|}}}
| label16 = [[Party spokesperson|Spokes{{#if:{{{spokesperson|}}}|person|man}}]]
| class16 = agent
| data16 = {{if empty|{{{spokesperson|}}}|{{{spokesman|}}}}}
| label17 = {{{leader1_title|}}}
| class17 = agent
| data17 = {{{leader1_name|}}}
| label18 = {{{leader2_title|}}}
| class18 = agent
| data18 = {{{leader2_name|}}}
| label19 = {{{leader3_title|}}}
| class19 = agent
| data19 = {{{leader3_name|}}}
| label20 = {{{leader4_title|}}}
| class20 = agent
| data20 = {{{leader4_name|}}}
| label21 = {{{leader5_title|}}}
| class21 = agent
| data21 = {{{leader5_name|}}}
| label22 = {{#if:{{{founders|}}} |Founders |Founder}}
| class22 = agent
| data22 = {{if empty|{{{founders|}}}|{{{founder|}}}}}
| label23 = Founded
| data23 = {{if empty|{{{founded|}}}|{{{foundation|}}}}}
| label24 = Registered
| data24 = {{{registered|}}}
| label25 = Legali{{#if:{{{legalised|}}}|s|z}}ed
| data25 = {{if empty|{{{legalised|}}}|{{{legalized|}}}}}
| label26 = {{#if:{{{banned|}}} |Banned |Dissolved}}
| data26 = {{if empty|{{{banned|}}}|{{{dissolved|}}}|{{{dissolution|}}}}}
| label27 = Merger of
| data27 = {{{merger|}}}
| label28 = Split from
| data28 = {{{split|}}}
| label29 = Preceded by
| data29 = {{{predecessor|}}}
| label30 = Merged into
| data30 = {{{merged|}}}
| label31 = Succeeded by
| data31 = {{{successor|}}}
| label32 = Headquarters
| class32 = label
| data32 = {{{headquarters|}}}
| label33 = Newspaper
| data33 = {{{newspaper|}}}
| label34 = [[Think tank]]
| data34 = {{if empty|{{{think tank|}}}|{{{think_tank|}}}}}
| label35 = [[Student wing]]
| data35 = {{{student_wing|}}}
| label36 = [[Youth wing]]
| data36 = {{{youth_wing|}}}
| label37 = [[Women's wing]]
| data37 = {{{womens_wing|}}}
| label38 = {{{wing1_title}}}
| data38 = {{{wing1|}}}
| label39 = {{{wing2_title}}}
| data39 = {{{wing2|}}}
| label40 = {{{wing3_title}}}
| data40 = {{{wing3|}}}
| label41 = {{{wing4_title}}}
| data41 = {{{wing4|}}}
| label42 = Membership {{#if:{{{membership_year|}}} |{{nobold|({{{membership_year}}})}}}}
| data42 = {{{membership|}}}
| label43 = [[List of political ideologies|Ideology]]
| class43 = category
| data43 = {{{ideology|}}}
| label44 = [[Political spectrum|Political position]]
| class44 = category
| data44 = {{{position|}}}
| label45 = Religion
| class45 = category
| data45 = {{{religion|}}}
| label46 = National affiliation
| class46 = category
| data46 = {{{national|}}}
| label47 = Regional affiliation
| class47 = category
| data47 = {{if empty|{{{regional|}}}|{{{regional affiliation|}}}}}
| label48 = [[European political party|European affiliation]]
| class48 = category
| data48 = {{{european|}}}
| label49 = Continental affiliation
| class49 = category
| data49 = {{if empty|{{{continental|}}}|{{{continental affiliation|}}}}}
| label50 = International affiliation
| class50 = category
| data50 = {{{international|}}}
| label51 = [[Political groups of the European Parliament|European Parliament group]]
| class51 = category
| data51 = {{{europarl|}}}
| label52 = {{{affiliation1_title}}}
| class52 = category
| data52 = {{#if:{{{affiliation1_title|}}}|{{{affiliation1|}}}}}
| label53 = {{{affiliation2_title}}}
| class53 = category
| data53 = {{#if:{{{affiliation2_title|}}}|{{{affiliation2|}}}}}
| label54 = Colo{{#if:{{{colours|}}}|u|}}rs
| data54 = {{{colo{{#if:{{{colours|}}}|u|}}rs|}}}
| label55 = Slogan
| data55 = {{{slogan|}}}
| label56 = Anthem
| data56 = {{{anthem|}}}
| label57 = {{{blank1_title|}}}
| data57 = {{{blank1|}}}
| label58 = {{{blank2_title|}}}
| data58 = {{{blank2|}}}
| label59 = {{{blank3_title|}}}
| data59 = {{{blank3|}}}
| label60 = {{{blank4_title|}}}
| data60 = {{{blank4|}}}
| label61 = {{{seats1_title|}}}
| data61 = {{{seats1|}}}
| label62 = {{{seats2_title|}}}
| data62 = {{{seats2|}}}
| label63 = {{{seats3_title|}}}
| data63 = {{{seats3|}}}
| label64 = {{{seats4_title|}}}
| data64 = {{{seats4|}}}
| label65 = {{{seats5_title|}}}
| data65 = {{{seats5|}}}
| label66 = {{{seats6_title|}}}
| data66 = {{{seats6|}}}
| label67 = {{{seats7_title|}}}
| data67 = {{{seats7|}}}
| label68 = {{{seats8_title|}}}
| data68 = {{{seats8|}}}
| label69 = {{{seats9_title|}}}
| data69 = {{{seats9|}}}
| label70 = {{{seats10_title|}}}
| data70 = {{{seats10|}}}
| label71 = {{{seats11_title|}}}
| data71 = {{{seats11|}}}
| header72 = {{#if:{{{symbol|}}} |Election symbol}}
| data73 = {{{symbol|}}}
| header74 = {{#if:{{{flag|}}} |{{{flag_title|Party flag}}}}}
| data75 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|upright=0.8|alt={{if empty|{{{flag_alt|}}}|{{{flag_title|}}}}}}}
| header76 = {{#if:{{{website|}}} |Website}}
| data77 = {{{website|}}}
| belowstyle = padding-top:0;
| below = {{#if:{{{state|}}}{{{country|}}}
| {{Hlist |style=line-height:1.3em; padding-top:0.3em; border-top:{{#if:{{{colorcode|}}}|2|1}}px solid {{{colorcode|#aaa}}};
| {{#if:{{{country_dab1|}}}
| {{#ifexist: {{{country_dab1|}}} | [[{{{country_dab1}}}|Politics of {{if empty|{{{state|}}}|{{{country}}}}}]] }}
| {{#ifexist: Politics of {{if empty|{{{state|}}}|{{{country}}}}} | [[Politics of {{if empty|{{{state|}}}|{{{country}}}}}]] }}
}}
| {{#if:{{{parties_dab1|}}}
| {{#ifexist: {{{parties_dab1|}}} | [[{{{parties_dab1}}}|Political parties]] }}
| {{#ifexist: List of political parties in {{if empty|{{{state|}}}|{{{country}}}}} | [[List of political parties in {{if empty|{{{state|}}}|{{{country}}}}}|Political parties]] }}
}}
| {{#if:{{{elections_dab1|}}}
| {{#ifexist: {{{elections_dab1}}} | [[{{{elections_dab1}}}|Elections]] }}
| {{#ifexist: Elections in {{if empty|{{{state|}}}|{{{country}}}}} | [[Elections in {{if empty|{{{state|}}}|{{{country}}}}}|Elections]]}}
}}
}}<!--
-->{{#if:{{{country2|}}}
| {{Hlist |style=line-height:1.3em; margin-top:0.2em; padding-top:0.2em; border-top: 1px solid #aaa;
| {{#if:{{{country_dab2|}}}
| {{#ifexist: {{{country_dab2|}}} | [[{{{country_dab2}}}|Politics of {{{country2}}}]] }}
| {{#ifexist: Politics of {{{country2}}} | [[Politics of {{{country2}}}]] }}
}}
| {{#if:{{{parties_dab1|}}}
| {{#ifexist: {{{parties_dab2|}}} | [[{{{parties_dab2}}}|Political parties]] }}
| {{#ifexist: List of political parties in {{{country2}}} | [[List of political parties in {{{country2}}}|Political parties]] }}
}}
| {{#if:{{{elections_dab1|}}}
| {{#ifexist: {{{elections_dab2}}} | [[{{{elections_dab2}}}|Elections]] }}
| {{#ifexist: Elections in {{{country2}}} | [[Elections in {{{country2}}}|Elections]]}}
}}
}} }} }}<!--
-->{{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox political party with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox political party]] with unknown parameter "_VALUE_"|ignoreblank=y| _subheader | abbr | abbreviation | affiliation1 | affiliation1_title | affiliation2 | affiliation2_title | anthem | banned | blank1 | blank1_title | blank2 | blank2_title | blank3 | blank3_title | blank4 | blank4_title | caption | categories | chairman | chairperson | chairwoman | colorcode | colors | colours | continental | continental affiliation | country | country_dab1 | country_dab2 | country2 | demo | dissolution | dissolved | elections_dab1 | elections_dab2 | europarl | european | first_secretary | flag | flag_alt | flag_title | footnotes | foundation | founded | founder | founders | general_secretary | governing_body | headquarters | ideology | international | lang1 | lang2 | lang3 | lang4 | leader | leader1_name | leader1_title | leader2_name | leader2_title | leader3_name | leader3_title | leader4_name | leader4_title | leader5_name | leader5_title | legalised | legalized | logo | logo_alt | logo_size | logo_upright | membership | membership_year | merged | merger | name | name_lang1 | name_lang2 | name_lang3 | name_lang4 | national | native_name | native_name_lang | newspaper | nocat | parties_dab1 | parties_dab2 | position | predecessor | president | presidium | regional | regional affiliation | registered | religion | seats1 | seats1_title | seats10 | seats10_title | seats11 | seats11_title | seats2 | seats2_title | seats3 | seats3_title | seats4 | seats4_title | seats5 | seats5_title | seats6 | seats6_title | seats7 | seats7_title | seats8 | seats8_title | seats9 | seats9_title | secretary | secretary_general | slogan | split | spokesman | spokesperson | standing_committee | state | student_wing | successor | symbol | think tank | think_tank | website | wing1 | wing1_title | wing2 | wing2_title | wing3 | wing3_title | wing4 | wing4_title | womens_wing | youth_wing
}}<noinclude>
{{Documentation}}
</noinclude>
8b587d5ac78b0131b82ed669ff04f80ed06765f8
Template:Nowrap
10
1522
3117
3116
2024-03-13T19:07:53Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<span class="nowrap">{{{1}}}</span><noinclude>
{{documentation}}
<!-- Categories go on the /doc page; interwikis go to Wikidata. -->
</noinclude>
5d0dc6b6d89b37f4356242404f46138a4017f015
Template:Yesno-yes
10
1523
3119
3118
2024-03-13T19:07:55Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{SAFESUBST:<noinclude />yesno|{{{1}}}|yes={{{yes|yes}}}|no={{{no|no}}}|blank={{{blank|yes}}}|¬={{{¬|yes}}}|def={{{def|yes}}}}}<noinclude>
{{Documentation|Template:Yesno/doc}}
<!--Categories go in the doc page referenced above; interwikis go in Wikidata.-->
</noinclude>
1644b79058ef2cece539a411edc164d98bb11ebe
Template:Nobold
10
1524
3121
3120
2024-03-13T19:07:56Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<templatestyles src="Nobold/styles.css"/><span class="nobold">{{{1}}}</span><noinclude>
{{documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
9c92b5951772bb26ca0fbe9256418b65e47700dd
Template:Nobold/styles.css
10
1525
3123
3122
2024-03-13T19:07:56Z
ElBortoTexas
10
1 revision imported
sanitized-css
text/css
/* {{pp-template}} */
/* Styling for Template:Nobold */
.nobold {
font-weight: normal;
}
83e5f0adacf8c7984251f1fd9d11ed82ebaadf03
Template:Infobox
10
1526
3125
3124
2024-03-13T19:07:59Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
{{documentation}}
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
</noinclude>
817a9f5b6524eced06a57bd1d5fd7179f9369bf2
Template:PAGENAMEBASE
10
1527
3127
3126
2024-03-13T19:08:00Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{{{{|safesubst:}}}#Invoke:String|replace|{{{1|{{{{{|safesubst:}}}PAGENAME}}}}}|%s+%b()$||1|false}}<noinclude>
{{documentation}}
</noinclude>
f23a5d434cb5b0baac5e1f58e9ceef9118e6873f
Template:Has short description
10
1528
3129
3128
2024-03-13T19:08:00Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{#invoke:string2 |findpagetext |text={%{ *[Ss]hort description |plain=false |title={{{title|{{{1|}}} }}} }}<noinclude>
{{documentation}}
</noinclude>
87587209a436a4c02ef7564ffe868c4348cc6a3c
Module:String2
828
1529
3131
3130
2024-03-13T19:08:01Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
require ('strict');
local p = {}
p.trim = function(frame)
return mw.text.trim(frame.args[1] or "")
end
p.sentence = function (frame)
-- {{lc:}} is strip-marker safe, string.lower is not.
frame.args[1] = frame:callParserFunction('lc', frame.args[1])
return p.ucfirst(frame)
end
p.ucfirst = function (frame )
local s = frame.args[1];
if not s or '' == s or s:match ('^%s+$') then -- when <s> is nil, empty, or only whitespace
return s; -- abandon because nothing to do
end
s = mw.text.trim( frame.args[1] or "" )
local s1 = ""
local prefix_patterns_t = { -- sequence of prefix patterns
'^\127[^\127]*UNIQ%-%-%a+%-%x+%-QINU[^\127]*\127', -- stripmarker
'^([%*;:#]+)', -- various list markup
'^(\'\'\'*)', -- bold / italic markup
'^(%b<>)', -- html-like tags because some templates render these
'^(&%a+;)', -- html character entities because some templates render these
'^(&#%d+;)', -- html numeric (decimal) entities because some templates render these
'^(&#x%x+;)', -- html numeric (hexadecimal) entities because some templates render these
'^(%s+)', -- any whitespace characters
'^([%(%)%-%+%?%.%%!~!@%$%^&_={}/`,‘’„“”ʻ|\"\'\\]+)', -- miscellaneous punctuation
}
local prefixes_t = {}; -- list, bold/italic, and html-like markup, & whitespace saved here
local function prefix_strip (s) -- local function to strip prefixes from <s>
for _, pattern in ipairs (prefix_patterns_t) do -- spin through <prefix_patterns_t>
if s:match (pattern) then -- when there is a match
local prefix = s:match (pattern); -- get a copy of the matched prefix
table.insert (prefixes_t, prefix); -- save it
s = s:sub (prefix:len() + 1); -- remove the prefix from <s>
return s, true; -- return <s> without prefix and flag; force restart at top of sequence because misc punct removal can break stripmarker
end
end
return s; -- no prefix found; return <s> with nil flag
end
local prefix_removed; -- flag; boolean true as long as prefix_strip() finds and removes a prefix
repeat -- one by one remove list, bold/italic, html-like markup, whitespace, etc from start of <s>
s, prefix_removed = prefix_strip (s);
until (not prefix_removed); -- until <prefix_removed> is nil
s1 = table.concat (prefixes_t); -- recreate the prefix string for later reattachment
local first_text = mw.ustring.match (s, '^%[%[[^%]]+%]%]'); -- extract wikilink at start of string if present; TODO: this can be string.match()?
local upcased;
if first_text then
if first_text:match ('^%[%[[^|]+|[^%]]+%]%]') then -- if <first_text> is a piped link
upcased = mw.ustring.match (s, '^%[%[[^|]+|%W*(%w)'); -- get first letter character
upcased = mw.ustring.upper (upcased); -- upcase first letter character
s = mw.ustring.gsub (s, '^(%[%[[^|]+|%W*)%w', '%1' .. upcased); -- replace
else -- here when <first_text> is a wikilink but not a piped link
upcased = mw.ustring.match (s, '^%[%[%W*%w'); -- get '[[' and first letter
upcased = mw.ustring.upper (upcased); -- upcase first letter character
s = mw.ustring.gsub (s, '^%[%[%W*%w', upcased); -- replace; no capture needed here
end
elseif s:match ('^%[%S+%s+[^%]]+%]') then -- if <s> is a ext link of some sort; must have label text
upcased = mw.ustring.match (s, '^%[%S+%s+%W*(%w)'); -- get first letter character
upcased = mw.ustring.upper (upcased); -- upcase first letter character
s = mw.ustring.gsub (s, '^(%[%S+%s+%W*)%w', '%1' .. upcased); -- replace
elseif s:match ('^%[%S+%s*%]') then -- if <s> is a ext link without label text; nothing to do
return s1 .. s; -- reattach prefix string (if present) and done
else -- <s> is not a wikilink or ext link; assume plain text
upcased = mw.ustring.match (s, '^%W*%w'); -- get the first letter character
upcased = mw.ustring.upper (upcased); -- upcase first letter character
s = mw.ustring.gsub (s, '^%W*%w', upcased); -- replace; no capture needed here
end
return s1 .. s; -- reattach prefix string (if present) and done
end
p.title = function (frame )
-- http://grammar.yourdictionary.com/capitalization/rules-for-capitalization-in-titles.html
-- recommended by The U.S. Government Printing Office Style Manual:
-- "Capitalize all words in titles of publications and documents,
-- except a, an, the, at, by, for, in, of, on, to, up, and, as, but, or, and nor."
local alwayslower = {['a'] = 1, ['an'] = 1, ['the'] = 1,
['and'] = 1, ['but'] = 1, ['or'] = 1, ['for'] = 1,
['nor'] = 1, ['on'] = 1, ['in'] = 1, ['at'] = 1, ['to'] = 1,
['from'] = 1, ['by'] = 1, ['of'] = 1, ['up'] = 1 }
local res = ''
local s = mw.text.trim( frame.args[1] or "" )
local words = mw.text.split( s, " ")
for i, s in ipairs(words) do
-- {{lc:}} is strip-marker safe, string.lower is not.
s = frame:callParserFunction('lc', s)
if i == 1 or alwayslower[s] ~= 1 then
s = mw.getContentLanguage():ucfirst(s)
end
words[i] = s
end
return table.concat(words, " ")
end
-- findlast finds the last item in a list
-- the first unnamed parameter is the list
-- the second, optional unnamed parameter is the list separator (default = comma space)
-- returns the whole list if separator not found
p.findlast = function(frame)
local s = mw.text.trim( frame.args[1] or "" )
local sep = frame.args[2] or ""
if sep == "" then sep = ", " end
local pattern = ".*" .. sep .. "(.*)"
local a, b, last = s:find(pattern)
if a then
return last
else
return s
end
end
-- stripZeros finds the first number and strips leading zeros (apart from units)
-- e.g "0940" -> "940"; "Year: 0023" -> "Year: 23"; "00.12" -> "0.12"
p.stripZeros = function(frame)
local s = mw.text.trim(frame.args[1] or "")
local n = tonumber( string.match( s, "%d+" ) ) or ""
s = string.gsub( s, "%d+", n, 1 )
return s
end
-- nowiki ensures that a string of text is treated by the MediaWiki software as just a string
-- it takes an unnamed parameter and trims whitespace, then removes any wikicode
p.nowiki = function(frame)
local str = mw.text.trim(frame.args[1] or "")
return mw.text.nowiki(str)
end
-- split splits text at boundaries specified by separator
-- and returns the chunk for the index idx (starting at 1)
-- #invoke:String2 |split |text |separator |index |true/false
-- #invoke:String2 |split |txt=text |sep=separator |idx=index |plain=true/false
-- if plain is false/no/0 then separator is treated as a Lua pattern - defaults to plain=true
p.split = function(frame)
local args = frame.args
if not(args[1] or args.txt) then args = frame:getParent().args end
local txt = args[1] or args.txt or ""
if txt == "" then return nil end
local sep = (args[2] or args.sep or ""):gsub('"', '')
local idx = tonumber(args[3] or args.idx) or 1
local plain = (args[4] or args.plain or "true"):sub(1,1)
plain = (plain ~= "f" and plain ~= "n" and plain ~= "0")
local splittbl = mw.text.split( txt, sep, plain )
if idx < 0 then idx = #splittbl + idx + 1 end
return splittbl[idx]
end
-- val2percent scans through a string, passed as either the first unnamed parameter or |txt=
-- it converts each number it finds into a percentage and returns the resultant string.
p.val2percent = function(frame)
local args = frame.args
if not(args[1] or args.txt) then args = frame:getParent().args end
local txt = mw.text.trim(args[1] or args.txt or "")
if txt == "" then return nil end
local function v2p (x)
x = (tonumber(x) or 0) * 100
if x == math.floor(x) then x = math.floor(x) end
return x .. "%"
end
txt = txt:gsub("%d[%d%.]*", v2p) -- store just the string
return txt
end
-- one2a scans through a string, passed as either the first unnamed parameter or |txt=
-- it converts each occurrence of 'one ' into either 'a ' or 'an ' and returns the resultant string.
p.one2a = function(frame)
local args = frame.args
if not(args[1] or args.txt) then args = frame:getParent().args end
local txt = mw.text.trim(args[1] or args.txt or "")
if txt == "" then return nil end
txt = txt:gsub(" one ", " a "):gsub("^one", "a"):gsub("One ", "A "):gsub("a ([aeiou])", "an %1"):gsub("A ([aeiou])", "An %1")
return txt
end
-- findpagetext returns the position of a piece of text in a page
-- First positional parameter or |text is the search text
-- Optional parameter |title is the page title, defaults to current page
-- Optional parameter |plain is either true for plain search (default) or false for Lua pattern search
-- Optional parameter |nomatch is the return value when no match is found; default is nil
p._findpagetext = function(args)
-- process parameters
local nomatch = args.nomatch or ""
if nomatch == "" then nomatch = nil end
--
local text = mw.text.trim(args[1] or args.text or "")
if text == "" then return nil end
--
local title = args.title or ""
local titleobj
if title == "" then
titleobj = mw.title.getCurrentTitle()
else
titleobj = mw.title.new(title)
end
--
local plain = args.plain or ""
if plain:sub(1, 1) == "f" then plain = false else plain = true end
-- get the page content and look for 'text' - return position or nomatch
local content = titleobj and titleobj:getContent()
return content and mw.ustring.find(content, text, 1, plain) or nomatch
end
p.findpagetext = function(frame)
local args = frame.args
local pargs = frame:getParent().args
for k, v in pairs(pargs) do
args[k] = v
end
if not (args[1] or args.text) then return nil end
-- just the first value
return (p._findpagetext(args))
end
-- returns the decoded url. Inverse of parser function {{urlencode:val|TYPE}}
-- Type is:
-- QUERY decodes + to space (default)
-- PATH does no extra decoding
-- WIKI decodes _ to space
p._urldecode = function(url, type)
url = url or ""
type = (type == "PATH" or type == "WIKI") and type
return mw.uri.decode( url, type )
end
-- {{#invoke:String2|urldecode|url=url|type=type}}
p.urldecode = function(frame)
return mw.uri.decode( frame.args.url, frame.args.type )
end
-- what follows was merged from Module:StringFunc
-- helper functions
p._GetParameters = require('Module:GetParameters')
-- Argument list helper function, as per Module:String
p._getParameters = p._GetParameters.getParameters
-- Escape Pattern helper function so that all characters are treated as plain text, as per Module:String
function p._escapePattern( pattern_str )
return mw.ustring.gsub( pattern_str, "([%(%)%.%%%+%-%*%?%[%^%$%]])", "%%%1" )
end
-- Helper Function to interpret boolean strings, as per Module:String
p._getBoolean = p._GetParameters.getBoolean
--[[
Strip
This function Strips characters from string
Usage:
{{#invoke:String2|strip|source_string|characters_to_strip|plain_flag}}
Parameters
source: The string to strip
chars: The pattern or list of characters to strip from string, replaced with ''
plain: A flag indicating that the chars should be understood as plain text. defaults to true.
Leading and trailing whitespace is also automatically stripped from the string.
]]
function p.strip( frame )
local new_args = p._getParameters( frame.args, {'source', 'chars', 'plain'} )
local source_str = new_args['source'] or ''
local chars = new_args['chars'] or '' or 'characters'
source_str = mw.text.trim(source_str)
if source_str == '' or chars == '' then
return source_str
end
local l_plain = p._getBoolean( new_args['plain'] or true )
if l_plain then
chars = p._escapePattern( chars )
end
local result
result = mw.ustring.gsub(source_str, "["..chars.."]", '')
return result
end
--[[
Match any
Returns the index of the first given pattern to match the input. Patterns must be consecutively numbered.
Returns the empty string if nothing matches for use in {{#if:}}
Usage:
{{#invoke:String2|matchAll|source=123 abc|456|abc}} returns '2'.
Parameters:
source: the string to search
plain: A flag indicating that the patterns should be understood as plain text. defaults to true.
1, 2, 3, ...: the patterns to search for
]]
function p.matchAny(frame)
local source_str = frame.args['source'] or error('The source parameter is mandatory.')
local l_plain = p._getBoolean( frame.args['plain'] or true )
for i = 1, math.huge do
local pattern = frame.args[i]
if not pattern then return '' end
if mw.ustring.find(source_str, pattern, 1, l_plain) then
return tostring(i)
end
end
end
--[[--------------------------< H Y P H E N _ T O _ D A S H >--------------------------------------------------
Converts a hyphen to a dash under certain conditions. The hyphen must separate
like items; unlike items are returned unmodified. These forms are modified:
letter - letter (A - B)
digit - digit (4-5)
digit separator digit - digit separator digit (4.1-4.5 or 4-1-4-5)
letterdigit - letterdigit (A1-A5) (an optional separator between letter and
digit is supported – a.1-a.5 or a-1-a-5)
digitletter - digitletter (5a - 5d) (an optional separator between letter and
digit is supported – 5.a-5.d or 5-a-5-d)
any other forms are returned unmodified.
str may be a comma- or semicolon-separated list
]]
function p.hyphen_to_dash( str, spacing )
if (str == nil or str == '') then
return str
end
local accept
str = mw.text.decode(str, true ) -- replace html entities with their characters; semicolon mucks up the text.split
local out = {}
local list = mw.text.split (str, '%s*[,;]%s*') -- split str at comma or semicolon separators if there are any
for _, item in ipairs (list) do -- for each item in the list
item = mw.text.trim(item) -- trim whitespace
item, accept = item:gsub ('^%(%((.+)%)%)$', '%1')
if accept == 0 and mw.ustring.match (item, '^%w*[%.%-]?%w+%s*[%-–—]%s*%w*[%.%-]?%w+$') then -- if a hyphenated range or has endash or emdash separators
if item:match ('^%a+[%.%-]?%d+%s*%-%s*%a+[%.%-]?%d+$') or -- letterdigit hyphen letterdigit (optional separator between letter and digit)
item:match ('^%d+[%.%-]?%a+%s*%-%s*%d+[%.%-]?%a+$') or -- digitletter hyphen digitletter (optional separator between digit and letter)
item:match ('^%d+[%.%-]%d+%s*%-%s*%d+[%.%-]%d+$') or -- digit separator digit hyphen digit separator digit
item:match ('^%d+%s*%-%s*%d+$') or -- digit hyphen digit
item:match ('^%a+%s*%-%s*%a+$') then -- letter hyphen letter
item = item:gsub ('(%w*[%.%-]?%w+)%s*%-%s*(%w*[%.%-]?%w+)', '%1–%2') -- replace hyphen, remove extraneous space characters
else
item = mw.ustring.gsub (item, '%s*[–—]%s*', '–') -- for endash or emdash separated ranges, replace em with en, remove extraneous whitespace
end
end
table.insert (out, item) -- add the (possibly modified) item to the output table
end
local temp_str = table.concat (out, ',' .. spacing) -- concatenate the output table into a comma separated string
temp_str, accept = temp_str:gsub ('^%(%((.+)%)%)$', '%1') -- remove accept-this-as-written markup when it wraps all of concatenated out
if accept ~= 0 then
temp_str = str:gsub ('^%(%((.+)%)%)$', '%1') -- when global markup removed, return original str; do it this way to suppress boolean second return value
end
return temp_str
end
function p.hyphen2dash( frame )
local str = frame.args[1] or ''
local spacing = frame.args[2] or ' ' -- space is part of the standard separator for normal spacing (but in conjunction with templates r/rp/ran we may need a narrower spacing
return p.hyphen_to_dash(str, spacing)
end
-- Similar to [[Module:String#endswith]]
function p.startswith(frame)
return (frame.args[1]:sub(1, frame.args[2]:len()) == frame.args[2]) and 'yes' or ''
end
return p
04ef69ae5227a8cff711cf325658a382056af15a
Module:GetParameters
828
1530
3133
3132
2024-03-13T19:08:01Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
local p = {}
--[[
Helper function that populates the argument list given that user may need to use a mix of
named and unnamed parameters. This is relevant because named parameters are not
identical to unnamed parameters due to string trimming, and when dealing with strings
we sometimes want to either preserve or remove that whitespace depending on the application.
]]
function p.getParameters( frame_args, arg_list )
local new_args = {};
local index = 1;
local value;
for i,arg in ipairs( arg_list ) do
value = frame_args[arg]
if value == nil then
value = frame_args[index];
index = index + 1;
end
new_args[arg] = value;
end
return new_args;
end
--[[
Helper Function to interpret boolean strings
]]
function p.getBoolean( boolean_str )
local boolean_value;
if type( boolean_str ) == 'string' then
boolean_str = boolean_str:lower();
if boolean_str == 'false' or boolean_str == 'no' or boolean_str == '0'
or boolean_str == '' then
boolean_value = false;
else
boolean_value = true;
end
elseif type( boolean_str ) == 'boolean' then
boolean_value = boolean_str;
else
error( 'No boolean value found' );
end
return boolean_value
end
function p.defined(frame)
local arg = mw.text.trim(frame.args[1])
--if arg == tostring(tonumber(arg)) then -- undesired result for '-0'
-- arg = tonumber(arg)
--end
--if mw.ustring.find(arg, '^%s*-?[1-9][0-9]*%s*$') ~= nil or arg == '0' then
-- arg = tonumber(arg)
--end
if mw.ustring.find(arg, '^-?[1-9][0-9]*$') ~= nil then
arg = tonumber(arg)
elseif arg == '0' then
arg = 0
end
return frame:getParent().args[arg] ~= nil
end
return p
00e952f0ee8f6ea68e990d589dfb15e7d4036623
Template:Navbox
10
1531
3135
3134
2024-03-13T19:08:02Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#invoke:Navbox|navbox}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
fe9b964401f895918ee4fe078678f1722a3c41ec
Module:Navbox
828
1532
3137
3136
2024-03-13T19:08:04Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
require('strict')
local p = {}
local navbar = require('Module:Navbar')._navbar
local cfg = mw.loadData('Module:Navbox/configuration')
local getArgs -- lazily initialized
local args
local format = string.format
local function striped(wikitext, border)
-- Return wikitext with markers replaced for odd/even striping.
-- Child (subgroup) navboxes are flagged with a category that is removed
-- by parent navboxes. The result is that the category shows all pages
-- where a child navbox is not contained in a parent navbox.
local orphanCat = cfg.category.orphan
if border == cfg.keyword.border_subgroup and args[cfg.arg.orphan] ~= cfg.keyword.orphan_yes then
-- No change; striping occurs in outermost navbox.
return wikitext .. orphanCat
end
local first, second = cfg.class.navbox_odd_part, cfg.class.navbox_even_part
if args[cfg.arg.evenodd] then
if args[cfg.arg.evenodd] == cfg.keyword.evenodd_swap then
first, second = second, first
else
first = args[cfg.arg.evenodd]
second = first
end
end
local changer
if first == second then
changer = first
else
local index = 0
changer = function (code)
if code == '0' then
-- Current occurrence is for a group before a nested table.
-- Set it to first as a valid although pointless class.
-- The next occurrence will be the first row after a title
-- in a subgroup and will also be first.
index = 0
return first
end
index = index + 1
return index % 2 == 1 and first or second
end
end
local regex = orphanCat:gsub('([%[%]])', '%%%1')
return (wikitext:gsub(regex, ''):gsub(cfg.marker.regex, changer)) -- () omits gsub count
end
local function processItem(item, nowrapitems)
if item:sub(1, 2) == '{|' then
-- Applying nowrap to lines in a table does not make sense.
-- Add newlines to compensate for trim of x in |parm=x in a template.
return '\n' .. item ..'\n'
end
if nowrapitems == cfg.keyword.nowrapitems_yes then
local lines = {}
for line in (item .. '\n'):gmatch('([^\n]*)\n') do
local prefix, content = line:match('^([*:;#]+)%s*(.*)')
if prefix and not content:match(cfg.pattern.nowrap) then
line = format(cfg.nowrap_item, prefix, content)
end
table.insert(lines, line)
end
item = table.concat(lines, '\n')
end
if item:match('^[*:;#]') then
return '\n' .. item ..'\n'
end
return item
end
local function has_navbar()
return args[cfg.arg.navbar] ~= cfg.keyword.navbar_off
and args[cfg.arg.navbar] ~= cfg.keyword.navbar_plain
and (
args[cfg.arg.name]
or mw.getCurrentFrame():getParent():getTitle():gsub(cfg.pattern.sandbox, '')
~= cfg.pattern.navbox
)
end
local function renderNavBar(titleCell)
if has_navbar() then
titleCell:wikitext(navbar{
[cfg.navbar.name] = args[cfg.arg.name],
[cfg.navbar.mini] = 1,
[cfg.navbar.fontstyle] = (args[cfg.arg.basestyle] or '') .. ';' ..
(args[cfg.arg.titlestyle] or '') ..
';background:none transparent;border:none;box-shadow:none;padding:0;'
})
end
end
local function renderTitleRow(tbl)
if not args[cfg.arg.title] then return end
local titleRow = tbl:tag('tr')
local titleCell = titleRow:tag('th'):attr('scope', 'col')
local titleColspan = 2
if args[cfg.arg.imageleft] then titleColspan = titleColspan + 1 end
if args[cfg.arg.image] then titleColspan = titleColspan + 1 end
titleCell
:cssText(args[cfg.arg.basestyle])
:cssText(args[cfg.arg.titlestyle])
:addClass(cfg.class.navbox_title)
:attr('colspan', titleColspan)
renderNavBar(titleCell)
titleCell
:tag('div')
-- id for aria-labelledby attribute
:attr('id', mw.uri.anchorEncode(args[cfg.arg.title]))
:addClass(args[cfg.arg.titleclass])
:css('font-size', '114%')
:css('margin', '0 4em')
:wikitext(processItem(args[cfg.arg.title]))
end
local function getAboveBelowColspan()
local ret = 2
if args[cfg.arg.imageleft] then ret = ret + 1 end
if args[cfg.arg.image] then ret = ret + 1 end
return ret
end
local function renderAboveRow(tbl)
if not args[cfg.arg.above] then return end
tbl:tag('tr')
:tag('td')
:addClass(cfg.class.navbox_abovebelow)
:addClass(args[cfg.arg.aboveclass])
:cssText(args[cfg.arg.basestyle])
:cssText(args[cfg.arg.abovestyle])
:attr('colspan', getAboveBelowColspan())
:tag('div')
-- id for aria-labelledby attribute, if no title
:attr('id', (not args[cfg.arg.title]) and mw.uri.anchorEncode(args[cfg.arg.above]) or nil)
:wikitext(processItem(args[cfg.arg.above], args[cfg.arg.nowrapitems]))
end
local function renderBelowRow(tbl)
if not args[cfg.arg.below] then return end
tbl:tag('tr')
:tag('td')
:addClass(cfg.class.navbox_abovebelow)
:addClass(args[cfg.arg.belowclass])
:cssText(args[cfg.arg.basestyle])
:cssText(args[cfg.arg.belowstyle])
:attr('colspan', getAboveBelowColspan())
:tag('div')
:wikitext(processItem(args[cfg.arg.below], args[cfg.arg.nowrapitems]))
end
local function renderListRow(tbl, index, listnum, listnums_size)
local row = tbl:tag('tr')
if index == 1 and args[cfg.arg.imageleft] then
row
:tag('td')
:addClass(cfg.class.noviewer)
:addClass(cfg.class.navbox_image)
:addClass(args[cfg.arg.imageclass])
:css('width', '1px') -- Minimize width
:css('padding', '0 2px 0 0')
:cssText(args[cfg.arg.imageleftstyle])
:attr('rowspan', listnums_size)
:tag('div')
:wikitext(processItem(args[cfg.arg.imageleft]))
end
local group_and_num = format(cfg.arg.group_and_num, listnum)
local groupstyle_and_num = format(cfg.arg.groupstyle_and_num, listnum)
if args[group_and_num] then
local groupCell = row:tag('th')
-- id for aria-labelledby attribute, if lone group with no title or above
if listnum == 1 and not (args[cfg.arg.title] or args[cfg.arg.above] or args[cfg.arg.group2]) then
groupCell
:attr('id', mw.uri.anchorEncode(args[cfg.arg.group1]))
end
groupCell
:attr('scope', 'row')
:addClass(cfg.class.navbox_group)
:addClass(args[cfg.arg.groupclass])
:cssText(args[cfg.arg.basestyle])
-- If groupwidth not specified, minimize width
:css('width', args[cfg.arg.groupwidth] or '1%')
groupCell
:cssText(args[cfg.arg.groupstyle])
:cssText(args[groupstyle_and_num])
:wikitext(args[group_and_num])
end
local listCell = row:tag('td')
if args[group_and_num] then
listCell
:addClass(cfg.class.navbox_list_with_group)
else
listCell:attr('colspan', 2)
end
if not args[cfg.arg.groupwidth] then
listCell:css('width', '100%')
end
local rowstyle -- usually nil so cssText(rowstyle) usually adds nothing
if index % 2 == 1 then
rowstyle = args[cfg.arg.oddstyle]
else
rowstyle = args[cfg.arg.evenstyle]
end
local list_and_num = format(cfg.arg.list_and_num, listnum)
local listText = args[list_and_num]
local oddEven = cfg.marker.oddeven
if listText:sub(1, 12) == '</div><table' then
-- Assume list text is for a subgroup navbox so no automatic striping for this row.
oddEven = listText:find(cfg.pattern.navbox_title) and cfg.marker.restart or cfg.class.navbox_odd_part
end
local liststyle_and_num = format(cfg.arg.liststyle_and_num, listnum)
local listclass_and_num = format(cfg.arg.listclass_and_num, listnum)
listCell
:css('padding', '0')
:cssText(args[cfg.arg.liststyle])
:cssText(rowstyle)
:cssText(args[liststyle_and_num])
:addClass(cfg.class.navbox_list)
:addClass(cfg.class.navbox_part .. oddEven)
:addClass(args[cfg.arg.listclass])
:addClass(args[listclass_and_num])
:tag('div')
:css('padding',
(index == 1 and args[cfg.arg.list1padding]) or args[cfg.arg.listpadding] or '0 0.25em'
)
:wikitext(processItem(listText, args[cfg.arg.nowrapitems]))
if index == 1 and args[cfg.arg.image] then
row
:tag('td')
:addClass(cfg.class.noviewer)
:addClass(cfg.class.navbox_image)
:addClass(args[cfg.arg.imageclass])
:css('width', '1px') -- Minimize width
:css('padding', '0 0 0 2px')
:cssText(args[cfg.arg.imagestyle])
:attr('rowspan', listnums_size)
:tag('div')
:wikitext(processItem(args[cfg.arg.image]))
end
end
local function has_list_class(htmlclass)
local patterns = {
'^' .. htmlclass .. '$',
'%s' .. htmlclass .. '$',
'^' .. htmlclass .. '%s',
'%s' .. htmlclass .. '%s'
}
for arg, _ in pairs(args) do
if type(arg) == 'string' and mw.ustring.find(arg, cfg.pattern.class) then
for _, pattern in ipairs(patterns) do
if mw.ustring.find(args[arg] or '', pattern) then
return true
end
end
end
end
return false
end
-- there are a lot of list classes in the wild, so we add their TemplateStyles
local function add_list_styles()
local frame = mw.getCurrentFrame()
local function add_list_templatestyles(htmlclass, templatestyles)
if has_list_class(htmlclass) then
return frame:extensionTag{
name = 'templatestyles', args = { src = templatestyles }
}
else
return ''
end
end
local hlist_styles = add_list_templatestyles('hlist', cfg.hlist_templatestyles)
local plainlist_styles = add_list_templatestyles('plainlist', cfg.plainlist_templatestyles)
-- a second workaround for [[phab:T303378]]
-- when that issue is fixed, we can actually use has_navbar not to emit the
-- tag here if we want
if has_navbar() and hlist_styles == '' then
hlist_styles = frame:extensionTag{
name = 'templatestyles', args = { src = cfg.hlist_templatestyles }
}
end
-- hlist -> plainlist is best-effort to preserve old Common.css ordering.
-- this ordering is not a guarantee because most navboxes will emit only
-- one of these classes [hlist_note]
return hlist_styles .. plainlist_styles
end
local function needsHorizontalLists(border)
if border == cfg.keyword.border_subgroup or args[cfg.arg.tracking] == cfg.keyword.tracking_no then
return false
end
return not has_list_class(cfg.pattern.hlist) and not has_list_class(cfg.pattern.plainlist)
end
local function hasBackgroundColors()
for _, key in ipairs({cfg.arg.titlestyle, cfg.arg.groupstyle,
cfg.arg.basestyle, cfg.arg.abovestyle, cfg.arg.belowstyle}) do
if tostring(args[key]):find('background', 1, true) then
return true
end
end
return false
end
local function hasBorders()
for _, key in ipairs({cfg.arg.groupstyle, cfg.arg.basestyle,
cfg.arg.abovestyle, cfg.arg.belowstyle}) do
if tostring(args[key]):find('border', 1, true) then
return true
end
end
return false
end
local function isIllegible()
local styleratio = require('Module:Color contrast')._styleratio
for key, style in pairs(args) do
if tostring(key):match(cfg.pattern.style) then
if styleratio{mw.text.unstripNoWiki(style)} < 4.5 then
return true
end
end
end
return false
end
local function getTrackingCategories(border)
local cats = {}
if needsHorizontalLists(border) then table.insert(cats, cfg.category.horizontal_lists) end
if hasBackgroundColors() then table.insert(cats, cfg.category.background_colors) end
if isIllegible() then table.insert(cats, cfg.category.illegible) end
if hasBorders() then table.insert(cats, cfg.category.borders) end
return cats
end
local function renderTrackingCategories(builder, border)
local title = mw.title.getCurrentTitle()
if title.namespace ~= 10 then return end -- not in template space
local subpage = title.subpageText
if subpage == cfg.keyword.subpage_doc or subpage == cfg.keyword.subpage_sandbox
or subpage == cfg.keyword.subpage_testcases then return end
for _, cat in ipairs(getTrackingCategories(border)) do
builder:wikitext('[[Category:' .. cat .. ']]')
end
end
local function renderMainTable(border, listnums)
local tbl = mw.html.create('table')
:addClass(cfg.class.nowraplinks)
:addClass(args[cfg.arg.bodyclass])
local state = args[cfg.arg.state]
if args[cfg.arg.title] and state ~= cfg.keyword.state_plain and state ~= cfg.keyword.state_off then
if state == cfg.keyword.state_collapsed then
state = cfg.class.collapsed
end
tbl
:addClass(cfg.class.collapsible)
:addClass(state or cfg.class.autocollapse)
end
tbl:css('border-spacing', 0)
if border == cfg.keyword.border_subgroup or border == cfg.keyword.border_none then
tbl
:addClass(cfg.class.navbox_subgroup)
:cssText(args[cfg.arg.bodystyle])
:cssText(args[cfg.arg.style])
else -- regular navbox - bodystyle and style will be applied to the wrapper table
tbl
:addClass(cfg.class.navbox_inner)
:css('background', 'transparent')
:css('color', 'inherit')
end
tbl:cssText(args[cfg.arg.innerstyle])
renderTitleRow(tbl)
renderAboveRow(tbl)
local listnums_size = #listnums
for i, listnum in ipairs(listnums) do
renderListRow(tbl, i, listnum, listnums_size)
end
renderBelowRow(tbl)
return tbl
end
local function add_navbox_styles(hiding_templatestyles)
local frame = mw.getCurrentFrame()
-- This is a lambda so that it doesn't need the frame as a parameter
local function add_user_styles(templatestyles)
if templatestyles and templatestyles ~= '' then
return frame:extensionTag{
name = 'templatestyles', args = { src = templatestyles }
}
end
return ''
end
-- get templatestyles. load base from config so that Lua only needs to do
-- the work once of parser tag expansion
local base_templatestyles = cfg.templatestyles
local templatestyles = add_user_styles(args[cfg.arg.templatestyles])
local child_templatestyles = add_user_styles(args[cfg.arg.child_templatestyles])
-- The 'navbox-styles' div exists to wrap the styles to work around T200206
-- more elegantly. Instead of combinatorial rules, this ends up being linear
-- number of CSS rules.
return mw.html.create('div')
:addClass(cfg.class.navbox_styles)
:wikitext(
add_list_styles() .. -- see [hlist_note] applied to 'before base_templatestyles'
base_templatestyles ..
templatestyles ..
child_templatestyles ..
table.concat(hiding_templatestyles)
)
:done()
end
-- work around [[phab:T303378]]
-- for each arg: find all the templatestyles strip markers, insert them into a
-- table. then remove all templatestyles markers from the arg
local function move_hiding_templatestyles(args)
local gfind = string.gfind
local gsub = string.gsub
local templatestyles_markers = {}
local strip_marker_pattern = '(\127[^\127]*UNIQ%-%-templatestyles%-%x+%-QINU[^\127]*\127)'
for k, arg in pairs(args) do
for marker in gfind(arg, strip_marker_pattern) do
table.insert(templatestyles_markers, marker)
end
args[k] = gsub(arg, strip_marker_pattern, '')
end
return templatestyles_markers
end
function p._navbox(navboxArgs)
args = navboxArgs
local hiding_templatestyles = move_hiding_templatestyles(args)
local listnums = {}
for k, _ in pairs(args) do
if type(k) == 'string' then
local listnum = k:match(cfg.pattern.listnum)
if listnum then table.insert(listnums, tonumber(listnum)) end
end
end
table.sort(listnums)
local border = mw.text.trim(args[cfg.arg.border] or args[1] or '')
if border == cfg.keyword.border_child then
border = cfg.keyword.border_subgroup
end
-- render the main body of the navbox
local tbl = renderMainTable(border, listnums)
local res = mw.html.create()
-- render the appropriate wrapper for the navbox, based on the border param
if border == cfg.keyword.border_none then
res:node(add_navbox_styles(hiding_templatestyles))
local nav = res:tag('div')
:attr('role', 'navigation')
:node(tbl)
-- aria-labelledby title, otherwise above, otherwise lone group
if args[cfg.arg.title] or args[cfg.arg.above] or (args[cfg.arg.group1]
and not args[cfg.arg.group2]) then
nav:attr(
'aria-labelledby',
mw.uri.anchorEncode(
args[cfg.arg.title] or args[cfg.arg.above] or args[cfg.arg.group1]
)
)
else
nav:attr('aria-label', cfg.aria_label)
end
elseif border == cfg.keyword.border_subgroup then
-- We assume that this navbox is being rendered in a list cell of a
-- parent navbox, and is therefore inside a div with padding:0em 0.25em.
-- We start with a </div> to avoid the padding being applied, and at the
-- end add a <div> to balance out the parent's </div>
res
:wikitext('</div>')
:node(tbl)
:wikitext('<div>')
else
res:node(add_navbox_styles(hiding_templatestyles))
local nav = res:tag('div')
:attr('role', 'navigation')
:addClass(cfg.class.navbox)
:addClass(args[cfg.arg.navboxclass])
:cssText(args[cfg.arg.bodystyle])
:cssText(args[cfg.arg.style])
:css('padding', '3px')
:node(tbl)
-- aria-labelledby title, otherwise above, otherwise lone group
if args[cfg.arg.title] or args[cfg.arg.above]
or (args[cfg.arg.group1] and not args[cfg.arg.group2]) then
nav:attr(
'aria-labelledby',
mw.uri.anchorEncode(args[cfg.arg.title] or args[cfg.arg.above] or args[cfg.arg.group1])
)
else
nav:attr('aria-label', cfg.aria_label)
end
end
if (args[cfg.arg.nocat] or cfg.keyword.nocat_false):lower() == cfg.keyword.nocat_false then
renderTrackingCategories(res, border)
end
return striped(tostring(res), border)
end
function p.navbox(frame)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
end
args = getArgs(frame, {wrappers = {cfg.pattern.navbox}})
-- Read the arguments in the order they'll be output in, to make references
-- number in the right order.
local _
_ = args[cfg.arg.title]
_ = args[cfg.arg.above]
-- Limit this to 20 as covering 'most' cases (that's a SWAG) and because
-- iterator approach won't work here
for i = 1, 20 do
_ = args[format(cfg.arg.group_and_num, i)]
_ = args[format(cfg.arg.list_and_num, i)]
end
_ = args[cfg.arg.below]
return p._navbox(args)
end
return p
05be9a97c035ab3f0fac69423779e261949d473c
Module:Navbox/configuration
828
1533
3139
3138
2024-03-13T19:08:04Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
return {
aria_label = 'Navbox',
nowrap_item = '%s<span class="nowrap">%s</span>',
templatestyles = mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = 'Module:Navbox/styles.css' }
},
hlist_templatestyles = 'Hlist/styles.css',
plainlist_templatestyles = 'Plainlist/styles.css',
-- do not localize marker table
marker = {
oddeven = '\127_ODDEVEN_\127',
restart = '\127_ODDEVEN0_\127',
regex = '\127_ODDEVEN(%d?)_\127'
},
category = {
orphan = '[[Category:Navbox orphans]]',
horizontal_lists = 'Navigational boxes without horizontal lists',
background_colors = 'Navboxes using background colours',
illegible = 'Potentially illegible navboxes',
borders = 'Navboxes using borders',
},
keyword = {
border_subgroup = 'subgroup',
border_child = 'child',
border_none = 'none',
evenodd_swap = 'swap',
navbar_off = 'off',
navbar_plain = 'plain',
nocat_false = 'false',
nowrapitems_yes = 'yes',
orphan_yes = 'yes',
state_collapsed = 'collapsed',
state_off = 'off',
state_plain = 'plain',
subpage_doc = 'doc',
subpage_sandbox = 'sandbox',
subpage_testcases = 'testcases',
tracking_no = 'no'
},
class = {
autocollapse = 'autocollapse',
collapsible = 'mw-collapsible',
collapsed = 'mw-collapsed',
-- Warning
navbox = 'navbox', -- WMF currently hides 'navbox' from mobile,
-- so you probably shouldn't change the navbox class.
navbox_abovebelow = 'navbox-abovebelow',
navbox_group = 'navbox-group',
navbox_image = 'navbox-image',
navbox_inner = 'navbox-inner',
navbox_list = 'navbox-list',
navbox_list_with_group = 'navbox-list-with-group',
navbox_part = 'navbox-', -- do not l10n
navbox_styles = 'navbox-styles',
navbox_subgroup = 'navbox-subgroup',
navbox_title = 'navbox-title', -- l10n only if you change pattern.navbox_title below
navbox_odd_part = 'odd', -- do not l10n
navbox_even_part = 'even', -- do not l10n
nomobile = 'nomobile',
nowraplinks = 'nowraplinks',
noviewer = 'noviewer' -- used to remove images from MediaViewer
},
pattern = {
listnum = '^list(%d+)$',
class = 'class',
sandbox = '/sandbox$',
navbox = 'Template:Navbox',
nowrap = '^<span class="nowrap">',
style = 'style$',
navbox_title = '<th[^>]*"navbox%-title"',
hlist = 'hlist',
plainlist = 'plainlist',
},
arg = {
above = 'above',
aboveclass = 'aboveclass',
abovestyle = 'abovestyle',
basestyle = 'basestyle',
bodyclass = 'bodyclass',
bodystyle = 'bodystyle',
border = 'border',
below = 'below',
belowclass = 'belowclass',
belowstyle = 'belowstyle',
evenodd = 'evenodd',
evenstyle = 'evenstyle',
group1 = 'group1',
group2 = 'group2',
group_and_num = 'group%d',
groupstyle_and_num = 'group%dstyle',
groupclass = 'groupclass',
groupstyle = 'groupstyle',
groupwidth = 'groupwidth',
innerstyle = 'innerstyle',
image = 'image',
imageclass = 'imageclass',
imageleft = 'imageleft',
imageleftstyle = 'imageleftstyle',
imagesetyle = 'imagestyle',
list_and_num = 'list%d',
listclass_and_num = 'list%dclass',
liststyle_and_num = 'list%dstyle',
list1padding = 'list1padding',
listclass = 'listclass',
listpadding = 'listpadding',
liststyle = 'liststyle',
name = 'name',
navbar = 'navbar',
navboxclass = 'navboxclass',
nocat = 'nocat',
nowrapitems = 'nowrapitems',
oddstyle = 'oddstyle',
orphan = 'orphan',
state = 'state',
style = 'style',
templatestyles = 'templatestyles',
child_templatestyles = 'child templatestyles',
title = 'title',
titleclass = 'titleclass',
titlestyle = 'titlestyle',
tracking = 'tracking'
},
-- names of navbar arguments
navbar = {
name = 1,
fontstyle = 'fontstyle',
mini = 'mini'
}
}
4148736fd32a93636c0413e73ed38afaef065ec9
Module:Navbox/styles.css
828
1534
3141
3140
2024-03-13T19:08:05Z
ElBortoTexas
10
1 revision imported
sanitized-css
text/css
/* {{pp|small=y}} */
.navbox {
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
margin-top: 0; /* No top margin for nested navboxes */
}
.navbox + .navbox, /* TODO: remove first line after transclusions have updated */
.navbox + .navbox-styles + .navbox {
margin-top: -1px; /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em;
line-height: 1.5em;
text-align: center;
}
.navbox-group {
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background-color: #fdfdfd;
}
.navbox-list {
line-height: 1.5em;
border-color: #fdfdfd; /* Must match background color */
}
.navbox-list-with-group {
text-align: left;
border-left-width: 2px;
border-left-style: solid;
}
/* cell spacing for navbox cells */
/* Borders above 2nd, 3rd, etc. rows */
/* TODO: figure out how to replace tr as structure;
* with div structure it should be just a matter of first-child */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {
border-top: 2px solid #fdfdfd; /* Must match background color */
}
.navbox-title {
background-color: #ccf; /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
background-color: #ddf; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background-color: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background-color: #f7f7f7;
}
.navbox-odd {
background-color: transparent;
}
/* TODO: figure out how to remove reliance on td as structure */
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
}
e80b0d7a5770e6e105dab832deb6c37a5245ebc6
Template:Smallsup
10
1535
3143
3142
2024-03-13T19:08:06Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly><sup><small>{{{1}}}</small></sup></includeonly><noinclude>
{{Documentation}}
</noinclude>
c174fb3247218273210500118556feb9f3c76d5a
Module:Color contrast
828
1536
3145
3144
2024-03-13T19:08:06Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
--
-- This module implements
-- {{Color contrast ratio}}
-- {{Greater color contrast ratio}}
-- {{ColorToLum}}
-- {{RGBColorToLum}}
--
local p = {}
local HTMLcolor = mw.loadData( 'Module:Color contrast/colors' )
local function sRGB (v)
if (v <= 0.03928) then
v = v / 12.92
else
v = math.pow((v+0.055)/1.055, 2.4)
end
return v
end
local function rgbdec2lum(R, G, B)
if ( 0 <= R and R < 256 and 0 <= G and G < 256 and 0 <= B and B < 256 ) then
return 0.2126 * sRGB(R/255) + 0.7152 * sRGB(G/255) + 0.0722 * sRGB(B/255)
else
return ''
end
end
local function hsl2lum(h, s, l)
if ( 0 <= h and h < 360 and 0 <= s and s <= 1 and 0 <= l and l <= 1 ) then
local c = (1 - math.abs(2*l - 1))*s
local x = c*(1 - math.abs( math.fmod(h/60, 2) - 1) )
local m = l - c/2
local r, g, b = m, m, m
if( 0 <= h and h < 60 ) then
r = r + c
g = g + x
elseif( 60 <= h and h < 120 ) then
r = r + x
g = g + c
elseif( 120 <= h and h < 180 ) then
g = g + c
b = b + x
elseif( 180 <= h and h < 240 ) then
g = g + x
b = b + c
elseif( 240 <= h and h < 300 ) then
r = r + x
b = b + c
elseif( 300 <= h and h < 360 ) then
r = r + c
b = b + x
end
return rgbdec2lum(255*r, 255*g, 255*b)
else
return ''
end
end
local function color2lum(c)
if (c == nil) then
return ''
end
-- html '#' entity
c = c:gsub("#", "#")
-- whitespace
c = c:match( '^%s*(.-)[%s;]*$' )
-- unstrip nowiki strip markers
c = mw.text.unstripNoWiki(c)
-- lowercase
c = c:lower()
-- first try to look it up
local L = HTMLcolor[c]
if (L ~= nil) then
return L
end
-- convert from hsl
if mw.ustring.match(c,'^hsl%([%s]*[0-9][0-9%.]*[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*%)$') then
local h, s, l = mw.ustring.match(c,'^hsl%([%s]*([0-9][0-9%.]*)[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*%)$')
return hsl2lum(tonumber(h), tonumber(s)/100, tonumber(l)/100)
end
-- convert from rgb
if mw.ustring.match(c,'^rgb%([%s]*[0-9][0-9]*[%s]*,[%s]*[0-9][0-9]*[%s]*,[%s]*[0-9][0-9]*[%s]*%)$') then
local R, G, B = mw.ustring.match(c,'^rgb%([%s]*([0-9][0-9]*)[%s]*,[%s]*([0-9][0-9]*)[%s]*,[%s]*([0-9][0-9]*)[%s]*%)$')
return rgbdec2lum(tonumber(R), tonumber(G), tonumber(B))
end
-- convert from rgb percent
if mw.ustring.match(c,'^rgb%([%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*,[%s]*[0-9][0-9%.]*%%[%s]*%)$') then
local R, G, B = mw.ustring.match(c,'^rgb%([%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*,[%s]*([0-9][0-9%.]*)%%[%s]*%)$')
return rgbdec2lum(255*tonumber(R)/100, 255*tonumber(G)/100, 255*tonumber(B)/100)
end
-- remove leading # (if there is one) and whitespace
c = mw.ustring.match(c, '^[%s#]*([a-f0-9]*)[%s]*$')
-- split into rgb
local cs = mw.text.split(c or '', '')
if( #cs == 6 ) then
local R = 16*tonumber('0x' .. cs[1]) + tonumber('0x' .. cs[2])
local G = 16*tonumber('0x' .. cs[3]) + tonumber('0x' .. cs[4])
local B = 16*tonumber('0x' .. cs[5]) + tonumber('0x' .. cs[6])
return rgbdec2lum(R, G, B)
elseif ( #cs == 3 ) then
local R = 16*tonumber('0x' .. cs[1]) + tonumber('0x' .. cs[1])
local G = 16*tonumber('0x' .. cs[2]) + tonumber('0x' .. cs[2])
local B = 16*tonumber('0x' .. cs[3]) + tonumber('0x' .. cs[3])
return rgbdec2lum(R, G, B)
end
-- failure, return blank
return ''
end
-- This exports the function for use in other modules.
-- The colour is passed as a string.
function p._lum(color)
return color2lum(color)
end
function p._greatercontrast(args)
local bias = tonumber(args['bias'] or '0') or 0
local css = (args['css'] and args['css'] ~= '') and true or false
local v1 = color2lum(args[1] or '')
local c2 = args[2] or '#FFFFFF'
local v2 = color2lum(c2)
local c3 = args[3] or '#000000'
local v3 = color2lum(c3)
local ratio1 = -1;
local ratio2 = -1;
if (type(v1) == 'number' and type(v2) == 'number') then
ratio1 = (v2 + 0.05)/(v1 + 0.05)
ratio1 = (ratio1 < 1) and 1/ratio1 or ratio1
end
if (type(v1) == 'number' and type(v3) == 'number') then
ratio2 = (v3 + 0.05)/(v1 + 0.05)
ratio2 = (ratio2 < 1) and 1/ratio2 or ratio2
end
if css then
local c1 = args[1] or ''
if mw.ustring.match(c1, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or
mw.ustring.match(c1, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') then
c1 = '#' .. c1
end
if mw.ustring.match(c2, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or
mw.ustring.match(c2, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') then
c2 = '#' .. c2
end
if mw.ustring.match(v3, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') or
mw.ustring.match(v3, '^[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]$') then
c3 = '#' .. c3
end
return 'background-color:' .. c1 .. '; color:' .. ((ratio1 > 0) and (ratio2 > 0) and ((ratio1 + bias > ratio2) and c2 or c3) or '') .. ';'
end
return (ratio1 > 0) and (ratio2 > 0) and ((ratio1 + bias > ratio2) and c2 or c3) or ''
end
function p._ratio(args)
local v1 = color2lum(args[1])
local v2 = color2lum(args[2])
if (type(v1) == 'number' and type(v2) == 'number') then
-- v1 should be the brighter of the two.
if v2 > v1 then
v1, v2 = v2, v1
end
return (v1 + 0.05)/(v2 + 0.05)
else
return args['error'] or '?'
end
end
function p._styleratio(args)
local style = (args[1] or ''):lower()
local bg, fg = 'white', 'black'
local lum_bg, lum_fg = 1, 0
if args[2] then
local lum = color2lum(args[2])
if lum ~= '' then bg, lum_bg = args[2], lum end
end
if args[3] then
local lum = color2lum(args[3])
if lum ~= '' then fg, lum_fg = args[3], lum end
end
local slist = mw.text.split(mw.ustring.gsub(mw.ustring.gsub(style or '', '&#[Xx]23;', '#'), '#', '#'), ';')
for k = 1,#slist do
local s = slist[k]
local k,v = s:match( '^[%s]*([^:]-):([^:]-)[%s;]*$' )
k = k or ''
v = v or ''
if (k:match('^[%s]*(background)[%s]*$') or k:match('^[%s]*(background%-color)[%s]*$')) then
local lum = color2lum(v)
if( lum ~= '' ) then bg, lum_bg = v, lum end
elseif (k:match('^[%s]*(color)[%s]*$')) then
local lum = color2lum(v)
if( lum ~= '' ) then bg, lum_fg = v, lum end
end
end
if lum_bg > lum_fg then
return (lum_bg + 0.05)/(lum_fg + 0.05)
else
return (lum_fg + 0.05)/(lum_bg + 0.05)
end
end
--[[
Use {{#invoke:Color contrast|somecolor}} directly or
{{#invoke:Color contrast}} from a wrapper template.
Parameters:
-- |1= — required; A color to check.
--]]
function p.lum(frame)
local color = frame.args[1] or frame:getParent().args[1]
return p._lum(color)
end
function p.ratio(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._ratio(args)
end
function p.styleratio(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._styleratio(args)
end
function p.greatercontrast(frame)
local args = frame.args[1] and frame.args or frame:getParent().args
return p._greatercontrast(args)
end
return p
1e399769117591366a63f62996c9a407077cc711
Module:Color contrast/colors
828
1537
3147
3146
2024-03-13T19:08:07Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
return {
aliceblue = 0.92880068253475,
antiquewhite = 0.84646951707754,
aqua = 0.7874,
aquamarine = 0.8078549208338,
azure = 0.97265264954166,
beige = 0.8988459998705,
bisque = 0.80732327372979,
black = 0,
blanchedalmond = 0.85084439608156,
blue = 0.0722,
blueviolet = 0.12622014321946,
brown = 0.098224287876511,
burlywood = 0.51559844533893,
cadetblue = 0.29424681085422,
chartreuse = 0.76032025902623,
chocolate = 0.23898526114557,
coral = 0.37017930872924,
cornflowerblue = 0.30318641994179,
cornsilk = 0.93562110372965,
crimson = 0.16042199953026,
cyan = 0.7874,
darkblue = 0.018640801980939,
darkcyan = 0.20329317839046,
darkgoldenrod = 0.27264703559993,
darkgray = 0.39675523072563,
darkgreen = 0.091143429047575,
darkgrey = 0.39675523072563,
darkkhaki = 0.45747326349994,
darkmagenta = 0.07353047651207,
darkolivegreen = 0.12651920884889,
darkorange = 0.40016167026524,
darkorchid = 0.13413142174857,
darkred = 0.054889674531132,
darksalmon = 0.40541471563381,
darkseagreen = 0.43789249325969,
darkslateblue = 0.065792846227988,
darkslategray = 0.067608151928044,
darkslategrey = 0.067608151928044,
darkturquoise = 0.4874606277449,
darkviolet = 0.10999048339343,
deeppink = 0.23866895828276,
deepskyblue = 0.44481603395575,
dimgray = 0.14126329114027,
dimgrey = 0.14126329114027,
dodgerblue = 0.27442536991456,
firebrick = 0.10724525535015,
floralwhite = 0.95922484825004,
forestgreen = 0.18920812076002,
fuchsia = 0.2848,
gainsboro = 0.71569350050648,
ghostwhite = 0.94311261886323,
gold = 0.69860877428159,
goldenrod = 0.41919977809569,
gray = 0.2158605001139,
green = 0.15438342968146,
greenyellow = 0.80609472611453,
grey = 0.2158605001139,
honeydew = 0.96336535554782,
hotpink = 0.34658438169715,
indianred = 0.21406134963884,
indigo = 0.03107561486337,
ivory = 0.99071270600615,
khaki = 0.77012343394121,
lavender = 0.80318750514521,
lavenderblush = 0.90172748631046,
lawngreen = 0.73905893124963,
lemonchiffon = 0.94038992245622,
lightblue = 0.63709141280807,
lightcoral = 0.35522120733135,
lightcyan = 0.94587293494829,
lightgoldenrodyellow = 0.93348351018297,
lightgray = 0.65140563741982,
lightgreen = 0.69091979956865,
lightgrey = 0.65140563741982,
lightpink = 0.58566152734898,
lightsalmon = 0.4780675225206,
lightseagreen = 0.35050145117042,
lightskyblue = 0.56195637618331,
lightslategray = 0.23830165007287,
lightslategrey = 0.23830165007287,
lightsteelblue = 0.53983888284666,
lightyellow = 0.98161818392882,
lime = 0.7152,
limegreen = 0.44571042246098,
linen = 0.88357340984379,
magenta = 0.2848,
maroon = 0.045891942324215,
mediumaquamarine = 0.49389703310801,
mediumblue = 0.044077780212328,
mediumorchid = 0.21639251153773,
mediumpurple = 0.22905858091648,
mediumseagreen = 0.34393112338131,
mediumslateblue = 0.20284629471622,
mediumspringgreen = 0.70704308194184,
mediumturquoise = 0.5133827926448,
mediumvioletred = 0.14371899849357,
midnightblue = 0.02071786635086,
mintcream = 0.97834604947588,
mistyrose = 0.82183047859185,
moccasin = 0.80083000991567,
navajowhite = 0.76519682342785,
navy = 0.015585128108224,
oldlace = 0.91900633405549,
olive = 0.20027537200568,
olivedrab = 0.22593150951929,
orange = 0.4817026703631,
orangered = 0.25516243753416,
orchid = 0.31348806761439,
palegoldenrod = 0.78792647887614,
palegreen = 0.77936759006353,
paleturquoise = 0.76436077921714,
palevioletred = 0.28754994117889,
papayawhip = 0.87797100199835,
peachpuff = 0.74905589878251,
peru = 0.30113074877936,
pink = 0.63271070702466,
plum = 0.45734221587969,
powderblue = 0.68254586500605,
purple = 0.061477070432439,
rebeccapurple = 0.07492341159447,
red = 0.2126,
rosybrown = 0.32319457649407,
royalblue = 0.16663210743188,
saddlebrown = 0.097922285020521,
salmon = 0.36977241527596,
sandybrown = 0.46628543696283,
seagreen = 0.19734199706275,
seashell = 0.92737862206922,
sienna = 0.13697631337098,
silver = 0.52711512570581,
skyblue = 0.55291668518184,
slateblue = 0.14784278062136,
slategray = 0.20896704076536,
slategrey = 0.20896704076536,
snow = 0.96533341834849,
springgreen = 0.73052306068529,
steelblue = 0.20562642207625,
tan = 0.48237604163921,
teal = 0.16996855778968,
thistle = 0.56818401093733,
tomato = 0.30638612719415,
turquoise = 0.5895536427578,
violet = 0.40315452986676,
wheat = 0.74909702820482,
white = 1,
whitesmoke = 0.91309865179342,
yellow = 0.9278,
yellowgreen = 0.50762957208707,
}
6ae47fdb24de4eed5ec26d203faf5341a388987b
Template:Str left
10
1538
3149
3148
2024-03-13T19:08:07Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{{safesubst:padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
2048b0d7b35e156528655b1d090e8b5ffab3f400
Template:Remove first word
10
1539
3151
3150
2024-03-13T19:08:08Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{<includeonly>safesubst:</includeonly>#invoke:String|replace|source={{{1}}}|pattern=^[^{{{sep|%s}}}]*{{{sep|%s}}}*|replace=|plain=false}}<noinclude>{{Documentation}}</noinclude>
df7a9e692f68be1581be06af5f51eaed5483b4c8
Template:Clear right
10
1540
3153
3152
2024-03-13T19:08:09Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{Clear|right}}<noinclude>
{{Documentation|Template:Clear/doc}}
</noinclude>
12b36d3e1933e27905b1549e2e69366dc1c3c7b2
Template:Subpage other
10
1541
3155
3154
2024-03-13T19:08:11Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{#ifeq:{{SUBPAGENAME}}|{{ROOTPAGENAME}}|{{{2|}}}|{{{1|}}}}}<!--
--><noinclude>{{documentation}}</noinclude>
ebcb508ec39c25594f4151c4e32c01eeb5732f3d
Module:Parameter names example
828
1542
3157
3156
2024-03-13T19:08:13Z
ElBortoTexas
10
1 revision imported
Scribunto
text/plain
-- This module implements {{parameter names example}}.
local p = {}
local function makeParam(s)
local lb = '{'
local rb = '}'
return lb:rep(3) .. s .. rb:rep(3)
end
local function italicize(s)
return "''" .. s .. "''"
end
local function plain(s)
return s
end
function p._main(args, frame)
-- Find how we want to format the arguments to the template.
local formatFunc
if args._display == 'italics' or args._display == 'italic' then
formatFunc = italicize
elseif args._display == 'plain' then
formatFunc = plain
else
formatFunc = makeParam
end
-- Build the table of template arguments.
local targs = {}
for k, v in pairs(args) do
if type(k) == 'number' then
targs[v] = formatFunc(v)
elseif not k:find('^_') then
targs[k] = v
end
end
--targs['nocat'] = 'yes';
--targs['categories'] = 'no';
--targs['demo'] = 'yes';
-- Find the template name.
local template
if args._template then
template = args._template
else
local currentTitle = mw.title.getCurrentTitle()
if currentTitle.prefixedText:find('/sandbox$') then
template = currentTitle.prefixedText
else
template = currentTitle.basePageTitle.prefixedText
end
end
-- Call the template with the arguments.
frame = frame or mw.getCurrentFrame()
local success, result = pcall(
frame.expandTemplate,
frame,
{title = template, args = targs}
)
if success then
return result
else
return ''
end
end
function p.main(frame)
local args = require('Module:Arguments').getArgs(frame, {
wrappers = 'Template:Parameter names example'
})
return p._main(args, frame)
end
return p
fdf94fb7a5dc1fabf118d60488a02f1e65b0df24
Template:Parameter names example
10
1543
3159
3158
2024-03-13T19:08:13Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
<includeonly>{{#invoke:Parameter names example|main}}</includeonly><noinclude>
{{documentation}}<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
</noinclude>
256a11b9ae7ac7e492b3d9de86ade1ffa96bffd1
Template:Infobox political party/doc
10
1544
3161
3160
2024-03-13T19:08:15Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{Documentation subpage}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}}
{{Auto short description}}
{{lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
==Usage==
===Basic===
{{Parameter names example
|name
|logo
|logo_alt
|colorcode=red
|leader
|president
|chairperson
|secretary
|general_secretary
|first_secretary
|secretary_general
|presidium
|governing_body
|standing_committee
|spokesperson
|founder
|founded
|headquarters
|ideology
|international
|website
|country
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox political party
| name =
| logo =
| logo_alt =
| colorcode = <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| leader =
| president =
| chairperson =
| secretary =
| general_secretary =
| first_secretary =
| secretary_general =
| presidium =
| governing_body =
| standing_committee =
| spokesperson =
| founder =
| founded = <!-- {{start date|YYYY|MM|DD}} -->
| headquarters =
| ideology =
| international =
| website =
| country =
}}
</syntaxhighlight>
{{clear right}}
===Full===
{{Parameter names example
|name |native_name
|native_name_lang |lang1 |name_lang1 |lang2 |name_lang2 |lang3 |name_lang3 |lang4 |name_lang4 |logo |logo_size |logo_upright |logo_alt |caption |colorcode=red |abbreviation={{{abbreviation}}} or {{{abbr}}} |leader |president |chairperson={{{chairperson}}} or {{{chairman}}} |general_secretary |first_secretary |secretary_general |presidium |governing_body |standing_committee |secretary |spokesperson={{{spokesperson}}} or {{{spokesman}}}
|leader1_title |leader1_name |leader2_title |leader2_name |leader3_title |leader3_name |leader4_title |leader4_name |leader5_title |leader5_name
|founder={{{founder}}} or {{{founders}}} |founded={{{founded}}} or {{{foundation}}} |registered |legalised={{{legalised}}} or {{{legalized}}} |dissolved={{{dissolved}}} or {{{banned}}} or {{{dissolution}}} |merger |split |predecessor |merged |successor |headquarters |newspaper |think_tank |student_wing |youth_wing |womens_wing |lgbt_wing |wing1_title |wing1 |wing2_title |wing2 |wing3_title |wing3 |wing4_title |wing4
|membership_year=[''year''] |membership |ideology |position |religion |national |regional |european |continental |international |europarl |affiliation1_title |affiliation1 |affiliation2_title |affiliation2 |colors={{{colors}}} or {{{colours}}} |slogan |anthem
|blank1_title |blank1 |blank2_title |blank2 |blank3_title |blank3 |blank4_title |blank4
|seats1_title |seats1 |seats2_title |seats2 |seats3_title |seats3 |seats4_title |seats4
|symbol |flag |flag_title |flag_alt |website |country |country2 |footnotes
}}
<syntaxhighlight lang="wikitext" style="overflow:auto;">
{{Infobox political party
| name =
| native_name =
| native_name_lang =
| lang1 =
| name_lang1 =
| lang2 =
| name_lang2 =
| lang3 =
| name_lang3 =
| lang4 =
| name_lang4 =
| logo =
| logo_size =
| logo_upright =
| logo_alt =
| caption =
| colorcode = <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| abbreviation = <!-- official abbreviation or | abbr = -->
| leader =
| president =
| chairperson = <!-- or | chairman = -->
| secretary =
| general_secretary =
| first_secretary =
| secretary_general =
| presidium =
| governing_body =
| standing_committee =
| spokesperson = <!-- or | spokesman = -->
| leader1_title =
| leader1_name =
| leader2_title =
| leader2_name =
| leader3_title =
| leader3_name =
| leader4_title =
| leader4_name =
| leader5_title =
| leader5_name =
| founder = <!-- or | founders = -->
| founded = <!-- or | foundation = use {{start date|YYYY|MM|DD}} -->
| registered =
| legalised = <!-- or | legalized = -->
| dissolved = <!-- or | banned = or | dissolution = use {{end date|YYYY|MM|DD}} -->
| merger =
| split =
| predecessor =
| merged =
| successor =
| headquarters =
| newspaper =
| think_tank =
| student_wing =
| youth_wing =
| womens_wing =
| wing1_title =
| wing1 =
| wing2_title =
| wing2 =
| wing3_title =
| wing3 =
| wing4_title =
| wing4 =
| membership_year =
| membership =
| ideology =
| position =
| religion =
| national =
| regional = <!-- or | regional affiliation = -->
| european =
| continental = <!-- or | continental affiliation = -->
| international =
| europarl =
| affiliation1_title =
| affiliation1 =
| affiliation2_title =
| affiliation2 =
| colors = <!-- or | colours = ; use based on [[WP:ENGVAR]]-->
| slogan =
| anthem =
| blank1_title =
| blank1 =
| blank2_title =
| blank2 =
| blank3_title =
| blank3 =
| blank4_title =
| blank4 =
| seats1_title =
| seats1 = <!-- {{Infobox political party/seats|50|100|hex=#ff0000}} -->
| seats2_title =
| seats2 =
| seats3_title =
| seats3 =
| seats4_title = <!-- up to | seats11_title = -->
| seats4 = <!-- up to | seats11 = -->
| symbol =
| flag =
| flag_title =
| flag_alt =
| website =
| state = <!-- or | country = -->
| country = <!-- or | state = -->
| country_dab1 =
| parties_dab1 =
| elections_dab1 =
| country2 =
| country_dab2 =
| parties_dab2 =
| elections_dab2 =
| footnotes =
}}
</syntaxhighlight>
{{clear right}}
==Microformat==
{{UF-hcard-org}}
== TemplateData ==
{{TemplateData header}}
<templatedata>
{
"description": "An infobox for a political party. Used to briefly summarize information about a party at the top of the article. ",
"format": "{{_\n| ________________ = _\n}}\n",
"params": {
"name": {
"label": "Name",
"description": "The name of the party",
"type": "string"
},
"logo": {
"label": "Logo",
"description": "The logo of the party",
"type": "string"
},
"logo_size": {
"label": "Logo size",
"description": "Size of logo image",
"type": "string"
},
"colorcode": {
"label": "Color code",
"description": "The color to be used for infobox accents. HTML color code (e.g. red, #FF0000 or Party metadata color template) or transparent for no coloring.",
"type": "string"
},
"leader": {
"label": "Leader",
"description": "The leader of the party",
"type": "string"
},
"president": {
"label": "President",
"description": "The president of the party",
"type": "string"
},
"chairperson": {
"label": "Chairperson",
"description": "The chairperson of the party",
"type": "string",
"aliases": [
"chairman"
]
},
"secretary": {
"label": "Secretary",
"description": "The secretary of the party",
"type": "string"
},
"general_secretary": {
"label": "General secretary",
"description": "The general secretary of the party",
"type": "string"
},
"first_secretary": {
"label": "First secretary",
"description": "The first secretary of the party",
"type": "string"
},
"secretary_general": {
"label": "Secretary-general",
"description": "The secretary-general of the party",
"type": "string"
},
"presidium": {
"label": "Presidium",
"description": "The presidium of the party",
"type": "string"
},
"spokesperson": {
"label": "Spokesperson",
"description": "The spokesperson of the party",
"type": "string",
"aliases": [
"spokesman"
]
},
"foundation": {
"label": "Foundation",
"description": "The foundation date of the party. Insert as {{Start date|YYYY|MM|DD}}.",
"type": "string",
"aliases": [
"founded"
]
},
"ideology": {
"label": "Ideology",
"description": "The ideology of the party",
"type": "string"
},
"headquarters": {
"label": "Headquarters",
"description": "The headquarters of the party",
"type": "string"
},
"international": {
"label": "International",
"description": "The party’s international affiliation(s)",
"type": "string"
},
"website": {
"label": "Website",
"description": "The website of the party",
"type": "string"
},
"registered": {
"label": "Registered",
"description": "The registration number of party; if unregistered, then write NO.",
"type": "string"
},
"country": {
"label": "Country",
"description": "The country of the party",
"type": "string",
"aliases": [
"state"
]
},
"abbreviation": {
"aliases": [
"abbr"
]
},
"founder": {
"aliases": [
"founders"
]
},
"legalised": {
"aliases": [
"legalized"
]
},
"dissolved": {
"aliases": [
"banned",
"dissolution"
]
},
"colors": {
"description": "The official colors of the party, independent of infobox usage",
"aliases": [
"colours"
]
},
"native_name": {
"label": "Native name",
"description": "The native name of the party",
"type": "string"
},
"native_name_lang": {
"label": "Native name language code",
"description": "The ISO-639 language code of the native name of the party",
"example": "fr",
"type": "string"
},
"governing_body": {},
"standing_committee": {},
"merger": {},
"split": {
"label": "Split from",
"description": "Party or organisation the party was split from",
"type": "string"
},
"predecessor": {},
"merged": {},
"successor": {},
"newspaper": {},
"think_tank": {
"aliases": [
"think tank"
]
},
"student_wing": {},
"youth_wing": {},
"womens_wing": {},
"membership": {},
"membership_year": {},
"position": {},
"religion": {},
"national": {},
"regional": {
"aliases": [
"regional affiliation"
]
},
"european": {},
"continental": {
"aliases": [
"continental affiliation"
]
},
"europarl": {},
"slogan": {},
"anthem": {},
"symbol": {},
"flag": {
"aliases": [
"flag_title"
]
},
"flag_alt": {},
"country2": {},
"footnotes": {},
"logo_upright": {},
"logo_alt": {}
},
"paramOrder": [
"name",
"native_name",
"logo",
"logo_size",
"colorcode",
"leader",
"president",
"chairperson",
"secretary",
"general_secretary",
"first_secretary",
"secretary_general",
"presidium",
"spokesperson",
"foundation",
"ideology",
"headquarters",
"international",
"website",
"registered",
"country",
"abbreviation",
"founder",
"legalised",
"dissolved",
"colors",
"native_name_lang",
"governing_body",
"standing_committee",
"merger",
"split",
"predecessor",
"merged",
"successor",
"newspaper",
"think_tank",
"student_wing",
"youth_wing",
"womens_wing",
"membership",
"membership_year",
"position",
"religion",
"national",
"regional",
"european",
"continental",
"europarl",
"slogan",
"anthem",
"symbol",
"flag",
"flag_alt",
"country2",
"footnotes",
"logo_upright",
"logo_alt"
]
}
</templatedata>
== Tracking categories ==
* {{clc|Pages using infobox political party with unknown parameters}}
== See also ==
* {{tl|Composition bar}}, used to display a statistic, such as the number of seats held by a political party.
{{Organization infoboxes}}
<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Organization infobox templates|Political Party]]
[[Category:Political party infobox templates| ]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
b246a618822a8e4debea143592790494f2f156b3
Template:Organization infoboxes
10
1545
3163
3162
2024-03-13T19:08:15Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{Navbox
| name = Organization infoboxes
| state = {{{state<includeonly>|expanded</includeonly>}}}
| bodyclass = hlist
| title = [[Wikipedia:Template index|Wikipedia templates]]: [[organization]] [[Template:Infobox|infoboxes]]
| above = [[Wikipedia:Manual of Style/Infoboxes]]
| group1 = General
| list1 =
* {{Tl|Infobox organization}}
* {{Tl|Infobox official post}}
* {{tl|Infobox criminal organization}}
* {{tl|Infobox fictional organisation}}
| group2 = {{longitem|Government<br/>and politics}}
| list2 =
* {{Tl|Infobox government}}
* {{Tl|Infobox government agency}}
* {{Tl|Infobox legislature}}
* {{Tl|Infobox political party}}
* {{Tl|Infobox court}}
* {{Tl|Infobox detention facility}}
* {{tl|Infobox fire department}}
* {{Tl|Infobox law enforcement agency}}
* {{Tl|Infobox space agency}}
| group3 = Military
| list3 =
* {{Tl|Infobox national military}}
* {{Tl|Infobox military unit}}
* {{tl|Infobox military rank}}
* {{Tl|Infobox military gear}}
| group4 = Religion
| list4 =
* {{Tl|Infobox religious group}}
* {{Tl|Infobox religion}}
* {{Tl|Infobox diocese}}
* {{Tl|Infobox church}}
* {{Tl|Infobox monastery}}
| group5 = People
| list5 =
* {{Tl|Infobox ethnic group}}
* {{Tl|Infobox caste}}
* {{Tl|Infobox clan}}
* {{Tl|Infobox family}}
* {{Tl|Infobox iwi}}
* {{Tl|Infobox hereditary title}}
* {{Tl|Infobox monarchy}}
* {{Tl|Infobox officeholder}}
* {{Tl|Infobox tribe}}
| group6 = {{longitem|Typically<br/>non-profit}}
| list6 =
* {{tl|Infobox hospital}}
* {{Tl|Infobox institute}}
* {{Tl|Infobox laboratory}}{{smallsup|1}}
* {{tl|Infobox museum}}
* {{Tl|Infobox observatory}}
* {{Tl|Infobox school}}
* {{tl|Infobox school district}}
* {{Tl|Infobox university}}{{smallsup|2}}
| group7 = Publications
| list7 =
* {{Tl|Infobox journal}}
* {{Tl|Infobox magazine}}
* {{Tl|Infobox newspaper}}
* {{Tl|Infobox publisher}}
| group8 = Business
| list8 =
* {{Tl|Infobox company}}
* {{tl|Infobox brewery}}
* {{Tl|Infobox law firm}}
* {{tl|Infobox restaurant}}
* {{tl|Infobox website}} – ''type of business or publication''
| group9 = Distinctions
| list9 =
* {{Tl|Infobox order}}
* {{Tl|Infobox fraternity}}
* {{Tl|Infobox Grand Lodge}}
| group10 = Subtemplates
| list10 =
* '''Coordinates''' {{Tl|coord}}
* '''Dates'''
** {{Tl|start date}}}—for {{para|established}}, {{para|founded}}, {{para|opened}} etc.
** {{Tl|end date}}}—for {{para|dissolved}}, {{para|defunct}}
* '''Lists'''
**{{tl|plainlist}}
** {{tl|flatlist}}
** {{tl|unbulleted list}}
* '''Non-English text''' {{Tl|lang}}
* '''Website'''
** {{tl|URL}}
** {{tl|Official URL}}
** {{tl|Official website}}
* '''Documentation'''
** {{Tl|mf-adr}}}—Address
** {{Tl|UF-hcard-org}}—[[Microformat]]/metadata
| below =
* {{smallsup|1}} or research institution
* {{smallsup|2}} or college
* [[:Category:Infobox templates|Category]]
* [[Help:Infobox|Help]]
* [[Wikipedia:List of infoboxes|List of infoboxes]]
}}<noinclude>{{documentation}}</noinclude>
8e81fe7179216c1823e098fa600be889f26cbeba
Template:Auto short description
10
1546
3165
3164
2024-03-13T19:08:16Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{Ombox
| type = notice
| text = This template {{#if:{{{sometimes|}}}|sometimes{{sp}}}}adds an automatically generated '''[[Wikipedia:Short description|short description]]'''{{#if:{{{category|}}}|{{sp}}({{{category}}})|}}{{#if:{{{indirect|}}}|{{sp}}via an embedded template}}{{#if:{{{conditions|}}}|{{space}}{{{conditions}}}}}. If the automatic short description is not optimal, replace it by adding {{tl|Short description}} at the top of the article.
}}<includeonly>{{Subpage other|<!-- do not categorise -->|[[Category:Templates that generate short descriptions{{#if:{{{category|}}}|{{sp}}for {{{category}}}|}}]]}}</includeonly><noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
e05ca99e1d986f5fcc83593ae854151d2a7dcea0
Template:UF-hcard-org
10
1547
3167
3166
2024-03-13T19:08:17Z
ElBortoTexas
10
1 revision imported
wikitext
text/x-wiki
{{Microformat message
| format = hCard
| data = an organization's details
| subtemplates =
* Use {{#ifeq:{{yesno-yes|{{{age|}}}}}|yes|{{tl|Start date and age}}|{{tl|Start date}}}} for the date on which an organisation was "established", "founded", "opened" or otherwise started, [[Wikipedia:WikiProject Microformats/dates|unless that date is before 1583 CE]].
* Use {{tl|URL}} for an organisation's URL.
|adr |agent |category |country-name |extended-address |fn |geo |label |latitude |locality |longitude |nickname |note |org |region |street-address |url |vcard
| nocollapse = on
}}<includeonly>{{sandbox other||
[[Category:Templates generating hCards]]
}}</includeonly><noinclude>
{{Documentation |content={{Microformat message templates}}}}
[[Category:Microformat (uF) message templates]]
[[Category:Templates generating hCards| ]]
</noinclude>
631bc99cd046167681b6eb518559d92fc65a4920
File:RPTS Mexican election of 1820 map.png
6
1548
3168
2024-03-13T19:26:27Z
TheMexicanHistorian
2
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
Mexican federal election of 1820
0
1549
3169
2024-03-13T19:28:14Z
TheMexicanHistorian
2
Created page with "{{Infobox election | election_name = 1820 Mexican federal election | country = | type = parliamentary | ongoing = no | previous_election = | previous_year = 1817 | outgoing_members = | elected_members = | next_election = | next_year = 1823 | seats_for_election = All 88 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]] | majority_seats = 45 | election_date = 3-10 September 1820 | registered = | turnout = 1,369,013 (34.51%) {{increase}}8.36% pp | opini..."
wikitext
text/x-wiki
{{Infobox election
| election_name = 1820 Mexican federal election
| country =
| type = parliamentary
| ongoing = no
| previous_election =
| previous_year = 1817
| outgoing_members =
| elected_members =
| next_election =
| next_year = 1823
| seats_for_election = All 88 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]]
| majority_seats = 45
| election_date = 3-10 September 1820
| registered =
| turnout = 1,369,013 (34.51%) {{increase}}8.36% pp
| opinion_polls =
<!-- Liberal -->| image2 = [[File:Guadalupe_Victoria_-_02.jpg|160x160px]]
|| leader2 = [[Guadalupe Victoria]]
| leader_since2 =
| party_colour2 =
| party2 = [[Liberal]]
| leaders_seat2 =
| last_election2 = New party, 68 seats
| seats_before2 =
| seats2 = '''76'''
| seat_change2 = {{increase}} 8
| popular_vote2 = '''1,177,351'''
| percentage2 = '''86.4%'''
| swing2 = {{increase}} 86.4 pp
<!-- Conservative -->| image3 = [[File:General_Ignacio_López_Rayón.png|160x160px]]
| leader3 = [[Ignacio López Rayón]]
| leader_since3 =
| party_colour3 =
| party3 = [[Conservative]]
| leaders_seat3 =
| last_election3 = New party, 20 seats
| seats_before3 =
| seats3 = 12
| seat_change3 = {{decrease}} 8
| popular_vote3 = 186,186
| percentage3 = 15.9%
| swing3 = {{increase}} 52.3 pp
| map_image = RPTS_Mexican_election_of_1820_map.png
| map_size = 400px
| map_caption = Election results by states, territories and unorganized territories shown in gray.<br />
| title = Government
| posttitle = Government after election
| before_election = [[Second Morelos cabinet]]
| before_party = [[Independent]]
| after_election = [[Victoria cabinet]]
| after_party = [[Liberal]]
| map2_image =
| map2_caption =
| map2_size = 360px
}}
bb3b0618540900b64fa1286a2ada56aa08539580
3170
3169
2024-03-13T19:29:20Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{Infobox election
| election_name = 1820 Mexican federal election
| country =
| type = parliamentary
| ongoing = no
| previous_election =
| previous_year = 1817
| outgoing_members =
| elected_members =
| next_election =
| next_year = 1823
| seats_for_election = All 88 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]]
| majority_seats = 45
| election_date = 3-10 September 1820
| registered =
| turnout = 1,369,013 (34.51%) {{increase}}8.36% pp
| opinion_polls =
<!-- Liberal -->| image2 = [[File:Guadalupe_Victoria_-_02.jpg|160x160px]]
|| leader2 = [[Guadalupe Victoria]]
| leader_since2 =
| party_colour2 =
| party2 = [[Liberal]]
| leaders_seat2 =
| last_election2 = New party, 68 seats
| seats_before2 =
| seats2 = '''76'''
| seat_change2 = {{increase}} 8
| popular_vote2 = '''1,177,351'''
| percentage2 = '''86.4%'''
| swing2 = {{increase}} 86.4 pp
<!-- Conservative -->| image3 = [[File:General_Ignacio_López_Rayón.png|160x160px]]
| leader3 = [[Ignacio López Rayón]]
| leader_since3 =
| party_colour3 =
| party3 = [[Conservative]]
| leaders_seat3 =
| last_election3 = New party, 20 seats
| seats_before3 =
| seats3 = 12
| seat_change3 = {{decrease}} 8
| popular_vote3 = 186,186
| percentage3 = 13.6%
| swing3 = {{increase}} 13.6 pp
| map_image = RPTS_Mexican_election_of_1820_map.png
| map_size = 400px
| map_caption = Election results by states, territories and unorganized territories shown in gray.<br />
| title = Government
| posttitle = Government after election
| before_election = [[Second Morelos cabinet]]
| before_party = [[Independent]]
| after_election = [[Victoria cabinet]]
| after_party = [[Liberal]]
| map2_image =
| map2_caption =
| map2_size = 360px
}}
a9746419027af4851224dcdf93a3e1b4f8b4857b
File:Paseo del Progreso.png
6
1550
3171
2024-03-13T20:24:48Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
Paseo del Progreso one of the world's principal financial center and the economic heart of Mexico
739a285c28cedaa2ccdd3172665ed827684af646
Economic history of Mexico
0
1551
3172
2024-03-13T20:36:55Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
Created page with "{{WIP_warning}} [[File:Paseo del Progreso.png|thumb| [[Paseo del Progreso]] one of the world's principal financial center and the economic heart of [[Mexico]] ]] The '''economic history of Mexico''' is about characteristics of and its most important economical developments, from the colonial era to the present day. == Pre-colonial economy == == Colonial economy == == Independence == == Late 19th century == == Early 20th century == == Late 20th century == == 21s..."
wikitext
text/x-wiki
{{WIP_warning}}
[[File:Paseo del Progreso.png|thumb| [[Paseo del Progreso]] one of the world's principal financial center and the economic heart of [[Mexico]] ]]
The '''economic history of Mexico''' is about characteristics of and its most important economical developments, from the colonial era to the present day.
== Pre-colonial economy ==
== Colonial economy ==
== Independence ==
== Late 19th century ==
== Early 20th century ==
== Late 20th century ==
== 21st century ==
== See also ==
26d1e32942fa6e1251f72c200cd1f66ce0936a82
Constitution of Brazil
0
1552
3173
2024-03-13T21:01:06Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
Created page with "{{WIP_warning}} [[File:Constituição de 1824.jpg|thumb| Cover of the imperial constitution of 1823 in the custody of the [[Brazilian National Archives]] ]] The '''Political Constitution of the Empire of Brazil''' (Portuguese: ''[[Constituição Política do Império do Brazil]]'') is the supreme law of Brazil. It is the foundation and source of the legal authority underlying the existence of Brazil and its government. Issued by the [[ Constituent Assembly in 1823]],..."
wikitext
text/x-wiki
{{WIP_warning}}
[[File:Constituição de 1824.jpg|thumb| Cover of the imperial constitution of 1823 in the custody of the [[Brazilian National Archives]] ]]
The '''Political Constitution of the Empire of Brazil''' (Portuguese: ''[[Constituição Política do Império do Brazil]]'') is the supreme law of Brazil. It is the foundation and source of the legal authority underlying the existence of Brazil and its government. Issued by the [[ Constituent Assembly in 1823]], it is the oldest constitution still in use by a member of the Lusophonia. Its famous 12 first amendments made in the light of the Brazilian transition to a fair democracy, broke off from the colonial past, resignified the role of the state in the citizens' lives, providing a vast system of human and individual rights protection, social welfare, and democratic tools.
1ccf015606977b60cb517096674f87f30a8a8bbf
3174
3173
2024-03-13T21:01:27Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
[[File:Constituição de 1824.jpg|thumb| Cover of the imperial constitution of 1823 in the custody of the [[Brazilian National Archives]] ]]
The '''Political Constitution of the Empire of Brazil''' (Portuguese: ''[[Constituição Política do Império do Brazil]]'') is the supreme law of Brazil. It is the foundation and source of the legal authority underlying the existence of Brazil and its government. Issued by the [[ Constituent Assembly in 1823]], it is the oldest constitution still in use by a member of the Lusophonia.
f487793f7558c2542ac16963772b78febf68f904
Brazil
0
1406
3175
3102
2024-03-13T21:03:37Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
== Geography ==
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of Brazil]]''
== Demographics ==
== Culture ==
== See also ==
== Notes ==
d84af150462a9d284c069c8d192a1172bc5b42d3
3178
3175
2024-03-13T21:57:29Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
The word "Brazil" likely comes from the Portuguese word for [https://en.wikipedia.org/wiki/Paubrasilia brazilwood], a tree that once grew plentifully along the Brazilian coast. In Portuguese, brazilwood is called pau-brasil, with the word brasil commonly given the etymology "red like an ember", formed from brasa ("ember") and the suffix -il (from -iculum or -ilium).<sup><small>[1]</small></sup>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
== Geography ==
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of Brazil]]''
== Demographics ==
== Culture ==
== See also ==
== Notes ==
5b193c760c3c92e4c07ab046621a1cff1a658f74
3188
3178
2024-03-13T23:08:39Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[Provinces of Brazil|provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
The word "Brazil" likely comes from the Portuguese word for [https://en.wikipedia.org/wiki/Paubrasilia brazilwood], a tree that once grew plentifully along the Brazilian coast. In Portuguese, brazilwood is called pau-brasil, with the word brasil commonly given the etymology "red like an ember", formed from brasa ("ember") and the suffix -il (from -iculum or -ilium).<sup><small>[1]</small></sup>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
== Geography ==
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of Brazil]]''
== Demographics ==
== Culture ==
== See also ==
== Notes ==
9594bc52e2db5da41971520d4a5535692d79393e
3204
3188
2024-03-15T02:46:48Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
/* Geography */
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[Provinces of Brazil|provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
The word "Brazil" likely comes from the Portuguese word for [https://en.wikipedia.org/wiki/Paubrasilia brazilwood], a tree that once grew plentifully along the Brazilian coast. In Portuguese, brazilwood is called pau-brasil, with the word brasil commonly given the etymology "red like an ember", formed from brasa ("ember") and the suffix -il (from -iculum or -ilium).<sup><small>[1]</small></sup>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
== Geography ==
[[File:Climate_of_Brazil.png|thumb| Climates present in the territory of the Brazilian Empire ]]
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of Brazil]]''
== Demographics ==
== Culture ==
== See also ==
== Notes ==
d9450e8ed6a8b8b1bb60b5e130c9020edafa2d5c
3207
3204
2024-03-15T17:48:00Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[Provinces of Brazil|provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
The word "Brazil" likely comes from the Portuguese word for [https://en.wikipedia.org/wiki/Paubrasilia brazilwood], a tree that once grew plentifully along the Brazilian coast. In Portuguese, brazilwood is called pau-brasil, with the word brasil commonly given the etymology "red like an ember", formed from brasa ("ember") and the suffix -il (from -iculum or -ilium).<sup><small>[1]</small></sup>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
== Geography ==
[[File:Climate_of_Brazil.png|thumb| Brazil map of [[Köppen climate classification]] zones ]]
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of Brazil]]''
== Demographics ==
== Culture ==
== See also ==
== Notes ==
622eb9b09e6e93d9be99b69110f2764a7aecbf4d
File:Paseo.jpg
6
1553
3176
2024-03-13T21:17:46Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
[[Paseo del Progreso]]. the economic heart of Mexico and one of the most importants financial centers in the world
c4dabf9e99d4650bc96bb19c1d8dabb6cd1bda8e
Economy of Mexico
0
1554
3177
2024-03-13T21:42:07Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
Created page with "{{WIP_warning}} [[File:Paseo.jpg|thumb| [[Paseo del Progreso]], the economic heart of [[Mexico]] and the [[Pan-American Union]] ]] The '''economy of Mexico''' is a highly industrialised, mixed economy. It is the world's largest economy by nominal GDP; it is also the second largest by purchasing power parity (PPP), behind ''XXXX''. The Mexican economy is fueled by high productivity, well developed transportation infrastructure, and extensive natural resources.<sup><sma..."
wikitext
text/x-wiki
{{WIP_warning}}
[[File:Paseo.jpg|thumb| [[Paseo del Progreso]], the economic heart of [[Mexico]] and the [[Pan-American Union]] ]]
The '''economy of Mexico''' is a highly industrialised, mixed economy. It is the world's largest economy by nominal GDP; it is also the second largest by purchasing power parity (PPP), behind ''XXXX''.
The Mexican economy is fueled by high productivity, well developed transportation infrastructure, and extensive natural resources.<sup><small>[2]</small></sup> Mexicans also have the highest average household and employee income among the Pan-american Union member states.<sup><small>[4]</small></sup>
== History ==
== Sectors ==
== Currency ==
== Data ==
== See also ==
[[Automotive industry in Mexico]]
243f8e2a78766a99e82d97c1e493ec8f573f04d5
Mexico
0
3
3179
3111
2024-03-13T21:59:41Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
=== The End of the Liberal Dominance ===
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
''Further information: [[List of Mexican Elections]]
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
== Economy ==
''Main article: [[Economy of Mexico]]''
''Further information: [[Economic history of Mexico]]''
[[File:Paseo.jpg|thumb| [[Paseo del Progreso]], the economic heart of [[Mexico]] and the [[Pan-American Union]] ]]
040463e6fc73cc42c4ee07abb0dabe2f7af0f928
3180
3179
2024-03-13T22:01:00Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
/* Economy */ deleted the link intended to send us to Mexico's page
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
=== The End of the Liberal Dominance ===
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
''Further information: [[List of Mexican Elections]]
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
== Economy ==
''Main article: [[Economy of Mexico]]''
''Further information: [[Economic history of Mexico]]''
[[File:Paseo.jpg|thumb| [[Paseo del Progreso]], the economic heart of Mexico and the [[Pan-American Union]] ]]
3e7e248d739ef2ea141b60b4360fcc85d3484440
3181
3180
2024-03-13T22:01:46Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
/* Economy */ Deleted the double link to the Pan-American Union
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
=== The End of the Liberal Dominance ===
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
''Further information: [[List of Mexican Elections]]
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
== Economy ==
''Main article: [[Economy of Mexico]]''
''Further information: [[Economic history of Mexico]]''
[[File:Paseo.jpg|thumb| [[Paseo del Progreso]], the economic heart of Mexico and the Pan-American Union ]]
84ae7b69adbc4aedd43b958e53120ae074409ecc
3182
3181
2024-03-13T22:17:24Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
=== The End of the Liberal Dominance ===
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
''Further information: [[List of Mexican Elections]]
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
== Economy ==
''Main article: [[Economy of Mexico]]''
''Further information: [[Economic history of Mexico]]''
[[File:Paseo.jpg|thumb| [[Paseo del Progreso]], the economic heart of Mexico and the Pan-American Union ]]
Mexico is the richest country in the world in terms of nominal GDP (gross domestic product) and the second highest in terms of GDP PPP (Purchasing Power Parity), with its citizens experiencing a high standard of living. Mexico is an export-oriented mixed economy and one of the few major economies with worldwide reach.
Trade unions, employers' associations and collective agreements covering the large national employees base is the norm in Mexico. The high coverage of collective agreements is achieved by the large legal frameworks and social agreements build from the [[post-depression recovery plan]].
60377d57e928cb90d9ba50edb2b1afba30f2c1e9
3183
3182
2024-03-13T22:17:48Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
/* Economy */
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
=== The End of the Liberal Dominance ===
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
''Further information: [[List of Mexican Elections]]
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
== Economy ==
''Main article: [[Economy of Mexico]]''
''Further information: [[Economic history of Mexico]]''
[[File:Paseo.jpg|thumb| [[Paseo del Progreso]], the economic heart of Mexico and the Pan-American Union ]]
Mexico is the richest country in the world in terms of nominal GDP (gross domestic product) and the second highest in terms of GDP PPP (Purchasing Power Parity), with its citizens experiencing a high standard of living. Mexico is an export-oriented mixed economy and one of the few economies with worldwide reach.
Trade unions, employers' associations and collective agreements covering the large national employees base is the norm in Mexico. The high coverage of collective agreements is achieved by the large legal frameworks and social agreements build from the [[post-depression recovery plan]].
e4729ad95ccf9c9491cc679eb08ddcfa61e02a2a
3187
3183
2024-03-13T22:29:03Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
/* Economy */
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= Peso
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
=== The End of the Liberal Dominance ===
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
''Further information: [[List of Mexican Elections]]
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
== Economy ==
''Main article: [[Economy of Mexico]]''
''Further information: [[Economic history of Mexico]]''
[[File:Paseo.jpg|thumb| [[Paseo del Progreso]], the economic heart of Mexico and the Pan-American Union ]]
Mexico is the richest country in the world in terms of nominal GDP (gross domestic product) and the second richest in terms of GDP PPP (Purchasing Power Parity), with its citizens experiencing a high standard of living. Mexico is an export-oriented mixed economy and one of the few economies with worldwide reach.
Trade unions, employers' associations and collective agreements covering the large national employees base is the norm in Mexico. The high coverage of collective agreements is achieved by the large legal frameworks and social agreements build from the [[post-depression recovery plan]].
caf2a54c1cf4d8337e3621c1afbd3e7f349d8a66
3197
3187
2024-03-14T01:31:38Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= [[Peso]] ($) ([[PSO]])
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
=== The End of the Liberal Dominance ===
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
''Further information: [[List of Mexican Elections]]
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
== Economy ==
''Main article: [[Economy of Mexico]]''
''Further information: [[Economic history of Mexico]]''
[[File:Paseo.jpg|thumb| [[Paseo del Progreso]], the economic heart of Mexico and the Pan-American Union ]]
Mexico is the richest country in the world in terms of nominal GDP (gross domestic product) and the second richest in terms of GDP PPP (Purchasing Power Parity), with its citizens experiencing a high standard of living. Mexico is an export-oriented mixed economy and one of the few economies with worldwide reach.
Trade unions, employers' associations and collective agreements covering the large national employees base is the norm in Mexico. The high coverage of collective agreements is achieved by the large legal frameworks and social agreements build from the [[post-depression recovery plan]].
1a660d5a8b83b486e62aba791474d81685dd7949
3200
3197
2024-03-14T01:39:09Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Mexico
|full_name= Mexican Federal Republic
|local_name= República Federal Mexicana (Spanish)
|lifespan=
|flag= Bandera_de_la_Primera_República_Federal_de_los_Estados_Unidos_Mexicanos.svg
|locator=
|established= 1814
|motto= La Patria es Primero
|capital= Mexico City
|largest_city= Mexico City
|population= 142,272,856 (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Spanish, Nahuatl, Maya and 95 other indigenous languages
|currency= [[Peso]] ($)
}}
'''Mexico''', officially the '''Mexican Federal Republic''', is a country primarily located in North America. It is bordered to the north by [[Deseret]], [[Jefferson]] and [[Fredonia]], to the northeast by [[Louisiana]] and to the south by [[Colombia]]. Mexico is considered one of the world's [[Great Powers]] and is a founding member of the [[Panama Pact]] and [[Pan-American Union]].
== History ==
=== The War of Independence ===
On September 16th, 1810 [https://es.wikipedia.org/wiki/Miguel_Hidalgo_y_Costilla Miguel Hidalgo]began the Mexican War for Independence by ringing the Bell of his Church and issuing a call of arms against bad government, after many initial military successes across the country Hidalgo and other heads of the insurgency were captured and executed, sending the movement into disarray but being far from the end.
During the Second Stage of the War of Independence the insurgents would focus their efforts on the south of the country, [[Ignacio López Rayón]] and [[José María Morelos]] would emerge as the new heads of the movement. After 3 years of war and with control of defensible areas to the south Morelos called for a series of congresses to create a government for the insurgency, in the coming months the "Congress of Anahuac" would create a governing body, a provisional constitution and a declaration of independence for all of North America. The congress would also offer Morelos the title of "Your Serene Highness" which he rejected and instead opted for "Servant of the Nation".
Following the congress Morelos and the insurgents considered multiple targets for their next offensive and ultimately [[Mariano Matamoros]]' suggestion to go after the strategically important Puebla was agreed upon. On December 23, 1813 Morelos and his army fell upon Puebla, outnumbering the royalist forces 5 to 1 they easily took over the city after 4 hours of fighting. The insurgents plundered Spanish armories, liberated slaves, bolstered their forces,Morelos sent a small group led by Hermenegildo de Galeana to connect with insurgent forces in Veracruz and began to march Mexico City, capturing settlements and bolstering his forces along the way.
On February 22, 1814 the battle of Mexico City began, royalists had expected this move and had heavily reinforced the city, however after a month under siege the population of the capital grew tired and various uprisings broke out among the general population, orders from Viceroy Felix Calleja to brutally put down dissorder only inflamed them further and by April 14 the city was in insurgent hands, the Viceroy had been captured and forced to sign a declaration of independence and order the disbandment of royalist forces. While royalist holdouts remained this marked the symbolic end of the war of independence and delegates from across the nation were called to the capital to draft the country's first constitution and organize a provisional government.
=== The Early Years ===
Following the war of Independence, the Mexican Constitutional Convention of 1814 took place in Mexico City from April 15 to August 12, 1814. It was called by Jose Maria Morelos with the goal of establishing a framework of government for the newly independent nation based on liberal democratic and federal ideas. The Constitution of 1814 declared Mexico a federal parliamentary republic and established robust checks and balances that remain in place to this day. While the convention is largely regarded as a success, perceived flaws in the constitution would eventually lead to the formation of the [[People's Liberal Party]] and the [[Conservative Party]] as the radical liberals believed Article 1 proclaiming Mexico as a Catholic country went against the liberal ideas of the republic while the conservatives believed the federal system would only weaken the country and wished to reform it into a centralist state.
During the presidency of Morelos which was mostly focused on rebuilding the country and economy, defeating remaining pockets of spanish resistence and obtaining international recognition, the first two political parties in Mexican history were formed, the previously mentioned conservatives who wished for a more centralized, clerical and aristocratic state and the liberals, who wished for a secular, federal and liberal country.
The election of 1820 saw the election of [[Guadalupe Victoria]], a hero of the war of independence, as president of the republic at the head of the [[Liberal Party]], despite the liberal's promises of reform, fear of angering the conservatives and provoking a civil war kept them from touching Article 1 and the catholic supremacy that came with it, frustrating the radical wing of the party who rallied behind popular war hero [[Vicente Guerrero]] and split to form the [[People's Liberal Party]], a name chosen as a retort to the conservative insult that they were a "party of the people" (implying the uneducated and poor) while the conservatives were the "party of good men" (meaning former aristocrats and church higher ups).
The huge personal popularity of Guerrero for his actions during the war alongside populist economic policies espoused by his party led the People's Liberal Party to win a narrow majority in the next election. The inauguration of the new government scared conservatives and their rich backers and led them to revolt on February 14th, 1824, under the leadership of General [[Anastasio Bustamante]] in what became known as the Centralist Rebellion. While they quickly took over the state of Queretaro they lacked much support in the majority of the country and government forces led personally by President Guerrero had crushed the rebellion by early June and the conservative party collapsed soon after. Ironically, the Conservative's rebellion further radicalized the anti-clericalism of the People's Party and the population was increasingly supportive of repealing Article 1, which they did on December 28th, 1824, ending the ban on non catholic religion in mexico and being followed by the writing of a new article one which guaranteed freedom of expression and religion.
In 1826 another important event would occur as the government of [[Colombia]] called for the Congress of Panama, after which Mexico and Colombia officially became allies as part of the newly formed [[Panama Pact]] and plans to one day split the remaining Spanish Caribbean possessions between them, marking the start of Mexico's oldest alliance.
Politics for the next 40 years would be dominated by the rivalry between the moderates in the Liberal Party and the radicals of the People's Liberal Party as they fought over free trade, foreign policy, immigration, anti-clericalism and regulations. One notable event during this period was the Filibuster War of 1844 and 1845 during which angloamerican filibusters attempted to declare various independent republics in Mexican territory to the far north, while the rebellion was put down and the republics reincorporated into the Mexico the war highlighted the need to develop and populate the north to secure control over the nation's northern frontier, leading to future governments granting subsidies to immigrants willing to move to the north, which is also the primary reason why millions of Mexicans in the far north are of Irish decent as this coincided with the start of Irish Potato Famine.
=== The End of the Liberal Dominance ===
Discontent against the dominance of the 2 mayor parties rose following the Panic of 1850, a brief financial crisis under the presidency of liberal president Ignacio Comonfort, and the presidency of People's Liberal Benito Juarez during which many feared his more authoritarian tendencies would lead him to strenghen the office of the president. This discontent found an outlet through the formation of the [[National Progress Party]], led by Porfirio Díaz, a veteran of various wars against northern indegenous tribes, this new right wing party espoused a more conservative form of liberalism, technocratic ideas and "scientific politics" as they believed only qualified groups of specialists should hold political power as they were most qualified to improve the country. The party came to prominence in the 1868 election when neither of the mayor parties. achieved a majority and the Liberal party agreed to form of a coalition with Díaz, following this coalition National Progress would absorb many of the voters of the Liberal Party as they were seen as the most competent members and condemned the liberals to third party status for the rest of the century.
During this time the "Spanish War" was happening, from 1865 to 1873 many of the nations of Latin America fought against their former colonial overlord in what started as a dispute over pacific islands between Spain, Peru and Chile and escalated further after the [[Panama Pact]] (at the time only composed of Mexico and Colombia) intervened in favour of ongoing rebellions in Cuba and Puerto Rico. The end of the war saw Mexico's annexation of Cuba as a new state, various other territorial changes and the end of the Spanish Empire outside of Africa.
The election of 1874 saw the National Progress Party achieve the highest number of seats and as so they formed a government with the Liberals as a minor coalition partner, this election also saw the birth of the [[Laborist Party]], a social democratic to democratic socialist party that emerged with the rising industrial working class as the nation continued to industrialize. The coming years would be largely dominated by the National Progress - Liberal coalition backed by increasing economic growth and infrastructure development which largely came at the cost of the working class which was becoming increasingly radicalized as wealthy industrialists concentrated more and more wealth and power.
The power of the National Progress Party was only briefly broken by the 1883 election in which the People's Liberal Party led by hero of the Spanish War [[Ignacio Zaragoza]] got the most seats and formed a coalition with the Laborists, the People's Party had expected to form a grand coalition with the Liberals but were forced to coalition with the Laborists after the overperformed polls and made working with them the only way to secure a majority. The People's Liberal-Laborist Coalition would have a mixed legacy; on one hand the left wing of the People's Liberals were pleasantly surprised by their coalition partners and some consider their cooperation to have been an important stepping stone towards the formation of the Democratic Revolutionary Party, on the other hand the right wing of the party often clashed with the rest of the coalition and made the government seem highly dysfunctional, leading to their loss in the following 1886 election.
During this period also came the emergence of the Agrarist party, a grouping of Left-wing Agrarianists with various Christian Socialist inspirations that felt the interests of rural workers were no longer being appropriately represented in the government.
In 1892 the National Progress - Liberal coalition, which was becoming increasingly authoritarian after the brutal supression of the Puebla Strike of 1886, only achieved a majority by a slim margin of 4 seats, leading the 3 leftist parties to realize that they could have won the election if they weren't splitting the vote for each other and began negotiations to create a single party, the Democratic Revolutionary Party, which as the name implied, was meant to bring about a political revolution through democratic means. The party pledged to perform vast land reform projects, break up monopolies, nationalize important infrastructure, expand and protect the rights of indigenous peoples, foment the creation of worker co-operatives and call for a new constitutional convention to enshrine these reforms in the constitution, a program which they referred to as the "Democratic Revolution".
The election of 1895 is often referred to as "The Steal of '95" as despite the fact the PDR got the largest share of the vote and the most seats in congress they were denied the right to form a government as the National Progress and Liberal parties once again banded together and formed a government which had a majority by a margin of one seat. This decision was met with outrage across the entire country, including many of their own voters, and was denounced as undemocratic, some even if going as far as to claim the National Progress Party had rigged the vote in many states to maintain their dominance, a claim that remains highly debated to this day, protests broke out across major cities and the coalition knew that their days in power were about to come to an end.
=== The Democratic Revolution ===
The election of 1898 is often referred to as the Democratic Revolution of 1898, referencing both the PDR's platform and the unpresedented change that followed their landslide victory. Staying true to their promises the new government used their strong majority to call for a constitutional convention that culminated in the constitution of 1900 which retained most elements from the original but expanded it to include guarantees of social rights (one of the first in the world to do so), protections for indigenous peoples, protections for communal lands, expansions of workers rights and a foundation for future land reform, among other things.
The PDR would enjoy 15 years of political dominance as the National Progress and Liberal parties imploded due to their rising unpopularity and multiple new political parties emerged in the right wing hoping to succeed them. During these years the PDR would work to fulfill their other promises, focusing on land reform and the breakup of monopolies by distributing their assets to newly formed co-operatives ran by their workers. They would also notably restore indigenous traditional rights to own their land communally and set up government agencies to map out the lands that were to be returned to them and solved any disputes that arose.
== Presidents of Mexico ==
''Further information: [[List of Mexican Elections]]
{| class="wikitable"
|+
!#
!Picture
!Name
!Entered Office
!Left Office
!Political Party
|-
|1.
|[[File:{{{img|RPTS_Morelos_Portrait.png}}}|150px]]
|[[José María Morelos y Pavón]]
|1814
|1820
|Independent
|-
|2.
|[[File:{{{img|Guadalupe_Victoria_-_02.jpg}}}|150px]]
|[[Guadalupe Victoria]]
|1820
|1823
|Liberal
|-
|3.
||[[File:{{{img|Vicente_Guerrero.png}}}|150px]]
|[[Vicente Guerrero]]
|1823
|1829
|People's Liberal
|-
|4.
||[[File:{{{img|Valentín_Gómez_Farías,_portrait.JPG}}}|150px]]
|[[Valentín Gómez Farías]]
|1829
|1832
|People's Liberal
|-
|5.
||[[File:{{{img|RPTS_Matamoros_portrait.png}}}|150px]]
|[[Mariano Matamoros]]
|1832
|1838
|Liberal
|-
|6.
||[[File:{{{img|José_María_Luis_Mora.png}}}|150px]]
|[[José María Luis Mora]]
|1838
|1841
|People's Liberal
|-
|7.
||[[File:{{{img|RPTS_de_la_rosa_portrait.png}}}|150px]]
|[[Luis de la Rosa]]
|1841
|1847
|Liberal
|-
|8.
||[[File:{{{img|RPTS_Comonfort_portrait.png}}}|150px]]
|[[Ignacio Comonfort]]
|1847
|1853
|Liberal
|-
|9.
||[[File:{{{img|Retrato_de_Benito_Juárez,_1861-1862.png}}}|150px]]
|[[Benito Juárez]]
|1853
|1862
|People's Liberal
|-
|10.
||[[File:{{{img|Jesus_Gonzalez_Ortega.jpg}}}|150px]]
|[[Jesús González Ortega]]
|1862
|1871
|Liberal
|-
|11.
||[[File:{{{img|Justo_Rufino_Barrios_Auyón.jpg}}}|150px]]
|[[Justo Rufino Barrios]]
|1871
|1874
|People's Liberal
|-
|12.
||[[File:{{{img|Porfirio_Diaz_civilian.jpg}}}|150px]]
|[[Porfirio Díaz]]
|1874
|1883
|National Progress
|-
|13.
||[[File:{{{img|General_Ignacio_Zaragoza.jpg}}}|150px]]
|[[Ignacio Zaragoza]]
|1883
|1886
|People's Liberal
|-
|14.
||[[File:{{{img|Portrait_of_General_Bernardo_Reyes.jpg}}}|150px]]
|[[Bernardo Reyes]]
|1886
|1892
|National Progress
|-
|15.
||[[File:{{{img|RPTS_Mondragon_portrait.png}}}|150px]]
|[[Manuel Mondragón]]
|1892
|1898
|National Progress
|-
|16.
||[[File:{{{img|Rubén_Darío.jpg}}}|150px]]
|[[Rubén Dario]]
|1898
|1907
|PDR
|-
|17.
||[[File:{{{img|Alberto_Masferrer.jpg}}}|150px]]
|[[Alberto Masferrer]]
|1907
|1913
|PDR
|-
|18.
||[[File:{{{img|Portrait_of_Venustiano_Carranza_(cropped).jpg}}}|150px]]
|[[Venustiano Carranza]]
|1913
|1922
|Liberal Union
|-
|19.
||[[File:{{{img|Eulalio_Gutierrez.jpg}}}|150px]]
|[[Eulalio Gutiérrez]]
|1922
|1928
|PDR
|-
|20.
||[[File:{{{img|PresidentMenocal-Cuba.jpg}}}|150px]]
|[[Mario García Menocal]]
|1928
|1931
|Conservative Democratic
|-
|21.
||[[File:{{{img|Francisco_I_Madero.jpg}}}|150px]]
|[[Francisco I. Madero]]
|1931
|1934
|Liberal Union
|-
|22.
||[[File:{{{img|Lázaro_Cárdenas,_Retrato.png}}}|150px]]
|[[Lazaro Cardenas]]
|1934
|1946
|PDR
|-
|23.
||[[File:{{{img|Adolfo_Ruiz_Cortines,_Retrato.png}}}|150px]]
|[[Adolfo Ruiz Cortines]]
|1946
|1949
|PDR
|-
|24.
||[[File:{{{img|Efraín_González_Luna.jpg}}}|150px]]
|[[Efraín González Luna]]
|1949
|1955
|Alliance for Mexico
|-
|25.
||[[File:{{{img|Henriquez_Guzman_Miguel_2.png}}}|150px]]
|[[Miguel Henríquez Guzmán]]
|1955
|19xx
|PDR
|-
|}
== Economy ==
''Main article: [[Economy of Mexico]]''
''Further information: [[Economic history of Mexico]]''
[[File:Paseo.jpg|thumb| [[Paseo del Progreso]], the economic heart of Mexico and the Pan-American Union ]]
Mexico is the richest country in the world in terms of nominal GDP (gross domestic product) and the second richest in terms of GDP PPP (Purchasing Power Parity), with its citizens experiencing a high standard of living. Mexico is an export-oriented mixed economy and one of the few economies with worldwide reach.
Trade unions, employers' associations and collective agreements covering the large national employees base is the norm in Mexico. The high coverage of collective agreements is achieved by the large legal frameworks and social agreements build from the [[post-depression recovery plan]].
ab2ee6f2b8fc38576dd63a0bddadc911885b7bb0
Provinces of Brazil
0
1555
3184
2024-03-13T22:25:09Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
Created page with "{{WIP_warning}} The '''provinces''' were subdivisions of the Brazilian territory, created in the Kingdom of Brazil and inherited by the Empire. They were established after the transformation of captaincies into overseas provinces, by the General and Extraordinary Cortes of the Portuguese Nation, which took place on February 28, 1821, still within the scope of the United Kingdom of Portugal, Brazil and Algarves."
wikitext
text/x-wiki
{{WIP_warning}}
The '''provinces''' were subdivisions of the Brazilian territory, created in the Kingdom of Brazil and inherited by the Empire. They were established after the transformation of captaincies into overseas provinces, by the General and Extraordinary Cortes of the Portuguese Nation, which took place on February 28, 1821, still within the scope of the United Kingdom of Portugal, Brazil and Algarves.
d7bdda018d2f24c1fdd08a99cab3b2acfd0143c8
3202
3184
2024-03-14T01:40:51Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
The '''provinces''' are subdivisions of the Brazilian territory, created in the Kingdom of Brazil and inherited by the Empire. They were established after the transformation of captaincies into overseas provinces, by the General and Extraordinary Cortes of the Portuguese Nation, which took place on February 28, 1821, still within the scope of the United Kingdom of Portugal, Brazil and Algarves.
c96a268026277c7b0d6ce76f9bcd20aa2f8e984c
Economy of Brazil
0
1516
3185
3109
2024-03-13T22:25:33Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
The '''economy of Brazil''' is historically the largest economy in the Southern Hemisphere in nominal terms.<sup><small>[30]</small></sup> The Brazilian economy is the second largest in the Americas. It is a high income developed mixed economy.<sup><small>[31]</small></sup> In 2025, according to XXXXXX XXX XXXXXXXXX (XXX), Brazil has the ''X''th largest gross domestic product (GDP) in the world and has the ''X''th largest purchasing power parity in the world.
== History ==
== Economic status ==
== Components ==
== Exports and imports ==
== See also ==
b57974f4960e715523954fa3096074bbb8e53991
History of Brazil
0
1515
3186
3098
2024-03-13T22:25:59Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
Before the arrival of the Europeans, the lands that now constitute Brazil were occupied, fought over and settled by diverse tribes. Thus, the history of Brazil begins with the indigenous people in Brazil. The Portuguese arrived to the land that would become Brazil on April 22, 1500, commanded by Pedro Álvares Cabral, an explorer on his way to India under the sponsorship of the Kingdom of Portugal and the support of the Catholic Church.
== Pre-Cabral history ==
== Early Brazil ==
== Kingdom ==
== Early Empire ==
== Petrine Era ==
== Isabeline Era ==
2c7f1114f87cc9519867ffde0841b37cee20c863
Germany
0
1398
3189
2852
2024-03-14T01:02:14Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Germany
|full_name= German Empire
|local_name= Deutsches Reich (German)
|lifespan=
|flag= Flag_of_Germany_(1867–1918).svg
|locator=
|established= 1871
|motto= Gott mit uns
|capital= Berlin
|largest_city= Berlin
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= German
|currency= [[Mark]] (₰) ([[DEM]])
}}
'''Germany''', officially the '''German Empire''', is a country primarily located in Europe. It is bordered to the north by [[Denmark]], to the west by the [[Netherlands]], [[Belgium]] and [[France]], to the south by [[Switzerland]] and [[Danubia]] and to the east by the [[Baltic Federation]], [[Lithuania]] and [[Poland]]. Germany is considered one of the world's [[Great Powers]] and is a founding member of [[Mitteleuropa]].
== History ==
Placeholder
c9fd48cf93c2bf29ffbd87959adfcc4bdeac1fed
3190
3189
2024-03-14T01:04:19Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Germany
|full_name= German Empire
|local_name= Deutsches Reich (German)
|lifespan=
|flag= Flag_of_Germany_(1867–1918).svg
|locator=
|established= 1871
|motto= Gott mit uns
|capital= Berlin
|largest_city= Berlin
|population= N/A (1959)
|government_type= Federal Parliamentary Constitutional Monarchy
|area=
|languages= German
|currency= [[Mark]] (ℳ︁) ([[DEM]])
}}
'''Germany''', officially the '''German Empire''', is a country primarily located in Europe. It is bordered to the north by [[Denmark]], to the west by the [[Netherlands]], [[Belgium]] and [[France]], to the south by [[Switzerland]] and [[Danubia]] and to the east by the [[Baltic Federation]], [[Lithuania]] and [[Poland]]. Germany is considered one of the world's [[Great Powers]] and is a founding member of [[Mitteleuropa]].
== History ==
Placeholder
53e1640c50004f1868199583acfed2821d2a929b
Panasia
0
2
3191
2848
2024-03-14T01:06:06Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Panasia
|full_name= United People's Pan-Asian Republics
|local_name=
|lifespan=
|flag= RPTS_Panasian_Flag.png
|locator=
|established= 1921
|motto=
|capital= Osaka, Hanseong and Tai-Pak
|largest_city= Hanseong
|population= N/A (1959)
|government_type= Federal Dominant-Party Parliamentary Socialist Republic
|area=
|languages= Japanese, Korean, Chinese, Ainu and various minor languages.
|currency= [[Yen]] (¥) ([[PAY]])
}}
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' , '''Pan-Asia''' or the '''UPPR''', is a country in East Asia. It is bordered to the north by [[China]] and the [[Far Eastern Republic]]. Panasia is considered one of the world's [[Great Powers]] and is a founding member of the [[Co-Prosperity Sphere]].
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the [https://en.wikipedia.org/wiki/Opium_Wars Opium Wars] between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.P.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
During the Interwar years the Union would prosper as reconstruction and industrialization in Korea led to a small economic boom. Due to their continued successes and ties to every important syndicate and cooperative company, the Eastern Socialist Party (founded by Tarui Tokichi) became deeply entrenched in the government of Panasia and opposition parties became increasingly weaker, marking their definitive transition into a "Dominant Party Democracy".
Internationally many significant developments would occur: In 1926 the "Co-Prosperity Sphere" was formed as a military and economic alliance with the goal of "promoting asian harmony and economic prosperity" and defending against imperialism. The founding members were Panasia and Indochina. In China, the death of Sun Yat Sen split the Kuomintang along ideological lines, with the Left KMT coming out on top and alienating the right wing, culminating in [[Chiang Kai Shek]]'s rebellion of 1927 which Panasia helped the legitimate government crush, bringing them even closer together and eventually leading to China joining the Co-Prosperity Sphere. During this period Panasia would enjoy close relations with the Panama Pact, with many intellectuals within the Pact seeing them as an asian extension of Bolivar's dream and Pan-asian ideologues declaring the Pact as allies in the fight against imperialism.
86965d38320942c737818bc40d0f6795b6603090
3192
3191
2024-03-14T01:08:23Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Panasia
|full_name= United People's Pan-Asian Republics
|local_name=
|lifespan=
|flag= RPTS_Panasian_Flag.png
|locator=
|established= 1921
|motto=
|capital= Osaka, Hanseong and Tai-Pak
|largest_city= Hanseong
|population= N/A (1959)
|government_type= Federal Dominant-Party Parliamentary Socialist Republic
|area=
|languages= Japanese, Korean, Chinese, Ainu and various minor languages.
|currency= [[Yen]] (¥) ([[ASY]])
}}
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' , '''Pan-Asia''' or the '''UPPR''', is a country in East Asia. It is bordered to the north by [[China]] and the [[Far Eastern Republic]]. Panasia is considered one of the world's [[Great Powers]] and is a founding member of the [[Co-Prosperity Sphere]].
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the [https://en.wikipedia.org/wiki/Opium_Wars Opium Wars] between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.P.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
During the Interwar years the Union would prosper as reconstruction and industrialization in Korea led to a small economic boom. Due to their continued successes and ties to every important syndicate and cooperative company, the Eastern Socialist Party (founded by Tarui Tokichi) became deeply entrenched in the government of Panasia and opposition parties became increasingly weaker, marking their definitive transition into a "Dominant Party Democracy".
Internationally many significant developments would occur: In 1926 the "Co-Prosperity Sphere" was formed as a military and economic alliance with the goal of "promoting asian harmony and economic prosperity" and defending against imperialism. The founding members were Panasia and Indochina. In China, the death of Sun Yat Sen split the Kuomintang along ideological lines, with the Left KMT coming out on top and alienating the right wing, culminating in [[Chiang Kai Shek]]'s rebellion of 1927 which Panasia helped the legitimate government crush, bringing them even closer together and eventually leading to China joining the Co-Prosperity Sphere. During this period Panasia would enjoy close relations with the Panama Pact, with many intellectuals within the Pact seeing them as an asian extension of Bolivar's dream and Pan-asian ideologues declaring the Pact as allies in the fight against imperialism.
8930bceae3affab3b790cf932e2c9e59abb99153
3193
3192
2024-03-14T01:09:13Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Panasia
|full_name= United People's Pan-Asian Republics
|local_name=
|lifespan=
|flag= RPTS_Panasian_Flag.png
|locator=
|established= 1921
|motto=
|capital= Osaka, Hanseong and Tai-Pak
|largest_city= Hanseong
|population= N/A (1959)
|government_type= Federal Dominant-Party Parliamentary Socialist Republic
|area=
|languages= Japanese, Korean, Chinese, Ainu and various minor languages.
|currency= [[Yen]] (¥) ([[HAY]])
}}
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' , '''Pan-Asia''' or the '''UPPR''', is a country in East Asia. It is bordered to the north by [[China]] and the [[Far Eastern Republic]]. Panasia is considered one of the world's [[Great Powers]] and is a founding member of the [[Co-Prosperity Sphere]].
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the [https://en.wikipedia.org/wiki/Opium_Wars Opium Wars] between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1917 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.P.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
During the Interwar years the Union would prosper as reconstruction and industrialization in Korea led to a small economic boom. Due to their continued successes and ties to every important syndicate and cooperative company, the Eastern Socialist Party (founded by Tarui Tokichi) became deeply entrenched in the government of Panasia and opposition parties became increasingly weaker, marking their definitive transition into a "Dominant Party Democracy".
Internationally many significant developments would occur: In 1926 the "Co-Prosperity Sphere" was formed as a military and economic alliance with the goal of "promoting asian harmony and economic prosperity" and defending against imperialism. The founding members were Panasia and Indochina. In China, the death of Sun Yat Sen split the Kuomintang along ideological lines, with the Left KMT coming out on top and alienating the right wing, culminating in [[Chiang Kai Shek]]'s rebellion of 1927 which Panasia helped the legitimate government crush, bringing them even closer together and eventually leading to China joining the Co-Prosperity Sphere. During this period Panasia would enjoy close relations with the Panama Pact, with many intellectuals within the Pact seeing them as an asian extension of Bolivar's dream and Pan-asian ideologues declaring the Pact as allies in the fight against imperialism.
eaf3d6aad60bafd7ffbb2148101ab6067df3ccf4
3205
3193
2024-03-15T17:34:15Z
TheMexicanHistorian
2
/* The Great Eastern War */
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Panasia
|full_name= United People's Pan-Asian Republics
|local_name=
|lifespan=
|flag= RPTS_Panasian_Flag.png
|locator=
|established= 1921
|motto=
|capital= Osaka, Hanseong and Tai-Pak
|largest_city= Hanseong
|population= N/A (1959)
|government_type= Federal Dominant-Party Parliamentary Socialist Republic
|area=
|languages= Japanese, Korean, Chinese, Ainu and various minor languages.
|currency= [[Yen]] (¥) ([[HAY]])
}}
The '''United People's Pan-Asian Republics''', commonly known as '''Panasia''' , '''Pan-Asia''' or the '''UPPR''', is a country in East Asia. It is bordered to the north by [[China]] and the [[Far Eastern Republic]]. Panasia is considered one of the world's [[Great Powers]] and is a founding member of the [[Co-Prosperity Sphere]].
== History ==
=== Imperialism and the birth of Pan-Asianism ===
The early 19th century saw European imperialism rapidly expanding into East Asia, beginning with the [https://en.wikipedia.org/wiki/Opium_Wars Opium Wars] between the Chinese Qing dynasty and the British Empire, which forced China to make many humiliating concessions to European powers and opened the gates for further incursions into the region. In 1855 the Dutch and British Empires would send warships to block the capital of the Tokuwaga shogunate which ruled over Japan and demand concessions such as opening of treaty ports to foreign trade, lowered tariffs and special privileges for foreign citizens. This outraged many within Japanese society and led to a group of intellectuals and rebellious daimyos revolting against the Shogunate under the banner of restoring the power of the emperor and modernizing the nation.
Meanwhile in Korea the restored Bourbon French Kingdom wished to expand their power and influence in the region and in 1866 launched an expedition against the Joseon dynasty under the pretense of opening the country to trade and punishing violence against christian missionaries. Despite fierce resistance the French successfully occupied the capital of Hanseong and force the Kingdom to officially become a protectorate of France and spent the next 2 decades pacifying the countryside.
The Boshin War, also called the First Imperial-Shogunate War, started in 1868 with some successes for the imperial side but European Powers would interfere on the side of the Shogunate to protect their interests, crushing the rebellion and once again forcing the emperor to submit while other leaders of the rebellion were executed although tensions remained and a second war seemed inevitable in the near future. The failure of the Boshin War would start another wave of outrage and radical ideas opposed to the status quo, which had in their eyes been proven to be nothing but a European puppet and against the Emperor who had shown himself to be incapable of saving the nation in their eyes.
In Korea and Japan many thinkers would begin to theorize a new political philosophy that came to be known as [[Pan-Asianism]], the idea that Asian countries must work together to fight the European imperialists which had subjected their nations to such humiliations, many prominent thinkers would embrace these ideas but the most important would undoubtedly be [[Tarui Tokichi]], a liberal socialist who proposed the eventual unification of Japan and Korea as an equal union of states that would stand as a beacon of anti-imperialism and asian unity.
In 1874 the Second Imperial-Shogunate War broke out but it lasted only 5 months as thousands of peasants revolted against the daimyos of their lands, regardless of their allegiance between the Emperor and Shogun and soon forced the armies of both sides to focus on this new target or risk their end. The rebels would see varying degrees of success across the Japan and were most successful in the island of Shikoku, which they completely occupied and turned into their new stronghold. The rebels had multiple different goals and conflicting views about the future of Japan only united by shared opposition to the Imperial and Shogunate governments but would eventually unite under the leadership of Tarui Tokichi and his Pan-Asian ideas.
In 1885 the Third and Final Imperial-Shogunate War broke out as the Shogun expected the Pan-Asians to sense weakness and attack the Emperor loyalists while they were distracted, the Shogun was correct in this assessment but underestimated the strength of the rebels, who had spent the last decade training their army from what was largely a peasant mob to a more organized fighting force which had also secured a large amount of weapons from sympathisers in the Philippines. Thanks to their military improvements, the concentration of imperial forces along the border with the lands of the shogun and the widespread popular support that the Pan-Asians had gained as people grew more and more tired of the status quo, they quickly swept through imperial lands and forced the emperor to flee to Hawaii (at the time a British protectorate) where some of his family resided.
After the fall of the imperial capital at Heian-kyo to Pan-Asian forces Tarui Tokichi ordered an offensive into the lands of the shogunate to finally put an end to the constant fighting over the fate of Japan. The shogunate had grown extremely unpopular over the past decades and as the rebel armies approached thousands of the shogunate's soldiers deserted to fight for them, outnumbered and struggling to control their people the Shogunate fell soon after in February of 1887 and their loyalists fled north where they established the short lived "Republic of Ezo" as the Pan-Asians swept the remaining daimyo, establishing the "Japanese People's Republic".
=== The Japanese People's Republic ===
Over the next few decades Japan would undergo multiple rapid modernization projects. Immediately the new government sent out diplomatic missions to the Americas with the primary goal of recognition from the Panama Pact to avoid European intervention against their government as well as observe and learn from the production methods of industrialized nations. These missions were a success as they managed to attract many skilled industrial experts willing to work to develop Japan and the recognition of their government was agreed to by the Panama Pact.
The destruction of the various daimyos that ruled over Japan removed one of the biggest obstacles to developing Japan as their competing interests would no longer get in the way of the government's plans, of which there were many, most pressingly was the construction of a rail network across the nation to carry people and materials to growing cities and factories and the instalation of telegraph lines for efficient communication.
After the initial years of developing an industrial base the new government would put into effect their second grand development plan, the construction of a mighty modern navy capable of challenging the great powers of Europe and ensuring that no foreign army can land on the home isles in times of war.
This period would also see the first time Pan-Asian internationalism was put to the test as in the year 1900 Dr [[Sun Yat Sen]], who had long been interested in the ideas of Pan-Asianism, approached the government of Japan and asked for their aid in liberating his homeland from the corrupt and decaying Qing dynasty which had long failed to resist European imperialism. Excited by the opportunity to prove their new found strength to the rest of the world the government gladly agreed to send soldiers, weapons and funds to Sun Yat Sen's army which resided in the Philippines waiting for an opportunity to invade the mainland, an opportunity Japan would gladly provide later that same year, as the boxer rebellion raged on and both Qing authorities and European powers were distracted the Japanese launched an invasion of Taiwan while Sun Yat Sen launched his invasion of southern China, having already negotiated with representatives of various European powers to ensure they would not intervene.
The Sino-Japanese War was a resounding success as the Qing dynasty was forced to concede Taiwan to Japan, where it became an autonomous republic as the government had agreed to treat the inhabitants of the island as equals as part of their negotiations with Sun Yat Sen over a potential future alliance with a new Chinese Republic. Meanwhile the "Huizhou Uprising" as it was initially known successfully inspired the southern Chinese provinces to rebel and caused the collapse of the Qing dynasty, however it also plunged the region into chaos as competing governments and warlords fought for power, slowing plans for an alliance with a new China for the foreseeable future.
=== Unrest in Korea ===
During all this time Korea remained a French protectorate, with the Joseon dynasty remaining as the de jure rulers of the peninsula but with a French appointed governor-general being the true highest authority in the region, with native administrations being subordinate to French interests and unable to act against them in any way. France held a complete monopoly on trade and exploited local resources and manufacturing to fuel their colonial empire.
Any armed resistance against France was crushed by the military whenever it emerged but secret societies quickly formed in its place, discussing methods of passive resistance, planning for an eventual grand uprising and debating what path a newly independent Korea ought to take. Although Japan and Korea had been historical rivals for centuries, the Japanese funded many of these groups and provided them with weapons, money and ideological support, as President Tarui Tokichi remained committed to his ideal of a truly equal union between both nations as he saw it as the best way to combat European Imperialism, and on May 23rd of 1890 officially apologized for the historical invasions of Korea which was met by a mixture of celebration and skepticism in the peninsula.
Nevertheless Pan-Asian ideology began to take root among the many anti-imperialist societies in Korea as cooperation with Japan increasingly appeared to be the best way to counter France, on top of that the economic success and land reform programs promoted by the Pan-Asians in Japan were becoming increasingly attractive to the impoverished population of Korea.
=== The Great Eastern War ===
During the second half of the year 1916, as the Great Powers of Europe and America found themselves occupied with the [[Great Wars]], the Pan-Asians sensed opportunity, and, on September 2nd, 1914, the “People’s Liberation Army” invaded the French and British Ports in Japan, officially starting the [[Great Eastern War]].
Korean independence activists also pounced on this new opportunity and mass demonstrations against French colonial authorities took place throughout the entire month of September, ranging from peaceful marches to the burning of government buildings and clashes with the French Army. Soon a full on war for independence broke out as guerrilla units rose across the nation and assaulted important French military positions.
After ensuring their control over their home islands the Japanese began the second stage of their operations, after various engagements against the French Pacific Navy, the Japanese, having coordinated with Korean fighters, landed on the port of Busan to aid the Korean Independence struggle, fighting side to side against a common enemy the Korean and Japanese soldiers gained newfound respect for each other and many propaganda pieces were released exalting the bonds between both nations. Soon after the rebels declared the “People's Republic of Korea” in their controlled territories and began enacting various reforms aligned with the Pan-Asian Socialists such as land redistribution, nationalization, gender equality and a charter of worker’s rights.
As France had most of their troops occupied on the European front and most Koreans didn’t care to fight for the protectorate, French administration completely fell apart by October of 1918 and the Republic now controlled most of Korea, even if its independence had only been recognized by Japan. Once control over Korea and Japan had been secured expeditions were launched into Russian controlled Inner Manchuria and weapons and men were sent to aid rebels in French Indochina and the army of the Philippines which was invading northern Borneo.
When the Great Eastern War came to an end in 1919, the independence of Korea was officially recognized by the international community as part of the various treaties signed after the surrender of the Entente Powers, which also led to the independence of Indochina and other treaties regarding french colonies. While Korean independence was celebrated as the greatest triumph of Pan-Asianism it was far from the end of their ambitions, just one year later representatives from the Korean and Japanese governments announced their intentions to begin the process of unification into a single country, with extensive planning to be done beforehand to ensure a true equal union where no member shall dominate the others.
=== The Early Years of the Union ===
On February 17th, 1921, the United People’s Pan-Asian Republics were formed, often shortened to either U.P.P.R. or “Panasia”, it was decided that the federation would have 3 capitals in order to maintain equality within the union; the executive capital in Osaka, the legislative capital in Hanseong and the judicial capital in Tai-pak.
During the Interwar years the Union would prosper as reconstruction and industrialization in Korea led to a small economic boom. Due to their continued successes and ties to every important syndicate and cooperative company, the Eastern Socialist Party (founded by Tarui Tokichi) became deeply entrenched in the government of Panasia and opposition parties became increasingly weaker, marking their definitive transition into a "Dominant Party Democracy".
Internationally many significant developments would occur: In 1926 the "Co-Prosperity Sphere" was formed as a military and economic alliance with the goal of "promoting asian harmony and economic prosperity" and defending against imperialism. The founding members were Panasia and Indochina. In China, the death of Sun Yat Sen split the Kuomintang along ideological lines, with the Left KMT coming out on top and alienating the right wing, culminating in [[Chiang Kai Shek]]'s rebellion of 1927 which Panasia helped the legitimate government crush, bringing them even closer together and eventually leading to China joining the Co-Prosperity Sphere. During this period Panasia would enjoy close relations with the Panama Pact, with many intellectuals within the Pact seeing them as an asian extension of Bolivar's dream and Pan-asian ideologues declaring the Pact as allies in the fight against imperialism.
e21e5ceac9ed170082229ad69c43a79284b8e223
United Kingdom
0
1400
3194
2854
2024-03-14T01:12:54Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= United Kingdom
|full_name= United Kingdom of Great Britain, Northern Ireland and Malta
|local_name=
|lifespan=
|flag= Flag_of_the_United_Kingdom_(1-2).svg
|locator=
|established= 1603
|motto=
|capital= London
|largest_city= London
|population= N/A (1959)
|government_type= Unitary Parliamentary Constitutional Monarchy
|area=
|languages= English
|currency= [[Pound Sterling]] (£) [[GBP]]
}}
The '''United Kingdom of Great Britain, Northern Ireland and Malta''', commonly known as the '''United Kingdom''', is a country primarily located in Europe. It is bordered to the west by [[Ireland]]. the United Kingdom is considered one of the world's [[Great Powers]] and the ceremonial head of the [[Commonwealth of Nations]], however, their standing as a great power has recently been challenged by experts following the [[Suez Crisis]].
ba746e34d2c23515b56f9edfca591493ca80b8c1
3195
3194
2024-03-14T01:13:14Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= United Kingdom
|full_name= United Kingdom of Great Britain, Northern Ireland and Malta
|local_name=
|lifespan=
|flag= Flag_of_the_United_Kingdom_(1-2).svg
|locator=
|established= 1603
|motto=
|capital= London
|largest_city= London
|population= N/A (1959)
|government_type= Unitary Parliamentary Constitutional Monarchy
|area=
|languages= English
|currency= [[Pound Sterling]] (£) ([[GBP]])
}}
The '''United Kingdom of Great Britain, Northern Ireland and Malta''', commonly known as the '''United Kingdom''', is a country primarily located in Europe. It is bordered to the west by [[Ireland]]. the United Kingdom is considered one of the world's [[Great Powers]] and the ceremonial head of the [[Commonwealth of Nations]], however, their standing as a great power has recently been challenged by experts following the [[Suez Crisis]].
10d49c63f6b98a6f253b4cc1de3f7d56f0739ace
Russia
0
1395
3196
2860
2024-03-14T01:17:27Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Russia
|full_name= Russian Confederation
|local_name= Российская Конфедерация (Russian)
|lifespan=
|flag= Flag_of_Russia.svg
|locator=
|established= 1946
|motto=Long live Russia, a free country! (Anthem)
|capital= Moscow
|largest_city= Moscow
|population= N/A (1959)
|government_type= Federal Parliamentary Republic
|area=
|languages= Russian (De-facto national language), Tatar, Buryat-Mongolian, Saqa, Oirot, Komi
|currency= [[Ruble]] (₽) ([[RUB]])
}}
'''Russia''', officially the '''Russian Confederation''', is a country located in Eastern Europe and North Asia. It is bordered to the west by [[Norway]], [[Sweden]], the [[Baltic Federation]], [[Belarus]], [[Ukraine]] and the [[Don Republic]] and to the south by the [[Mountain Republic]], [[Qazaqstan]], [[China]], the [[Far Eastern Republic]] and [[Panasia]]. Russia is considered one of the world's [[Great Powers]].
== History ==
Placeholder
93b9709e26efa7153468b64b571d9564b6444bd7
Colombia
0
1393
3198
2849
2024-03-14T01:33:41Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Colombia
|full_name= Republic of Colombia
|local_name= República de Colombia (Spanish)
|lifespan=
|flag= Flag_of_Gran_Colombia.svg
|locator=
|established= 1817
|motto= Union and Freedom
|capital= Bogota
|largest_city= Bogota
|population= N/A (1959)
|government_type= Federal Presidential Republic
|area=
|languages= Spanish
|currency= [[Peso]] ($) ([[PSO]])
}}
'''Colombia''', officially the '''Republic of Colombia''', is a country primarily located in South America. It is bordered to the north by [[Mexico]] to the south by [[Peru]] and [[Brazil]], to the east by the [[West Indies Federation]] and by [[Haiti]] to the west in the island of Hispaniola. Colombia is a founding member of the [[Panama Pact]] and the [[Pan-American Union]].
d0c0393fb1e28c3fd6406e160167375392e74d82
3201
3198
2024-03-14T01:39:30Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}
{{Nation
|common_name= Colombia
|full_name= Republic of Colombia
|local_name= República de Colombia (Spanish)
|lifespan=
|flag= Flag_of_Gran_Colombia.svg
|locator=
|established= 1817
|motto= Union and Freedom
|capital= Bogota
|largest_city= Bogota
|population= N/A (1959)
|government_type= Federal Presidential Republic
|area=
|languages= Spanish
|currency= [[Peso]] ($)
}}
'''Colombia''', officially the '''Republic of Colombia''', is a country primarily located in South America. It is bordered to the north by [[Mexico]] to the south by [[Peru]] and [[Brazil]], to the east by the [[West Indies Federation]] and by [[Haiti]] to the west in the island of Hispaniola. Colombia is a founding member of the [[Panama Pact]] and the [[Pan-American Union]].
7fccfcb9baf18f1dbd07bf74f13555be988e5d29
Chile
0
1517
3199
3100
2024-03-14T01:34:27Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name='''Chile'''|full_name=Republic of Chile|local_name=''República de Chile'' ([[Spanish]])|lifespan=|motto=''Por la razón o la fuerza''|}{Nation|flag=Flag_of_Chile.svg|}{Nation|locator=|established= 1810|capital=[[Santiago]]|largest_city=[[Santiago]]|population=N/A (1959)|government_type=|area=|languages=Spanish, Aymara, Mapudugun and other indigenous languages|currency= [[Peso]] ($) ([[PSO]])}}
'''Chile''',<sup><small>[a]</small></sup> officially the '''Republic of Chile''',<sup><small>[b]</small></sup> is a country located in western [[South America]]. It is the southernmost country in the [[Americas]] and the closest to Antarctica, stretching along a narrow strip of land between the Andes Mountains and the Pacific Ocean. Chile shares borders with [[Peru]] to the north and northeast, [[Argentina]] to the east, and the Drake Passage to the south. The country also controls several Pacific islands, including Tahiti, the Carolinas and Easter Island. The capital and largest city of Chile is Santiago, and the national language is Spanish.
51ac00362824718cf197f5884e153fd5098322b0
File:Climate of Brazil.png
6
1556
3203
2024-03-15T02:43:45Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
A simplified view of the climatic makeup present in the territory of the Brazilian Empire
aeba92cb3146d66b9c28a5a90444bd22af0395a9
3206
3203
2024-03-15T17:44:28Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
DAVE-THE-ARCHWIZARD-OF-PIRAPORA uploaded a new version of [[File:Climate of Brazil.png]]
wikitext
text/x-wiki
A simplified view of the climatic makeup present in the territory of the Brazilian Empire
aeba92cb3146d66b9c28a5a90444bd22af0395a9
Brazil
0
1406
3208
3207
2024-03-15T17:48:46Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
/* Geography */
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[Provinces of Brazil|provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
The word "Brazil" likely comes from the Portuguese word for [https://en.wikipedia.org/wiki/Paubrasilia brazilwood], a tree that once grew plentifully along the Brazilian coast. In Portuguese, brazilwood is called pau-brasil, with the word brasil commonly given the etymology "red like an ember", formed from brasa ("ember") and the suffix -il (from -iculum or -ilium).<sup><small>[1]</small></sup>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
== Geography ==
[[File:Climate_of_Brazil.png|thumb| Brazil map of [https://en.wikipedia.org/wiki/Köppen_climate_classification Köppen climate classification] zones ]]
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of Brazil]]''
== Demographics ==
== Culture ==
== See also ==
== Notes ==
c6efb7f24dc987bb732ff7254de2bb21ffb088de
3210
3208
2024-03-15T18:04:50Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[Provinces of Brazil|provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
The word "Brazil" likely comes from the Portuguese word for [https://en.wikipedia.org/wiki/Paubrasilia brazilwood], a tree that once grew plentifully along the Brazilian coast. In Portuguese, brazilwood is called pau-brasil, with the word brasil commonly given the etymology "red like an ember", formed from brasa ("ember") and the suffix -il (from -iculum or -ilium).<sup><small>[1]</small></sup>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
=== Pre-Cabraline era ===
Some of the earliest human remains found in the Americas, Luzia Woman, were found in the area of [[Quinta do Sumidouro]], [[Minas Geraes]] and provide evidence of human habitation going back at least 11,000 years.<sup><small>[4][2]</small></sup> The earliest pottery ever found in the Western Hemisphere was excavated in the Amazon basin of Brazil and radiocarbon dated to 8,000 years ago (6000 BC). The pottery was found near [[Santarém]] and provides evidence that the region supported a complex prehistoric culture.<sup><small>[3]</small></sup> The Marajoara culture flourished on Marajó in the Amazon delta from AD 400 to 1400, developing sophisticated pottery, social stratification, large populations, mound building, and complex social formations such as chiefdoms.<sup><small>[4]</small></sup>
== Geography ==
[[File:Climate_of_Brazil.png|thumb| Brazil map of [https://en.wikipedia.org/wiki/Köppen_climate_classification Köppen climate classification] zones ]]
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
== Economy ==
''Main article: [[Economy of Brazil]]''
== Demographics ==
== Culture ==
== See also ==
== Notes ==
f26f8f19a0f9c2ec413b0db068955ff982b636d9
3220
3210
2024-03-16T19:02:16Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[Provinces of Brazil|provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
The word "Brazil" likely comes from the Portuguese word for [https://en.wikipedia.org/wiki/Paubrasilia brazilwood], a tree that once grew plentifully along the Brazilian coast. In Portuguese, brazilwood is called pau-brasil, with the word brasil commonly given the etymology "red like an ember", formed from brasa ("ember") and the suffix -il (from -iculum or -ilium).<sup><small>[1]</small></sup>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
=== Pre-Cabraline era ===
Some of the earliest human remains found in the Americas, Luzia Woman, were found in the area of [[Quinta do Sumidouro]], [[Minas Geraes]] and provide evidence of human habitation going back at least 11,000 years.<sup><small>[4][2]</small></sup> The earliest pottery ever found in the Western Hemisphere was excavated in the Amazon basin of Brazil and radiocarbon dated to 8,000 years ago (6000 BC). The pottery was found near [[Santarém]] and provides evidence that the region supported a complex prehistoric culture.<sup><small>[3]</small></sup> The Marajoara culture flourished on Marajó in the Amazon delta from AD 400 to 1400, developing sophisticated pottery, social stratification, large populations, mound building, and complex social formations such as chiefdoms.<sup><small>[4]</small></sup>
== Geography ==
[[File:Climate_of_Brazil.png|thumb| Brazil map of [https://en.wikipedia.org/wiki/Köppen_climate_classification Köppen climate classification] zones ]]
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
=== Political subdivisions ===
Brazil is a federation with seventeen components: the national Government of Brazil seated at the Neutral Municipality and sixteen provincial governments. All seventeen governments derive their authority from the Constitution of Brazil.<sup><small>[5]</small></sup> The provinces have autonomous administrations, collect their own taxes and receive a share of taxes collected by the Federal government. They have a president and a unicameral legislative body elected directly by their voters. They also have independent Courts of Law for common justice. Despite this, the provinces have much less autonomy to create their own laws than in other federal states.
=== Military ===
Under Articles 102 and 148 of the Constitution, the Armed Forces were subordinate to the emperor as commander-in-chief.<sup><small>[15]</small></sup> He was aided by the Ministry of War and Ministry of Navy in matters concerning the [[Army]] and the [[Armada]] (Navy)—although the president of the Council of Ministers exercised oversight of both branches in practice and is the one that makes the key decisions on the use of the armed forces. The ministers of War and Navy were, with few exceptions, civilians.
[[File:CoA_Imperial_Brazilian_Army_%281860%29.svg|left|thumb|Imperial Army Coat of Arms]]
== Economy ==
''Main article: [[Economy of Brazil]]''
=== Science and Technology ===
=== Energy ===
== Demographics ==
== Culture ==
== See also ==
== Notes ==
112d9dc65cb151d78192055b46db8f2e433eca48
3221
3220
2024-03-16T19:03:42Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
/* Government and politics */ Grammar
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[Provinces of Brazil|provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
The word "Brazil" likely comes from the Portuguese word for [https://en.wikipedia.org/wiki/Paubrasilia brazilwood], a tree that once grew plentifully along the Brazilian coast. In Portuguese, brazilwood is called pau-brasil, with the word brasil commonly given the etymology "red like an ember", formed from brasa ("ember") and the suffix -il (from -iculum or -ilium).<sup><small>[1]</small></sup>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
=== Pre-Cabraline era ===
Some of the earliest human remains found in the Americas, Luzia Woman, were found in the area of [[Quinta do Sumidouro]], [[Minas Geraes]] and provide evidence of human habitation going back at least 11,000 years.<sup><small>[4][2]</small></sup> The earliest pottery ever found in the Western Hemisphere was excavated in the Amazon basin of Brazil and radiocarbon dated to 8,000 years ago (6000 BC). The pottery was found near [[Santarém]] and provides evidence that the region supported a complex prehistoric culture.<sup><small>[3]</small></sup> The Marajoara culture flourished on Marajó in the Amazon delta from AD 400 to 1400, developing sophisticated pottery, social stratification, large populations, mound building, and complex social formations such as chiefdoms.<sup><small>[4]</small></sup>
== Geography ==
[[File:Climate_of_Brazil.png|thumb| Brazil map of [https://en.wikipedia.org/wiki/Köppen_climate_classification Köppen climate classification] zones ]]
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
=== Political subdivisions ===
Brazil is a federation with seventeen components: the national Government of Brazil seated at the Neutral Municipality and sixteen provincial governments. All seventeen governments derive their authority from the Constitution of Brazil.<sup><small>[5]</small></sup> The provinces have autonomous administrations, collect their own taxes and receive a share of taxes collected by the Federal government. They have a president and a unicameral legislative body elected directly by their voters. They also have independent Courts of Law for common justice. Despite this, the provinces have much less autonomy to create their own laws than in other federal states.
=== Military ===
Under Articles 102 and 148 of the Constitution, the Armed Forces were subordinate to the emperor as commander-in-chief.<sup><small>[15]</small></sup> He was aided by the Ministry of War and Ministry of Navy in matters concerning the [[Army]] and the [[Armada]] (Navy)—although the president of the Council of Ministers exercised oversight of both branches in practice and is the one that makes the key decisions on the use of the armed forces. The ministers of War and Navy are, with very few exceptions, civilians.
[[File:CoA_Imperial_Brazilian_Army_%281860%29.svg|left|thumb|Imperial Army Coat of Arms]]
== Economy ==
''Main article: [[Economy of Brazil]]''
=== Science and Technology ===
=== Energy ===
== Demographics ==
== Culture ==
== See also ==
== Notes ==
8fcadb7125deb0474b1908f6f62152b696b06632
3223
3221
2024-03-17T03:31:06Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
/* Military */ grammar
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[Provinces of Brazil|provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
The word "Brazil" likely comes from the Portuguese word for [https://en.wikipedia.org/wiki/Paubrasilia brazilwood], a tree that once grew plentifully along the Brazilian coast. In Portuguese, brazilwood is called pau-brasil, with the word brasil commonly given the etymology "red like an ember", formed from brasa ("ember") and the suffix -il (from -iculum or -ilium).<sup><small>[1]</small></sup>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
=== Pre-Cabraline era ===
Some of the earliest human remains found in the Americas, Luzia Woman, were found in the area of [[Quinta do Sumidouro]], [[Minas Geraes]] and provide evidence of human habitation going back at least 11,000 years.<sup><small>[4][2]</small></sup> The earliest pottery ever found in the Western Hemisphere was excavated in the Amazon basin of Brazil and radiocarbon dated to 8,000 years ago (6000 BC). The pottery was found near [[Santarém]] and provides evidence that the region supported a complex prehistoric culture.<sup><small>[3]</small></sup> The Marajoara culture flourished on Marajó in the Amazon delta from AD 400 to 1400, developing sophisticated pottery, social stratification, large populations, mound building, and complex social formations such as chiefdoms.<sup><small>[4]</small></sup>
== Geography ==
[[File:Climate_of_Brazil.png|thumb| Brazil map of [https://en.wikipedia.org/wiki/Köppen_climate_classification Köppen climate classification] zones ]]
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
=== Political subdivisions ===
Brazil is a federation with seventeen components: the national Government of Brazil seated at the Neutral Municipality and sixteen provincial governments. All seventeen governments derive their authority from the Constitution of Brazil.<sup><small>[5]</small></sup> The provinces have autonomous administrations, collect their own taxes and receive a share of taxes collected by the Federal government. They have a president and a unicameral legislative body elected directly by their voters. They also have independent Courts of Law for common justice. Despite this, the provinces have much less autonomy to create their own laws than in other federal states.
=== Military ===
Under Articles 102 and 148 of the Constitution, the Armed Forces are subordinate to the emperor as commander-in-chief.<sup><small>[15]</small></sup> He was aided by the Ministry of War and Ministry of Navy in matters concerning the [[Army]] and the [[Armada]] (Navy)—although the president of the Council of Ministers exercised oversight of both branches in practice and is the one that makes the key decisions on the use of the armed forces. The ministers of War and Navy are, with very few exceptions, civilians.
[[File:CoA_Imperial_Brazilian_Army_%281860%29.svg|left|thumb|Imperial Army Coat of Arms]]
== Economy ==
''Main article: [[Economy of Brazil]]''
=== Science and Technology ===
=== Energy ===
== Demographics ==
== Culture ==
== See also ==
== Notes ==
cfec86448540fc77f2f698b21fb709ddb53b6852
3225
3223
2024-03-17T19:49:14Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[Provinces of Brazil|provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
The word "Brazil" likely comes from the Portuguese word for [https://en.wikipedia.org/wiki/Paubrasilia brazilwood], a tree that once grew plentifully along the Brazilian coast. In Portuguese, brazilwood is called pau-brasil, with the word brasil commonly given the etymology "red like an ember", formed from brasa ("ember") and the suffix -il (from -iculum or -ilium).<sup><small>[1]</small></sup>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
=== Pre-Cabraline era ===
Some of the earliest human remains found in the Americas, Luzia Woman, were found in the area of [[Quinta do Sumidouro]], [[Minas Geraes]] and provide evidence of human habitation going back at least 11,000 years.<sup><small>[4][2]</small></sup> The earliest pottery ever found in the Western Hemisphere was excavated in the Amazon basin of Brazil and radiocarbon dated to 8,000 years ago (6000 BC). The pottery was found near [[Santarém]] and provides evidence that the region supported a complex prehistoric culture.<sup><small>[3]</small></sup> The Marajoara culture flourished on Marajó in the Amazon delta from AD 400 to 1400, developing sophisticated pottery, social stratification, large populations, mound building, and complex social formations such as chiefdoms.<sup><small>[4]</small></sup>
== Geography ==
[[File:Climate_of_Brazil.png|thumb| Brazil map of [https://en.wikipedia.org/wiki/Köppen_climate_classification Köppen climate classification] zones ]]
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
=== Political subdivisions ===
Brazil is a federation with seventeen components: the national Government of Brazil seated at the Neutral Municipality and sixteen provincial governments. All seventeen governments derive their authority from the Constitution of Brazil.<sup><small>[5]</small></sup> The provinces have autonomous administrations, collect their own taxes and receive a share of taxes collected by the Federal government. They have a president and a unicameral legislative body elected directly by their voters. They also have independent Courts of Law for common justice. Despite this, the provinces have much less autonomy to create their own laws than in other federal states.
=== Military ===
Under Articles 102 and 148 of the Constitution, the Armed Forces are subordinate to the emperor as commander-in-chief.<sup><small>[15]</small></sup> He was aided by the Ministry of War and Ministry of Navy in matters concerning the [[Army]] and the [[Armada]] (Navy)—although the president of the Council of Ministers exercised oversight of both branches in practice and is the one that makes the key decisions on the use of the armed forces. The ministers of War and Navy are, with very few exceptions, civilians.
[[File:CoA_Imperial_Brazilian_Army_%281860%29.svg|left|thumb|Imperial Army Coat of Arms]]
== Economy ==
''Main article: [[Economy of Brazil]]''
=== Science and Technology ===
=== Energy ===
While Brazil is the world's fourth largest energy consumer,<sup><small>[18]</small></sup> much of its energy comes from non-carbon intesive sources or renewables, particularly hydroelectricity, ethanol and nuclear; the [[Itahypu Dam]] is the world's largest hydroelectric plant by energy generation,<sup><small>[19]</small></sup> and the country has other large plants like [[Bello Monte]] and [[Tucuruhy]]. The first car with an ethanol engine was produced in 1978 and the first airplane engine running on ethanol in 2005.<sup><small>[20]</small></sup>
== Demographics ==
== Culture ==
== See also ==
== Notes ==
f514d473194c97417f1af32ad0772be1d43038fa
3226
3225
2024-03-17T20:09:37Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[Provinces of Brazil|provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
The word "Brazil" likely comes from the Portuguese word for [https://en.wikipedia.org/wiki/Paubrasilia brazilwood], a tree that once grew plentifully along the Brazilian coast. In Portuguese, brazilwood is called pau-brasil, with the word brasil commonly given the etymology "red like an ember", formed from brasa ("ember") and the suffix -il (from -iculum or -ilium).<sup><small>[1]</small></sup>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
=== Pre-Cabraline era ===
Some of the earliest human remains found in the Americas, Luzia Woman, were found in the area of [[Quinta do Sumidouro]], [[Minas Geraes]] and provide evidence of human habitation going back at least 11,000 years.<sup><small>[4][2]</small></sup> The earliest pottery ever found in the Western Hemisphere was excavated in the Amazon basin of Brazil and radiocarbon dated to 8,000 years ago (6000 BC). The pottery was found near [[Santarém]] and provides evidence that the region supported a complex prehistoric culture.<sup><small>[3]</small></sup> The Marajoara culture flourished on Marajó in the Amazon delta from AD 400 to 1400, developing sophisticated pottery, social stratification, large populations, mound building, and complex social formations such as chiefdoms.<sup><small>[4]</small></sup>
== Geography ==
[[File:Climate_of_Brazil.png|thumb| Brazil map of [https://en.wikipedia.org/wiki/Köppen_climate_classification Köppen climate classification] zones ]]
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
=== Political subdivisions ===
Brazil is a federation with seventeen components: the national Government of Brazil seated at the Neutral Municipality and sixteen provincial governments. All seventeen governments derive their authority from the Constitution of Brazil.<sup><small>[5]</small></sup> The provinces have autonomous administrations, collect their own taxes and receive a share of taxes collected by the Federal government. They have a president and a unicameral legislative body elected directly by their voters. They also have independent Courts of Law for common justice. Despite this, the provinces have much less autonomy to create their own laws than in other federal states.
=== Military ===
Under Articles 102 and 148 of the Constitution, the Armed Forces are subordinate to the emperor as commander-in-chief.<sup><small>[15]</small></sup> He was aided by the Ministry of War and Ministry of Navy in matters concerning the [[Army]] and the [[Armada]] (Navy)—although the president of the Council of Ministers exercised oversight of both branches in practice and is the one that makes the key decisions on the use of the armed forces. The ministers of War and Navy are, with very few exceptions, civilians.
[[File:CoA_Imperial_Brazilian_Army_%281860%29.svg|left|thumb|Imperial Army Coat of Arms]]
== Economy ==
''Main article: [[Economy of Brazil]]''
The economy of Brazil is historically the largest economy in the Southern Hemisphere in nominal terms. The Brazilian economy is the second largest in the Americas. It is a high income developed mixed economy. In 2025, according to XXXXXX XXX XXXXXXXXX (XXX), Brazil has the Xth largest gross domestic product (GDP) in the world and has the Xth largest purchasing power parity in the world.<sup><small>[10]</small></sup>
=== Science and Technology ===
Brazil has been a leader in technological innovations and scientific research since the late 20th century. Scientific research and development is a core aspect of Brazilian universities, with many establishing science parks to facilitate production and co-operation with industry.<sup><small>[11]</small></sup> In 2025, Brazil retained its number one spot for technology in [[South America]] by reaching a combined market value of $2 trillion.
=== Energy ===
While Brazil is the world's fourth largest energy consumer,<sup><small>[18]</small></sup> much of its energy comes from non-carbon intesive sources or renewables, particularly hydroelectricity, ethanol and nuclear; the [[Itahypu Dam]] is the world's largest hydroelectric plant by energy generation,<sup><small>[19]</small></sup> and the country has other large plants like [[Bello Monte]] and [[Tucuruhy]]. The first car with an ethanol engine was produced in 1978 and the first airplane engine running on ethanol in 2005.<sup><small>[20]</small></sup>
== Demographics ==
== Culture ==
== See also ==
== Notes ==
acf7f8c05978babfa58373f5684c9ee3b73217cc
3227
3226
2024-03-17T20:15:01Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
wikitext
text/x-wiki
{{WIP_warning}}{{Nation|common_name=Brazil|full_name=Empire of Brazil|local_name=Imperio do Brazil (Portuguese)|lifespan=|motto= Independência ou Morte!|}{Nation|flag=Bandeira_do_Império_do_Brasil_com_nó_e_cores_corretos.svg|}{Nation|locator=|established=1822|capital=[[Brazilia]]|largest_city=[[São Paulo]]|population=92,726,861 (1959)|government_type=Federal Parliamentary Constitutional Monarchy|area=|Common Language=Portuguese|currency= [[Real]] (Rs$) ([[BRL]])}}
'''Brazil''' ([[Portuguese]]: ''Brazil''; <small>Brazilian Portuguese</small>: [[bɾaˈziu̯]]), officially the '''Empire of Brazil''' (Portuguese: ''[[Império do Brasil|Império do Brazil]]''),<small><sup>[6]</sup></small> is the largest and easternmost country in [[South America]] and in [[Latin America]]. Brazil is the world's fourth-largest country by area. Its capital is Brazilia, and its most populous city is São Paulo. The Empire is composed of the union of the 16 [[Provinces of Brazil|provinces]] and the [[Neutral Municipality]]. It is the only country in the Americas to have Portuguese as an official language.<small><sup>[8]</sup></small> It is one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.<sup><small>[12]</small></sup>
Bounded by the Atlantic Ocean on the east, Brazil borders all other countries and territories in South America except [[Chile]] and covers roughly half of the continent's land area.<small><sup>[14]</sup></small> Its [[Amazon basin]] includes a vast tropical forest, home to diverse wildlife, a variety of ecological systems, and extensive natural resources spanning numerous protected habitats.<small><sup>[13]</sup></small> This unique environmental heritage positions Brazil at number one of 17 megadiverse countries, and is a significant global environmental actor, as degradation through processes like deforestation and the [[dieback]] of the forest has direct impacts on local and global issues like [[climate change]] and biodiversity loss.
== Etymology ==
The word "Brazil" likely comes from the Portuguese word for [https://en.wikipedia.org/wiki/Paubrasilia brazilwood], a tree that once grew plentifully along the Brazilian coast. In Portuguese, brazilwood is called pau-brasil, with the word brasil commonly given the etymology "red like an ember", formed from brasa ("ember") and the suffix -il (from -iculum or -ilium).<sup><small>[1]</small></sup>
== History ==
''Main Article'': ''[[History of Brazil]]''
''For a chronological guide, see [[Timeline of Brazilian history.]]''
=== Pre-Cabraline era ===
Some of the earliest human remains found in the Americas, Luzia Woman, were found in the area of [[Quinta do Sumidouro]], [[Minas Geraes]] and provide evidence of human habitation going back at least 11,000 years.<sup><small>[4][2]</small></sup> The earliest pottery ever found in the Western Hemisphere was excavated in the Amazon basin of Brazil and radiocarbon dated to 8,000 years ago (6000 BC). The pottery was found near [[Santarém]] and provides evidence that the region supported a complex prehistoric culture.<sup><small>[3]</small></sup> The Marajoara culture flourished on Marajó in the Amazon delta from AD 400 to 1400, developing sophisticated pottery, social stratification, large populations, mound building, and complex social formations such as chiefdoms.<sup><small>[4]</small></sup>
=== Portuguese colonization and elevation to kingdom===
=== Independence ===
=== Petrine era ===
=== Isabeline era ===
== Geography ==
=== Climate ===
[[File:Climate_of_Brazil.png|thumb| Brazil map of [https://en.wikipedia.org/wiki/Köppen_climate_classification Köppen climate classification] zones ]]
=== Topography ===
== Government and politics ==
''Main articles: [[Constitution of Brazil|Constitution of the Brazilian Empire]] and [[Politics of Brazil]]''
''Further information: [[Elections in Brazil]] and [[Political ideologies in Brazil]]
=== Political subdivisions ===
Brazil is a federation with seventeen components: the national Government of Brazil seated at the Neutral Municipality and sixteen provincial governments. All seventeen governments derive their authority from the Constitution of Brazil.<sup><small>[5]</small></sup> The provinces have autonomous administrations, collect their own taxes and receive a share of taxes collected by the Federal government. They have a president and a unicameral legislative body elected directly by their voters. They also have independent Courts of Law for common justice. Despite this, the provinces have much less autonomy to create their own laws than in other federal states.
=== Military ===
Under Articles 102 and 148 of the Constitution, the Armed Forces are subordinate to the emperor as commander-in-chief.<sup><small>[15]</small></sup> He was aided by the Ministry of War and Ministry of Navy in matters concerning the [[Army]] and the [[Armada]] (Navy)—although the president of the Council of Ministers exercised oversight of both branches in practice and is the one that makes the key decisions on the use of the armed forces. The ministers of War and Navy are, with very few exceptions, civilians.
[[File:CoA_Imperial_Brazilian_Army_%281860%29.svg|left|thumb|Imperial Army Coat of Arms]]
== Economy ==
''Main article: [[Economy of Brazil]]''
The economy of Brazil is historically the largest economy in the Southern Hemisphere in nominal terms. The Brazilian economy is the second largest in the Americas. It is a high income developed mixed economy. In 2025, according to XXXXXX XXX XXXXXXXXX (XXX), Brazil has the Xth largest gross domestic product (GDP) in the world and has the Xth largest purchasing power parity in the world.<sup><small>[10]</small></sup>
=== Science and Technology ===
Brazil has been a leader in technological innovations and scientific research since the late 20th century. Scientific research and development is a core aspect of Brazilian universities, with many establishing science parks to facilitate production and co-operation with industry.<sup><small>[11]</small></sup> In 2025, Brazil retained its number one spot for technology in [[South America]] by reaching a combined market value of $2 trillion.
=== Energy ===
While Brazil is the world's fourth largest energy consumer,<sup><small>[18]</small></sup> much of its energy comes from non-carbon intesive sources or renewables, particularly hydroelectricity, ethanol and nuclear; the [[Itahypu Dam]] is the world's largest hydroelectric plant by energy generation,<sup><small>[19]</small></sup> and the country has other large plants like [[Bello Monte]] and [[Tucuruhy]]. The first car with an ethanol engine was produced in 1978 and the first airplane engine running on ethanol in 2005.<sup><small>[20]</small></sup>
== Demographics ==
== Culture ==
== See also ==
== Notes ==
5afe8a1c919245d1fca84f73cf11c826b7f161ef
Mexican federal election of 1820
0
1549
3209
3170
2024-03-15T18:03:28Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{Infobox election
| election_name = 1820 Mexican federal election
| country =
| type = parliamentary
| ongoing = no
| previous_election = Mexican federal election of 1817
| previous_year = 1817
| outgoing_members =
| elected_members =
| next_election = Mexican federal election of 1823
| next_year = 1823
| seats_for_election = All 88 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]]
| majority_seats = 45
| election_date = 3-10 September 1820
| registered =
| turnout = 1,369,013 (34.51%) {{increase}}8.36% pp
| opinion_polls =
<!-- Liberal -->| image2 = [[File:Guadalupe_Victoria_-_02.jpg|160x160px]]
|| leader2 = [[Guadalupe Victoria]]
| leader_since2 =
| party_colour2 =
| party2 = [[Liberal]]
| leaders_seat2 =
| last_election2 = New party, 68 seats
| seats_before2 =
| seats2 = '''76'''
| seat_change2 = {{increase}} 8
| popular_vote2 = '''1,177,351'''
| percentage2 = '''86.4%'''
| swing2 = {{increase}} 86.4 pp
<!-- Conservative -->| image3 = [[File:General_Ignacio_López_Rayón.png|160x160px]]
| leader3 = [[Ignacio López Rayón]]
| leader_since3 =
| party_colour3 =
| party3 = [[Conservative]]
| leaders_seat3 =
| last_election3 = New party, 20 seats
| seats_before3 =
| seats3 = 12
| seat_change3 = {{decrease}} 8
| popular_vote3 = 186,186
| percentage3 = 13.6%
| swing3 = {{increase}} 13.6 pp
| map_image = RPTS_Mexican_election_of_1820_map.png
| map_size = 400px
| map_caption = Election results by states, territories and unorganized territories shown in gray.<br />
| title = Government
| posttitle = Government after election
| before_election = [[Second Morelos cabinet]]
| before_party = [[Independent]]
| after_election = [[Victoria cabinet]]
| after_party = [[Liberal]]
| map2_image =
| map2_caption =
| map2_size = 360px
}}
c065c56d8fb340fd788d9384727a67f958d5a1f0
File:RPTS Mexican election map 1826.png
6
1558
3212
2024-03-15T18:18:32Z
TheMexicanHistorian
2
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
Mexican federal election of 1826
0
1559
3213
2024-03-15T18:19:34Z
TheMexicanHistorian
2
Created page with "{{Infobox election | election_name = 1826 Mexican federal election | country = | type = parliamentary | ongoing = no | previous_election = Mexican federal election of 1823 | previous_year = 1823 | outgoing_members = | elected_members = | next_election = Mexican federal election of 1829 | next_year = 1829 | seats_for_election = All 104 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]] | majority_seats = 53 | election_date = 7-14 September 1823 | register..."
wikitext
text/x-wiki
{{Infobox election
| election_name = 1826 Mexican federal election
| country =
| type = parliamentary
| ongoing = no
| previous_election = Mexican federal election of 1823
| previous_year = 1823
| outgoing_members =
| elected_members =
| next_election = Mexican federal election of 1829
| next_year = 1829
| seats_for_election = All 104 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]]
| majority_seats = 53
| election_date = 7-14 September 1823
| registered =
| turnout = 1,703,213 (40%) {{increase}}0.78% pp
| opinion_polls =
<!-- People's Liberal -->| image1 = [[File:Vicente_Guerrero.png|160x160px]]
| leader1 = [[Vicente Guerrero]]
| leader_since1 =
| party_colour1 =
| party1 = [[People's Liberal]]
| leaders_seat1 =
| last_election1 = 52.3%, 46 seats
| seats_before1 =
| seats1 = '''62'''
| seat_change1 = {{increase}} 16
| popular_vote1 = '''1,015,015'''
| percentage1 = '''59.6%'''
| swing1 = {{increase}} 7.3 pp
<!-- Liberal -->| image2 = [[File:Melchor_Múzquiz.png|160x160px]]
|| leader2 = [[Melchor Múzquiz]]
| leader_since2 =
| party_colour2 =
| party2 = [[Liberal]]
| leaders_seat2 =
| last_election2 = 31.8%, 28 seats
| seats_before2 =
| seats2 = 42
| seat_change2 = {{increase}} 14
| popular_vote2 = 688,098
| percentage2 = 40.4%
| swing2 = {{increase}} 8.6 pp
| map_image = RPTS_Mexican_election_map_1826.png
| map_size = 400px
| map_caption = Election results by states, territories and unorganized territories shown in gray.<br />
| title = Government
| posttitle = Government after election
| before_election = [[First Guerrero cabinet]]
| before_party = [[People's Liberal]]
| after_election = [[Second Guerrero cabinet]]
| after_party = [[People's Liberal]]
| map2_image =
| map2_caption =
| map2_size = 360px
}}
1af25f4ec669d4931f703578c9d500c29bab2f7e
3214
3213
2024-03-15T18:24:50Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{Infobox election
| election_name = 1826 Mexican federal election
| country =
| type = parliamentary
| ongoing = no
| previous_election = Mexican federal election of 1823
| previous_year = 1823
| outgoing_members =
| elected_members =
| next_election = Mexican federal election of 1829
| next_year = 1829
| seats_for_election = All 104 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]]
| majority_seats = 53
| election_date = 3-10 September 1826
| registered =
| turnout = 1,703,213 (40%) {{increase}}0.78% pp
| opinion_polls =
<!-- People's Liberal -->| image1 = [[File:Vicente_Guerrero.png|160x160px]]
| leader1 = [[Vicente Guerrero]]
| leader_since1 =
| party_colour1 =
| party1 = [[People's Liberal]]
| leaders_seat1 =
| last_election1 = 52.3%, 46 seats
| seats_before1 =
| seats1 = '''62'''
| seat_change1 = {{increase}} 16
| popular_vote1 = '''1,015,015'''
| percentage1 = '''59.6%'''
| swing1 = {{increase}} 7.3 pp
<!-- Liberal -->| image2 = [[File:Melchor_Múzquiz.png|160x160px]]
|| leader2 = [[Melchor Múzquiz]]
| leader_since2 =
| party_colour2 =
| party2 = [[Liberal]]
| leaders_seat2 =
| last_election2 = 31.8%, 28 seats
| seats_before2 =
| seats2 = 42
| seat_change2 = {{increase}} 14
| popular_vote2 = 688,098
| percentage2 = 40.4%
| swing2 = {{increase}} 8.6 pp
| map_image = RPTS_Mexican_election_map_1826.png
| map_size = 400px
| map_caption = Election results by states, territories and unorganized territories shown in gray.<br />
| title = Government
| posttitle = Government after election
| before_election = [[First Guerrero cabinet]]
| before_party = [[People's Liberal]]
| after_election = [[Second Guerrero cabinet]]
| after_party = [[People's Liberal]]
| map2_image =
| map2_caption =
| map2_size = 360px
}}
68571951e3843220df6400e9c496cf053deebcf0
File:RPTS Mexican election of 1829 map.png
6
1560
3215
2024-03-15T18:38:55Z
TheMexicanHistorian
2
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
Mexican federal election of 1829
0
1561
3216
2024-03-15T18:40:36Z
TheMexicanHistorian
2
Created page with "{{Infobox election | election_name = 1829 Mexican federal election | country = | type = parliamentary | ongoing = no | previous_election = Mexican federal election of 1826 | previous_year = 1826 | outgoing_members = | elected_members = | next_election = Mexican federal election of 1832 | next_year = 1832 | seats_for_election = All 104 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]] | majority_seats = 53 | election_date = 6-13 September 1829 | register..."
wikitext
text/x-wiki
{{Infobox election
| election_name = 1829 Mexican federal election
| country =
| type = parliamentary
| ongoing = no
| previous_election = Mexican federal election of 1826
| previous_year = 1826
| outgoing_members =
| elected_members =
| next_election = Mexican federal election of 1832
| next_year = 1832
| seats_for_election = All 104 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]]
| majority_seats = 53
| election_date = 6-13 September 1829
| registered =
| turnout = 1,942,233 (44.73%) {{increase}}4.73% pp
| opinion_polls =
<!-- People's Liberal -->| image1 = [[File:Valentín_Gómez_Farías,_portrait.JPG|160x160px]]
| leader1 = [[Valentín Gómez Farías]]
| leader_since1 =
| party_colour1 =
| party1 = [[People's Liberal]]
| leaders_seat1 =
| last_election1 = 59.6%, 62 seats
| seats_before1 =
| seats1 = '''54'''
| seat_change1 = {{decrease}} 8
| popular_vote1 = '''1,010,095'''
| percentage1 = '''51.9%'''
| swing1 = {{decrease}} 7.7 pp
<!-- Liberal -->| image2 = [[File:Melchor_Múzquiz.png|160x160px]]
|| leader2 = [[Melchor Múzquiz]]
| leader_since2 =
| party_colour2 =
| party2 = [[Liberal]]
| leaders_seat2 =
| last_election2 = 40.4%, 42 seats
| seats_before2 =
| seats2 = 50
| seat_change2 = {{increase}} 8
| popular_vote2 = 936,138
| percentage2 = 48.1%
| swing2 = {{increase}} 7.7 pp
| map_image = RPTS_Mexican_election_of_1829_map.png
| map_size = 400px
| map_caption = Election results by states, territories and unorganized territories shown in gray.<br />
| title = Government
| posttitle = Government after election
| before_election = [[Second Guerrero cabinet]]
| before_party = [[People's Liberal]]
| after_election = [[Gómez cabinet]]
| after_party = [[People's Liberal]]
| map2_image =
| map2_caption =
| map2_size = 360px
}}
09e3b71088c86fd62fc889dad0632c15c1f41dc0
File:RPTS mexican election of 1832 map.png
6
1562
3217
2024-03-15T18:49:00Z
TheMexicanHistorian
2
wikitext
text/x-wiki
da39a3ee5e6b4b0d3255bfef95601890afd80709
Mexican federal election of 1832
0
1563
3218
2024-03-15T18:50:06Z
TheMexicanHistorian
2
Created page with "{{Infobox election | election_name = 1832 Mexican federal election | country = | type = parliamentary | ongoing = no | previous_election = Mexican federal election of 1829 | previous_year = 1829 | outgoing_members = | elected_members = | next_election = Mexican federal election of 1835 | next_year = 1835 | seats_for_election = All 104 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]] | majority_seats = 53 | election_date = 2-9 September 1832 | registere..."
wikitext
text/x-wiki
{{Infobox election
| election_name = 1832 Mexican federal election
| country =
| type = parliamentary
| ongoing = no
| previous_election = Mexican federal election of 1829
| previous_year = 1829
| outgoing_members =
| elected_members =
| next_election = Mexican federal election of 1835
| next_year = 1835
| seats_for_election = All 104 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]]
| majority_seats = 53
| election_date = 2-9 September 1832
| registered =
| turnout = 2,323,414 (51.31%) {{increase}}6.58% pp
| opinion_polls =
<!-- People's Liberal -->| image2 = [[File:Valentín_Gómez_Farías,_portrait.JPG|160x160px]]
| leader2 = [[Valentín Gómez Farías]]
| leader_since2 =
| party_colour2 =
| party2 = [[People's Liberal]]
| leaders_seat2 =
| last_election2 = 51.9%, 54 seats
| seats_before2 =
| seats2 = 47
| seat_change2 = {{decrease}} 7
| popular_vote2 = 1,050,183
| percentage2 = '''45.2%'''
| swing2 = {{decrease}} 6.7 pp
<!-- Liberal -->| image1 = [[File:RPTS_Matamoros_portrait.png|160x160px]]
|| leader1 = [[Mariano Matamoros]]
| leader_since1 =
| party_colour1 =
| party1 = [[Liberal]]
| leaders_seat1 =
| last_election1 = 48.1%, 50 seats
| seats_before1 =
| seats1 = 57
| seat_change1 = {{increase}} 7
| popular_vote1 = 1,273,231
| percentage1 = 54.8%
| swing1 = {{increase}} 6.7 pp
| map_image = RPTS_mexican_election_of_1832_map.png
| map_size = 400px
| map_caption = Election results by states, territories and unorganized territories shown in gray.<br />
| title = Government
| posttitle = Government after election
| before_election = [[Second Guerrero cabinet]]
| before_party = [[People's Liberal]]
| after_election = [[Gómez cabinet]]
| after_party = [[People's Liberal]]
| map2_image =
| map2_caption =
| map2_size = 360px
}}
a542c76059b070b8b29fa2433b2877ec090d4a11
Mexican federal election of 1823
0
1519
3219
3113
2024-03-15T18:50:50Z
TheMexicanHistorian
2
wikitext
text/x-wiki
{{Infobox election
| election_name = 1823 Mexican federal election
| country =
| type = parliamentary
| ongoing = no
| previous_election = Mexican federal election of 1820
| previous_year = 1820
| outgoing_members =
| elected_members =
| next_election = Mexican federal election of 1826
| next_year = 1826
| seats_for_election = All 88 seats to the [[Mexican Chamber of Deputies|Chamber of Deputies]]
| majority_seats = 45
| election_date = 7-14 September 1823
| registered =
| turnout = 1,620,786 (39.22%) {{increase}}4.71% pp
| opinion_polls =
<!-- People's Liberal -->| image1 = [[File:Vicente_Guerrero.png|160x160px]]
| leader1 = [[Vicente Guerrero]]
| leader_since1 =
| party_colour1 =
| party1 = [[People's Liberal]]
| leaders_seat1 =
| last_election1 = New party, 16 seats
| seats_before1 =
| seats1 = '''46'''
| seat_change1 = {{increase}} 30
| popular_vote1 = '''847,671'''
| percentage1 = '''52.3%'''
| swing1 = {{increase}} 52.3 pp
<!-- Liberal -->| image2 = [[File:Guadalupe_Victoria_-_02.jpg|160x160px]]
|| leader2 = [[Guadalupe Victoria]]
| leader_since2 =
| party_colour2 =
| party2 = [[Liberal]]
| leaders_seat2 =
| last_election2 = 86.4%, 76 seats
| seats_before2 =
| seats2 = 28
| seat_change2 = {{decrease}} 42
| popular_vote2 = 515,410
| percentage2 = 31.8%
| swing2 = {{decrease}} 54.6 pp
<!-- Conservative -->| image3 = [[File:Nicolas_Bravo.jpg|160x160px]]
| leader3 = [[Nicolas Bravo]]
| leader_since3 =
| party_colour3 =
| party3 = [[Conservative]]
| leaders_seat3 =
| last_election3 = 13.6%, 12 seats
| seats_before3 =
| seats3 = 14
| seat_change3 = {{increase}} 2
| popular_vote3 = 257,705
| percentage3 = 15.9%
| swing3 = {{increase}} 52.3 pp
| map_image = RPTS_Mexican_election_of_1823_map.png
| map_size = 400px
| map_caption = Election results by states, territories and unorganized territories shown in gray.<br />
| title = Government
| posttitle = Government after election
| before_election = [[Victoria cabinet]]
| before_party = [[Liberal]]
| after_election = [[First Guerrero cabinet]]
| after_party = [[People's Liberal]]
| map2_image =
| map2_caption =
| map2_size = 360px
}}
4127712b0421aef0f7a20585886943cd3c1c70ff
Conservative Party (Brazil)
0
1564
3222
2024-03-17T00:22:12Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
Created page with "{{Infobox political party | name = Conservative Party <br> <small>Partido Conservador</small> | logo = CoA_Empire_of_Brazil_(1870-1889).svg | logo_alt = | colorcode = #009c3b <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" --> | abbreviation = PC | leader = | president = [[Régis de Oliveira]] | chairperson = | secretary = | general_secretary = | first_secretary = | secretary_general = | presidium = | governi..."
wikitext
text/x-wiki
{{Infobox political party
| name = Conservative Party <br> <small>Partido Conservador</small>
| logo = CoA_Empire_of_Brazil_(1870-1889).svg
| logo_alt =
| colorcode = #009c3b <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| abbreviation = PC
| leader =
| president = [[Régis de Oliveira]]
| chairperson =
| secretary =
| general_secretary =
| first_secretary =
| secretary_general =
| presidium =
| governing_body =
| standing_committee =
| spokesperson =
| founder = [[Honório Leão, Marquis of Paraná]] <br> [[Bernardo de Vasconcelos]] <br> [[Joaquim Torres, Viscount of Itaboraí]]
| founded = 1836 <!-- {{start date|YYYY|MM|DD}} -->
| headquarters = Brazilia, NM
| ideology = Centralism <br> Classical liberalism <br> Monarchism <br> Parliamentarism <br> Fiscal conservatism
| position = Right-wing
| symbol = Saquarema ([[Rufescent tiger heron]])
| newspaper = A Constituição (Nationwide) <br> A Provincia de Minas (Minas Geraes) <br> Correio Paulistano (São Paulo)
| international =
| website =
| country =
}}
af6ad3e6270c021d0e9c4284d5643a2baa5fbcf1
Liberal Party (Brazil)
0
1565
3224
2024-03-17T15:58:31Z
DAVE-THE-ARCHWIZARD-OF-PIRAPORA
12
Created page with "{{Infobox political party | name = Liberal Party <br> <small>Partido Liberal</small> | logo = CoA_Empire_of_Brazil_(1870-1889).svg | logo_alt = | colorcode = #ffdf00 <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" --> | abbreviation = PL | leader = | president = [[Any Ortiz]] | chairperson = | secretary = | general_secretary = | first_secretary = | secretary_general = | presidium = | governing_body = | standing..."
wikitext
text/x-wiki
{{Infobox political party
| name = Liberal Party <br> <small>Partido Liberal</small>
| logo = CoA_Empire_of_Brazil_(1870-1889).svg
| logo_alt =
| colorcode = #ffdf00 <!-- HTML color code (e.g. "red", "#FF0000" or Party metadata color template) otherwise "transparent" -->
| abbreviation = PL
| leader =
| president = [[Any Ortiz]]
| chairperson =
| secretary =
| general_secretary =
| first_secretary =
| secretary_general =
| presidium =
| governing_body =
| standing_committee =
| spokesperson =
| founder =
| founded = 1831 <!-- {{start date|YYYY|MM|DD}} -->
| headquarters = Brazilia, NM
| ideology = Classical liberalism <br> Federalism <br> Parliamentarism <br> Monarchism
| position = Center
| symbol = Bem-te-vi ([[Great kiskadee]])
| newspaper = Tribuna Liberal (Nationwide)
| international =
| website =
| country =
}}
386bd23a4392dea8aae5feebcb3b70ec60751316